This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » FAQ
  •  » How do I put a project on a CD?

#1 2007-05-17 01:21:52

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

How do I put a project on a CD?

Here are two ideas.

1. Here's the simplest way to get your game onto a CD. Put a copy of your project (I will assume it is named "project.sb") plus the following files on a CD:

       Scratch.exe
       Scratch.image
       Scratch.ini
       ScratchPlugin.dll
       Mpeg3Plugin.dll
       license.txt

These files are all included in the Windows Scratch folder. (If you have a Macintosh but want to make your CD runnable on Windows, download WinScratch.zip from the Scratch download page.)

To run your project off the CD, double-click on Scratch.exe, then click the "open" button, then pick your project. (If you want Mac users to be able to run it, you should also add the file:

       Scratch.app

from the Macintosh download of Scratch.

2. Now, if you want to get fancy, you can make a shortcut for launching your project. This solution will only work on Windows.

Use WordPad or TextPad to create a new file named "Run.bat". Write a command line something like this:

Scratch.exe Scratch.image presentation project.sb

(but replace "project.sb" with the actual name of your project.)

Save the file. Now, double-clicking this file should launch Scratch and start up your project. Assuming that you have Scratch 1.2.1 or later, it will open up in presentation mode, almost as if it were a commercial application.

You can also add the "presentation" keyword to a shortcut as described in the post below by p-w-b, but since shortcuts use absolute path names the shortcut may not work if the files are on a removeable drives such as a CD or a Flash drive. However, the shortcut technique is a great way to show off your games on your own computer.

Last edited by johnadmin (2007-12-12 17:27:38)


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#2 2007-06-16 09:50:09

teefal
Scratcher
Registered: 2007-05-23
Posts: 6

Re: How do I put a project on a CD?

Knowing the Mac and Linux way to load the image & project would be very helpful.

Offline

 

#3 2007-06-17 19:38:29

p-w-b
Scratcher
Registered: 2007-06-14
Posts: 1

Re: How do I put a project on a CD?

Instead of a batch file in Windows you can also create a shortcut. The nice thing about shortcuts is that you can change the icon, whereas a batch file always has the same icon.

To create a shortcut:
In your Scratch folder, right click in a blank area and select New and Shortcut. A window will pop up and ask you to type the location of the item.
Type:   "C:\Program Files\Scratch\Scratch.exe" Scratch.image project.sb
(Be sure to include the quotes and the two parameters, but replace project.sb with the actual name of your project. If your project name has a space in it, put quotes around it: "Dogs and Cats Fighting.sb")
Click Next. Type a name for your shortcut, whatever you want. Click Finish. You're done! Double-click the shortcut to run Scratch and auto-load your project.

Now that you have a shortcut, you can change the icon. Right click your shortcut and select Properties; Click Change Icon... Where it says "Look for icons in this file," enter c:\windows\system32\SHELL32.dll for more windows icons, or supply your own. Creating your own icons is a topic for another day!

Philip

Last edited by p-w-b (2007-06-17 19:43:02)

Offline

 

#4 2007-07-31 17:59:52

nicolasmartineau
Scratcher
Registered: 2007-07-31
Posts: 1

Re: How do I put a project on a CD?

Can we download a Published JAVA projects (SHARE) so we can use our projects without Scratch?

Offline

 

#5 2007-08-03 06:18:26

Bingo_324
Scratcher
Registered: 2007-05-20
Posts: 11

Re: How do I put a project on a CD?

HOW TO...
Create an icon in Windows


1. Click Start > Run and type mspaint.exe. Click OK and Paint should start.
2. Go to Image > Attributes and set Width to 32 and Height to 32.
3. Draw your icon in the small space. DO NOT resize that space or the icon WILL NOT WORK!
4. Go to File > Save As... and type filename.ico, where filename is the name you would like to give your icon. Do not worry about the "Save As Type" box.
5. Once your icon is saved right click the shortcut you created and click on Change Icon. Then click on Browse and find the icon you just created. Click OK and then click on your icon. Press OK twice. Your icon is now attached to the shortcut. If you move the location of the icon, repeat this step.

smile


~Bingo

TECH SUPPORT DESK: "Have you tried turning it off and turning it on again? Are you sure it's plugged in?"

Offline

 

#6 2007-08-15 17:36:15

mouse2867
Scratcher
Registered: 2007-08-12
Posts: 17

Re: How do I put a project on a CD?

can youmake it open in presentation mode?

Offline

 

#7 2007-08-27 15:41:52

beny
Scratcher
Registered: 2007-07-24
Posts: 100+

Re: How do I put a project on a CD?

teefal wrote:

Knowing the Mac and Linux way to load the image & project would be very helpful.

the linux one is not released yet!


more people like the letter B than the letter A!
i'm going for 250 posts!

Offline

 

#8 2007-08-28 15:24:29

ScipioBellorum
Scratcher
Registered: 2007-05-15
Posts: 94

Re: How do I put a project on a CD?

Presumably this method would also work for memory sticks?

Also, is there anyway of running a project (preferably already in presentation mode) from a CD/memory stick without having to put the whole of scratch on it as well, (in the same way you can see scratch projects online without having scratch downloaded)?

SB


http://img393.imageshack.us/img393/339/logory8.png
                      The word processor for Scratch

Offline

 

#9 2007-10-11 19:16:27

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

Re: How do I put a project on a CD?

Works on a memory stick for me!!


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

Offline

 

#10 2007-10-14 18:16:18

kuri
Scratcher
Registered: 2007-10-13
Posts: 10

Re: How do I put a project on a CD?

can you make your game a stand alone game that opens in presentation mode, or can you make it so when other people download the game they cant change stuff?

Offline

 

#11 2007-10-24 20:12:03

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: How do I put a project on a CD?

kuri wrote:

can you make your game a stand alone game that opens in presentation mode, or can you make it so when other people download the game they cant change stuff?

That's a great question! We will never create a version of Scratch that hides the code because we believe it is important to share ideas and code with other people.

This is actually a very important topic because a lot of corporations create software and hide the source code and even make it illegal for people to change their software. We think this is NOT the best way to do things especially when it comes to an educational software like Scratch.

You can read more about it here:
http://scratch.mit.edu/pages/license

I agree that it would be cool to have the possibility to bundle your game as a stand alone application that open in presentation mode. I hope we could implement that functionality in the future in a way that it always includes the original source code. In the meanwhile the answer is that it is not possible.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#12 2007-12-02 08:53:36

camieac
Scratcher
Registered: 2007-06-19
Posts: 3

Re: How do I put a project on a CD?

Can you make a project a JAVA file to put on your phone?

Offline

 

#13 2007-12-02 09:59:39

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: How do I put a project on a CD?

camieac: no, not yet. We have a prototype of a cell phone version  of Scratch but it has been very difficult to handle all the differences in different handsets.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#14 2007-12-12 17:30:51

johnadmin
Scratch Team
Registered: 2007-03-13
Posts: 100+

Re: How do I put a project on a CD?

For those coming back to this thread, note that Scratch 1.2.1 now allows you to start a project directly in presentation mode when launching from a .bat file or a shortcut. I have updated the original post on this thread to explain how to do that.

  -- John

Offline

 

#15 2008-02-08 18:20:46

Raccoonmedia
Scratcher
Registered: 2008-01-09
Posts: 17

Re: How do I put a project on a CD?

What does it mean to write a command line? I don't get it.


Signatures are like bumper stickers.

Offline

 

#16 2008-02-08 19:04:10

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: How do I put a project on a CD?

A command line is an order you write in the form of text to order the computer to do something. For example, you can tell your computer to list the files in a directory by typing 'dir' in the Windows Command Line console or 'ls' on the Linux console.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#17 2008-03-16 15:15:00

terminator68
Scratcher
Registered: 2008-02-26
Posts: 1000+

Re: How do I put a project on a CD?

If you can put a scratch project on a CD, then could you put THE ENTIRE SCRATCH PROGRAM ALSO ON A CD? (answer is probably "NO")


--------------------Scratcher since '08--------------------
http://images1.wikia.nocookie.net/__cb20110314152018/mlpfanart/images/5/5d/Applejack_chewing.gif

Offline

 

#18 2008-03-16 15:39:12

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

Re: How do I put a project on a CD?

But sure, yes, you can!  smile


Jens Mönig

Offline

 

#19 2008-03-19 19:01:47

terminator68
Scratcher
Registered: 2008-02-26
Posts: 1000+

Re: How do I put a project on a CD?

KEWL


--------------------Scratcher since '08--------------------
http://images1.wikia.nocookie.net/__cb20110314152018/mlpfanart/images/5/5d/Applejack_chewing.gif

Offline

 

#20 2008-04-22 15:20:26

rjames01
Scratcher
Registered: 2008-04-22
Posts: 1

Re: How do I put a project on a CD?

How about allowing the ability to produce a stand-alone flash version of a Scratch project but embedding a link to the source file at the end of the clip? Frankly, the inability to produce a stand-alone, web-delivered flash file will mean my college will likely not use Scratch in any significant way.

Offline

 

#21 2008-05-16 18:18:14

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: How do I put a project on a CD?

I created a program to put your Scratch programs on a CD, with a menu  etc!

It is called discScratchr, read more about it here


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#22 2008-06-08 12:54:22

bobboder
Scratcher
Registered: 2008-04-25
Posts: 9

Re: How do I put a project on a CD?

when i open the run.bat thing, it doesn't work. instead it opens a window for a split second and then vanishes. (is it because i made my game on my mac and moved it to windows?) When it didn't work i decided to write scratch.exe scratch.image presentation and my file as the save name. i opened it and scratch said could not open: bad header.

Offline

 

#23 2008-06-09 17:06:07

bobboder
Scratcher
Registered: 2008-04-25
Posts: 9

Re: How do I put a project on a CD?

Is There A Way Open A Project In Another Project?

Offline

 

#24 2008-07-20 03:27:12

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: How do I put a project on a CD?

bobboder wrote:

Is There A Way Open A Project In Another Project?

No, there is not.

A Scratch *project* is not always only one *program* - when you create a Scratch project, you bundle all required Scripts, sounds, images and more in your project. Therefore it is not required to "call" another program from within a Scratch program.

In other programming languages, like DOS batch files, it  is.

Joren


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#25 2008-07-20 03:32:37

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: How do I put a project on a CD?

JSO wrote:

bobboder wrote:

Is There A Way Open A Project In Another Project?

No, there is not.

A Scratch *project* is not always only one *program* - when you create a Scratch project, you bundle all required Scripts, sounds, images and more in your project. Therefore it is not required to "call" another program from within a Scratch program.

In other programming languages, like DOS batch files, it  is.

Joren

Actually, again, correct me if I'm wrong, but you can click the Extras tab and import a project as an "add-on" to yours. Is this the question asked?


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 
  • Index
  •  » FAQ
  •  » How do I put a project on a CD?

Board footer