Opened 21 years ago
Closed 21 years ago
Last modified 4 years ago
#74 closed defect
Indy4: Orchalcum Necklace state bug
|Reported by:||SF/ccrtnsp||Owned by:||SF/ender|
|Cc:||Game:||Indiana Jones 4|
There seems to be a bug in ScummVM that prevents completing Indiana Jones 4: Fate of the Atlantis with 100% score in "team mode".
The bug occurs in "lava pit room", where Sophia becomes possessed by Nur-ab-sal. The puzzle requires that you put one bead of Orichalcum into the necklace and then take it into the box. ScummVM however, restores the state of the game, before the "look at the necklace"-screen (from "atlantis.c99") just after the bead has been put into the necklace.
Sorry if this sounds complicated, or you don't understand what it means. TO TEST: Load the attached savegame and "look at Sophia", then "use bead of orichalcum in necklace mouth". This is what happens:
State saved as 'atlantis.c99' Loading room 79 Loading room 79 WARNING: stub unkScreenEffect5(0)! WARNING: EGA_proc4! State loaded from 'atlantis.c99'
... So the state is restored and it's like you never put the bead into the necklace ... :(
Ticket imported from: #521263. Ticket imported from: bugs/74.
Change History (12)
by , 21 years ago
comment:1 by , 21 years ago
Uh-oh. Duped with bug #520203, I'm probably too tired :) I included the savegame file though.
comment:2 by , 21 years ago
|Summary:||Indy4 not completeable 100% → Indy4: Orchalcum Necklace state bug|
comment:3 by , 21 years ago
Saved games help alot :)
I'll take a look at this tonight.
comment:4 by , 21 years ago
comment:5 by , 21 years ago
Dang, I have the floppy version, not the talkie version :/
comment:6 by , 21 years ago
Any updates on this? I'm having the same problem.
Keep up the good work!
comment:7 by , 21 years ago
I did some debugging myself, added some kludgy code to here and there, resulting to belief that not all variables should be saved when the bytecode requests saving of state in the game.
This is what approximately happens in the above situation: bytecode asks the gamestate to be saved, scummVM does the thing, saving all possible data. Game goes to the "necklace"-screen, player puts bead in -> exit screen -> restore gamestate. ScummVM restores all info, so the "necklace is hot" variable is re-set back to original value and Sophia does not drop it.
I made a debug-kludge that printed out the variables that changed during the necklace-screen. If anyone wants it, e-mail me.
comment:8 by , 21 years ago
Ha! Yazoo was faster, just updated from CVS and it had been fixed. :)
comment:9 by , 21 years ago
|Status:||new → closed|
comment:10 by , 21 years ago
Go yazoo :)
comment:11 by , 4 years ago
|Component:||→ Engine: SCUMM|
|Game:||→ Indiana Jones 4|
Savegame where bug can be tested, Indy4 CD-ROM Full Talkie version.