Hi, I’m new to Inform development, so apologies if my question pegs me as a hopeless newbie
I’m collaborating on a work of IF that will be presented in a public place in a sort of “kiosk” mode. There will be passerbys interaction with the work of IF and I’d like to give them a simple way of saving their progress and picking up where they left off.
Is there a way to save off a reader’s progress without presenting the reader with a save dialog? What I’d like to do is automatically save the game when the reader quits (or saves) and let them recover the game via a user name or unique id number.
You may want to take a look at the Alternative Permadeath extension. (Nominally mine, but almost all code comes from Erik Temple. It is not yet officially released, but I put a temporary version online for your use.) It doesn’t quite do what you want, but it does show you how to save a game without presenting a save dialog.
Thanks for the code suggestions… I’ve been playing around with Alternative Permadeath and the dynamic file naming code and they are doing the trick.
I did run into a file loading sensitivity that I would love to get advice regarding. It appears that successfully loading a saved game requires the game to not have changed at all. The slightest change to the game code (such as adding a space in quoted text) seems to be enough to make a glkdata file unloadable.
Does that sound correct? If so, is there any way around it?