Savestate limitations

Monkey Forums/Monkey Programming/Savestate limitations

EdzUp(Posted 2013) [#1]
I know SaveState is the cross platform saving thingy for Monkey and that HTML5 has a 1Mb limit, what is the limit on all other platforms?


Paul - Taiphoz(Posted 2013) [#2]
I think its the same but might be wrong.


GfK(Posted 2013) [#3]
When I researched this for Crime Solitaire I seem to think the limit for iOS was less than 1MB, but I can't remember specifically. This was well over a year ago but I had all sorts of hassle with it, like, if the data contains a Chr(0) anywhere, it fails on some targets (definitely HTML5, and I think iOS too). I ended up converting all of my save data to string format before saving.


EdzUp(Posted 2013) [#4]
ah ok guys

@GfK: thanks for the heads up on the Chr(0) problem, will have to handle that one too.


Volker(Posted 2013) [#5]
http://www.monkeycoder.co.nz/Community/posts.php?topic=2545


ElectricBoogaloo(Posted 2013) [#6]
Wow, a whole Megabyte? Really!? Blimey, I've been keeping things as small as I could, but never imagined I could actually have an entire megabyte to play with.
That's actually a whole lot better than I imagined!
Hmmm...


slenkar(Posted 2013) [#7]
firefox seems capable of saving 5MB