Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#11737 closed defect (fixed)

GLK: Save/Load not working/crashing

Reported by: Sandman1973 Owned by: dreammaster
Priority: normal Component: Engine: GLK
Version: Keywords: Save Load IF text adventures
Cc: Game:

Description

As posted on the ScummVM forums.
https://forums.scummvm.org/viewtopic.php?f=17&t=15257&p=89553

There appears to be problems with the IF save and restore functions. This occurs on windows version 2.2.0 and the Android version 2.2.1pre(Beta). I've tried a few different games using a variety of the engines. Magnetic Scrolls seems to work. The following don't and each behaves a little different.

My tests involved making a move of some kind. Saving the game then attempting to reload it. I've not gone in to detail as it is very easy to replicate. If you need more info let me know.

ZCode
.Z5 : All Things Devours
.Z8 : Anchorhead
Both save to a file. Restore shows the console and reports ERROR: Illegal opcode!
Windows 2.2.0 - Does the same.

Adrift
.TAF : Humbug
Save kills the software after the save location is picked. No file saved.
Selecting the menu back to browser and repoening also crashes it.
Windows 2.2.0 - Crashes too.

.TAF : Paint!!!
Saves to a file. Restore crashes and kills the software.
Windows 2.2.0 - Does the same.

Hugo
.HEX : Cryptozookeeper
Saves to a file. Restore crashes and kills the software.
Windows 2.2.0 - Crashes when saving.

Level9
.DAT DOS version : Return to Eden
.DAT Amiga version : Red Moon
Save does not add a file name to the list, but does seem to save a file. Can't restore as it is not listed.
Windows 2.2.0 - Same in windows.

Change History (4)

comment:1 by raziel-, 4 years ago

Summary: Save and Load functions not working for text based games.GLK: Save/Load not working/crashing

comment:2 by dreammaster, 4 years ago

Owner: set to dreammaster
Resolution: fixed
Status: newclosed

I've fixed problems you highlighted, but I haven't been able to replicate a save problem with the Hugo subengine, even playing the version of Cryptozookeeper found here: http://www.ifwiki.org/index.php/Cryptozookeeper

Can you confirm that it's this version, and if it's still a problem on a daily build?

comment:3 by Sandman1973, 4 years ago

I've just checked that link. I assume you mean the IF comp version.
That version is date 2010 serial number 100630 and is older than the one I have.
I have a 2011 version serial number 110621 - release 1.04.
Not sure where I got my version from now. I've had it a while and not got around to playing it.

Anyway, let me get the daily for windows and check if the older version crashes the older ScummVM and vice versa.

comment:4 by Sandman1973, 4 years ago

OK - I can confirm that both the old and new work with the Windows version daily now.

I also saved and restored all the other games mentioned and they no longer crash. All looks good.

I've not tested the Android version, so I'm only assuming that a fix in one will fix the other too.

Thanks.

Note: See TracTickets for help on using tickets.