[Scummvm-tracker] [ScummVM :: Bugs] #14886: AGOS: Waxworks crashing at Egypt Level 3, corrupting save file

ScummVM :: Bugs trac at scummvm.org
Tue Apr 2 17:33:59 UTC 2024


#14886: AGOS: Waxworks crashing at Egypt Level 3, corrupting save file
------------------------+---------------------------
Reporter:  Cobradabest  |       Owner:  (none)
    Type:  defect       |      Status:  new
Priority:  high         |   Component:  Engine: AGOS
 Version:               |  Resolution:
Keywords:               |        Game:  Waxworks
------------------------+---------------------------
Comment (by athrxx):

 The culprit seems to be the item in `_itemStore[3]`. In DOSBox plays I
 have a value of 217 in there, in ScummVM I have a value of 1509 (savegame
 uploaded here) or 1438 (one of my own tries). Both of the latter values
 are high enough to clash with the items exchanged by loadRoomItems().
 The item in question seems to be the dead body of the last enemy killed.
 When the corpse comes into sight the item is copied into `_itemStore[3]`.
 The original interpreter seems to replace that value as soon as you look
 somewhere else. But with ScummVM, the corpse item stays.
 So, the good news is: it is likely that this can be fixed in a way that
 the existing savegames will still be useable (we just need to understand
 how the original interpreter updates that array and fix that). The bad
 news is that currently the pyramid is not really playable. The corruption
 takes place after killing the first enemy, so restarting the pyramid won't
 help at all. It might be possible to get through that 3rd floor area
 without saving, but I don't know if/when saving would ever become possible
 again. I really recommend waiting for a fix.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/14886#comment:12>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list