The 1mb SaveState limit
Monkey Forums/Monkey Programming/The 1mb SaveState limit
| ||
Is there any chance that this limit can be by-passed or extended on certain targets in the future? |
| ||
I don't think Monkey polices the limit. If you want to try and save more than 1MB, you can. Even Flash allows it once you've accepted the local storage pop-up. |
| ||
this seems to be on html5 only if worse comes to worse you could Print the save-game and tell the player to copy and paste it into a text file :D I dont know how he would upload it though |
| ||
Most modern browsers should have at least 5MB for local storage. As strings may be saved as UTF-16 and there's overhead, you can't assume that you can save a 5 million character string. The limit on Chrome seems to be 2621391, for example. |
| ||
I did voice concerns about this before as different targets seemed to have different limits and none of it is documented. Cant remember details but i had problems such as no data being saved, system hangs and crashes when save limits were exceeded. |
| ||
Have you thought about splitting your data into 1 meg chuncks and then saving out more than one state to make up the total size ? if thats possible. |
| ||
Not without writing your own save system it's not. Monkey only provides a single state storage block. |
| ||
I did voice concerns about this before as different targets seemed to have different limits and none of it is documented. http://dev-test.nemikor.com/web-storage/support-test/ |