Discuss Scratch

elijahf10
Scratcher
44 posts

Scratch to .SWF to .EXE With Flash Player Projector 11 | Get rid of the file, edit, etc buttons.

The best way to convert scratch to .EXE is to first convert to .SWF (Click here to go to Junebeetle) and then to .EXE through Adobe Flash Player Projector 11 (32-bit). When many people do this, they don't like that the file edit, view, etc buttons are still at the top like in the Player Projector. Well, I've come up with a BRAND NEW WAY to get rid of those and change EVEN MORE important things, such as the task manager name, copyright info, admin privileges, icons, and version info with Resource Hacker!


Some people may say, “Why not just use the Scratch online to .EXE converter?”
When I tried that converter, it seemed to work fine. I preferred not to have the flag and stop sign buttons, but that was ok with me. I soon realized I couldn't use the .EXE offline because it just opened the project from the web in the .EXE. Short after, I tested it with my friend and he said it didn't work. I am pretty sure I sent him the .DLL with the game in a .ZIP and he had extracted them both.

Other people may say, “Hacking is bad! I can't install RH anyway.”
You can download it in a .ZIP format and then extract it to a single folder. It also isn't really hacking. It's not any exploits and no one is getting harmed (unless Adobe doesn't want you getting rid of there copyright info so it's a good idea just to add yours and still keep theirs).


STEPS:

Step 1: Go to Junebeetle (link in first paragraph) and go to the converter, and then the online one. Upload your .SB2 file (Scratch 2 project file, can download in the Scratch Editor). Make sure to select automatically start because you shouldn't be selecting the green flag and stop option. Click convert and then download. Save it as something like, “blahblahblah.swf” (without the quotes, of course).

Step 2: Download Flash Player 11 from here (around 158 megabytes, so may take a while). When done, extract the files from the .ZIP into a single folder. Find the file called flashplayer11_2r202_235_win_sa_32bit.exe and run it. Click file, then open, then browse. Find the .SWF file with your project in it. Click OK when done, and the project should be running in the projector. Now click file again, then acreage projector. Save the file with a custom name such as “blahblahblah.exe” (again without the quotes).

Step 3: Now we need to get Resource Hacker (link in first paragraph again). At the bottom of the page should be two links. Download the .ZIP if you don't want to install it or don't have admin privileges on your PC (another benefit against the Online Converter). If you got the .ZIP, just extract the files into a single folder. Now open the file called ResourceHacker.exe. Once in the program, click the open icon and find the .EXE you made. Now you should see some folders. There is an icon folder that you can open. Right click the icon files and click replace icon to upload a custom .ICO (icon file) as an icon. The are some other folders that contain the files with the buttons. I personally delete all of the buttons except for the About button, and then I change the pop-up with the Adobe Flash copyright info which is also another benifit of this method. You can also change text in the buttons with all of the languages. Make sure not to delete any folders inside folders, or it will delete the parent folder too. Just delete each individual file (only really inconvenient thing with this other than all the downloads) Also, just change the text in quotes with the labels if you are keeping some of the buttons (all programmers should know this). In the folder called version info, you can change the task manager name, copyright info, etc. in the folder called manifest, you can change the admin privileges. Type “requireAdministrator” if you want only people on Windows with an admin account to be able to open it without a password. Type “asInvoker” if you want anyone with any account to be able to use it (set as default and is recommended by me). There is also “highestAvaliable” but is not needed as certain functions in Flash and Scratch projects never require administrator during the project. Also in manifest, there is an option in quotes the says something like flashplayer (I forgot). DO NOT change this, as it will break your project. When you are done, click the save icon at the top. Also, when done typing inside a file, click outside the text and save the text. There should now be two files in the folder with your project .EXE. If you typed blahblahblah.exe as the name in step 2, there should be blahblahblah.exe and blahblahblah_original.exe. One contains the one you just modified, and one with the original .EXE. You can now run and share the .EXE file on external websites (such as Dropbox), use it on and offline, and you don't need any .DLL files!


I hope you all actually followed the steps and were successful with your .EXE. It would help me if you followed me or shared this topic with other people on Scratch. This took me over an hour to type and I had to do it on an iPad mini. Thank you for viewing this topic!

Last edited by elijahf10 (Aug. 26, 2017 01:46:01)

TheUltimatum
Scratcher
1000+ posts

Scratch to .SWF to .EXE With Flash Player Projector 11 | Get rid of the file, edit, etc buttons.

Interesting way of doing things… Wouldn't it just be easier to have the exe run a webserver and a small browser in node and open the project in phosphorus offline?
elijahf10
Scratcher
44 posts

Scratch to .SWF to .EXE With Flash Player Projector 11 | Get rid of the file, edit, etc buttons.

TheUltimatum wrote:

Interesting way of doing things… Wouldn't it just be easier to have the exe run a webserver and a small browser in node and open the project in phosphorus offline?
I suppose that would be more efficient, since Javascript is better than Flash, athough Phosphorus can have its sound issues.The swf to exe method is most well known, so I just decided to tell people about my findings with RH.
Facta
Scratcher
11 posts

Scratch to .SWF to .EXE With Flash Player Projector 11 | Get rid of the file, edit, etc buttons.

when green flag clicked
wait (431839839839) days
say [Hi!] for (2) secs
TariqjeMaakt
Scratcher
93 posts

Scratch to .SWF to .EXE With Flash Player Projector 11 | Get rid of the file, edit, etc buttons.

Like, nobody noticed that there is a solution on Junebeetle itself! LOOK AT THIS: http://junebeetle.github.io/converter/executables/
Its easy i am doing it for my game
elijahf10
Scratcher
44 posts

Scratch to .SWF to .EXE With Flash Player Projector 11 | Get rid of the file, edit, etc buttons.

TariqjeMaakt wrote:

Like, nobody noticed that there is a solution on Junebeetle itself! LOOK AT THIS: http://junebeetle.github.io/converter/executables/
Its easy i am doing it for my game
That's what is shown in this tutorial, but after the conversion section I teach how to get rid of the menu bar with resource hacker.

EDIT: At the beginning of my post I talk about the Scratch Online to .EXE converter, which is something different than the .SWF to .EXE converter. Sorry for any confusion.

Last edited by elijahf10 (Jan. 16, 2018 02:45:58)

JahinOnScratch
New Scratcher
1 post

Scratch to .SWF to .EXE With Flash Player Projector 11 | Get rid of the file, edit, etc buttons.

OK, but how do I remove the “Adobe Flash Player 11” on the title bar?
codeforfunspace
Scratcher
1 post

Scratch to .SWF to .EXE With Flash Player Projector 11 | Get rid of the file, edit, etc buttons.

Listen I found A way to Turn SB2 to EXE
Download This: https://sourceforge.net/projects/swftools/

First Go To https://junebeetle.github.io/converter/online/ And convert Your Program to a (.swf)
Then Use The Converter Provided ( .SWF Tools ) open It, and Click “add a file” then select your .swf from your desktop ( if you cant find it you might have to change “Files of type to All Files” then Click Convert and BOOM! you Have Made a Program. Enjoy

PS: I will Be Making a Video Tutorial Soon On my YT Channel! (Ne_Bula)
elijahf10
Scratcher
44 posts

Scratch to .SWF to .EXE With Flash Player Projector 11 | Get rid of the file, edit, etc buttons.

codeforfunspace wrote:

Listen I found A way to Turn SB2 to EXE
Download This: https://sourceforge.net/projects/swftools/

First Go To https://junebeetle.github.io/converter/online/ And convert Your Program to a (.swf)
Then Use The Converter Provided ( .SWF Tools ) open It, and Click “add a file” then select your .swf from your desktop ( if you cant find it you might have to change “Files of type to All Files” then Click Convert and BOOM! you Have Made a Program. Enjoy

PS: I will Be Making a Video Tutorial Soon On my YT Channel! (Ne_Bula)
You can convert swf to exe with the Flash Player itself. Then you use resource hacker to remove the toolbars.
wammer-gi
Scratcher
49 posts

Scratch to .SWF to .EXE With Flash Player Projector 11 | Get rid of the file, edit, etc buttons.

How do you get rid of the flash player 11 on the title bar
MeDiamondStar
Scratcher
1 post

Scratch to .SWF to .EXE With Flash Player Projector 11 | Get rid of the file, edit, etc buttons.

thx

Last edited by MeDiamondStar (March 1, 2019 13:29:09)

zizo1490
New Scratcher
1 post

Scratch to .SWF to .EXE With Flash Player Projector 11 | Get rid of the file, edit, etc buttons.

how can i convert swf.exe to any video, as mp4,avi
LCMCdotEXErules2
Scratcher
100+ posts

Scratch to .SWF to .EXE With Flash Player Projector 11 | Get rid of the file, edit, etc buttons.

codeforfunspace wrote:

PS: I will Be Making a Video Tutorial Soon On my YT Channel! (Ne_Bula)

Wait, where's the video

Powered by DjangoBB