I am unsure how the Savegame feature works exactly. I am concerned that my storage is getting full, but there is no documentation on how to expand it or keep some games back for safe keeping or archiving. I had about 5000 KB of space to start with, and 4000 KB have been used. Where are they? Can I put them on a new computer?
I agree that the savegame system for Freeciv-web needs to be improved. Savegames in Freeciv-web are stored using
HTML5 Local Storage in your web browser. Some
more docs here. The savegames are stored in your web browser, so a savegame can only be loaded on the same computer and browser where you saved it. There is no way to move it to a different computer. Chrome, Firefox and Opera gives you 5 Megabytes of local storage capacity in the browser. There is unfortunately
no way to increase the localstorage size. A typical user will be able to fit perhaps approximately 50 savegames in the localstorage.
Saying that, please answer #1 first because my Savegames are almost full and I don't know what will happen when they are full or how to work with them at all. Can I delete only some old save games to make more room? Is that done manually or inside the game? Please work on #1 first if possible so the games can go on!
At the moment, the only way to free up space for savegames is to delete all the savegames. This can be done either when loading or saving a game. Unfortunately, there is no way to delete just some savegames at the moment.
So how can we improve the savegame system for Freeciv-web? I assume that continuing to use HTML5 Localstorage for the savegames still is a good idea, compared to the alternatives:
1. storing the savegames completely on the server, which our current server doesn't have disk-space for. This would be quite user-friendly and convenient, but is not possible since we would have to store ALL savegames for ALL users for a LONG time.
2. storing the savegames on the user's harddrive directly, which would not work on all devices (for example iPhones don't have a file-system where you can store savegames).
The first improvement I can make is to make it possible to delete specific savegames. I could also try to improve the compression method and storage of savegames in the HTML5 localstorage to make it fit more.
Let me know if you have any further suggestions!
So please give me some time to make these improvements to the Freeciv-web savegame system, and then I hope you will have the possibility to test it once I have it released live.
Andreas