Opened 17 years ago

Closed 17 years ago

Last modified 9 months ago

#74 closed defect

Indy4: Orchalcum Necklace state bug

Reported by: SF/ccrtnsp Owned by: SF/ender
Priority: normal Component: Engine: SCUMM
Keywords: Cc:
Game: Indiana Jones 4

Description

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.

Attachments (1)

atlantis.s00 (60.5 KB) - added by SF/ccrtnsp 17 years ago.
Savegame where bug can be tested, Indy4 CD-ROM Full Talkie version.

Download all attachments as: .zip

Change History (12)

Changed 17 years ago by SF/ccrtnsp

Attachment: atlantis.s00 added

Savegame where bug can be tested, Indy4 CD-ROM Full Talkie version.

comment:1 Changed 17 years ago by SF/ccrtnsp

Uh-oh. Duped with bug #520203, I'm probably too tired :) I
included the savegame file though.

comment:2 Changed 17 years ago by SF/ender

Summary: Indy4 not completeable 100%Indy4: Orchalcum Necklace state bug

comment:3 Changed 17 years ago by SF/ender

Saved games help alot :)

I'll take a look at this tonight.

comment:4 Changed 17 years ago by SF/ender

Owner: set to SF/ender

comment:5 Changed 17 years ago by SF/ender

Dang, I have the floppy version, not the talkie version :/

comment:6 Changed 17 years ago by SF/pkirlin

Any updates on this? I'm having the same problem.

Keep up the good work!

comment:7 Changed 17 years ago by SF/ccrtnsp

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 Changed 17 years ago by SF/ccrtnsp

Ha! Yazoo was faster, just updated from CVS and it had been
fixed. :)

comment:9 Changed 17 years ago by SF/ender

Status: newclosed

comment:10 Changed 17 years ago by SF/ender

Go yazoo :)

Closing bug.

comment:11 Changed 9 months ago by digitall

Component: Engine: SCUMM
Game: Indiana Jones 4
Note: See TracTickets for help on using tickets.