Discuss Scratch

djdolphin
Scratcher
1000+ posts

How to Make Simple Scratch 2.0 Mods (Actually Works)

This works, but it's much harder than modifying “open source” software should be:
  1. Download FFDec. I use version 2.0.0. The latest versions don't seem to work for me. Edit: Version 2.0.1u2 seems to be working fine.
  2. Download the latest version of the Scratch swf from http://scratch.mit.edu/scratchr2/static//Scratch.swf. I also have an archive of older versions.
  3. Open Scratch.swf in FFDec.
  4. If you open the Scripts tab, you'll be able to edit the P-Code (whatever that stands for), but for some reason you can't edit the actionscript directly since Scratch is written in AS3. You can probably also replace some of the assets like the logo.
However, you probably shouldn't distribute your modified version without asking the Scratch team first.

Last edited by djdolphin (April 12, 2014 00:22:41)


!
coolgem923
Scratcher
100+ posts

How to Make Simple Scratch 2.0 Mods (Actually Works)

Awesome!! Thank you much! The Archive was very helpful too!

Blaze349
Scratcher
1000+ posts

How to Make Simple Scratch 2.0 Mods (Actually Works)

Cool as! Bump! Now we can do
scratch 2 mods !

Last edited by Blaze349 (April 6, 2014 08:45:06)

Zeusking19
Scratcher
500+ posts

How to Make Simple Scratch 2.0 Mods (Actually Works)

Tbh without the AS3 there is not much you can do in terms of modding.
djdolphin
Scratcher
1000+ posts

How to Make Simple Scratch 2.0 Mods (Actually Works)

Zeusking19 wrote:

Tbh without the AS3 there is not much you can do in terms of modding.
FFDec does show you the corresponding actionscript code, but what you can do is kind of limited.

!
Zeusking19
Scratcher
500+ posts

How to Make Simple Scratch 2.0 Mods (Actually Works)

djdolphin wrote:

Zeusking19 wrote:

Tbh without the AS3 there is not much you can do in terms of modding.
FFDec does show you the corresponding actionscript code, but what you can do is kind of limited.

If it is limited, then you have no access to the true AS3. Meh.
I'll see if I can find out how to change some blocks.

Editing again: That is the actionscript code… Everything is there but it needs to be documented. I'll try it.

Last edited by Zeusking19 (April 6, 2014 17:39:57)

Zeusking19
Scratcher
500+ posts

How to Make Simple Scratch 2.0 Mods (Actually Works)

I wonder if the experimental JSON import has a similar internal usage, for example, a json file holds the standard blockspecs.
GP1
Scratcher
100+ posts

How to Make Simple Scratch 2.0 Mods (Actually Works)

Does anybody know if this is legal? Because this method is modding Scratch 2.0 without a license saying it is allowed. It is also decompiling the Scratch executable, which is illegal unless the license says it is fine or if it was made using a open source license. I'm just wondering, I don't mean to criticize your method.

djdolphin
Scratcher
1000+ posts

How to Make Simple Scratch 2.0 Mods (Actually Works)

GP1 wrote:

Does anybody know if this is legal? Because this method is modding Scratch 2.0 without a license saying it is allowed. It is also decompiling the Scratch executable, which is illegal unless the license says it is fine or if it was made using a open source license. I'm just wondering, I don't mean to criticize your method.
Hmm.. I'm not exactly sure. But I think this topic and the my Scratch 2.0 mod's topic would have been closed days ago if this wasn't allowed. Before the official source code came out for the 1.x versions of Scratch, people had to exploit bugs like this to make mods, and the Scratch team never stopped them. But then again, the whole - um… what's a good word? mood? atmosphere? attitude? - of the site has changed a lot since the 1.x days.

!
nXIII
Scratcher
1000+ posts

How to Make Simple Scratch 2.0 Mods (Actually Works)

IANAL, but…

Whether it's illegal to decompile the SWF depends on the situation, but it's almost always illegal to distribute modified versions of the SWF. You could probably decompile it and play around with it on your own without anyone caring, but if you want to publish the mods you make you should write to help@scratch.mit.edu.

EDIT: Eh, decompiling isn't always illegal.

Last edited by nXIII (April 11, 2014 23:21:24)


nXIII · GitHub
djdolphin
Scratcher
1000+ posts

How to Make Simple Scratch 2.0 Mods (Actually Works)

nXIII wrote:

IANAL, but…

Whether it's illegal to decompile the SWF depends on the situation, but it's almost always illegal to distribute modified versions of the SWF. You could probably decompile it and play around with it on your own without anyone caring, but if you want to publish the mods you make you should write to help@scratch.mit.edu.

EDIT: Eh, decompiling isn't always illegal.
Okay, I'm going to remove the links to my mod for now and put a notice at the top of this thread.

Last edited by djdolphin (April 11, 2014 23:26:16)


!
Macie1234
Scratcher
100+ posts

How to Make Simple Scratch 2.0 Mods (Actually Works)

scratch is open source.


djdolphin
Scratcher
1000+ posts

How to Make Simple Scratch 2.0 Mods (Actually Works)

Macie1234 wrote:

scratch is open source.
Before May it wasn't.

!

Powered by DjangoBB

Standard | Mobile