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

#1 2009-05-23 18:15:09

AlanProjects
Scratcher
Registered: 2008-06-23
Posts: 500+

Source code for Scratch Player?

Is it available? If so, can somebody please tell me where?

Offline

 

#2 2009-05-23 18:18:37

DawnLight
Scratcher
Registered: 2009-04-25
Posts: 500+

Re: Source code for Scratch Player?

AlanProjects wrote:

Is it available? If so, can somebody please tell me where?

Do you mean the online Java applet or the actual Scratch program?

Offline

 

#3 2009-05-23 18:46:48

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Source code for Scratch Player?

Just download the jar file and decompile it.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#4 2009-05-23 18:53:00

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: Source code for Scratch Player?

archmage wrote:

Just download the jar file and decompile it.

... and the JAR file: http://scratch.mit.edu/static/misc/ScratchApplet.jar

Offline

 

#5 2009-05-23 18:53:27

DawnLight
Scratcher
Registered: 2009-04-25
Posts: 500+

Re: Source code for Scratch Player?

archmage wrote:

Just download the jar file and decompile it.

I wish I understood some of this stuff! I am a noob (only on scratch a month) so I really wish I knew what this meant.

Offline

 

#6 2009-05-23 19:17:20

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: Source code for Scratch Player?

DawnLight wrote:

archmage wrote:

Just download the jar file and decompile it.

I wish I understood some of this stuff! I am a noob (only on scratch a month) so I really wish I knew what this meant.

The scratch player is a java applet or .jar file. To decompile it means to take the java source code from the file.


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#7 2009-05-26 22:15:20

AlanProjects
Scratcher
Registered: 2008-06-23
Posts: 500+

Re: Source code for Scratch Player?

Is that the newest one? Just asking.

Offline

 

#8 2009-05-27 07:43:58

fruit
Scratcher
Registered: 2009-04-24
Posts: 1000+

Re: Source code for Scratch Player?

AlanProjects wrote:

Is that the newest one? Just asking.

yes.


@savi3000 | hcsmp.com

Offline

 

#9 2009-05-27 17:59:35

AlanProjects
Scratcher
Registered: 2008-06-23
Posts: 500+

Re: Source code for Scratch Player?

Thanks.

Offline

 

#10 2010-01-25 17:43:37

Tahg
Scratcher
Registered: 2009-12-08
Posts: 2

Re: Source code for Scratch Player?

While the decompiled player is OK, it's not really the same as original source.  Is there a chance the source code for the Java version of the Scratch environment will ever be released?  Also, I haven't been able to run it yet, but I assume only the player code was ported, not the whole development environment for Scratch?

Offline

 

#11 2010-01-26 22:08:33

billyedward
Scratcher
Registered: 2008-01-03
Posts: 500+

Re: Source code for Scratch Player?

I have sifted through numerous JAR decompilers, and none have worked on the scratch one. Which program did you use to decompile it?


"I'd love to change the world, but they haven't released the source code yet."
Check out the latest version of Streak --> http://billy.scienceontheweb.net/Streak

Offline

 

#12 2010-01-28 02:39:41

Tahg
Scratcher
Registered: 2009-12-08
Posts: 2

Re: Source code for Scratch Player?

Java Decompiler (http://java.decompiler.free.fr/) works on the jar archive.

Offline

 

#13 2010-01-28 21:20:14

billyedward
Scratcher
Registered: 2008-01-03
Posts: 500+

Re: Source code for Scratch Player?

Thank You!


"I'd love to change the world, but they haven't released the source code yet."
Check out the latest version of Streak --> http://billy.scienceontheweb.net/Streak

Offline

 

Board footer