SAVE-bug in Worldsmith?

I’m playing Worldsmith from the browser link in the downloadable zip-file on itchio: Worldsmith by Interactive Fables (linked from IFDB). (Needs to be opened in a browser because it uses Vorple).

I have two working saves. When I try to add a new one with my current progress, I get an error:

Quixe run: QuotaExceededError: Failed to execute ‘setItem’ on ‘Storage’: Setting the value of ‘content:save:476c756c0003010200243900003fd700003fd700000100000000003c00190ac095e9ea7e496e666f00010000362e3333302e33380001313630383133c1000030:Worldsmith’ exceeded the quota. Failed to execute ‘setItem’ on ‘Storage’: Setting the value of ‘content:save:476c756c0003010200243900003fd700003fd700000100000000003c00190ac095e9ea7e496e666f00010000362e3333302e33380001313630383133c1000030:Worldsmith’ exceeded the quota. QuotaExceededError

Both my other saves still work. I tried different names for the new save. This error keeps popping up.

I love the game so far, but I cannot imagine playing this without the option for multiple saves throughout my playsessions. Anyone have any ideas?

1 Like

That’s usually a ran-out-of-space error: browser storage is limited (per domain). Hrm. I get more than two though (Firefox/Windows). And… if I open the browser tools (Storage > Local Storage) they don’t seem that big.

And if you have two working saves it’s not just denying all localstorage because you’re opening from a file, which I think some browsers used to do. Not sure what’s going on there.

What browser/OS?

1 Like

Microsoft Edge.

There doesn’t seem to be a save-to-disk option built into Worldsmith. I’ll have another poke around to be sure. A feature like that should solve the problem, no?

1 Like

This happens to me with Twine games on itch all the time. I just have to delete my local storage for itch by going to developer tools or settings or whatever and clearing it.

Edit: for future readers, I was wrong. See below!

Right, saves on itch aren’t per-game; all of the save data from anything you’ve played on itch counts against your browser’s quota for the whole site. So you might need to work out whether there are any other games whose save data you can delete, or just wipe the lot and hope none of it was too vital.

Right, but this isn’t on itch: Worldsmith only has a downloadable version.

1 Like

Thanks, I was wondering the same thing. How is the save-capacity on itch connected to me playing a browser-based but downloaded (and offline playable) game?

Would clearing my browser history clear up space for saves? I find it hard to believe that a few game-saves would take up so much space.

No, they shouldn’t be connected.

And yeah, I didn’t really play the game but at the start, saves are like 64K and usually the local-storage limit is 5M so that should be enough for about 80 saves.

Local storage is usually associated with browser cookies (as far as clearing them goes). But you could also try opening the dev tools (F12) and then going to the Application tab (I guess the icon is supposed to look like a rounded application window?) and looking under local storage to see what’s there:

Each Worldsmith save seems to have a content:save and a dirent:save with the same alphanumeric gobbledygook after it, so you could theoretically delete them individually by clicking them and hitting the Delete (or Backspace?) key. Less of a nuclear option than clearing all your browser history/cookies. I’d be curious to hear if you have anything else there that’s taking up space: I wouldn’t think there would be, but…

1 Like

localStorage has a capacity of 5 million characters per origin, but Quixe takes 3-4 characters to store each byte, meaning it can only store about 1.3MB. That’s still enough for several savefiles for most games.

You could run this script in the dev tools console to see how much is currently stored in localStorage:

for (key in localStorage){console.log(key, localStorage[key].length)}
1 Like

No, sorry, that was me misunderstanding what @mathbrush posted and not paying enough attention to the rest of the thread.

Does that include if the origin is localhost? Could @rovarsson have opened something else locally that has filled up all the local storage capacity?

Each file: URL should be treated as its own origin. Anything on 127.0.0.1 would be treated as one origin, I think. But each port is a different origin.

So if Worldsmith is running a little local webserver then there’s a chance it could be sharing its localStorage quota with other things.

1 Like

I don’t think this is universal. It’s true in Firefox but I just checked in Safari and it doesn’t seem to be true there. I don’t have Edge and a cursory google search didn’t give me an answer, but that might be the issue.

3 Likes

Oh, good call! I just opened Edge and pulled up Worldsmith and Bee, and:

3 Likes

Edge is just a rebranded Chromium, so I expect Chrome would be the same. Maybe only Firefox treats each file: as its own origin?

Oh yeah, sure enough: Chrome is the same. Edge styles the dev tools quite a bit differently so I didn’t even think about that.