Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#3314 closed defect (fixed)

FOA: Loading save from 0.9.1 in 0.10.0 garbles cursor

Reported by: SF/kkazakov13 Owned by: sev-
Priority: normal Component: Engine: SCUMM
Keywords: Cc:
Game: Indiana Jones 4

Description

Attached file is a save from 0.9.1 - Everything is perfect there. When I load the game in 0.10.0 - the cursor is garbled, see this screenshot for what it looks like:

http://up.drun.net/i/f/indy4z_err.png

Indy4 version is English/DOS/Floppy.

Ticket imported from: #1752196. Ticket imported from: bugs/3314.

Attachments (1)

atlantis.s06 (23.6 KB) - added by SF/kkazakov13 12 years ago.
0.9.1 save that breaks cursor in 0.10.0

Download all attachments as: .zip

Change History (13)

Changed 12 years ago by SF/kkazakov13

Attachment: atlantis.s06 added

0.9.1 save that breaks cursor in 0.10.0

comment:1 Changed 12 years ago by sev-

It is under WinCE.

I tried to load this save in 0.9.0 and 0.9.1 and got same garbled cursor. Kostas, may you test it under WinCE?

comment:2 Changed 12 years ago by sev-

Owner: set to SF/knakos
Summary: Loading save from 0.9.1 in 0.10.0 garbles the cursor.WINCE: INDY4 Loading save from 0.9.1 in 0.10.0 garbles crsor

comment:3 Changed 12 years ago by SF/kkazakov13

I noticed this under pdaXrom linux on Sharp Zaurus. The only difference from normal linux is that it's ARM based. It was compiled just like on any other distro.

comment:4 Changed 12 years ago by SF/knakos

I can confirm this happens on CE too, even though this is a cross-build of the linux (SDL backend) port.

comment:5 Changed 12 years ago by bluegr

Just tried this with the latest SVN under Windows Vista, and the cursor is garbled there as well with this savegame

The game always crashes for me if I move the garbled cursor at endian.h, line 180

comment:6 Changed 12 years ago by SF/knakos

Deassigning myself as this is not related to the wince port.

comment:7 Changed 12 years ago by SF/knakos

Owner: SF/knakos deleted
Summary: WINCE: INDY4 Loading save from 0.9.1 in 0.10.0 garbles crsorINDY4 Loading save from 0.9.1 in 0.10.0 garbles crsor

comment:8 Changed 11 years ago by fingolfin

This looks to me like a "simple" case of a corrupt savegame. Of course I'd like to know what caused it to become corrupt, but right now there is little we can do about...

So unless kkazakov13 is able to reproduce this (by making more savegames in 0.9.1 which then fail in 0.10.0), I'd say let's close this.

comment:9 Changed 11 years ago by fingolfin

Summary: INDY4 Loading save from 0.9.1 in 0.10.0 garbles crsorFOA: Loading save from 0.9.1 in 0.10.0 garbles cursor

comment:10 Changed 11 years ago by sev-

Owner: set to sev-
Resolution: fixed
Status: newclosed

comment:11 Changed 11 years ago by sev-

We had similar bugreport #1804278. Apparently there is a memory overwrite somewhere, and _cursorImages, which gets reset only at engine start, and then is restored from a save, was overwritten.

I added new debugger command to workaround this. Switch to debugger by pressing ~ (tilde), and type in "resetcursors" and hit Enter. That should bring the cursor back after loading incorrect save.

comment:12 Changed 11 years ago by fingolfin

This might be related to bug #1508095...

Note: See TracTickets for help on using tickets.