I’m testing post-comp Six. Last night I saved my game. This morning I restored it (in the latest Gargoyle) and it immediately crashed like this:
[i] [Saved file successfully restored.]
*** fatal error: Reference to nonexistent Glk object. ***[/i]
I had restored it from the game’s front-end menu, so I tried again by typing RESTORE at the parser after starting a new game, and got the same error.
I then took the game to a terp with no sound enabled (Zoom), and found I was able to restore the save.
Then I took it to an old terp with sound support (Spatterlight), and tried to restore, and got the error again.
So I’d learned it was sound-related and not just Gargoyle. I never saw this happen before, and a lot of people have played the game, and none have reported this happening. That suggested it might be something in the new glk spec, but it could equally have been luck.
Then I tried an experiment. I started playing and saved the game while a sound was playing. Then I tried to restore that game. It crashed. I restarted, walked to the same room, let the sound finish playing and saved. I was able to restore from that position.
So it seems if you save while a sound’s playing, when you restore, something akin to the absence of that sound makes it crash. I was able to fix this by adding a rule before any SAVE attempt that stops all audio.
I just put this observation and fix here for anyone using sound (again, next to nobody. Sound remains unpopular )