Discuss Scratch

PintOfMilk
Scratcher
1000+ posts

sb2 and .zip JSON size limit

I now know that the size limit for Scratch is 2.5MB (JSON)
I converted my SB2 file to .Zip
I opened my game up it is 1 426 014 big (on 7-ZIP) however when it is compressed it is 159 952 big

Is it near 0.2MB or 1.4MB big on the JSON size


Does n!+1=m^2 have interger solutions apart from n=4,5,7?
_nix
Scratcher
1000+ posts

sb2 and .zip JSON size limit

I'm not sure what you mean by “compressed”? It might be the case that the JSON file is not being minified by the 2.0 editor (i.e. it has unnecessary whitespace), so the file that is saved on Scratch's servers is bigger than it needs to be. I'm also fairly certain that JSON files themselves are stored on the Scratch servers just as text files, not compressed with something like zip.

══ trans autistic lesbian enbydoggirls // 16 17 18 19 20, she/they
sparrows one word to the paragraph // <3 // ~(quasar) nebula
PintOfMilk
Scratcher
1000+ posts

sb2 and .zip JSON size limit

_nix wrote:

I'm not sure what you mean by “compressed”? It might be the case that the JSON file is not being minified by the 2.0 editor (i.e. it has unnecessary whitespace), so the file that is saved on Scratch's servers is bigger than it needs to be. I'm also fairly certain that JSON files themselves are stored on the Scratch servers just as text files, not compressed with something like zip.
When I used the link to get a JSON of a file it was around 1.4MB.
Do you know anyway to increase it?
https://scratch.mit.edu/discuss/topic/293933/ I've added a suggestion.

Last edited by PintOfMilk (March 5, 2018 19:50:09)



Does n!+1=m^2 have interger solutions apart from n=4,5,7?
Sigton
Scratcher
1000+ posts

sb2 and .zip JSON size limit

2.5MB isn't that small, my largest project is only 432KB.

Sigton


PintOfMilk
Scratcher
1000+ posts

sb2 and .zip JSON size limit

Sigton wrote:

2.5MB isn't that small, my largest project is only 432KB.

Sigton
Mine is 3.2MB and 1.3MB are scripts


Does n!+1=m^2 have interger solutions apart from n=4,5,7?

Powered by DjangoBB