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

#101 2010-11-04 08:14:52

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

Re: Scratch Patches

meowmeow55 wrote:

Use these links instead of the ones you have to be more "direct" and avoid going through another page to download.  smile

Doesn't work.  wink


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

Offline

 

#102 2010-11-04 16:20:57

bigreader
Scratcher
Registered: 2007-08-14
Posts: 100+

Re: Scratch Patches

bigreader wrote:

nXIII wrote:

TheSuccessor wrote:

Would you mind me using this in my mod if I only used the installer, gave you credit for the installer code and the entire idea, and wrote all the patches for my mod myself? And give you a load of code in return?

A load of code?  tongue
Sure, I don't mind. Except, I don't think I ever put the code to save Squeak when you add a patch into it...a little challenge for you, I guess!  tongue

Me too?  smile  I'm hoping to implement a update system (and maybe some custom patches) in my mod, Zing! (you may have heard about it. sorry! that code is now gone.)

Please?


I'm currently taking a break from Scratch.
Zing - now even easier to install!

Offline

 

#103 2010-11-04 23:02:24

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

Re: Scratch Patches

MathWizz wrote:

meowmeow55 wrote:

Use these links instead of the ones you have to be more "direct" and avoid going through another page to download.  smile

Doesn't work.  wink

Dang! It worked when I tried it with something else, but it doesn't seem to work after some time...  sad


Yawn.

Offline

 

#104 2010-11-05 23:11:56

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

Re: Scratch Patches

I remember when you first talked about the "patching" idea, nXIII.

You first talked about it in a topic for someone else's mod, and they thought that you were offering to help them.

Glad that the idea turned out, it sounded like a really cool concept.


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

Offline

 

#105 2010-11-05 23:15:42

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

Re: Scratch Patches

cds56 wrote:

I remember when you first talked about the "patching" idea, nXIII.

You first talked about it in a topic for someone else's mod, and they thought that you were offering to help them.

Glad that the idea turned out, it sounded like a really cool concept.

I remember that, I was part of that.


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

Offline

 

#106 2011-01-19 20:11:18

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

Re: Scratch Patches

bump


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

Offline

 

#107 2011-04-25 23:48:42

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

Re: Scratch Patches

When will the downloads be available? We want it for the Block Library.  big_smile

Offline

 

#108 2011-06-26 06:14:54

whizzer
Scratcher
Registered: 2008-05-27
Posts: 500+

Re: Scratch Patches

The first download link is broken. But the other one works.


http://i46.tinypic.com/33df6me.png I'm whizzer0 for all things Minecraft.

Offline

 

#109 2011-06-28 11:02:11

GP1
Scratcher
Registered: 2009-07-06
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.

no you don't, and when you put it in the public folder, you right click the name of the file, choose copy public link, and paste it wherever you want. when someone clicks on the file (and it isn't an html, javascript, text, or picture file) it will start downloading.


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#110 2011-06-28 12:11:57

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

Re: Scratch Patches

nXIII wrote:

Scratch Patches by nXIII
These little guys can help you customize and improve your own version of Scratch. The best part: none involve new blocks, so the projects you create will be no different that normal Scratch projects.
_________________________________

Notes

- download links temporarily unavailable
- these patches are not for use in mods; they are exclusively for customizing the Scratch application itself
- please post suggestions and/or bugs and glitches
- thanks to ScratchReallyROCKS, Mac keyboard shortcuts are now available

_________________________________

The Patcher

Installing the patcher is the hardest (but not very hard) thing you must do in order to install patches. Simply follow these instructions:
Step 1: Open Scratch
Step 2: Press and hold the "shift" key while clicking the loop of the "R" in the Scratch logo
Step 3: Select "turn fill-screen off" from the popup menu which shows up
Not showing up? Make sure you're clicking inside the loop of the "R"; the "logo" referred to is the one in the top-left corner.
Step 4: Click anywhere in the "white space" which shows up at the bottom and right sides of the window
Step 5: Select "open..." from the popup menu
Step 6: Select "workspace" from the subsequent popup menu
Step 7: Copy the following text and paste it into the textbox-like window  with (Windows) Alt+V or (Mac) Command+V, or by clicking the "-" button above the scrollbar (appears when the mouse is over the "workspace" window) and selecting "paste (v)"

'From MIT Squeak 0.9.4 (June 1, 2003) [No updates present.] on 18 June 2010 at 5:06:17 pm'!

!ScratchFileChooserDialog methodsFor: 'initialization'!
createPatchFileChooserFor: t1
    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! !


!ScratchFrameMorph methodsFor: 'menu/button actions'!
addPatch
    | t1 t2 t3 t4 |
    t1 _ ScratchFileChooserDialog new createPatchFileChooserFor: self;
             type: #patch.
    t2 _ t1 getUserResponse.
    t2 = #cancelled ifTrue: [^ self].
    t3 _ (FileDirectory forFileName: t2)
                oldFileNamed: t2.
    t4 _ t3 contentsOfEntireFile.
    (ReadWriteStream
        on: t4
        from: 1
        to: t4 size) fileIn! !

!ScratchFrameMorph methodsFor: 'menu/button actions'!
fileMenu: t1
    | t2 |
    t2 _ CustomMenu new.
    t2 add: 'New' action: #newScratchProject.
    t2 add: 'Open' action: #openScratchProject.
    t2 add: 'Save' action: #saveScratchProjectNoDialog.
    t2 add: 'Save As' action: #saveScratchProject.
    t2 addLine.
    t2 add: 'Import Project' action: #importScratchProject.
    t2 add: 'Export Sprite' action: #exportSprite.
    t2 addLine.
    t2 add: 'Add Patch' action: #addPatch.
    t2 addLine.
    t2 add: 'Project Notes' action: #editNotes.
    Sensor shiftPressed
        ifTrue:
            [t2 addLine.
            t2 add: 'Write Project Summary' action: #writeSummaryFile.
            t2 add: 'Write Multiple Project Summaries' action: #writeMultipleSummaries].
    t2 addLine.
    t2 add: 'Quit' action: #quitScratch.
    t2 localize.
    #(2 4 5 6 7 8 ) do: [:t3 | t2 labels at: t3 put: ((t2 labels at: t3)
                copyFrom: 1 to: (t2 labels at: t3) size - 1)
                , ScratchTranslator ellipsesSuffix].
    t2 invokeOn: self at: t1 bottomLeft + (0 @ 10)! !

Step 8: Select all the text by click-and-drag or by pressing (Windows) Alt+A or (Mac) Command+A
Step 9: File in the selection by right-clicking (Mac option+click) the selection and clicking "more..." then "file it in"
Step 10: Shift-click the loop of the "R" in the Scratch logo again and select "save image for end-user" then select "yes" when prompted. Scratch should close, and when restarted you will see a new option in the file menu: "Add Patch..."

_________________________________

Installing a Patch

Once you have installed the patcher, simply select "Add Patch" from the file menu, navigate to the file (ends with .patch) and select "OK". The patch will be installed and can be used immediately.

_________________________________

Available Patches
note: make sure you have installed the patcher before downloading and installing any of these patches

Feedback Enhancements
This patch modifies Scratch's "feedback" methods for dropping and deleting blocks and comments. Features:
- Colored reporter block drop feedback - for example a variable block has an orange-tinted feedback
- Shadowed command block feedback - instead of a line to indicate where blocks will go, you get a nice little shadow of the blocks
- Shaded comment/deletion feedback - the feedback for comments and reporters now look like those for reporters
Download

Deletion Fixes
This patch makes deletion of embedded command blocks possible, as well as fixing Scratch's deletion of reporters - if they have embedded blocks, the embedded blocks will be kept in the editor. Features:
- Updated "cut" tool for blocks
- All blocks now have a delete menu item in their context menu
Download

More coming soon!
_________________________________

You can't same image, because the patch doesn't support the dev menu, if your using the scratch source 1.4. You need to edit it and support the dev menu!


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

Offline

 

#111 2011-06-28 12:21:55

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

Re: Scratch Patches

Why can we not have them in mods? That's silly, I mean, my mod wouldn't be good without patches! PLEASE REPLY TO THSI POST ON ONE OF MY PROJECTS.


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

Offline

 

#112 2011-07-08 11:57:42

slinger
Scratcher
Registered: 2011-06-21
Posts: 1000+

Re: Scratch Patches

dude you need to make a file one!
lol


http://s0.bcbits.com/img/buttons/bandcamp_130x27_blue.png

Offline

 

#113 2011-07-18 12:59:21

YourLocalBlockLib
Scratcher
Registered: 2011-03-10
Posts: 100+

Re: Scratch Patches

nXIII wrote:

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.

So just saving the code as .block will make it a BLOCK file, what we want to make?
~~Scimonster


http://dl.dropbox.com/u/6273449/BlockLibraryTitle.png

Offline

 

#114 2011-07-18 14:12:44

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

Re: Scratch Patches

YourLocalBlockLib wrote:

nXIII wrote:

ScratchReallyROCKS wrote:


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.

So just saving the code as .block will make it a BLOCK file, what we want to make?
~~Scimonster

1. nXIII isn't active anymore.
2. I had already added that in the code.  tongue


Yawn.

Offline

 

#115 2011-08-04 17:01:33

GP1
Scratcher
Registered: 2009-07-06
Posts: 1000+

Re: Scratch Patches

Do you know how to put something in a class when you file something in? I want to make my own patch, but I need to put something in class.


I am currently http://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=imagehttp://blocks.scratchr.org/API.php?user=GP1&action=onlineStatus&type=text and I finally got over 1000 posts.

Offline

 

#116 2011-08-20 17:59:05

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: Scratch Patches

bump


◕‿◕

Offline

 

#117 2011-09-08 14:23:03

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Scratch Patches

meowmeow55 wrote:

Use these links instead of the ones you have to be more "direct" and avoid going through another page to download.  smile

ive hosted #2 here: (direct)

#1 doesnt work...

its EPIC.  big_smile

Last edited by comp500 (2011-09-08 14:26:21)


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#118 2011-09-09 15:41:26

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Scratch Patches

how do we make patches? tell ussssssssssssssssssssssssssssssssss.


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#119 2011-09-09 16:14:32

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

Re: Scratch Patches

This worked for me...

1. Open notepad, or another text editor
2. Enter the squeak code
e.g.

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 now!


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

Offline

 

#120 2011-09-10 04:28:24

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Scratch Patches

WindowsExplorer wrote:

This worked for me...

1. Open notepad, or another text editor
2. Enter the squeak code
e.g.

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 now!

cool  big_smile


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#121 2011-09-10 05:12:14

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Scratch Patches

I've made a patch that lets you not have to shift click the share menu to get to mesh :3 : download here < 506 B

Last edited by comp500 (2011-09-10 06:15:03)


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#122 2011-09-12 03:26:42

comp500
Scratcher
Registered: 2010-01-08
Posts: 1000+

Re: Scratch Patches

bump  tongue


800 posts! W00T! Oh sorry im not on a lot but at least i have 1000+ posts

Offline

 

#123 2012-06-14 20:08:54

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

Re: Scratch Patches

It's been FOREVER since anyone posted here, but I made a version of your patch that also activates mesh - yours only disabled shift-clicking it.
Download!

comp500 wrote:

I've made a patch that lets you not have to shift click the share menu to get to mesh :3 : download here < 506 B


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

Offline

 

#124 2012-06-14 20:48:54

chanmanpartyman
Scratcher
Registered: 2011-05-30
Posts: 500+

Re: Scratch Patches

Dominic1 wrote:

It's been FOREVER since anyone posted here, but I made a version of your patch that also activates mesh - yours only disabled shift-clicking it.
Download!

comp500 wrote:

I've made a patch that lets you not have to shift click the share menu to get to mesh :3 : download here < 506 B

The topic was inactive, that's why no one posted. Please don't necropost.

Offline

 

#125 2012-07-05 15:16:56

PopTarties
Scratcher
Registered: 2012-05-29
Posts: 19

Re: Scratch Patches

I have a patch that works with import block and add patch! why? cuz i had the "add patch" patch and added the import block patch that overwrote the "add patch" patch so i wrote a new patch that adds both to the menu! install like you would install the "add patch" patch! enjoy!

Code:

'From MIT Squeak 0.9.4 (June 1, 2003) [No updates present.] on 18 June 2010 at 5:06:17 pm'!

!ScratchFileChooserDialog methodsFor: 'initialization'!
createBlockFileChooserFor: t1 
    scratchFrame _ nil.
    readingScratchFile _ true.
    list _ ScratchFilePicker new extensions: #(#block ).
    self removeAllMorphs.
    bottomSpacer delete.
    bottomSpacer _ nil.
    mainColumn addMorphBack: list.
    self title: 'Import Block'.
    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! !

!ScratchFileChooserDialog methodsFor: 'initialization'!
createPatchFileChooserFor: t1
    scratchFrame _ nil.
    readingScratchFile _ true.
    list _ ScratchFilePicker new extensions: #(#patch ).
    self removeAllMorphs.
    bottomSpacer delete.
    bottomSpacer _ nil.
    mainColumn addMorphBack: list.
    self title: 'Import 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! !


!ScratchFrameMorph methodsFor: 'menu/button actions'!
addPatch
    | t1 t2 t3 t4 |
    t1 _ ScratchFileChooserDialog new createPatchFileChooserFor: self;
             type: #patch.
    t2 _ t1 getUserResponse.
    t2 = #cancelled ifTrue: [^ self].
    t3 _ (FileDirectory forFileName: t2)
                oldFileNamed: t2.
    t4 _ t3 contentsOfEntireFile.
    (ReadWriteStream
        on: t4
        from: 1
        to: t4 size) fileIn! !

!ScratchFrameMorph methodsFor: 'menu/button actions'!
addBlock
    | t1 t2 t3 t4 |
    t1 _ ScratchFileChooserDialog new createPatchFileChooserFor: self;
             type: #block.
    t2 _ t1 getUserResponse.
    t2 = #cancelled ifTrue: [^ self].
    t3 _ (FileDirectory forFileName: t2)
                oldFileNamed: t2.
    t4 _ t3 contentsOfEntireFile.
    (ReadWriteStream
        on: t4
        from: 1
        to: t4 size) fileIn! !

!ScratchFrameMorph methodsFor: 'menu/button actions'!
fileMenu: t1
    | t2 |
    t2 _ CustomMenu new.
    t2 add: 'New' action: #newScratchProject.
    t2 add: 'Open' action: #openScratchProject.
    t2 add: 'Save' action: #saveScratchProjectNoDialog.
    t2 add: 'Save As' action: #saveScratchProject.
    t2 addLine.
    t2 add: 'Import Project' action: #importScratchProject.
    t2 add: 'Export Sprite' action: #exportSprite.
    t2 addLine.
    t2 add: 'Import Patch' action: #addPatch.
    t2 add: 'Import Block' action: #addBlock.
    t2 addLine.
    t2 add: 'Project Notes' action: #editNotes.
    Sensor shiftPressed
        ifTrue:
            [t2 addLine.
            t2 add: 'Write Project Summary' action: #writeSummaryFile.
            t2 add: 'Write Multiple Project Summaries' action: #writeMultipleSummaries].
    t2 addLine.
    t2 add: 'Quit' action: #quitScratch.
    t2 localize.
    #(2 4 5 6 7 8 ) do: [:t3 | t2 labels at: t3 put: ((t2 labels at: t3)
                copyFrom: 1 to: (t2 labels at: t3) size - 1)
                , ScratchTranslator ellipsesSuffix].
    t2 invokeOn: self at: t1 bottomLeft + (0 @ 10)! !

Last edited by PopTarties (2012-07-20 15:11:37)


http://scratch.mit.edu/static/icons/buddy/1391630_med.png?t=2012-07-23+14%3A18%3A37

Offline

 

Board footer