Discuss Scratch
- Discussion Forums
- » Suggestions
- » Porting to .EXE
- evilpacman10
-
87 posts
Porting to .EXE
I know there are methods for porting a .sb2 project to an executable but with Scratch 3.0 now running with HTML5 instead of the horribly obscure Squeak could we have a built-in function for compiling our projects to an .EXE application? Sort of like how you can export a Snap! project to an EXE.
- Gibom
-
100+ posts
Porting to .EXE
If I remember correctly, Scratch 3.0 will save projects in an .sb3 format, which probably isn't too much different from .sb2. However things like Junebeetle's converter will no longer work. I agree, currently doing this is very complicated.
Last edited by Gibom (Oct. 19, 2018 12:28:27)
- venyanwarrior
-
1000+ posts
Porting to .EXE
Well, things like Sulfuros and Phosphorus convert the .sb2 files to .js. It's not too much of a stretch to convert .js files into .exe (Or maybe .app for Mac users like me). Maybe something similar for 3.0? A lot of HTML5 games work in conjunction with JavaScript anyway.
- dude341
-
1000+ posts
Porting to .EXE
Only the outdated Scratch 1.4 and below uses Squeak. 2.0 uses Flash, which, although soon will be outdated, is still modern (not really any more but you get the idea).
Note Windows desktop programming is not done with HTML so talking about Scratch 3 is irrelevant anyway. Unfortunately if they did add this feature they would most likely use the easy way of doing it (an embedded browser in the .exe file so they can just run the projects in standard HTML), which is not only an annoying idea (microsoft tried to do this with features in Windows 98) but would take up quite a lot of resources.
Note Windows desktop programming is not done with HTML so talking about Scratch 3 is irrelevant anyway. Unfortunately if they did add this feature they would most likely use the easy way of doing it (an embedded browser in the .exe file so they can just run the projects in standard HTML), which is not only an annoying idea (microsoft tried to do this with features in Windows 98) but would take up quite a lot of resources.
- dude341
-
1000+ posts
Porting to .EXE
.sb3 is completely different from .sb2; I believe .sb3 is an XML format while .sb2 is a ZIP (compressed folder) format. If I remember correctly, Scratch 3.0 will save projects in an .sb3 format, which probably isn't too much different from .sb2. However things like Junebeetle's converter will no longer work. I agree, currently doing this is very complicated.
- evilpacman10
-
87 posts
Porting to .EXE
I know that sb2 doesn't use Squeak but the method I use for porting to .exe with Scratch 2 involves converting it to .sb Only the outdated Scratch 1.4 and below uses Squeak. 2.0 uses Flash, which, although soon will be outdated, is still modern (not really any more but you get the idea).
- dude341
-
1000+ posts
Porting to .EXE
sb2 does not = Scratch 2.I know that sb2 doesn't use Squeak but the method I use for porting to .exe with Scratch 2 involves converting it to .sb Only the outdated Scratch 1.4 and below uses Squeak. 2.0 uses Flash, which, although soon will be outdated, is still modern (not really any more but you get the idea).
sb does not = Scratch 1.4 or any other Scratch 1.x version
Scratch 2 and 1.4 are programming languages.
.sb2 is a .zip based file format for storing projects created with Scratch 2.
.sb is a custom file format for storing projects created with versions 1.0 to 1.4 of Scratch.
Just to clear up any confusion.
Also, there is no need to convert to .sb.
Just convert your .sb2 to a .swf (a flash file) and convert that into a .exe.
I believe there is a popular tool for converting .sb2 into .swf.
Then there probably is a .swf to .exe converter on Google, haven't checked though.
- bybb
-
1000+ posts
Porting to .EXE
This is perfectly fine to do. Unfortunately if they did add this feature they would most likely use the easy way of doing it (an embedded browser in the .exe file so they can just run the projects in standard HTML), which is not only an annoying idea (microsoft tried to do this with features in Windows 98) but would take up quite a lot of resources.
See this list of Electron based applications:
https://electronjs.org/apps
Notice that Twitch and Discord are both browsers with HTML inside of them
It's the way of the future.
- dude341
-
1000+ posts
Porting to .EXE
Discord takes up Notice that Twitch and Discord are both browsers with HTML inside of themway too much memory for me. If Electron is “the way of the future”, then Chromebooks would be the only choice of laptops in the future, which I don't see happening.
It's the way of the future.
Microsoft tried to do this, and they completely failed. Most issues in Windows 98 and ME were caused by Internet Explorer even if you didn't use it because many components of the operating system rely on Internet Explorer.
- bybb
-
1000+ posts
Porting to .EXE
Yes, 18 years ago, when it was too soon to do this.Microsoft tried to do this, and they completely failed. Most issues in Windows 98 and ME were caused by Internet Explorer even if you didn't use it because many components of the operating system rely on Internet Explorer. Notice that Twitch and Discord are both browsers with HTML inside of them
It's the way of the future.
Now it's the perfect time to do this.
RAM is cheap.
CPU is cheap.
- dude341
-
1000+ posts
Porting to .EXE
It isn't cheap for everyone. Yes, 18 years ago, when it was too soon to do this.
Now it's the perfect time to do this.
RAM is cheap.
CPU is cheap.
Even if I have 16 GB of RAM I don't care, any program should not be taking up more 100,000K of ram. Even Firefox does this unfortunately, as it's my favourite browser.
- homeuser3
-
100+ posts
Porting to .EXE
Agreed. If a program takes up more than 100,000K of ram it's over-weight. But why are we even talking about this in a forum post on the suggestions tab lmaoIt isn't cheap for everyone. Yes, 18 years ago, when it was too soon to do this.
Now it's the perfect time to do this.
RAM is cheap.
CPU is cheap.
Even if I have 16 GB of RAM I don't care, any program should not be taking up more 100,000K of ram. Even Firefox does this unfortunately, as it's my favourite browser.
- dude341
-
1000+ posts
Porting to .EXE
Read: But why are we even talking about this in a forum post on the suggestions tab
and it's replies. Only the outdated Scratch 1.4 and below uses Squeak. 2.0 uses Flash, which, although soon will be outdated, is still modern (not really any more but you get the idea).
Note Windows desktop programming is not done with HTML so talking about Scratch 3 is irrelevant anyway. Unfortunately if they did add this feature they would most likely use the easy way of doing it (an embedded browser in the .exe file so they can just run the projects in standard HTML), which is not only an annoying idea (microsoft tried to do this with features in Windows 98) but would take up quite a lot of resources.
- homeuser3
-
100+ posts
Porting to .EXE
okiRead: But why are we even talking about this in a forum post on the suggestions taband it's replies. Only the outdated Scratch 1.4 and below uses Squeak. 2.0 uses Flash, which, although soon will be outdated, is still modern (not really any more but you get the idea).
Note Windows desktop programming is not done with HTML so talking about Scratch 3 is irrelevant anyway. Unfortunately if they did add this feature they would most likely use the easy way of doing it (an embedded browser in the .exe file so they can just run the projects in standard HTML), which is not only an annoying idea (microsoft tried to do this with features in Windows 98) but would take up quite a lot of resources.
- GiggyMantis
-
65 posts
Porting to .EXE
No support. Soon the converters will find a way to convert sb2 to sb3 or sb3 to exe.
- dude341
-
1000+ posts
Porting to .EXE
Please read You totally could using Electron.
and it's replies. Only the outdated Scratch 1.4 and below uses Squeak. 2.0 uses Flash, which, although soon will be outdated, is still modern (not really any more but you get the idea).
Note Windows desktop programming is not done with HTML so talking about Scratch 3 is irrelevant anyway. Unfortunately if they did add this feature they would most likely use the easy way of doing it (an embedded browser in the .exe file so they can just run the projects in standard HTML), which is not only an annoying idea (microsoft tried to do this with features in Windows 98) but would take up quite a lot of resources.
- Meowlithius
-
51 posts
Porting to .EXE
Windows 98) but would take up quite a lot of resources.The 2.0 offline editor is “wrapped” in Adobe Air (basically just creates a .exe with a few libraries and the .swf). This idea just “wraps” a .sb3 into a .exe file with the engine embedded. And Scratch 3.0's offline editor will basically be packaged in a similar way. Saying this when this has already happened and to reference the 9x line of windows and about 18-20 years of technology improvements has happened since then makes your argument pretty invalid and outdated. Note Windows desktop programming is not done with HTML so talking about Scratch 3 is irrelevant anyway. Unfortunately if they did add this feature they would most likely use the easy way of doing it (an embedded browser in the .exe file so they can just run the projects in standard HTML), which is not only an annoying idea (Microsoft tried to do this with features in
- dude341
-
1000+ posts
Porting to .EXE
Scratch 2 actually runs well though, any software that is basically a browser does NOT run well, even with 16 GB of RAM. So my argument is not invalid.Windows 98) but would take up quite a lot of resources.The 2.0 offline editor is “wrapped” in Adobe Air (basically just creates a .exe with a few libraries and the .swf). This idea just “wraps” a .sb3 into a .exe file with the engine embedded. And Scratch 3.0's offline editor will basically be packaged in a similar way. Saying this when this has already happened and to reference the 9x line of windows and about 18-20 years of technology improvements has happened since then makes your argument pretty invalid and outdated. Note Windows desktop programming is not done with HTML so talking about Scratch 3 is irrelevant anyway. Unfortunately if they did add this feature they would most likely use the easy way of doing it (an embedded browser in the .exe file so they can just run the projects in standard HTML), which is not only an annoying idea (Microsoft tried to do this with features in

Read:
andDiscord takes up Notice that Twitch and Discord are both browsers with HTML inside of themway too much memory for me. If Electron is “the way of the future”, then Chromebooks would be the only choice of laptops in the future, which I don't see happening.
It's the way of the future.
Microsoft tried to do this, and they completely failed. Most issues in Windows 98 and ME were caused by Internet Explorer even if you didn't use it because many components of the operating system rely on Internet Explorer.
Agreed. If a program takes up more than 100,000K of ram it's over-weight.It isn't cheap for everyone. Yes, 18 years ago, when it was too soon to do this.
Now it's the perfect time to do this.
RAM is cheap.
CPU is cheap.
Even if I have 16 GB of RAM I don't care, any program should not be taking up more 100,000K of ram. Even Firefox does this unfortunately, as it's my favourite browser.

Last edited by dude341 (Oct. 25, 2018 23:24:16)
- Meowlithius
-
51 posts
Porting to .EXE
Let me ask you this…
http://u.cubeupload.com/Meowlit12/548Screenshot20181025at.png
if youtube uses 100mb just to work and still run fine with all of this (including Scratch 3) on a Chromebook why can't Scratch 3 on a Windows PC?
http://u.cubeupload.com/Meowlit12/548Screenshot20181025at.png
if youtube uses 100mb just to work and still run fine with all of this (including Scratch 3) on a Chromebook why can't Scratch 3 on a Windows PC?
- Discussion Forums
- » Suggestions
-
» Porting to .EXE