This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2008-03-16 22:40:22

S65
Scratcher
Registered: 2007-05-18
Posts: 100+

EXEScratch: An Alternative to Jens' Scratch2Exe

EDIT: Apparently some people are getting virus alerts on this. I'll look into this, but until then, it'd be safest if no one downloads/uses it. There are better alternatives to this program anyway.

well, since Jens' program, Scratch2Exe, isn't working for me, I developed my own solution to the .exe distribution problem. I call it EXEScratch.

Link:
http://www.fileden.com/files/2006/8/1/150488/EXEScratch_Fixed.zip

Unzip the files into a folder before doing the following steps. A reccomended place to put your folder is in the C: / drive itself. Make sure the folder does not have any spaces in its name.

HOW TO USE IT:
    1. Delete project.sb (this is just a sample project to show
       that EXEScratch really works) and replace it with the
       project you want to convert. Make sure you also rename
       your project to "project.sb".

    2. Click on EXEScratch.bat and wait for it to finish.

    3. YourProject.exe will appear. That is the final product.




TECHNICAL DETAILS:
    EXEScratch is not really a compiler; instead, what it does is package your project and the Scratch Java applet (the same one that is used when playing online) into one .exe file. The .exe file calls the web browser, which then plays the project.

Last edited by S65 (2010-09-25 12:45:50)

Offline

 

#2 2008-03-16 23:36:34

Rukqo
Scratcher
Registered: 2008-01-17
Posts: 100+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Can anyone confirm that it works?

Offline

 

#3 2008-03-17 00:14:37

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

It does, but it plays it from the web browser.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#4 2008-03-17 02:46:42

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Alright, you go boy!

It didn't work for me, though (Currently running Windows ME), I got the following error message:

Code:

This product requires registration for continued use.
For purchasing information visit: http://www.bitsum.com

 Days left of evaluation period: 14
 (-F) Module will always be written to disk.
 (-!) Backup is OFF.
 +EXE: C:\PROJFILES\ExecShell.exe
  +Bundled File: PROJFILES/ScratchApplet.jar
 Initiating bundle of ExecShell.exe to ScratchApplet.jar

 Critical error: Cannot open executable file for writing!
C:\Eigene Dateien\EXEScratch>Copy \PROJFILES\ExecShell.exe YourProject.exe

followed by some other error messages about paths not found.


Jens Mönig

Offline

 

#5 2008-03-17 10:05:41

S65
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Jens: I just uploaded a fix. Try redownloading it and replacing EXEScratch.bat with the one in there. I forgot to put %CD% in the batch files before the paths =P

archmage: That's how it's supposed to work

Last edited by S65 (2008-03-17 10:09:53)

Offline

 

#6 2008-03-17 10:46:41

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Sorry, it still doesn't work for me. I just downloaded the fixed version, unzipped it to a different folder and ran it and got the exact same error.


Jens Mönig

Offline

 

#7 2008-03-17 13:28:14

S65
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Jens wrote:

Sorry, it still doesn't work for me. I just downloaded the fixed version, unzipped it to a different folder and ran it and got the exact same error.

does the path name have spaces in it? remember, this is run from the command line

EDIT: that also might have been your problem with the earlier folder; just put the files in C:/EXEScratch and see what happens

Last edited by S65 (2008-03-17 13:29:26)

Offline

 

#8 2008-03-17 15:40:38

relyt12101
Scratcher
Registered: 2007-05-19
Posts: 500+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Tried it out. It only works if the files are in the C:/EXEScratch directory.

Either it doesn't recognize your keyboard or the sample project I used has bugs in it.


http://img392.imageshack.us/img392/2860/pspbanneregg089deiy0.png

Offline

 

#9 2008-03-17 15:46:27

S65
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

relyt12101 wrote:

Tried it out. It only works if the files are in the C:/EXEScratch directory.

Either it doesn't recognize your keyboard or the sample project I used has bugs in it.

actually it works in other folders here, as long as they don't have spaces in them. e.g. C:/ScratchStuff/EXScrDemo1 works

Offline

 

#10 2008-03-18 03:07:28

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

The spaces in folder names was the cause for the problems I encountered, too. Now I've got it to run. Really nice work, S65!


Jens Mönig

Offline

 

#11 2008-03-18 17:45:03

relyt12101
Scratcher
Registered: 2007-05-19
Posts: 500+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Oh, ok. So C:/Program Files wouldn't work.


http://img392.imageshack.us/img392/2860/pspbanneregg089deiy0.png

Offline

 

#12 2008-07-30 15:33:02

gadgetman
Scratcher
Registered: 2008-06-26
Posts: 70

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Copy "%CD%\PROJFILES\ExecShell.exe" "%CD%\PROJFILES\ExecShellBackup.exe"
"FilePacker.exe" "%CD%\PROJFILES\ExecShell.exe" "%CD%\PROJFILES/ProjectPage.htm" -f -!
"FilePacker.exe" "%CD%\PROJFILES\ExecShell.exe" project.sb -f -!
"FilePacker.exe" "%CD%\PROJFILES\ExecShell.exe" "%CD%\PROJFILES/soundbank.gm" -f -!
"FilePacker.exe" "%CD%\PROJFILES\ExecShell.exe" "%CD%\PROJFILES/ScratchApplet.jar" -f -!
Copy "%CD%\PROJFILES\ExecShell.exe" "YourProject.exe"
Del "%CD%\PROJFILES\ExecShell.exe"
Rename "%CD%\PROJFILES\ExecShellBackup.exe" "ExecShell.exe"

-----------------------
http://gadgetmanscratchr.googlepages.com/site.bmphttp://gadgetmanscratchr.googlepages.com/resorces.bmphttp://gadgetmanscratchr.googlepages.com/dtf.bmp

Last edited by gadgetman (2008-12-21 13:31:14)


http://gadgetmanscratchr.googlepages.com/site.bmphttp://gadgetmanscratchr.googlepages.com/resorces.bmphttp://gadgetmanscratchr.googlepages.com/dtf.bmp

Offline

 

#13 2008-07-30 17:52:03

S65
Scratcher
Registered: 2007-05-18
Posts: 100+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

gadgetman wrote:

Copy "%CD%\PROJFILES\ExecShell.exe" "%CD%\PROJFILES\ExecShellBackup.exe"
"FilePacker.exe" "%CD%\PROJFILES\ExecShell.exe" "%CD%\PROJFILES/ProjectPage.htm" -f -!
"FilePacker.exe" "%CD%\PROJFILES\ExecShell.exe" project.sb -f -!
"FilePacker.exe" "%CD%\PROJFILES\ExecShell.exe" "%CD%\PROJFILES/soundbank.gm" -f -!
"FilePacker.exe" "%CD%\PROJFILES\ExecShell.exe" "%CD%\PROJFILES/ScratchApplet.jar" -f -!
Copy "%CD%\PROJFILES\ExecShell.exe" "YourProject.exe"
Del "%CD%\PROJFILES\ExecShell.exe"
Rename "%CD%\PROJFILES\ExecShellBackup.exe" "ExecShell.exe"

Yes, that is the code from the .bat file. Why did you bump this topic, though? Do you want to know what it means?

Offline

 

#14 2008-08-01 19:07:28

gadgetman
Scratcher
Registered: 2008-06-26
Posts: 70

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

try replacing the batch file code with that then it should run in a folder with spaces.
-----------------------
http://gadgetmanscratchr.googlepages.com/site.bmphttp://gadgetmanscratchr.googlepages.com/resorces.bmphttp://gadgetmanscratchr.googlepages.com/dtf.bmp

Last edited by gadgetman (2008-12-21 13:31:29)


http://gadgetmanscratchr.googlepages.com/site.bmphttp://gadgetmanscratchr.googlepages.com/resorces.bmphttp://gadgetmanscratchr.googlepages.com/dtf.bmp

Offline

 

#15 2008-08-25 11:20:13

Songheadstudios
Scratcher
Registered: 2008-07-28
Posts: 8

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

does it support scratch board use?

Offline

 

#16 2008-08-29 12:56:49

fullmoon
Retired Community Moderator
Registered: 2007-06-04
Posts: 1000+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Songheadstudios wrote:

does it support scratch board use?

I doubt it. The online Java player doesn't supportthe ScratchBoard or PicoBoard, so I doubt the Java player, packaged offline, would.


http://i302.photobucket.com/albums/nn100/fullmoon32/wow.jpg

Offline

 

#17 2009-12-16 22:36:01

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Suggestion: Don't bump old topics.

Offline

 

#18 2009-12-17 00:15:18

Greatdane
Scratcher
Registered: 2007-06-05
Posts: 1000+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Magnie wrote:

Suggestion: Don't bump old topics.

Like you did.  tongue


The future belongs to those who believe in the beauty of their dreams.
        ~ Eleanor Roosevelt

Offline

 

#19 2009-12-18 14:03:23

tom5X5
Scratcher
Registered: 2009-05-16
Posts: 26

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Whenever i tried to extract in, Norton Security 2009 (voted best virus remover of the year) come up and said that 'Adware' was found in the following file/path; C:\users\thomas\desktop\exescratch\projfiles\execshell.exe

weather this is a virus or Norton thinks its a virus, i dont know, but until i find out, im not using it again, and have deleted it.

:-(
[blocks]<switch to costume[ unhappy face [/blocks]

Offline

 

#20 2009-12-18 15:23:50

cds56
Scratcher
Registered: 2008-05-02
Posts: 500+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Er.. My ResidentSheild said that too, but it's not

And btw, NORTON IS A VIRUS


http://img192.imageshack.us/img192/909/meowdevlogo.pnghttp://i32.tinypic.com/pucti.png

Offline

 

#21 2009-12-18 19:25:39

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

cds56 wrote:

Er.. My ResidentSheild said that too, but it's not

And btw, NORTON IS A VIRUS

Norton destroyed my Windows XP computer!!!!!!!!!!!!!!!!!!!!

yikes

Offline

 

#22 2009-12-18 22:29:03

theThomasG
Scratcher
Registered: 2009-12-16
Posts: 100+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Magnie wrote:

Suggestion: Don't bump old topics.

Bumping old topics is fine if, your post is relevant to the topic. There is nothing wrong with it.
About the Topic:
Cool! I am going to try this later. I am currently working on a small scratch project, and I am hoping to test this on it later.

Offline

 

#23 2009-12-24 14:40:45

dsdude10
Scratcher
Registered: 2007-09-22
Posts: 500+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

ThePCKid wrote:

cds56 wrote:

Er.. My ResidentSheild said that too, but it's not

And btw, NORTON IS A VIRUS

Norton destroyed my Windows XP computer!!!!!!!!!!!!!!!!!!!!

yikes

@ThePCKid, how the heck did it destroy it? what did it do?

@cds56 Norton isn't a virus.... it's a virus REMOVER

Offline

 

#24 2009-12-24 16:07:10

ThePCKid
Scratcher
Registered: 2009-09-16
Posts: 1000+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

dsdude10 wrote:

ThePCKid wrote:

cds56 wrote:

Er.. My ResidentSheild said that too, but it's not

And btw, NORTON IS A VIRUS

Norton destroyed my Windows XP computer!!!!!!!!!!!!!!!!!!!!

yikes

@ThePCKid, how the heck did it destroy it? what did it do?

@cds56 Norton isn't a virus.... it's a virus REMOVER

Installed rouges and made us un-protected

Offline

 

#25 2009-12-31 04:54:48

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: EXEScratch: An Alternative to Jens' Scratch2Exe

Im using Norton, its fine, nothing wrong with it, what you've likely done is either lowered your security levels, or you just been careless and clicked on things you shouldn't have, dont be nieve on the internet.


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

Board footer