Discuss Scratch

SimpleScratch
Scratcher
500+ posts

Code to translate Scratch 1.4 to Scratch 3

The Scratch site automatically converts uploaded Scratch 1.4 files into Scratch 3 format

Is the code for this conversion available to examine?

I've got a mad idea but don't want to have to write my own Scratch 1.4 -> Scratch 3 converter
discussion_man
New Scratcher
89 posts

Code to translate Scratch 1.4 to Scratch 3

The source code for the Scratch editor is available at https://github.com/LLK/scratch-gui. If you're willing to do some digging through the code, you may find something there
apple502j
Scratcher
1000+ posts

Code to translate Scratch 1.4 to Scratch 3

SimpleScratch wrote:

The Scratch site automatically converts uploaded Scratch 1.4 files into Scratch 3 format

Is the code for this conversion available to examine?

I've got a mad idea but don't want to have to write my own Scratch 1.4 -> Scratch 3 converter
For Scratch 1.4 -> 2.0, https://github.com/llk/scratch-sb1-converter
SimpleScratch
Scratcher
500+ posts

Code to translate Scratch 1.4 to Scratch 3

The source code for the Scratch editor is available at https://github.com/LLK/scratch-gui.

Since Scratch Desktop doesn't convert .sb to .sb3, I was thinking that the conversion isn't part of the core Scratch 3 code so I haven't tried looking as I don't think it will be in there.

SimpleScratch
Scratcher
500+ posts

Code to translate Scratch 1.4 to Scratch 3

For Scratch 1.4 -> 2.0

mmm

I just tested Scratch Desktop loading in .sb2 file and that works.

So I'm thinking that maybe that's what the website does - converts .sb to .sb2 on upload and then core code takes over to produce .sb3 if re-downloaded

Powered by DjangoBB