Itch just posted that they’re having to switch providers for some of their game hosting (sometime in the next 90 days, more specific timeline not known yet). When this happens, it’ll cause you to lose your browser saves for games on itch, since your browser will have them attached to the old location and not the new one.
So if you’re playing long IF pieces on itch.io you might want to try and finish them up, or see if there’s a download-save-file option (I think recent versions of SugarCube provide this…).
Maybe we could publish a fake game where people could easily export in a file the contents of their localStorage and then restore it by uploading the file when the domain is effectively changed.
Since the localStorage is shared by all games on itch, you would need to do it only once to save all games at once.
…huh. That would actually be trivial to do, wouldn’t it? Nice catch!
Trivial indeed, it’s done:
There’s room for improvements but that’s for another day:
EDIT: Most of it is now done.
explain what it does
link to itch’s announcement
check the storage is not empty
check if the domain has changed and update the page
maybe more HTML, there isn’t even a
<body> in it
- check for conflicts with existing data on export
check mobile compatibility