Opened 17 years ago

Closed 17 years ago

Last modified 17 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
Version: 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 17 years ago.
0.9.1 save that breaks cursor in 0.10.0

Download all attachments as: .zip

Change History (13)

by SF/kkazakov13, 17 years ago

Attachment: atlantis.s06 added

0.9.1 save that breaks cursor in 0.10.0

comment:1 by sev-, 17 years ago

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 by sev-, 17 years ago

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 by SF/kkazakov13, 17 years ago

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 by SF/knakos, 17 years ago

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

comment:5 by bluegr, 17 years ago

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 by SF/knakos, 17 years ago

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

comment:7 by SF/knakos, 17 years ago

Owner: SF/knakos removed
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 by fingolfin, 17 years ago

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 by fingolfin, 17 years ago

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 by sev-, 17 years ago

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

comment:11 by sev-, 17 years ago

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 by fingolfin, 17 years ago

This might be related to bug #1508095...

Note: See TracTickets for help on using tickets.