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

#1 2012-08-23 11:53:19

SimpleScratch
Scratcher
Registered: 2007-05-25
Posts: 100+

Adding version information in Scratch.image

MathWhizz found and fixed a little perforance issue with using Scratch onthe RaspberryPi.  I've read the Scratch source code re-distribution requirements and it looks OK to re-distribute our modifed version on the RaspberryPI and still call it Scratch.

But I'd like to add some text into the image saying how its been modded slightly.

Where/what/how can I do this?

regards
Simon

Offline

 

#2 2012-08-23 12:02:05

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Adding version information in Scratch.image

Take this image: http://img39.imageshack.us/img39/7031/scratch.gif
Add your text then I will show you how to install it.  smile


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#3 2012-08-23 12:38:55

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Adding version information in Scratch.image

When you've edited your image, place it in the base directory of Scratch (where the vm is running from.)

Now you need to open Scratch, open the workspace and paste this:

Code:

| logo |
logo _ Form fromFileNamed: 'Scratch.gif'.
(ScratchFrameMorph classPool at: #ScratchSkin) at: #scratchLogo put: logo.
ScratchFrameMorph allInstancesDo: [:frame | (frame instVarNamed: #logoMorph) form: logo]

Select it all and press alt + d (this runs the code.)
big_smile


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#4 2012-08-23 12:49:37

SimpleScratch
Scratcher
Registered: 2007-05-25
Posts: 100+

Re: Adding version information in Scratch.image

No  smile   You've gone too far  smile
As its just a little bug fix, we don't need to change the name etc -but I just wanted to add a bit of documentation on yourchanges into the .image file for future reference  smile

But thanks for the info for when I produce ItchyPi  smile
Simon

Offline

 

#5 2012-08-23 13:28:08

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Adding version information in Scratch.image

Oh. *facepalm* I read "image" and thought you meant the logo. Lolololololol.


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

Board footer