Savestate limitations
Monkey Forums/Monkey Programming/Savestate limitations| 
 | ||
| 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? | 
| 
 | ||
| I think its the same but might be wrong. | 
| 
 | ||
| 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. | 
| 
 | ||
| ah ok guys @GfK: thanks for the heads up on the Chr(0) problem, will have to handle that one too. | 
| 
 | ||
| http://www.monkeycoder.co.nz/Community/posts.php?topic=2545 | 
| 
 | ||
| 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... | 
| 
 | ||
| firefox seems capable of saving 5MB |