Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Scratch 3.0 to 2.0 converter
- thelegosensei
-
21 posts
Scratch 3.0 to 2.0 converter
so, I found this forum here: https://scratch.mit.edu/discuss/topic/287666/
but it was unhelpful at best.
so, with the release of Scratch 3.0, the new online editor looks pretty good. I think it'll be pretty fun to use once it's a bit more ironed out.
but right now, the 2.0 offline editor works better, and is my preferred editor. I've tried making a pretty simple game in Scratch 3.0, and I'm getting a great deal of input lag. this could be because I have too many tabs open at once, or because I listen to spotify while coding, idk. but I really shouldn't be getting this much lag on my gaming laptop. so, I'd like to downgrade my Scratch 3.0 project to Scratch 2.0, so I can use the offline editor to finish my project. right now, the only viable option I'm seeing is to recreate it block by block, which, as you can imagine, I'd like to avoid.
I popped open a simple .SB2 and a simple .SB3 file (made identically) in notepad++ so I could see about coding a converter in Scratch (use the resources you have, eh?) but it seems a little beyond my understanding. plus that only lets me convert the .JSON, while the other assets are similar, yet a few are different. and they have strange filenames.
so, before I break my brain too much trying to reverse engineer the whole thing, I thought I'd ask if anyone else with better knowhow is already working on a converter? or if anyone else wants one? personally I think the best thing would be to integrate a converter into the Scratch 2.0 offline editor itself, as really, without a converter, the Scratch 2.0 editor is a tad useless. plus, I can't even find the option to upload a 2.0 project to 3.0 anymore, so I suppose a converter should be made to work both ways. (“load from computer” isn't working for SB2 for me right now, I assume that's a bug and will be fixed)
but it was unhelpful at best.
so, with the release of Scratch 3.0, the new online editor looks pretty good. I think it'll be pretty fun to use once it's a bit more ironed out.
but right now, the 2.0 offline editor works better, and is my preferred editor. I've tried making a pretty simple game in Scratch 3.0, and I'm getting a great deal of input lag. this could be because I have too many tabs open at once, or because I listen to spotify while coding, idk. but I really shouldn't be getting this much lag on my gaming laptop. so, I'd like to downgrade my Scratch 3.0 project to Scratch 2.0, so I can use the offline editor to finish my project. right now, the only viable option I'm seeing is to recreate it block by block, which, as you can imagine, I'd like to avoid.
I popped open a simple .SB2 and a simple .SB3 file (made identically) in notepad++ so I could see about coding a converter in Scratch (use the resources you have, eh?) but it seems a little beyond my understanding. plus that only lets me convert the .JSON, while the other assets are similar, yet a few are different. and they have strange filenames.
so, before I break my brain too much trying to reverse engineer the whole thing, I thought I'd ask if anyone else with better knowhow is already working on a converter? or if anyone else wants one? personally I think the best thing would be to integrate a converter into the Scratch 2.0 offline editor itself, as really, without a converter, the Scratch 2.0 editor is a tad useless. plus, I can't even find the option to upload a 2.0 project to 3.0 anymore, so I suppose a converter should be made to work both ways. (“load from computer” isn't working for SB2 for me right now, I assume that's a bug and will be fixed)
- superben100
-
1000+ posts
Scratch 3.0 to 2.0 converter
I've sort-of-recently been working on Gel, an SB3 to SB2 converter. Right now though, it's pretty barebones and highly experimental.
Because of this, I'd say it'll be a while before it'll actually work for ordinary purposes.
Thanks,
Superben100.
Because of this, I'd say it'll be a while before it'll actually work for ordinary purposes.
Thanks,
Superben100.
- thelegosensei
-
21 posts
Scratch 3.0 to 2.0 converter
well hey! so glad someone's working on it! I look forward to the stable version!
- djdolphin
-
1000+ posts
Scratch 3.0 to 2.0 converter
I've written a mod that allows basic 3.0 projects to be opened in 2.0. It's not complete, though. https://github.com/djsrv/fins-flash
- SimpleScratch
-
500+ posts
Scratch 3.0 to 2.0 converter
Great to see someone working on this 
I'm trying to compile it on Win10 but gettings
and then later
I'm on latest Gradle and JRE
What OS are you running it on?

I'm trying to compile it on Win10 but gettings
C:\fins-flash-develop>.\gradlew build -Ptarget=11.6
Defining custom ‘build’ task when using the standard Gradle lifecycle plugins has been deprecated and is scheduled to be removed in Gradle 3.0
Target is: 11.6
Commit ID for scratch-flash is: unknown
and then later
* What went wrong:
A problem occurred configuring root project ‘fins-flash-develop’.
> The following error occurred while executing this line:
C:\Users\Simon\.gradle\gradleFx\sdks\e69b0f308bb0e2e9a3c5d92b5a82628a08ea31d8\installer.xml:662: The following error occurred while executing this line:
C:\Users\Simon\.gradle\gradleFx\sdks\e69b0f308bb0e2e9a3c5d92b5a82628a08ea31d8\installer.xml:873: The following error occurred while executing this line:
C:\Users\Simon\.gradle\gradleFx\sdks\e69b0f308bb0e2e9a3c5d92b5a82628a08ea31d8\installer.xml:881: The following error occurred while executing this line:
C:\Users\Simon\.gradle\gradleFx\sdks\e69b0f308bb0e2e9a3c5d92b5a82628a08ea31d8\installer.xml:923: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
I'm on latest Gradle and JRE
What OS are you running it on?
- djdolphin
-
1000+ posts
Scratch 3.0 to 2.0 converter
I'm using macOS. What OS are you running it on?
Poking through my own installer.xml file, it sounds like it might be a problem with downloading OSMF, which Jonathan50 solved before by manually downloading OSMF_1.0.zip and placing that in the C:\Users\<user>\.gradle\gradleFx\sdks\<long_number> folder.
If that doesn't work, I've uploaded a pre-built SWF here.
Another note: I'm not sure how far I want to go with this mod. I'm generally happy with 3.0 aside from the huge size of the blocks (which the Scratch Team says they are taking user feedback on), the mess of a file format compared to 2.0, and some performance issues.
- SimpleScratch
-
500+ posts
Scratch 3.0 to 2.0 converter
Not got any sub-folders in c:\users\simon\.grade\gradleFx\dsks - its empty on my machine
And your .swf is just reported as being corrupted when try to run it
Computers - don't you just love em at times
I know what you mean. The Hue and Cry to be able to convert .sb3 to .sb2 WILL die down.

And your .swf is just reported as being corrupted when try to run it

Computers - don't you just love em at times

Another note: I'm not sure how far I want to go with this mod. I'm generally happy with 3.0 aside from the huge size of the blocks (which the Scratch Team says they are taking user feedback on), the mess of a file format compared to 2.0, and some performance issues.
I know what you mean. The Hue and Cry to be able to convert .sb3 to .sb2 WILL die down.
- Agarkov
-
1 post
Scratch 3.0 to 2.0 converter
It would be better making a converter that supports SB, SB2 and SB3 and quickly converts all of these formats to each other.
Hello from Russia!

Last edited by Agarkov (May 17, 2019 17:56:46)
- superben100
-
1000+ posts
Scratch 3.0 to 2.0 converter
Your point is valid, but it can be a challenge to make more than one method of conversion. It would be better making a converter that supports SB, SB2 and SB3 and quickly converts all of these formats to each other.Hello from Russia!
- ZachZoid20
-
3 posts
Scratch 3.0 to 2.0 converter
Yes i need a converter i need to use some functions in scratch 2 in my scratch 3 project
- roboys5
-
1 post
Scratch 3.0 to 2.0 converter
I want to convert tham why Scratch 2 is better then 3 but an bit of Projects , i want to convert it ) :
- Maximouse
-
1000+ posts
Scratch 3.0 to 2.0 converter
That isn't what this topic is about. I want to have 3.0 editor look like 2.0…
- pooiod7
-
91 posts
Scratch 3.0 to 2.0 converter
https://scratch.mit.edu/discuss/topic/287666/an sb3 file is a discised zip but I dont know about sb2. I think it is the json file inside that is diferent. so, I found this forum here:
but it was unhelpful at best.
so, with the release of Scratch 3.0, the new online editor looks pretty good. I think it'll be pretty fun to use once it's a bit more ironed out.
but right now, the 2.0 offline editor works better, and is my preferred editor. I've tried making a pretty simple game in Scratch 3.0, and I'm getting a great deal of input lag. this could be because I have too many tabs open at once, or because I listen to spotify while coding, idk. but I really shouldn't be getting this much lag on my gaming laptop. so, I'd like to downgrade my Scratch 3.0 project to Scratch 2.0, so I can use the offline editor to finish my project. right now, the only viable option I'm seeing is to recreate it block by block, which, as you can imagine, I'd like to avoid.
I popped open a simple .SB2 and a simple .SB3 file (made identically) in notepad++ so I could see about coding a converter in Scratch (use the resources you have, eh?) but it seems a little beyond my understanding. plus that only lets me convert the .JSON, while the other assets are similar, yet a few are different. and they have strange filenames.
so, before I break my brain too much trying to reverse engineer the whole thing, I thought I'd ask if anyone else with better knowhow is already working on a converter? or if anyone else wants one? personally I think the best thing would be to integrate a converter into the Scratch 2.0 offline editor itself, as really, without a converter, the Scratch 2.0 editor is a tad useless. plus, I can't even find the option to upload a 2.0 project to 3.0 anymore, so I suppose a converter should be made to work both ways. (“load from computer” isn't working for SB2 for me right now, I assume that's a bug and will be fixed)
- Discussion Forums
- » Advanced Topics
-
» Scratch 3.0 to 2.0 converter