[Scummvm-tracker] [ScummVM :: Bugs] #10960: Woodruff: subtitles in vmd videos
ScummVM :: Bugs
trac at scummvm.org
Tue May 14 23:51:03 CEST 2019
#10960: Woodruff: subtitles in vmd videos
--------------------+-----------------------
Reporter: Dimouse | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: --Unset--
Keywords: | 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
_stream->skip(8);
change to:
} else if (_frames[i].parts[j].type == kPartTypeSubtitle) {
_frames[i].parts[j].id = _stream->readByte();
// Speech text file name
_stream->skip(9);
--
Ticket URL: <https://bugs.scummvm.org/ticket/10960>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list