Opened 7 days ago

Last modified 6 days ago

#12060 new defect

[SCI][Gabriel Knight][GNU/Linux/SD:2] Can not restore saved game.

Reported by: vanfanel Owned by:
Priority: normal Component: --Unset--
Version: Keywords:
Cc: Game:

Description

Hi there!

Using latest .DEB version of Scummvm, 2.2.0 as of this writting. Also tried stock Ubuntu version, which is currently 2.1.0.
I have tried on both X86_64 and ARM aarch64.

I have been using Scummvm for years, and I have never encountered this bug with any other game.

With the GOG version of GK1, I can save the game but I can not restore it. The engine says: The game was saved under a different game or interpreter version.

With my own spanish CD copy, it says the same, except... well, in spanish.

I can also see this on the console:

WARNING: Save game was created for game version ��4�U, but the current game version is �I�ɮU!

Version numbers look like that. Any idea on what could be happening here?
The game is listed as supported.

Thanks!

Attachments (1)

gk1-cd.001 (43.3 KB ) - added by vanfanel 7 days ago.

Download all attachments as: .zip

Change History (4)

by vanfanel, 7 days ago

Attachment: gk1-cd.001 added

comment:1 by eriktorbjorn, 7 days ago

I know very little about the SCI engine, but it looks to me like the version it's referring to is the one found in the file called VERSION. At least in my copy of the game, this is just a text file (with CRLF line breaks) that contains the text "01.100.000".

If I look at the start of a savefile I just made, I see this:

$ zcat gk1-cd-win.002 | xxd | head -4
00000000: 666f 6f62 6172 002d 0000 0030 312e 3130  foobar.-...01.10
00000010: 302e 3030 3000 e507 010c 0d2f 0800 d51b  0.000....../....
00000020: 1e14 1f38 0000 0000 0000 0054 484d 4200  ...8.......THMB.
00000030: 0096 1602 00a0 0078 0203 0203 080b 0500  .......x........

So the version gets stored there. So I tried removing the VERSION file. The game still starts, but my next savegame looked like this:

$ zcat gk1-cd-win.003 | xxd | head -4
00000000: 626c 7570 7000 2d00 0000 e0a2 10a3 1b56  blupp.-........V
00000010: 00e5 0701 0c18 3208 00d5 1b1e 1402 1c00  ......2.........
00000020: 0000 0000 0000 5448 4d42 0000 9616 0200  ......THMB......
00000030: a000 7802 0302 0308 0b05 0000 0000 0000  ..x.............

Where the version should be stored, there's now only random (?) garbage. And when I try to load this later, I guess it's checking against different random garbage and determines that the save file is incompatible.

Could this be a clue?

comment:2 by vanfanel, 6 days ago

Yes, creating this file manually works. Thanks!

Maybe SCUMMVM should warn about this file being missing at start?

comment:3 by eriktorbjorn, 6 days ago

Maybe SCUMMVM should warn about this file being missing at start?

That's what I would have thought too, but I'm not sure which games actually require it. Hopefully someone more familiar with SCI will be able to tell us.

I noticed that I had missed copying the VERSION file for some of my SCI games that I haven't gotten around to playing yet, which made me a bit worried. But at least for some it didn't seem to make a difference. And for a few - I forget which ones - I couldn't even find such a file on the CD.

Note: See TracTickets for help on using tickets.