Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » .scratch
- ForumHelperNanoPiex
-
Scratcher
500+ posts
.scratch
There should be a .scratch ending tag like gifs. Using our coding knowledge we will make this happen.
Want to join? Go here: dooopdeeeeeedooooooooooo
Want to join? Go here: dooopdeeeeeedooooooooooo
Last edited by ForumHelperNanoPiex (Aug. 17, 2021 23:46:00)
- -gge
-
Scratcher
1000+ posts
.scratch
the .sb, .sb2, .sb3, .sprite, .sprite2, and .sprite3 tags already exist
what would the .scratch tag even do
what would the .scratch tag even do
- dhuls
-
Scratcher
1000+ posts
.scratch
.scratch already exists. It's used for projects made in Pre-1.0 versions of Scratch (14Feb04-27Jul06).
- -gge
-
Scratcher
1000+ posts
.scratch
It would be a gTLD.
There should be a .scratch ending tag like gifsit's a file format probably
confusing
e
sdiuasfrhwe7s9ur9wer
- ForumHelperNanoPiex
-
Scratcher
500+ posts
.scratch
the .sb, .sb2, .sb3, .sprite, .sprite2, and .sprite3 tags already existIt would show that something was made on Scratch!
what would the .scratch tag even do
It would be a gTLD.Nope, it's a new ending tag, for scratchers, by scratchers.
.scratch already exists. It's used for projects made in Pre-1.0 versions of Scratch (14Feb04-27Jul06).Correct, but it's quite hard to use that for today's projects.
That's the word.It would be a gTLD.There should be a .scratch ending tag like gifsit's a file format probably
confusing
e
sdiuasfrhwe7s9ur9wer
- Sheep_maker
-
Scratcher
1000+ posts
.scratch
File extensions can be anything; they're only determined by convention. Sometimes this leads to conflicts, like .ts being used both for video and TypeScript
Using file extensions to determine the file type was originally a Windows convention, I think; Unix prefers using magic bytes at the start of the file, and the web uses MIME types. But most computers made for the common user now use file extensions to determine the icon and default application to use probably because it's easier than having developers have to register their magic bytes for every platform, and also some files types are essentially the same but are intended to be read by different programs (for example, .svg in an image viewer, but .html in a browser, or .zip in a unzipping program, but .sb3 in the Scratch Desktop Editor, etc.)
Using file extensions to determine the file type was originally a Windows convention, I think; Unix prefers using magic bytes at the start of the file, and the web uses MIME types. But most computers made for the common user now use file extensions to determine the icon and default application to use probably because it's easier than having developers have to register their magic bytes for every platform, and also some files types are essentially the same but are intended to be read by different programs (for example, .svg in an image viewer, but .html in a browser, or .zip in a unzipping program, but .sb3 in the Scratch Desktop Editor, etc.)
- dhuls
-
Scratcher
1000+ posts
.scratch
That's what .sb .sb2 .sb3 .sprite .sprite2 and .sprite3 already do.the .sb, .sb2, .sb3, .sprite, .sprite2, and .sprite3 tags already existIt would show that something was made on Scratch!
what would the .scratch tag even do
- -gge
-
Scratcher
1000+ posts
.scratch
It would show that something was made on Scratch!the .sb, .sb2, .sb3, .sprite, .sprite2, and .sprite3 tags already do that
what purpose would this serve
- ForumHelperNanoPiex
-
Scratcher
500+ posts
.scratch
It would bind all of those together.It would show that something was made on Scratch!the .sb, .sb2, .sb3, .sprite, .sprite2, and .sprite3 tags already do that
what purpose would this serve
- Sheep_maker
-
Scratcher
1000+ posts
.scratch
I made a .scratch file; here's a download link that downloads a zip, which contains the .scratch file.
- dhuls
-
Scratcher
1000+ posts
.scratch
That would only cause errors, especially since 2.0 and 3.0 can't read .sprite files, and while 0.x and 1.x might think they are 0.x projects, they might be 3.0 projects, and cause errors.It would bind all of those together.It would show that something was made on Scratch!the .sb, .sb2, .sb3, .sprite, .sprite2, and .sprite3 tags already do that
what purpose would this serve
Also, there's no distinction between projects and sprites.
- Sheep_maker
-
Scratcher
1000+ posts
.scratch
iirc Scratch doesn't use the file name to distinguish between .sb, .sb2, and .sb3. It tries to unzip it, and if it's successful, it tries to validate the project.json as an .sb3, and if the validation fails, it tries validating it as an .sb2; if it's not unzippable, then it'll try loading it as an .sb.That would only cause errors, especially since 2.0 and 3.0 can't read .sprite files, and while 0.x and 1.x might think they are 0.x projects, they might be 3.0 projects, and cause errors.It would bind all of those together.It would show that something was made on Scratch!the .sb, .sb2, .sb3, .sprite, .sprite2, and .sprite3 tags already do that
what purpose would this serve
Also, there's no distinction between projects and sprites.
Presumably, this can be extended for the sprite files. Apparently .sprite3 files and .sprite2 files are the same as their project file counterparts except they have a sprite.json file instead of project.json. I would assume that a .sprite and .sb file can also be distinguished from each other.
Edit: package.json -> project.json; yes, Node has exerted its influence on me
Last edited by Sheep_maker (Aug. 20, 2021 04:18:55)
- kccuber
-
Scratcher
1000+ posts
.scratch
package.json
package.jsonDid you mean project.json? when u too into node apps and stuff and say package.json by mistake
- hello_smile
-
Scratcher
1000+ posts
.scratch
If you are on Windows, add .scratch to the file extension list that .sb3 is in with regedit. Then, .scratch will work. Then use regex to rename every .sb3 to .scratch .
- ForumHelperNanoPiex
-
Scratcher
500+ posts
.scratch
y tho
the .sb, .sb2, .sb3, .sprite, .sprite2, and .sprite3 tags already existIt would show that something was made on Scratch!
what would the .scratch tag even doIt would be a gTLD.Nope, it's a new ending tag, for scratchers, by scratchers..scratch already exists. It's used for projects made in Pre-1.0 versions of Scratch (14Feb04-27Jul06).Correct, but it's quite hard to use that for today's projects.That's the word.It would be a gTLD.There should be a .scratch ending tag like gifsit's a file format probably
confusing
e
sdiuasfrhwe7s9ur9wer
- ScratchCatHELLO
-
Scratcher
1000+ posts
.scratch
an editor that could edit any format would be cool, if that’s what you mean
- Discussion Forums
- » Advanced Topics
-
» .scratch






