Opened 16 years ago
Closed 15 years ago
Last modified 15 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-|
|Cc:||Game:||Indiana Jones 4|
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:
Indy4 version is English/DOS/Floppy.
Ticket imported from: #1752196. Ticket imported from: bugs/3314.
Change History (13)
by , 16 years ago
comment:1 by , 16 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 , 16 years ago
|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 , 16 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 , 16 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 , 16 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 , 16 years ago
Deassigning myself as this is not related to the wince port.
comment:7 by , 16 years ago
|Summary:||WINCE: INDY4 Loading save from 0.9.1 in 0.10.0 garbles crsor → INDY4 Loading save from 0.9.1 in 0.10.0 garbles crsor|
comment:8 by , 15 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 , 15 years ago
|Summary:||INDY4 Loading save from 0.9.1 in 0.10.0 garbles crsor → FOA: Loading save from 0.9.1 in 0.10.0 garbles cursor|
comment:10 by , 15 years ago
|Status:||new → closed|
comment:11 by , 15 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 , 15 years ago
This might be related to bug #1508095...
0.9.1 save that breaks cursor in 0.10.0