Opened 23 months ago

Last modified 3 weeks ago

#13685 new defect

CHEWY: Videos are glitching in and out

Reported by: afreickmann Owned by:
Priority: low Component: Engine: Chewy
Version: Keywords:
Cc: Game: Chewy: ESC from F5

Description

The video cutscenes are usually glitching into the game, often with a 1 frame black screen or off-color frame. I also noticed that the game has several types of fade to black transitions, which are not yet present in the ScummVM version.

Examples:
https://youtube.com/clip/UgkxVidG9oHbkZUENr8qyevTlBcjQtj45Gn2
https://youtube.com/clip/Ugkx83eEcrwarshmcXUOeiT0WPPTI1oOHYUn

Change History (1)

comment:1 by eriktorbjorn, 3 weeks ago

If you mean like the glitch early in the intro (when it goes from the "Featuring Chewy" screen into the spaceships scene), there seem to be two things going on there:

  1. These are two different videos, one played right after the other. At the end of a video, it will restore to the original palette, but when it does so the last frame of the previous video is still on screen apparently? One possible solution would be to clear the screen before resetting the palette at the end of the VideoPlayer::playVideo() function.
  1. The second video is initiated by the playIntroSequence() function. One of the first things that does is to call setupScreen(DO_SETUP). I'm not familiar with this engine, so I don't know what the purpose of it is. But it looks to me like this will draw the current room, making it visible for a split second before the video begins. Should the call be there? If so, should it set the "disableScreen" flag to prevent it from drawing anything?
Note: See TracTickets for help on using tickets.