angstsmurf / spatterlight

Updated fork of Spatterlight
GNU General Public License v3.0
105 stars 5 forks source link

Save games in Frotz and Spatterlight #35

Closed 10vorne closed 2 years ago

10vorne commented 3 years ago

Since I use Frotz on iOS and the program is not available on MacOS, I installed Spatterlight. Unfortunately, it seems that the save games of the two programs are not compatible. Frotz has a Dropbox integration to continue playing games on different devices without any problems. When I save a game (I tested it with Hibernated) in Spatterlight, the suffix of the savegame is different from that of Frotz. Would it be possible to establish compatibility here?

angstsmurf commented 3 years ago

Spatterlight and Frotz already use the same save format, the only difference is the file extensions. Unless iOS Frotz is very different from desktop Frotz, it uses .qzl as extension for save files. If you replace .glksave with .qzl, save files from Spatterlight should work in Frotz. Spatterlight is able to read .qzl save files from Frotz without any renaming.

10vorne commented 3 years ago

Thank you, I'll try :)

10vorne commented 2 years ago

I tried to load a Frotz-Savegame of Hibernated 1 (without modification of the suffix) in Frotz and that worked. But not vice versa. Any idea?

angstsmurf commented 2 years ago

Seems to work fine here. What error do you get?

EDIT: That is, a save file made in Hibernated 1 with command-line Frotz works in Spatterlight. If you attach your save file to your reply, I'll try that as well.

10vorne commented 2 years ago

Perhaps it has to do with using different release version of the game. I'll check.

angstsmurf commented 2 years ago

Right. Save files are not compatible between different game versions in Z-machine or Glulx games.

10vorne commented 2 years ago

Yes, that was the problem, different RC. Working now :)