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

#1 2011-09-09 16:18:55

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

How to make Scratch Patches

This topic will show you how to make Scratch Patches for nXIII's patch importer!

1. Open Notepad, or another text editor.
2. Enter the squeak code like this:

Code:

!BlockMorph methodsFor: 'class' stamp: '  '!
methodName

    | variable |
    code

Just like when you code in your workspace.
3. Click [save as...].
4. Enter the file name.
5. For the save as type field click other and then add .patch at the end of the filename, making the file have a custom extension.
6. You should be able to import it as a patch now!


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#2 2011-09-09 16:28:41

owetre18
Scratcher
Registered: 2009-07-01
Posts: 1000+

Re: How to make Scratch Patches

I'm glad that sombody finally posted this. Now the block Library can get on with the .block patches.

Offline

 

#3 2011-09-09 16:30:23

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: How to make Scratch Patches

I hope this post becomes a lot of help!  smile


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#4 2011-09-09 16:31:22

owetre18
Scratcher
Registered: 2009-07-01
Posts: 1000+

Re: How to make Scratch Patches

WindowsExplorer wrote:

I hope this post becomes a lot of help!  smile

It most likely will. Maybe link to this from the block library. That'll get them here.

Offline

 

#5 2011-09-09 16:35:11

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: How to make Scratch Patches

owetre18 wrote:

WindowsExplorer wrote:

I hope this post becomes a lot of help!  smile

It most likely will. Maybe link to this from the block library. That'll get them here.

Great idea!


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#6 2011-09-10 08:25:37

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: How to make Scratch Patches

Bump


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#7 2011-09-11 03:55:41

scimonster
Community Moderator
Registered: 2010-06-13
Posts: 1000+

Re: How to make Scratch Patches

owetre18 wrote:

I'm glad that sombody finally posted this. Now the block Library can get on with the .block patches.

We're working on it. And not because of this.

Offline

 

#8 2011-09-14 11:58:56

maxskywalker
Scratcher
Registered: 2008-01-27
Posts: 1000+

Re: How to make Scratch Patches

This just makes me wonder if it's possible to make patches i Python, or maybe C++. .

[excess periods removed by moderator - please don't spam]

Last edited by Paddle2See (2012-10-24 19:32:46)

Offline

 

#9 2011-09-14 13:15:41

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: How to make Scratch Patches

wait, what's the 'stamp ' '' thing for?


the the the the the

Offline

 

#10 2011-09-14 13:24:51

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: How to make Scratch Patches

jslomba wrote:

wait, what's the 'stamp ' '' thing for?

Not actually sure  tongue


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#11 2011-09-14 13:45:54

jslomba
Scratcher
Registered: 2009-09-25
Posts: 1000+

Re: How to make Scratch Patches

WindowsExplorer wrote:

jslomba wrote:

wait, what's the 'stamp ' '' thing for?

Not actually sure  tongue

so when you're making a patch, you just leave it blank?


the the the the the

Offline

 

#12 2011-09-14 13:47:16

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: How to make Scratch Patches

jslomba wrote:

WindowsExplorer wrote:

jslomba wrote:

wait, what's the 'stamp ' '' thing for?

Not actually sure  tongue

so when you're making a patch, you just leave it blank?

Just leave it blank, or put your inisisals there.


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#13 2012-10-24 15:41:38

Dominic1
Scratcher
Registered: 2009-07-30
Posts: 89

Re: How to make Scratch Patches

I made a patch repository at "www.escratch.org/patch". If you want, you can upload your patch there! Also, it already has some useful patches!


http://i49.tinypic.com/oiwvh5.jpg

Offline

 

#14 2012-10-24 18:12:37

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

Re: How to make Scratch Patches

Just make a changeset, file it out, and rename it to <name>.patch.


nXIII

Offline

 

Board footer