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

#26 2010-06-20 13:55:29

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Scratch Patches

ScratchReallyROCKS wrote:

nXIII wrote:

Yes, they're written in Squeak.

Cool! Does this mean that we could make a code in squeak and change the extension to .patch?

or leave it as a .cs, the patcher accepts them, too.

EDIT: Oh, nvm, my version does. If you want to, just add "#cs" next to "#patch" in the first method.

Last edited by nXIII (2010-06-20 13:56:02)


nXIII

Offline

 

#27 2010-06-20 14:33:25

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Scratch Patches

bump!

Patch download links are now available!


nXIII

Offline

 

#28 2010-06-20 16:10:10

climber59
Scratcher
Registered: 2009-12-15
Posts: 100+

Re: Scratch Patches

Rapidshare is bad unless you have a paid account, Mediafire is working fine for me though so I wonder why it isn't for you.


Check out my projects if you have a chance.

Offline

 

#29 2010-06-20 16:40:38

henley
Scratcher
Registered: 2008-06-21
Posts: 1000+

Re: Scratch Patches

nXIII wrote:

henley wrote:

When I clicked "file it in" it gave me a message saying "Syntax Error" with the following content:

< < < This string contains a character (ascii value 202) that is not normally used in code > > > createPatchFileChooserFor: t1
Nothing more expected ->    scratchFrame _ nil.
    readingScratchFile _ true.
    list _ ScratchFilePicker new extensions: #(#patch ).
    self removeAllMorphs.
    bottomSpacer delete.
    bottomSpacer _ nil.
    mainColumn addMorphBack: list.
    self title: 'Add Patch'.
    list scratchInfoClient: nil.
    mainColumn addMorphBack: (Morph new extent: 5 @ 9;
         color: Color transparent);
     addMorphBack: newTitleBin.
    fileInfoColumn addMorphBack: buttonRow.
    self addMorphBack: shortcutColumn;
     addMorphBack: mainColumn;
     addMorphBack: fileInfoColumn

I think that it was the exclamation points. Do I just take out the exclamation points?

EDIT:

http://i46.tinypic.com/29cudk6.png

You should leave the exclamation points in.

And it doesn't look like you copied the entire length of the code.

Here:
http://i48.tinypic.com/2eojhqu.png
EDIT: Since it doesn't work, it may work here.

It doesn't fit in the forums... That stinks.

I wish I knew what I was doing wrong.  sad

Last edited by henley (2010-06-20 16:42:49)


"I've worked so hard for you and you give me nothing in return. Do you need help... Or do I?"

Offline

 

#30 2010-06-21 06:49:47

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

Re: Scratch Patches

markyparky56 wrote:

ScratchReallyROCKS wrote:

henley wrote:

When I clicked "file it in" it gave me a message saying "Syntax Error" with the following content:

< < < This string contains a character (ascii value 202) that is not normally used in code > > > createPatchFileChooserFor: t1
Nothing more expected ->    scratchFrame _ nil.
    readingScratchFile _ true.
    list _ ScratchFilePicker new extensions: #(#patch ).
    self removeAllMorphs.
    bottomSpacer delete.
    bottomSpacer _ nil.
    mainColumn addMorphBack: list.
    self title: 'Add Patch'.
    list scratchInfoClient: nil.
    mainColumn addMorphBack: (Morph new extent: 5 @ 9;
         color: Color transparent);
     addMorphBack: newTitleBin.
    fileInfoColumn addMorphBack: buttonRow.
    self addMorphBack: shortcutColumn;
     addMorphBack: mainColumn;
     addMorphBack: fileInfoColumn

I think that it was the exclamation points. Do I just take out the exclamation points?

EDIT:

http://i46.tinypic.com/29cudk6.png

Weird, that didn't happen to me...

Edit:
continuing with my old question:

ScratchReallyROCKS wrote:

How are the patches encoded? Would you be able to make them in a normal text editor and change the extension to .patch?

Would we be able to make our own patches?

.CS files (What the .patch files are when they start out) are just C# (C-sharp) code files, which can be made in any text-editor, so if you know how to code the patch, then you should be able to.

I don't think it would be C# files.


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

Offline

 

#31 2010-06-21 07:40:53

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: Scratch Patches

It works fine for me! But how do I un-do patches?


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#32 2010-06-21 09:30:59

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Scratch Patches

People are going to put this into their mods no matter what you say you know...


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#33 2010-06-21 09:40:43

Billybob-Mario
Scratcher
Registered: 2008-01-05
Posts: 500+

Re: Scratch Patches

climber59 wrote:

Rapidshare is bad unless you have a paid account, Mediafire is working fine for me though so I wonder why it isn't for you.

Slash uses dropbox.

Offline

 

#34 2010-06-21 11:51:28

meowmeow55
Scratcher
Registered: 2008-12-24
Posts: 1000+

Re: Scratch Patches

After installing the patch installer and both patches, I tested out the delete patch by putting "(22)/(3)" (just random numbers I thought of) in the first blank of "pick random () to ()" block, with 10 in the other. When I right-clicked on it and clicked "delete", it gives me a debug window with the title "Message not understood: argMorphToReplace:" and this as its contents:

Code:

ScratchScriptsMorph(Object)>>error:
ScratchScriptsMorph(Object)>>doesNotUnderstand:
ReporterBlockMorph(CommandBlockMorph)>>deleteMe
ReporterBlockMorph(CommandBlockMorph)>>rightButtonMenu
ReporterBlockMorph(BlockMorph)>>mouseDown:
HandMorph>>handleMouseDown:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in PasteUpMorph>>doOneCycleNow
Array(SequenceableCollection)>>do:

And the "(22)/(3)" block is left there, and so is the pick random block, except now it looks like "pick random to (10)" (it's missing the first blank). Very weird.

Last edited by meowmeow55 (2010-06-21 11:53:13)


Yawn.

Offline

 

#35 2010-06-21 11:54:59

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: Scratch Patches

meowmeow55 wrote:

After installing the patch installer and both patches, I tested out the delete patch by putting "(22)/(3)" (just random numbers I thought of) in the first blank of "pick random () to ()" block, with 10 in the other. When I right-clicked on it and clicked "delete", it gives me a debug window with the title "Message not understood: argMorphToReplace:" and this as its contents:

Code:

ScratchScriptsMorph(Object)>>error:
ScratchScriptsMorph(Object)>>doesNotUnderstand:
ReporterBlockMorph(CommandBlockMorph)>>deleteMe
ReporterBlockMorph(CommandBlockMorph)>>rightButtonMenu
ReporterBlockMorph(BlockMorph)>>mouseDown:
HandMorph>>handleMouseDown:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in PasteUpMorph>>doOneCycleNow
Array(SequenceableCollection)>>do:

And the "(22)/(3)" block is left there, and so is the pick random block, except now it looks like "pick random to (10)" (it's missing the first blank). Very weird.

I got that error too, looks like it happens when you are trying to delete reporter blocks. If you re-drag them in the blocks palette, the error will not happen.


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#36 2010-06-21 12:36:35

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: Scratch Patches

Billybob-Mario wrote:

climber59 wrote:

Rapidshare is bad unless you have a paid account, Mediafire is working fine for me though so I wonder why it isn't for you.

Slash uses dropbox.

dropbox isn't a file hosting site, you need a password to access the contents and you also need to install it.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#37 2010-06-21 12:51:00

Sperry
Scratcher
Registered: 2010-03-09
Posts: 500+

Re: Scratch Patches

sparks wrote:

Billybob-Mario wrote:

climber59 wrote:

Rapidshare is bad unless you have a paid account, Mediafire is working fine for me though so I wonder why it isn't for you.

Slash uses dropbox.

dropbox isn't a file hosting site, you need a password to access the contents and you also need to install it.

That isnt true, you can share file publicly and then they are put onto the web. where people can download it.


http://img709.imageshack.us/img709/3252/gobanim2.gifhttp://ls.gd/bo

Offline

 

#38 2010-06-21 12:56:03

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

Re: Scratch Patches

sparks wrote:

Billybob-Mario wrote:

climber59 wrote:

Rapidshare is bad unless you have a paid account, Mediafire is working fine for me though so I wonder why it isn't for you.

Slash uses dropbox.

dropbox isn't a file hosting site, you need a password to access the contents and you also need to install it.

Actualy, not true, one sec, let me get the link... http://dl.dropbox.com/u/6273449/Panther%201.0.msi thats the link to the panther installer, its in the dropbox public folder, you should have read the file there.


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

 

#39 2010-06-21 18:41:38

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: Scratch Patches

meowmeow55 wrote:

After installing the patch installer and both patches, I tested out the delete patch by putting "(22)/(3)" (just random numbers I thought of) in the first blank of "pick random () to ()" block, with 10 in the other. When I right-clicked on it and clicked "delete", it gives me a debug window with the title "Message not understood: argMorphToReplace:" and this as its contents:

Code:

ScratchScriptsMorph(Object)>>error:
ScratchScriptsMorph(Object)>>doesNotUnderstand:
ReporterBlockMorph(CommandBlockMorph)>>deleteMe
ReporterBlockMorph(CommandBlockMorph)>>rightButtonMenu
ReporterBlockMorph(BlockMorph)>>mouseDown:
HandMorph>>handleMouseDown:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in PasteUpMorph>>doOneCycleNow
Array(SequenceableCollection)>>do:

And the "(22)/(3)" block is left there, and so is the pick random block, except now it looks like "pick random to (10)" (it's missing the first blank). Very weird.

Change the values in 22/3 and they still affect the block.


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#40 2010-06-21 18:56:08

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Scratch Patches

Oh, yes, sorry, I accidentally made a coding error in the deletion of reporters; it was trying to replace the argument that it had taken the place of in its parent block (which doesn't exist). I will update the download in a few days. (or less)


nXIII

Offline

 

#41 2010-06-21 19:23:42

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Scratch Patches

Are you going to make any new patches?


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#42 2010-06-22 12:17:56

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

Re: Scratch Patches

How about making Jens' elements into a patch? I think it was Mathwhiz managed to export it as a change set file.

Last edited by markyparky56 (2010-06-22 12:58:41)


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

 

#43 2010-06-22 12:47:44

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: Scratch Patches

Jen's or Jens's?  lol   tongue


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#44 2010-06-22 12:51:45

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

Re: Scratch Patches

waveOSBeta wrote:

Jen's or Jens's?  lol   tongue

Jens'


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

 

#45 2010-06-22 12:55:33

waveOSBeta
Scratcher
Registered: 2009-12-08
Posts: 1000+

Re: Scratch Patches

markyparky56 wrote:

How about making Jen's elements into a patch? I think it was Mathwhiz managed to export it as a change set file.


http://internetometer.com/image/10202.png]
New signature coming soon!  smile

Offline

 

#46 2010-06-22 12:58:31

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

Re: Scratch Patches

waveOSBeta wrote:

markyparky56 wrote:

How about making Jen's elements into a patch? I think it was Mathwhiz managed to export it as a change set file.

Yeah, I realized that.


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

 

#47 2010-06-22 13:17:06

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

Re: Scratch Patches

When I try to install a patch, this comes up:
http://i45.tinypic.com/30ihlcj.png
Yes, I did copy the entire patch installer.

Last edited by ThePCKid (2010-06-22 13:18:50)

Offline

 

#48 2010-06-22 13:29:26

meew0
Scratcher
Registered: 2010-02-22
Posts: 1000+

Re: Scratch Patches

ThePCKid wrote:

When I try to install a patch, this comes up:
http://i45.tinypic.com/30ihlcj.png
Yes, I did copy the entire patch installer.

Did you click "file it in"?


http://i.imgur.com/mJV3j.pnghttp://i.imgur.com/HwWAX.pnghttp://i.imgur.com/sZ7Ui.pnghttp://i.imgur.com/0y6yh.pnghttp://i.imgur.com/nOC4l.png

Offline

 

#49 2010-06-22 15:09:03

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Scratch Patches

Why is everyone saying it doesn't work?? Just follow nXIII's instructions in the beginning and you'll have it. It worked fine for me.

EDIT: and since no one has said this yet, on a Mac you copy by pressing Command+C, paste with Command+V, and select all with Command+A.

Last edited by ScratchReallyROCKS (2010-06-22 15:12:15)


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#50 2010-06-22 18:01:44

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Scratch Patches

ScratchReallyROCKS wrote:

Why is everyone saying it doesn't work?? Just follow nXIII's instructions in the beginning and you'll have it. It worked fine for me.

EDIT: and since no one has said this yet, on a Mac you copy by pressing Command+C, paste with Command+V, and select all with Command+A.

Thank you!

I'm not sure why it doesn't work for some people ... I might ask the Scratch Team if I can give out an image which has hosting enabled but has no changes except for the patcher.


nXIII

Offline

 

Board footer