Discuss Scratch

FireflyFi
Scratcher
25 posts

Performance, Project Size and JSON Limit

So.

I don't know about the ambitions of most of the Scratch community, but I often find myself sitting down and just working and working and working on a project. I'm more of the kind of human who would like to make larger-scale games on Scratch, but there are a few… Issues.

For those of you who don't know, Scratch has a strict policy on filesize. The project overall has a limit of 50 MB (or else it can't be uploaded) and the code has to fit into a space of 5.1 MB of JSON. By these restrictions, it's a miracle that Codebreakers was even released.

There's also the RIDICULOUS issue of music. Every minute of MP3 music is between 1 and 3 MB added to your total, so there's about 20 minutes of music MAX, depending on how many costumes there are, or how well you compress it. And don't even get me started on the amount of loading strain and load time it adds to the projects.

Speaking of loading. Any project that goes over 10 MB has a substantial amount of loading time. This can also result in errors, forcing you to reload everything. And there's a certain costume loading glitch which is forcing me to redo 85 dialouge boxes (I'M LOOKING AT YOU YOU GRAY BOX WITH A BLACK QUESTION MARK)

In short, these restrictions are very limiting, and even infuriating at times.

So there's two obvious fixes.

First of all, Scratch's MB limit needs an obvious increase on both fronts. If we take a cue from the Scratch 2 to Scratch 3 update, we could do the same thing it did and multiply both MB limits by 3.4. (Or just by 3 for the overall size. 150 MB is probably enough for music. But then again, eventually, it won't be enough either.)

Unfortunately, increasing the MB limit isn't going solve the processing power problem. If anything, it'll make it worse. If even Turbowarp can't load 50 MB consistently, then it won't be able to handle 170 MB at all. Which is where the second solution comes in. Increasing Scratch's processing power.

Increasing said power would mean that Scratch would be able to handle larger projects and loading assets better. Also would probably lead to less CORRUPTED COSTUMES, eh? This might be hard to do, but Scratch could take some strategies from other programming sites such as Gamejolt. Of course, there's also the issue of Scratch being nonprofit, which… complicates things, but I'm sure there are a few optimizations to be done here and there. Ideally, with a performance upgrade, Scratch (or at least Turbowarp) could handle 170 MB projects the same way it currently handles 50.

I sincerely hope that this happens in Scratch 4.0. If you happen to be a moderator or Scratch Team member, please consider doing this. I (and likely several others) will support and help you with this change the best we can.

Sincerely, Firefly
dhuls
Scratcher
1000+ posts

Performance, Project Size and JSON Limit

Fun fact: The 50MB total size limit was removed when Scratch 3.0 came out. See this topic for more info.
With the limits described above, the largest a project can be is 318GB
FireflyFi
Scratcher
25 posts

Performance, Project Size and JSON Limit

Alright, but that doesn't necessarily expand the .json limit. (Thanks for informing me of that though.)
FireflyFi
Scratcher
25 posts

Performance, Project Size and JSON Limit

Please someone respond to this, it's an issue that should be resolved.

Also, I'm pretty sure you can't actually share anything above 50 MB.
ScolderCreations
Scratcher
1000+ posts

Performance, Project Size and JSON Limit

If you have terrible RAM, yes, you can't share anything larger than 50 MeBy. How ever, considering many people have done so, I wouldn't consider it impossible. You can easily share a project with over 50 MB total in the normal way you would, it just takes a little while. Keep in mind, if you edit a project offline, and the JSON gets larger than the website will allow, you can't upload that file.
lentas
Scratcher
25 posts

Performance, Project Size and JSON Limit

21 mb project and cant save
plqaokwsijeduhrfyg
Scratcher
500+ posts

Performance, Project Size and JSON Limit

lentas wrote:

21 mb project and cant save
Check if any file is over 5mb.
rod-resiss
Scratcher
17 posts

Performance, Project Size and JSON Limit

does turbowarp extend the 5 MB json limit?
Thethree13
Scratcher
96 posts

Performance, Project Size and JSON Limit

projects over 50 mb can be uploaded, provided all assets are under 10mb and the code .json file is under 5mb. there is no longer a 50 mb limit, even for uploads
if your project will not upload/save, download it, rename it to a .zip file, and open it, and check if the project.json file is over 5mb or any other files are over 10mb.
hope this helps!
FireflyFi
Scratcher
25 posts

Performance, Project Size and JSON Limit

Thethree13 wrote:

projects over 50 mb can be uploaded, provided all assets are under 10mb and the code .json file is under 5mb. there is no longer a 50 mb limit, even for uploads
if your project will not upload/save, download it, rename it to a .zip file, and open it, and check if the project.json file is over 5mb or any other files are over 10mb.
hope this helps!
This was two years ago and I've already long since figured that out and moved past this whole debacle. Appreciate the thought though haha
Pikachu26ev2
Scratcher
5 posts

Performance, Project Size and JSON Limit

Thethree13 wrote:

projects over 50 mb can be uploaded, provided all assets are under 10mb and the code .json file is under 5mb. there is no longer a 50 mb limit, even for uploads
if your project will not upload/save, download it, rename it to a .zip file, and open it, and check if the project.json file is over 5mb or any other files are over 10mb.
hope this helps!
I have a rpg project with a .json file of 3.8 mb, almost 2 mb are the storymode, character values and level map. Does scratch have a limit for temporal values? (ask/awnser blocks), if there's no limit, I'll host a webpage or server where you download a .txt file and copy and paste the text to the awnser section. If there's a limit, I'm not gonna spend 2 hours editing the code.
ProPugMaster101
Scratcher
1 post

Performance, Project Size and JSON Limit

How did u overcome this issue. I'm currently making a large scale RPG and have been making it for almost a year now. I'm almost done but I have to add character descriptions for the party maker and I'm nearly at the 5mb Jason limit.

Powered by DjangoBB