Opened 7 days ago

Last modified 4 days ago

#10960 new defect

Woodruff: subtitles in vmd videos

Reported by: Dimouse Owned by:
Priority: normal Component: Engine: Gob
Keywords: Cc:
Game: Woodruff


Inside vmd-videos there are ids for subtitles lines, they are located after byte 05h after table of offsets. This id takes one byte. But in ScummVM it is assumed as 2-byte word. Then if it is for example ff2dh, then the game looks at 65325th line insted of 45th and no subtitle is shown.

To fix this the code in video/coktel_decoder.h should be modified around lines 2073-2076.

} else if (_frames[i].parts[j].type == kPartTypeSubtitle) {

_frames[i].parts[j].id = _stream->readUint16LE();
Speech text file name

change to:

} else if (_frames[i].parts[j].type == kPartTypeSubtitle) {

_frames[i].parts[j].id = _stream->readByte();
Speech text file name

Change History (1)

comment:1 Changed 4 days ago by Dimouse

Component: --Unset--Engine: Gob
Note: See TracTickets for help on using tickets.