Discuss Scratch
- Discussion Forums
- » Suggestions
- » Store projects as .txt instead of JSON
- 0_009
-
Scratcher
1000+ posts
Store projects as .txt instead of JSON
This would significantly reduce server storage.
Blocks are stored as a separate .txt file called scratchblocks-[project ID].txt.
Costumes and backdrops are stored as a separate .txt file called vecbit-[project ID].txt.
Sprites and the stage are stored as a separate .txt file called sprstg-[project ID].txt.
Sounds, however, are the only ones not stored as a .txt file.
Blocks are stored as a separate .txt file called scratchblocks-[project ID].txt.
Costumes and backdrops are stored as a separate .txt file called vecbit-[project ID].txt.
Sprites and the stage are stored as a separate .txt file called sprstg-[project ID].txt.
Sounds, however, are the only ones not stored as a .txt file.
- plum_the_fox
-
Scratcher
1000+ posts
Store projects as .txt instead of JSON
a json actually holds code though, a .txt does not, no support
- ChristianScratcher1
-
Scratcher
1000+ posts
Store projects as .txt instead of JSON
No support
This is a coding website, not a word document. JSON can actually save code wheras .txt contains unformatted text and is good for Read Me's but not good for storing coding data
This is a coding website, not a word document. JSON can actually save code wheras .txt contains unformatted text and is good for Read Me's but not good for storing coding data
Last edited by ChristianScratcher1 (April 15, 2026 23:52:58)
- 0_009
-
Scratcher
1000+ posts
Store projects as .txt instead of JSON
I mean, the txt will be processed by the TXT processor to turn it into code.
- GunesKing
-
Scratcher
1000+ posts
Store projects as .txt instead of JSON
This would significantly reduce server storage.Idk if I support this or not, but I really like your idea. .txt files are significantly less bytes.
Blocks are stored as a separate .txt file called scratchblocks-[project ID].txt.
Costumes and backdrops are stored as a separate .txt file called vecbit-[project ID].txt.
Sprites and the stage are stored as a separate .txt file called sprstg-[project ID].txt.
Sounds, however, are the only ones not stored as a .txt file.
- plum_the_fox
-
Scratcher
1000+ posts
Store projects as .txt instead of JSON
I mean, the txt will be processed by the TXT processor to turn it into code.yeah but it's easy to just use a json
(also convertors never really work to well)
Last edited by plum_the_fox (April 16, 2026 00:08:11)
- redspacecat
-
Scratcher
1000+ posts
Store projects as .txt instead of JSON
Costumes and backdrops are stored as a separate .txt file called vecbit-[project ID].txt.How are you going to store images in a text file? What's wrong with the current asset system?
I don't see how storing the blocks in a text file would improve things. JSON is just a convenient format for storing data in a text file. Switching to a custom format would be challenging and be somewhat pointless.
Last edited by redspacecat (April 16, 2026 00:24:53)
- ose737
-
Scratcher
100+ posts
Store projects as .txt instead of JSON
I mean, the txt will be processed by the TXT processor to turn it into code.Yeah, I think this would actually cause more problems than it would actually fix..
- TimothyLawyer
-
Scratcher
1000+ posts
Store projects as .txt instead of JSON
svg and json are both text files already
since zip compression is applied to the sb3, any non-lossy changes to the parts of a Scratch project are unlikely to reduce server storage significantly
since zip compression is applied to the sb3, any non-lossy changes to the parts of a Scratch project are unlikely to reduce server storage significantly
Last edited by TimothyLawyer (April 16, 2026 03:14:18)
- Paddle2See
-
Scratch Team
1000+ posts
Store projects as .txt instead of JSON
svg and json are both text files alreadyRight.
since zip compression is applied to the sb3, any non-lossy changes to the parts of a Scratch project are unlikely to reduce server storage significantly
- Discussion Forums
- » Suggestions
-
» Store projects as .txt instead of JSON