Discuss Scratch

ticoeteco23gb
Scratcher
100+ posts

How can I transform a Scratch Project (.sb3 file) into a executable file (.exe file)?

Hello, I am a person who likes doing games and projects on Scratch, but sometimes I ask myself how can I transform Scratch files into executable files, because it would be very convenient for sending games for friends in other places without having them seeing the code or running them offline without downloading the offline editor. But from what I searched, there are no practical ways, because or is for Scratch 2 or before, or it's a difficult or inaccessible for just some casual conversions, so does anyone knows a way to convert Scratch 3 projects to .exe in a simple way?
awesome-llama
Scratcher
1000+ posts

How can I transform a Scratch Project (.sb3 file) into a executable file (.exe file)?

Maybe try the TurboWarp packager.

Though you don't have to generate an exe file. html is another option and it's probably much better that you use it instead…

TurboWarp packager wrote:

Creating native applications for specific platforms is discouraged. In most cases, Plain HTML or Zip will have numerous advantages:
  • Can be run directly from a website on any platform, even phones
  • Users are significantly less likely to be suspicious of a virus
  • Significantly smaller file size
  • Can still be downloaded locally and run offline
If you don't truly need to make a self-contained application for each platform (we understand there are some cases where this is necessary), we recommend you don't.
CatCode2407
Scratcher
12 posts

How can I transform a Scratch Project (.sb3 file) into a executable file (.exe file)?

Hello @ticoeteco23gb
I have an answer to your question!!!
when Question clicked
Answer (1) Question
Click (File)
/scratchblocks]
Click (Save to your computer)
it saves it as an sb3 file but just change the extension to exe
I hope this helps
- CatCode2407
IceCreamTub
Scratcher
1000+ posts

How can I transform a Scratch Project (.sb3 file) into a executable file (.exe file)?

CatCode2407 wrote:

Hello @ticoeteco23gb
I have an answer to your question!!!

- snip -
- CatCode2407
I… don't think that would actually work
It's like renaming an exe file into an apk file and expecting it to run like a normal application let alone even open propperly
I've tried it before, trust me, it didn't do !!@*

Last edited by IceCreamTub (Dec. 7, 2022 00:48:20)

CatCode2407
Scratcher
12 posts

How can I transform a Scratch Project (.sb3 file) into a executable file (.exe file)?

IceCreamTub wrote:

CatCode2407 wrote:

Hello @ticoeteco23gb
I have an answer to your question!!!

- snip -
- CatCode2407
I… don't think that would actually work
It's like renaming an exe file into an apk file and expecting it to run like a normal application let alone even open propperly
I've tried it before, trust me, it didn't do !!@*

Oh kk yea ur right
TheGlassPenguin
Scratcher
1000+ posts

How can I transform a Scratch Project (.sb3 file) into a executable file (.exe file)?

I'd recommend the TurboWarp Packager. It lets you generate HTML files and standalone Electron-based executables for Windows, Linux, Mac, whatever. There's also the older forkphorus packager, but making an executable with it takes more work, and it also doesn't create a neat and tidy single .exe file (you'd have to bundle NW.js with your project in order to make it work). You could also use any sort of Scratch to HTML converter and use something like Tauri to make an executable if you're more advanced.
PPPDUD
Scratcher
1000+ posts

How can I transform a Scratch Project (.sb3 file) into a executable file (.exe file)?

awesome-llama wrote:

Maybe try the TurboWarp packager.

Though you don't have to generate an exe file. html is another option and it's probably much better that you use it instead…

TurboWarp packager wrote:

Creating native applications for specific platforms is discouraged. In most cases, Plain HTML or Zip will have numerous advantages:
  • Can be run directly from a website on any platform, even phones
  • Users are significantly less likely to be suspicious of a virus
  • Significantly smaller file size
  • Can still be downloaded locally and run offline
If you don't truly need to make a self-contained application for each platform (we understand there are some cases where this is necessary), we recommend you don't.
This is my recommended answer and is what I personally do myself.
susbakaamogusimp
Scratcher
2 posts

How can I transform a Scratch Project (.sb3 file) into a executable file (.exe file)?

CatCode2407 wrote:

Hello @ticoeteco23gb
I have an answer to your question!!!
when Question clicked
Answer (1) Question
Click (File)
/scratchblocks]
Click (Save to your computer)
it saves it as an sb3 file but just change the extension to exe
I hope this helps
- CatCode2407[/quote]
_________________________________________________________________________________________________________________________ bro there is no scratch blcocks button also that wouldn't work anyway

Last edited by susbakaamogusimp (March 15, 2024 19:56:06)

BigNate469
Scratcher
1000+ posts

How can I transform a Scratch Project (.sb3 file) into a executable file (.exe file)?

You can't easily convert a Scratch project to an .exe, because Scratch runs on top of JavaScript, so you have to convert the project to JavaScript first which is what TurboWarp does.

Besides, JavaScript can be embedded inside .html files (webpages), which have very good cross-platform support- .html files running JavaScript is basically what almost every webpage you have ever seen runs on.

Powered by DjangoBB