Topic closed
I have just uploaded a little experimental prototype of a utility that lets you turn a Scratch Project into a "stand-alone" executable for Windows. You can
read about it here: http://www.chirp.scratchr.org/blog/?p=10, the technically trivial details are explained here: http://www.chirp.scratchr.org/blog/?page_id=8 and the download link is there: http://www.chirp.scratchr.org/blog/?page_id=5 (at the bottom).
Offline
Another wonderful tool! Unfortunatly, I was unable to get it to work under Vista Home Premium.
The installation went well, two shortcuts showed up on my desktop, one called NSIS and the other ChirpCompiler. I ran ChirpCompiler and it asked all the right questions, allowing me to identify the Scratch file and the icon (I chose Cancel on the icon). A folder then opened in the Scratch2exe/exe directory but there was no file there. I searched my entire hard drive with the thought that maybe it was hiding somewhere else, but I was unable to locate it. I then repeated the process running ChirpCompiler as Administrator with the same negative results.
Offline
Thanks for testing it, Paddle2See!
Hmm, I tested it under XP and ME, and was afraid that it wouldn't work under Vista for whatever reasons...
If you didn't have NSIS installed before you might try restarting Windows for the settings to take effect (NSIS appends some paths and registry entries). I'm unsure about this, could you maybe try this and then tell me if it worked?
Thanks!
Offline
Did a reboot, tried again, same negative results
Does it usually take a bit of time before the EXE folder is shown? Mine is displaying right away, very quickly.
What are you using for a TEMP folder, maybe I should check and see if I have directory at the path you are using. Are there any other PATH dependencies I should know about?
Offline
Oops, seems like something is seriously wrong with this. I'll get in touch next week...
In the meantime, can anyone please tell me if it works for them on XP or some other Windows version, because it's kind of hard trying to find a bug you can't recreate.
Thanks!
Offline
S65 wrote:
wait, I think I found part of the problem. The /exe folder is Read-Only.
You're right...I changed the properties on mine but it did not help.
Offline
I can't even get past step 2; it won't recognize my icon files!
Offline
Jens wrote:
I believe I just found and fixed the problem.
Could you please download it again and let me know if it works for you now? Thanks!
Sorry, I am seeing the same problem. I uninstalled Scratch2exe then reinstalled from the Blog. I ran the program several times but the exe directory remained empty.
What is the end product of the program? If I start with a scratch project called FooBar.sb, will I end up with FooBar.exe?
Offline
Whoops, it was recognising my ico files, I was just looking in the wrong place.
I am having the same problem as Paddle2See.
Offline
Good news: Scratch2Exe now works on all Windows systems!
Please uninstall your current versions. You can also uninstall NSIS because the new version doesn't require it anymore. Download it from the links in the first post again and have fun turning your Scratch projects into exe-files.
Many thanks to Paddle2See for patiently helping me get it right in countless e-mails halfway across the globe! The idea and the technology used for this tool may be trivial, debugging it, however, was not. We learned a lot in the process, our next project will be to hack Vista
and start a company by the name of "UpTheCreek" (just kidding)...
Offline
My thanks to you, Jens! You have provided yet another valuable tool to the Scratch community. You get my vote as Scractch Citizen of the Year (somebody with artistic talent please insert suitable award here)!
Offline
how do you make icon files O_O
Offline
Still doesn't work for me.
I choose a project and then icon. A blank prompt window pops up only for a second - then a window appears saying, "Complier Error Code: 1". The Explorer window doesn't open at all.
Offline
relyt12101: If that happens you probably either have an apostrophe in a filename or in a folder name, or your icon is unsupported. What's the name of your project, and where is it located on your hard drive? Does it compile if you cancel on the icon?
Offline
It's not the icon because when I cancel it on the icon it still shows the error.
I tried it first with the file coloring.sb and then again with Pi Day.sb. They are both located in C:/Program Files/Scratch/Projects.
Offline
It works when I don't choose an icon, but when I choose an icon I made, it says Compile Error Code: 1.
Offline
Icon files are a bit tricky, because you can store several graphical pages in them. Try files with a single icon, don't overdo (32x32 pixels @ 8 bpp should be fine), or edit the template in the src folder. You can also edit the icon in the exe-files using an external resource editor.
Offline
Topic closed