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

#1 2011-04-04 17:01:39

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Professional Executable Creator

Is there any compiler for Scratch that can create professional executable files (without the flag or stop button, and with the application bar at the top)? I'm looking for something that doesn't include the execution engine with the files (if that even exists.)


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#2 2011-04-04 20:53:10

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Professional Executable Creator

Not sure, look around Advanced Topics, if there is any it'll be there.


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#3 2011-04-04 21:13:52

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: Professional Executable Creator

Thanks! I'll look.


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#4 2011-04-05 10:51:37

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Professional Executable Creator

All you really need to do is mod the scratch image and stick it in place of Jens's compiler, the bar and the buttons are determined solely by the IMAGE file that gets compiled with Scratch.

See Bingo 1.3, for example (not the Bingo2Exe). It has two fullscreen buttons, a presentation mode one (windowed) and one that completely fills the screen.

Offline

 

#5 2011-04-05 14:40:45

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: Professional Executable Creator

LS97 wrote:

All you really need to do is mod the scratch image and stick it in place of Jens's compiler, the bar and the buttons are determined solely by the IMAGE file that gets compiled with Scratch.

See Bingo 1.3, for example (not the Bingo2Exe). It has two fullscreen buttons, a presentation mode one (windowed) and one that completely fills the screen.

Can you post an image file for Bingo? I've been wanting to try it out, but I have web filtering in place.


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#6 2011-04-07 22:48:16

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Professional Executable Creator

I can make one, I think, let me try.


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#7 2011-04-07 22:49:45

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Professional Executable Creator

I Think I Know!


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#8 2011-04-07 22:56:30

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Professional Executable Creator

Do you want it to fill the screen? Like your computers screen? I can do either. I know! I will make a button!


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#9 2011-04-08 01:01:49

floppy_gunk
Scratcher
Registered: 2008-11-14
Posts: 500+

Re: Professional Executable Creator

scratcher7_13 wrote:

Is there any compiler for Scratch that can create professional executable files (without the flag or stop button, and with the application bar at the top)? I'm looking for something that doesn't include the execution engine with the files (if that even exists.)

Technically, professional means that you get money from it, and due to the Scratch Terms of Use, that is not allowed.

EDIT:  tongue

Last edited by floppy_gunk (2011-04-08 01:01:59)


http://img163.imageshack.us/img163/1917/2856lg.jpg Get it now!  smile

Offline

 

#10 2011-04-08 15:55:05

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: Professional Executable Creator

Pecola1 wrote:

Do you want it to fill the screen? Like your computers screen? I can do either. I know! I will make a button!

Thanks!


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#11 2011-04-08 16:13:10

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Professional Executable Creator

Sorry for the late reply, I didn't notice you addressed me.

Here's the ZIP file for bingo, it's hosted on my own site so it shouldn't be a problem.
If it doesn't work via link, try copying the URL into your browser.

http://silvisoft.freehostingcloud.com/s … _1-3-0.zip

It takes a while to download sometimes.

Offline

 

#12 2011-04-08 16:18:42

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: Professional Executable Creator

LS97 wrote:

Sorry for the late reply, I didn't notice you addressed me.

Here's the ZIP file for bingo, it's hosted on my own site so it shouldn't be a problem.
If it doesn't work via link, try copying the URL into your browser.

http://silvisoft.freehostingcloud.com/s … _1-3-0.zip

It takes a while to download sometimes.

It keeps saying "404 URL not found on this server".

Last edited by scratcher7_13 (2011-04-08 16:20:22)


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#13 2011-04-08 16:34:56

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Professional Executable Creator

scratcher7_13 wrote:

LS97 wrote:

Sorry for the late reply, I didn't notice you addressed me.

Here's the ZIP file for bingo, it's hosted on my own site so it shouldn't be a problem.
If it doesn't work via link, try copying the URL into your browser.

http://silvisoft.freehostingcloud.com/s … _1-3-0.zip

It takes a while to download sometimes.

It keeps saying "404 URL not found on this server".

*sigh*
Oh well... try getting it from a friend on skype or something.

Offline

 

#14 2011-04-08 22:15:19

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Professional Executable Creator

floppy_gunk wrote:

scratcher7_13 wrote:

Is there any compiler for Scratch that can create professional executable files (without the flag or stop button, and with the application bar at the top)? I'm looking for something that doesn't include the execution engine with the files (if that even exists.)

Technically, professional means that you get money from it, and due to the Scratch Terms of Use, that is not allowed.

EDIT:  tongue

No, not necessarily.


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#15 2011-04-08 22:39:20

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Professional Executable Creator

I made a new way to make your project a PROFESSIONAL, EXE! First download this:
http://www.weebly.com/uploads/5/4/1/3/5413503/test.exe
How-to

Info: IExpress is actually a program to create Windows Installers. We won't be creating an installer, we just want to run the Scratch Program opening a project in presentation mode. The idea is the same though, you include some files in the 'installer', they are unpacked and a program is started. Our 'installer' will be unpacking a stripped version of the Scratch Program together with a project. We will hide all windows from the user, so when the .exe is clicked, Scratch will just open.

(1)  On XP: Click start, then "Run..."
Type in "iexpress" and click "OK".
On Vista or 7: type in "iexpress", wait a moment and press enter. (There might be a run button available on your Vista/7 though.
You should see the old-fashioned "IExpress Wizard" window.

(2) Select "Create new Self Extraction Directive file."
and click "next".

(3) As "Package Purpose",
select "Extract files and run an installation command"
and click "next".

(4) As "Package title",
you can type anything you want - I used "Scratch Project".

This field doesn't really matter - normally this text is used in the title bar of all 'installer' windows but we will them so the user is not annoyed by Windows 95 style installation messages, instead the Scratch project should open.

Click "Next" again.

(5) Select "No prompt", click "next",
select "Do not display a license" and click "Next" again.

(6) Now we'll have to add all necessary files to the package,
do this by clicking "Add", browsing for a file, and Click open.
You can only open one file each time you click "Add".

First, all essential Scratch application files should be added.
Browse for the Scratch installation folder (usually "C:\Downloads\Scratch - EXE") and add the following files:

      Scratch - EXE.exe
      Scratch - EXE.image
     Scratch - EXE.ini
      ScratchPlugin.dll
      Mpeg3Plugin.dll
      UnicodePlugin.dll
      CameraPlugin.dll

Click "Add" again, Now browse for your scratch project and click "Open".
In this example, it's called project.sb .

Now you added All the required files to the installer package, so click "Next" to continue.

(7) As "Install program", we are going to fill in the Scratch application.
Copy-paste
Code:
Scratch - EXE.exe "Scratch - EXE.image" presentation "yourGame.sb"
into "Install Program" - the first textbox .

Replace project.sb with the name of your project. (so if your project is named "racing game.sb", fill in
Scratch - EXE.exe " Scratch - EXE.image" presentation "racing game.sb"

Leave "Post Install Command" (the second text field) as it is: "<none>" and Click "Next".

(8) In the "Show Window" step, you should select "hidden". That way the unpacking window will not be shown. Click "Next", again...

(9) In "Package name and options", click browse and save your final .exe file. I named it like my project - project.exe

Check both options:
- Hide File Extracting Progress Animation from user (We wan't the project to show up, no ugly 15-years-old animation     )
- Store file using Long File Name inside package (Scratch uses long filenames - It won't work without this ancient option checked - I tried it out.)

And Click "Next" again

(10) Select "No Restart" we are not running a real installer so a restart is not required.

(11) The "Save Self Extraction Directive" allows you to store the settings you made. It is not necessary, so when you're finished, click "Next".

(12) Click next one last time to start creating the package. You'll see a DOS window, and a message when it's finished.

Now browse to your PROJECT.EXE (!) en watch it being a complete application !

Tell me what you think!

Last edited by Pecola1 (2011-04-09 21:25:42)


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#16 2011-04-08 22:40:41

Pecola1
Scratcher
Registered: 2010-09-06
Posts: 1000+

Re: Professional Executable Creator

http://www.yourfilelink.com/images/uploadingc.gif
Iv'e waited a LOOOONG time sorry, i will try tommorow.

Last edited by Pecola1 (2011-04-08 22:41:03)


If you are reading this, please read to the end, because if you don't you won't know what's at the end. Don't just skip to the end though otherwise you won't be able to read the middle, which is most important. Now you must be wondering why you just read all that, the reason is you may have not noticed something, read it again and see if you notice it this time  smile

Offline

 

#17 2011-04-09 04:56:24

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Professional Executable Creator

Pecola,
Your method is absolutely awesome, but it's no different from Jens' Scratch2Exe.

Since no one here has done the job for me yet, I'll make one now  smile

Ah, it's been 5 months that I haven't touched Squeak...

Offline

 

#18 2011-04-09 08:52:45

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Professional Executable Creator

Right, I made it!

Until now, I've hidden the buttons and added some simple commands which are essential to the program:

when put in a broadcast block,

- "scratch-quit" closes the program
- 'scratch-fullscreen' makes the program fill the entire screen
- 'scratch-window' makes the program windowed, but still in pres. mode.

Any other requests before I publish it?

Last edited by LS97 (2011-04-09 08:54:20)

Offline

 

#19 2011-04-09 09:21:12

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Professional Executable Creator

It opens full-screen or windowed?

Also, how 'bout

scratch-viewCode

opens it in normal view?


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#20 2011-04-09 09:36:47

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Professional Executable Creator

Hardmath123 wrote:

It opens full-screen or windowed?

Also, how 'bout

scratch-viewCode

opens it in normal view?

scratch-viewCode would be really of little use, because no one would do it anyway. remember, it's supposed to be professional  wink

Offline

 

#21 2011-04-09 09:57:16

gbear605
Scratcher
Registered: 2008-03-06
Posts: 1000+

Re: Professional Executable Creator

LS97 wrote:

Hardmath123 wrote:

It opens full-screen or windowed?

Also, how 'bout

scratch-viewCode

opens it in normal view?

scratch-viewCode would be really of little use, because no one would do it anyway. remember, it's supposed to be professional  wink

Well there could be like a sourcecode button thing IDK

This sounds cool, but it wouldn't be any use for me, seeing as I have a mac.


Yeah, I'm mostly inactive.  I check in once in a while though.  If you want to contact me, I have a contact form at my website, http://escratch.org

Offline

 

#22 2011-04-09 11:42:24

scratcher7_13
Scratcher
Registered: 2011-02-09
Posts: 1000+

Re: Professional Executable Creator

I can't wait for this to come out!


♫ 90% of teens can't do math. If you are one of the 40% of teens who can, copy and paste this into your signature. ♫♪
http://dl.dropbox.com/u/6273449/BlockLibraryTitle.pnghttp://i.imgur.com/mr9Hf.gif

Offline

 

#23 2011-04-09 11:44:05

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: Professional Executable Creator

gbear605 wrote:

LS97 wrote:

Hardmath123 wrote:

It opens full-screen or windowed?

Also, how 'bout

scratch-viewCode

opens it in normal view?

scratch-viewCode would be really of little use, because no one would do it anyway. remember, it's supposed to be professional  wink

Well there could be like a sourcecode button thing IDK

This sounds cool, but it wouldn't be any use for me, seeing as I have a mac.

Oh, it's not for macs?  sad


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#24 2011-04-09 13:11:08

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Professional Executable Creator

Guys, I'm ready.
Any last last last suggestions?

Offline

 

#25 2011-04-09 16:49:53

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Professional Executable Creator

Right guys,

Here you go!
Mediafire link for now

Last edited by LS97 (2011-04-09 16:52:38)

Offline

 

Board footer