Discuss Scratch

scratchfan321
Scratcher
61 posts

(Resolved) Am I allowed to use a project.json minimiser?

The project.json of my most recent (And likely final) project is Terraria on Scratch. The project is shared to the website, but cannot easily be modded by other users, since the project.json within the project is 4.99Mb (Max size is 5Mb)

I cannot lower the project.json any further manually - I have lowered it down from 5.6Mb to 4.99Mb manually.

The two options are:
-Use a project.json minimiser and reduce the project.json size down to 4.1Mb and share it to the website, allowing modding. However, I don't know if this breaks the Terms of Use section 4.4, and do not want the project nor my account to be suspended / removed from the website.

OR

-Do nothing and leave the project.json at 4.99Mb. It will not be possible for others mod the project this way.


Update: Something odd happened and the project.json appears to have just shrunk to 4Mb by itself, uploading new version soon.

Last edited by scratchfan321 (Jan. 13, 2022 12:52:23)

Picoguy
Scratcher
100+ posts

(Resolved) Am I allowed to use a project.json minimiser?

How are you going to upload a .json to scratch??

I'm Picoguy, check out my games and maybe follow me


scratchfan321
Scratcher
61 posts

(Resolved) Am I allowed to use a project.json minimiser?

Picoguy wrote:

How are you going to upload a .json to scratch??
The project.json is within the .sb3 file. project.json contains information about which costume belongs to which sprite, information about lists and variables, blocks, sprite names etc. I would upload the sb3 file containing a smaller project.json, since an sb3 is just a renamed .zip file.
NFlex23
Scratcher
500+ posts

(Resolved) Am I allowed to use a project.json minimiser?

I would think it's allowed because it doesn't actually change (other than whitespace) the JSON.

King of excessively editing posts
NFlex23
••
Programmer | #TrustTheST

Math • Raspberry Pi • Python • GitHub

Ninetails: a private, fast, and beautiful web browser.
skymover1239
Scratcher
100+ posts

(Resolved) Am I allowed to use a project.json minimiser?

Not a lawyer, but I'm guessing no. Mostly because of this part

TOE Section 4.4 wrote:

You may only submit user-generated projects
Which a minified version of the project.json would not be user-generated.

Last edited by skymover1239 (Jan. 12, 2022 17:23:43)



Featured projects

Katana a HTML Renderer - A python app the renders HTML.
AquaCSS - A CSS framework that brings modern design to your website.
Ink - A online word processor with no server involved.

Select some text, then Shift + Down to the rest of my signature.





Me -2022 wrote:

If you are going to criticize something, do so constructively.






Languages I like: HTML,CSS, JavaScript, Python,Bash

Languages and Frameworks I dislike
Batch, Java C/C++ TailWindCSS
scratchfan321
Scratcher
61 posts

(Resolved) Am I allowed to use a project.json minimiser?

skymover1239 wrote:

Not a lawyer, but I'm guessing no. Mostly because of this part

TOE Section 4.4 wrote:

You may only submit user-generated projects
Which a minified version of the project.json would not be user-generated.
Ok, thanks!
skymover1239
Scratcher
100+ posts

(Resolved) Am I allowed to use a project.json minimiser?

scratchfan321 wrote:

skymover1239 wrote:

Not a lawyer, but I'm guessing no. Mostly because of this part

TOE Section 4.4 wrote:

You may only submit user-generated projects
Which a minified version of the project.json would not be user-generated.
Ok, thanks!
Maybe ask a ST member, because @NFlex23's point is a good one.


Featured projects

Katana a HTML Renderer - A python app the renders HTML.
AquaCSS - A CSS framework that brings modern design to your website.
Ink - A online word processor with no server involved.

Select some text, then Shift + Down to the rest of my signature.





Me -2022 wrote:

If you are going to criticize something, do so constructively.






Languages I like: HTML,CSS, JavaScript, Python,Bash

Languages and Frameworks I dislike
Batch, Java C/C++ TailWindCSS
CST1229
Scratcher
1000+ posts

(Resolved) Am I allowed to use a project.json minimiser?

NFlex23 wrote:

(#4)
I would think it's allowed because it doesn't actually change (other than whitespace) the JSON.
It does. The project.json is already minified in terms of whitespace. The project.json compressors the OP is probably talking about make actual changes to the project.json.

Also, I don't think the “don't share projects that weren't made manually” rule is enforced ever.

This is a signature. It's text that appears below each post I write. Click here to make your own. And use Shift+Down to see more if you're on Chrome.


Stuff I made
All emojis usable in the forums and in comments

⌚️⏰⏱️⏲️⌨️☎️⌛️⚖️⚙️✉️✂️✒️☂️✏️☕️♟️⚰️⚱️⛏️⚔️⚒️⛓️⚗️⛑️
⭐️✨⚡️☄️☀️⛅️☁️⛈️⛄️❄️☔️☘️
☹️✌️☝️✍️✋☺️
⚽️⚾️⛳️⛹️⛷️⛸️
✈️⛵️Ⓜ️⚓️⛽️⛲️⛺️⛪️⛰️⛱️⛴️⛩️♨️
❗️❕❓❔©️®️‼️⁉️™️➕➖➗✖️⛔⭕❌✔️〰️〽️⚠️
☑️✅❎▶️⏩⏪⏫⏬ℹ️⏭️⏮️⏯️⏏️◀️➡️⬅️⬆️⬇️↗️↘️↙️↖️↪️↩️⤴️⤵️✳️✴️❇️㊗️㊙️
⚕️☦️♾️⚛️⛎️✝️☪️☮️☯️☸️♈️♉️♊️♋️♌️♍️♎️♏️♐️♑️♒️♓️
❤️❣️♠️♣️♥️♦️♀️♂️♻️☢️☣️⚜️➰️➿️☠️
⬛️⬜️⚪️⚫️▪️▫️◻️◼️◽️

Copy-paste as you wish! No credit needed.
Some assets for use in posts
Globe button
[img]https://cdn.scratch.mit.edu/scratchr2/static/__73c73bf495827f55759847fac6191e53__//djangobb_forum/img/browser-os.png[/img]
9pfs
Scratcher
100+ posts

(Resolved) Am I allowed to use a project.json minimiser?

CST1229 wrote:

NFlex23 wrote:

(#4)
I would think it's allowed because it doesn't actually change (other than whitespace) the JSON.
It does. The project.json is already minified in terms of whitespace. The project.json compressors the OP is probably talking about make actual changes to the project.json.

Also, I don't think the “don't share projects that weren't made manually” rule is enforced ever.
I agree. For example, I often use build scripts for my projects. Technically, any data generated in such a way which is included in an uploaded .sb3 is not manually created. So do some others. Nobody's ever been punished for that.


topic/571765 MUST be apologized for.
Turns out, it was!!!

This is what SA looks like.
Yes, I removed the branding. Don't worry, admins!
Click the picture to see it bigger.

Scratch137
Scratcher
500+ posts

(Resolved) Am I allowed to use a project.json minimiser?

CST1229 wrote:

NFlex23 wrote:

(#4)
I would think it's allowed because it doesn't actually change (other than whitespace) the JSON.
It does. The project.json is already minified in terms of whitespace. The project.json compressors the OP is probably talking about make actual changes to the project.json.

Also, I don't think the “don't share projects that weren't made manually” rule is enforced ever.
It's sort of moot anyway, since Scratch 3.0 doesn't even recognize projects that contain custom code. For example, attempting to import a Scratch Lab project in vanilla Scratch 3.0 just makes it load forever.

The issue isn't so much that it's not allowed, but rather that Scratch literally will not let you.

EDIT: To clarify, I'm referring to full-on Scratch mods here. Minifying the JSON shouldn't cause any real issues.

Last edited by Scratch137 (Jan. 13, 2022 02:29:47)


.

.



_Scratch_____________ocular_____________postpercent_____________GitHub

.


Banner font is Cascadia Code

Za-Chary wrote:

No kissy kiss
No stabby stab

Them's the rulez..

And it was then that a single pixelated tear was shed by the cubeupload example image, and all of a sudden he discovered that he was no longer just an example image, soon to be deleted, but a real living boy!
as the jingle goes: gimme a break, gimme a break, break me off a piece of that —cubeupload example image


Be moist

;
9pfs
Scratcher
100+ posts

(Resolved) Am I allowed to use a project.json minimiser?

Scratch137 wrote:

CST1229 wrote:

NFlex23 wrote:

(#4)
I would think it's allowed because it doesn't actually change (other than whitespace) the JSON.
It does. The project.json is already minified in terms of whitespace. The project.json compressors the OP is probably talking about make actual changes to the project.json.

Also, I don't think the “don't share projects that weren't made manually” rule is enforced ever.
It's sort of moot anyway, since Scratch 3.0 doesn't even recognize projects that contain custom code.
At this point, the issue isn't so much that it's not allowed, but rather that Scratch literally will not let you.
The code would be completely valid, so that wouldn't be an issue.


topic/571765 MUST be apologized for.
Turns out, it was!!!

This is what SA looks like.
Yes, I removed the branding. Don't worry, admins!
Click the picture to see it bigger.

Scratch137
Scratcher
500+ posts

(Resolved) Am I allowed to use a project.json minimiser?

9pfs wrote:

Scratch137 wrote:

CST1229 wrote:

NFlex23 wrote:

(#4)
I would think it's allowed because it doesn't actually change (other than whitespace) the JSON.
It does. The project.json is already minified in terms of whitespace. The project.json compressors the OP is probably talking about make actual changes to the project.json.

Also, I don't think the “don't share projects that weren't made manually” rule is enforced ever.
It's sort of moot anyway, since Scratch 3.0 doesn't even recognize projects that contain custom code.
At this point, the issue isn't so much that it's not allowed, but rather that Scratch literally will not let you.
The code would be completely valid, so that wouldn't be an issue.
Yep, if the JSON doesn't contain any code that Scratch doesn't recognize, then the project should load just fine.

The policy seems to assume that Scratch will somehow magically recognize the code and start doing things it wasn't designed to do, which is not possible. In its current state, there is no real reason for the policy to exist.

.

.



_Scratch_____________ocular_____________postpercent_____________GitHub

.


Banner font is Cascadia Code

Za-Chary wrote:

No kissy kiss
No stabby stab

Them's the rulez..

And it was then that a single pixelated tear was shed by the cubeupload example image, and all of a sudden he discovered that he was no longer just an example image, soon to be deleted, but a real living boy!
as the jingle goes: gimme a break, gimme a break, break me off a piece of that —cubeupload example image


Be moist

;
god286
Scratcher
1000+ posts

(Resolved) Am I allowed to use a project.json minimiser?

Scratch137 wrote:

The policy seems to assume that Scratch will somehow magically recognize the code and start doing things it wasn't designed to do, which is not possible. In its current state, there is no real reason for the policy to exist.
remember apple502j discovered a vulnerability in the SVG renderer?


                 _ ____  ___   __   
__ _ ___ __| |___ \( _ ) / /_
/ _` |/ _ \ / _` | __) / _ \| '_ \
| (_| | (_) | (_| |/ __/ (_) | (_) |
\__, |\___/ \__,_|_____\___/ \___/
|___/
^ inspired by @Chiroyce, made with figlet


badatprogrammingibe
Scratcher
500+ posts

(Resolved) Am I allowed to use a project.json minimiser?

Many a user has done such a thing in the past, so need not worry. The section of the TOS is likely to prevent people from spamming the website, or to prevent malicious users from creating projects exploiting various exploits.

Powered by DjangoBB

Standard | Mobile