Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » (Guide) Converting a Scratch 2.0 Project to .exe
- Moonshl
-
Scratcher
60 posts
(Guide) Converting a Scratch 2.0 Project to .exe
In case someone is wondering, yes, there's a method to fully Convert a Scratch project to .exe with custom Window Title, Icon and File Description.
Step 1 - Convert your Scratch Project to .swf (Shock Wave Flash) here.
Step 2 - Convert your .swf project to .exe using this program. It's completely free and it's not a Demo or a Trial, it won't ever exprire. Before the conversion, go to the “Options” tab to change the window title. Make sure to check the “Don't show the Context Menu” option, this will prevent players from using the Right Mouse Button to delete / duplicate or Manage sprites in the game. In the “Convert” tab you will also be able to make the Project Full-Screen or windowed. If you choose Full-Screen, since the Scratch frame is a Sqare, it won't cover the whole Screen. Instead, it will be hooked to the left side of the Monitor, and will leave the rest (Right Side) empty. You can change the color of that area in the Combo Box just blow the “Splash Screen File” option. I suggest you let your project run in Windowed Mode to make it look better.
Step 3 - (Optional) If you want your project to have an icon, simply make a square image in any Photo Editing app (I suggest 800x800 for a good resolution), then convert it using this online app. (Supports Transparency!)
Step 4 - (Optional) To modify the File Descriptions and other data, use this Software. Start it with Administrator Privileges (Right Click > Run As Administrator), then in the window that pops up choose “Hacker Mode”, then select your compiled .exe project and navigate to the “Version Information” folder in the Tab on the Left. If a message saying “No include paths are configured. Do you want to configure include paths now?” well, simply drag it out of the screen. Don't close it, you you will not be able to save your work once done (Blue Save icon in the Top Bar Menu, Top Left)
Remember that once converted to .exe, the Project will load in the background instead of showing Scratch's loading popup, meaning that once clicked it will take a few seconds to show up on the Screen, depending on the Project's size.
If you have any questions, feel free to leave a reply. I hope I helped you!
Note: To Keep your project Cross-Platform, you can also stop at Step 2. Note that in this way you won't be able to modify window title or any other settings. If there's a chance to somehow do that, you might try to use this flash Decompiler.
More Infos:
What's SWF? Swf if a Shock Wave Flash file that runs using Adobe Flash Player, a Cross - Platform Engine.
Why in Res Edit we need to use an “Hacker Mode”? An Hacker is a person that manages to understand and modify a code, and that's pretty much what we're doing when we go to edit out .exe's information.
Why would I ever want to Convert my Fancy Scratch Project to an Executable? Well, let's suppose you want to upload your game to a website such as Indie.db, itch.io or another website that distributes Video Games. In order to upload your game to the Web Site you'll need it to be an .exe file.
Post Written by: Riley @ Moonshl
Step 1 - Convert your Scratch Project to .swf (Shock Wave Flash) here.
Step 2 - Convert your .swf project to .exe using this program. It's completely free and it's not a Demo or a Trial, it won't ever exprire. Before the conversion, go to the “Options” tab to change the window title. Make sure to check the “Don't show the Context Menu” option, this will prevent players from using the Right Mouse Button to delete / duplicate or Manage sprites in the game. In the “Convert” tab you will also be able to make the Project Full-Screen or windowed. If you choose Full-Screen, since the Scratch frame is a Sqare, it won't cover the whole Screen. Instead, it will be hooked to the left side of the Monitor, and will leave the rest (Right Side) empty. You can change the color of that area in the Combo Box just blow the “Splash Screen File” option. I suggest you let your project run in Windowed Mode to make it look better.
Step 3 - (Optional) If you want your project to have an icon, simply make a square image in any Photo Editing app (I suggest 800x800 for a good resolution), then convert it using this online app. (Supports Transparency!)
Step 4 - (Optional) To modify the File Descriptions and other data, use this Software. Start it with Administrator Privileges (Right Click > Run As Administrator), then in the window that pops up choose “Hacker Mode”, then select your compiled .exe project and navigate to the “Version Information” folder in the Tab on the Left. If a message saying “No include paths are configured. Do you want to configure include paths now?” well, simply drag it out of the screen. Don't close it, you you will not be able to save your work once done (Blue Save icon in the Top Bar Menu, Top Left)
Remember that once converted to .exe, the Project will load in the background instead of showing Scratch's loading popup, meaning that once clicked it will take a few seconds to show up on the Screen, depending on the Project's size.
If you have any questions, feel free to leave a reply. I hope I helped you!
Note: To Keep your project Cross-Platform, you can also stop at Step 2. Note that in this way you won't be able to modify window title or any other settings. If there's a chance to somehow do that, you might try to use this flash Decompiler.
More Infos:
What's SWF? Swf if a Shock Wave Flash file that runs using Adobe Flash Player, a Cross - Platform Engine.
Why in Res Edit we need to use an “Hacker Mode”? An Hacker is a person that manages to understand and modify a code, and that's pretty much what we're doing when we go to edit out .exe's information.
Why would I ever want to Convert my Fancy Scratch Project to an Executable? Well, let's suppose you want to upload your game to a website such as Indie.db, itch.io or another website that distributes Video Games. In order to upload your game to the Web Site you'll need it to be an .exe file.
Post Written by: Riley @ Moonshl
Last edited by Moonshl (Sept. 7, 2017 13:19:24)
- gtoal
-
Scratcher
1000+ posts
(Guide) Converting a Scratch 2.0 Project to .exe
I guess using flash does guarantee compatibility. But if you want a real compiled version, procd's program may be better. https://scratch.mit.edu/projects/35417838/
- toyotavan
-
New Scratcher
3 posts
(Guide) Converting a Scratch 2.0 Project to .exe
I used the converter Junebeetle, but the .swf file that was on the output was just a blank screen. I tried all different programs and versions of flash player, but none worked. Help! 

- Moonshl
-
Scratcher
60 posts
(Guide) Converting a Scratch 2.0 Project to .exe
I used the converter Junebeetle, but the .swf file that was on the output was just a blank screen. I tried all different programs and versions of flash player, but none worked. Help!If you're using a Scratch 3.0 project I doubt this guide still works. I'll see if a new way to do it pops up.
- Discussion Forums
- » Advanced Topics
-
» (Guide) Converting a Scratch 2.0 Project to .exe