"RokuMarkn" wrote:
Yes, 64K is the smallest possible persist filesystem, so smaller numbers are taken to mean 64K.
Per my tests, the actual cut-off is persist_quota=67 vs 68 for some odd reason and the maximum file size under the default quota is 35840 bytes but that's small beer -
But it's not supposed to lose content if you change the persist size. It's supposed to create a new filesystem of the requested size, copy the files from the old one to the new one, and delete the old one. I haven't tested it but that's what the code says.
Unfortunately it does not do what it's supposed to.
ANY change in the filesystem allocation leads to content loss; be it from default to custom (>67) quota or back, be it increase or decrease in the custom quota. I would have expected at least increase in the quota to preserve the content and decrease to preserve it if the actual content fit in the smaller quota but no - the contents gets lost. Boom! - and your save levels are toast and the app thinks this is brand new install. I am very sure of it, i did a meticulous, exhaustive testing (over 50 tests, will PM spreadsheet of the results).
I ran into this "feature" first couple of months ago, when i decided to be modest and
decrease the
persist_quota=16384 which Marmalade plants by default*. The reason i asked above if
persist gets zlib compressed like the registry - the reason being that if it doesn't get squeezed somehow, a Roku is losing 16MB flash per Marmalade game. Which given the total of 256MB flash means some horrible things will start happening when a dozen (possibly half a dozen) Marmaladen games are installed. I can't know what things exactly but know when memory is low, things don't go well...
(*) To quote an obscure philosopher, "
Ohh, marmalade!"