dwatteau / scummtr

Fan translation tools for LucasArts SCUMM games
MIT License
24 stars 4 forks source link

fix(scummtr): Work around script bug in 07.LFL in MANIAC-V2-EN #13

Closed dwatteau closed 3 years ago

dwatteau commented 3 years ago

Some versions of MANIAC-V2-EN miss a byte in the opcode sequence for printEgo, causing a fatal error while trying to export the subtitles.

See #12.

dwatteau commented 3 years ago

Well, this patch is a bit naive in the way it deals with _file->name() and _file->fullOffset(), but the real problem is that it won't work when you import back the translation.

Same thing happens when I try to fix LFv2_0007/SCv2_0059 by hand. There's more than a missing byte and a single jump to fix, it seems…