[Scummvm-tracker] [ScummVM :: Bugs] #15931: SCUMM: ZAK: Out-of-bounds charset error with v0.13.x saves

ScummVM :: Bugs trac at scummvm.org
Sun May 18 01:56:07 UTC 2025


#15931: SCUMM: ZAK: Out-of-bounds charset error with v0.13.x saves
---------------------+----------------------------
Reporter:  dwatteau  |       Owner:  dwatteau
    Type:  defect    |      Status:  pending
Priority:  normal    |   Component:  Engine: SCUMM
 Version:            |  Resolution:  pending
Keywords:  saves     |        Game:  Zak McKracken
---------------------+----------------------------
Comment (by dwatteau):

 In [changeset:"9e6fb74dec51757758b2159e7918a0d5dd24cc7a" 9e6fb74d]:
 {{{#!CommitTicketReference repository=""
 revision="9e6fb74dec51757758b2159e7918a0d5dd24cc7a"
 SCUMM: Fix out-of-bounds charset error with some v0.13.x saves
 (Trac#15931)

 I have some Zak V2 saves made with ScummVM 0.13.x which trigger fatal
 errors in modern ScummVM.

 It looks like, before ScummVM 1.0.0, bogus `_curId` values could be
 written, in some cases (although the issue was possibly only happening
 in v1-v3 or v1-v2 games).

 So, fall back to some default value for it, if we detect such "weird"
 values in old saves.

 Similar to old commit bd67214c96c1bb1b194cfc31abf05a08afc9cf64.
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15931#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list