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

#26 2010-03-27 07:39:07

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: [Tutorial] Modifying ScratchApplet.jar

coolio!


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#27 2010-03-28 12:05:29

urhungry
Scratcher
Registered: 2009-07-03
Posts: 1000+

Re: [Tutorial] Modifying ScratchApplet.jar

I'll try and edit this later. Pretty cool. Oh, and gershmer, you have 999 posts.

Offline

 

#28 2010-05-02 16:21:40

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: [Tutorial] Modifying ScratchApplet.jar

I'm having a problem (I finally got around to trying it for myself). Whenever I rename it to a ScratchApplet.zip it doesn't change the file type, and I can't extract it. Any help?

Offline

 

#29 2010-05-02 16:33:12

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: [Tutorial] Modifying ScratchApplet.jar

shadow_7283 wrote:

I'm having a problem (I finally got around to trying it for myself). Whenever I rename it to a ScratchApplet.zip it doesn't change the file type, and I can't extract it. Any help?

You have to enable showing file extensions.


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#30 2010-08-21 12:11:58

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: [Tutorial] Modifying ScratchApplet.jar

Thanks! I'm trying it again now. For some reason, it didn't work when I changed it back to a .jar and it now crashes the web page each time I load it.  sad

Offline

 

#31 2010-08-21 12:37:31

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: [Tutorial] Modifying ScratchApplet.jar

gershmer wrote:

shadow_7283 wrote:

I'm having a problem (I finally got around to trying it for myself). Whenever I rename it to a ScratchApplet.zip it doesn't change the file type, and I can't extract it. Any help?

You have to enable showing file extensions.

how? I was wondering.


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#32 2010-08-21 14:58:25

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: [Tutorial] Modifying ScratchApplet.jar

midnightleopard wrote:

gershmer wrote:

shadow_7283 wrote:

I'm having a problem (I finally got around to trying it for myself). Whenever I rename it to a ScratchApplet.zip it doesn't change the file type, and I can't extract it. Any help?

You have to enable showing file extensions.

how? I was wondering.

What OS do you have?

Offline

 

#33 2010-08-22 07:33:59

TheSuccessor
Scratcher
Registered: 2010-04-23
Posts: 1000+

Re: [Tutorial] Modifying ScratchApplet.jar

Google "Java Decompiler". The first one on the list, JD-GUI, is superb.


/* No comment */

Offline

 

#34 2010-08-22 08:27:17

midnightleopard
Scratcher
Registered: 2007-09-13
Posts: 1000+

Re: [Tutorial] Modifying ScratchApplet.jar

shadow_7283 wrote:

midnightleopard wrote:

gershmer wrote:


You have to enable showing file extensions.

how? I was wondering.

What OS do you have?

Seven


http://pwp.wizards.com/5103673563/Scorecards/Landscape.png

Offline

 

#35 2010-08-22 09:32:41

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: [Tutorial] Modifying ScratchApplet.jar

TheSuccessor wrote:

Google "Java Decompiler". The first one on the list, JD-GUI, is superb.

Yeah. I've got that one. How do you actually EDIT the .class files though? I need to for my modified applet.

Offline

 

#36 2010-08-22 09:40:48

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: [Tutorial] Modifying ScratchApplet.jar

midnightleopard wrote:

shadow_7283 wrote:

midnightleopard wrote:


how? I was wondering.

What OS do you have?

Seven

Go to the control panel. If you haven't already, click "View by:" and select either large or small icons; it doesn't matter which. Look for "Folder Options". Click it, and then select the "View" tab. Look for the option that says "Hide extensions for known file types". Uncheck it, and try changing the ending of a file. It should work now!

Offline

 

#37 2010-10-06 20:28:27

yaahoo
Scratcher
Registered: 2009-10-12
Posts: 29

Re: [Tutorial] Modifying ScratchApplet.jar

.class files are the compiled code. You have to decompile the code to edit it. Decompiling is my problem. I cant find any decompilers where I can recompile it. I always get a ton of errors. Gershmer, what decompiler are you using? I don't care if its a trial.


http://meowprogramming.weebly.com/uploads/5/0/7/0/5070029/header_images/1282794090.jpgMeow! The next Scratch My old sig: By the way my user-name is supposed to be "Yahoo!" =B
=B =B =B =B =B =B =B =B =B =B =B =B =B =B +B +b =b =B =B =B =B =B =B

Offline

 

#38 2010-10-06 20:33:18

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

Re: [Tutorial] Modifying ScratchApplet.jar

yaahoo wrote:

.class files are the compiled code. You have to decompile the code to edit it. Decompiling is my problem. I cant find any decompilers where I can recompile it. I always get a ton of errors. Gershmer, what decompiler are you using? I don't care if its a trial.

What OS?


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

Offline

 

#39 2010-10-06 22:09:25

what-the
Scratcher
Registered: 2009-10-04
Posts: 1000+

Re: [Tutorial] Modifying ScratchApplet.jar

yaahoo wrote:

.class files are the compiled code. You have to decompile the code to edit it. Decompiling is my problem. I cant find any decompilers where I can recompile it. I always get a ton of errors. Gershmer, what decompiler are you using? I don't care if its a trial.

I use this http://java.decompiler.free.fr/?q=jdgui and http://www.oracle.com/technetwork/java/javase/downloads/index.html to edit and create class files.


http://imageshack.us/m/64/9034/ddfss.pngMy site
Find someone post count. Click posts under username. Find number of pages. Times that by 40 for min and 60 for max and you have a rough estimate of post count.

Offline

 

#40 2010-10-07 10:27:35

yaahoo
Scratcher
Registered: 2009-10-12
Posts: 29

Re: [Tutorial] Modifying ScratchApplet.jar

what-the wrote:

I wrote:

.class files are the compiled code. You have to decompile the code to edit it. Decompiling is my problem. I cant find any decompilers where I can recompile it. I always get a ton of errors. Gershmer, what decompiler are you using? I don't care if its a trial.

I use this http://java.decompiler.free.fr/?q=jdgui and http://www.oracle.com/technetwork/java/javase/downloads/index.html to edit and create class files.

I used all the decompilers I could find, including that one. Not a single one of them made class files that I could recompile.

ScratchReallyROCKS wrote:

I wrote:

.class files are the compiled code. You have to decompile the code to edit it. Decompiling is my problem. I cant find any decompilers where I can recompile it. I always get a ton of errors. Gershmer, what decompiler are you using? I don't care if its a trial.

What OS?

Windows 7 home edition.

Last edited by yaahoo (2010-10-07 18:42:06)


http://meowprogramming.weebly.com/uploads/5/0/7/0/5070029/header_images/1282794090.jpgMeow! The next Scratch My old sig: By the way my user-name is supposed to be "Yahoo!" =B
=B =B =B =B =B =B =B =B =B =B =B =B =B =B +B +b =b =B =B =B =B =B =B

Offline

 

#41 2010-10-08 19:29:16

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: [Tutorial] Modifying ScratchApplet.jar

I had that problem too. Apparently, it isn't the compiler or decompiler's fault. I'm trying to figure out a solution...

Offline

 

#42 2010-10-09 12:44:31

yaahoo
Scratcher
Registered: 2009-10-12
Posts: 29

Re: [Tutorial] Modifying ScratchApplet.jar

I am just editing the classes it decompiled right. Which are pretty limited.


http://meowprogramming.weebly.com/uploads/5/0/7/0/5070029/header_images/1282794090.jpgMeow! The next Scratch My old sig: By the way my user-name is supposed to be "Yahoo!" =B
=B =B =B =B =B =B =B =B =B =B =B =B =B =B +B +b =b =B =B =B =B =B =B

Offline

 

#43 2011-05-03 18:35:29

Nitezscratch
Scratcher
Registered: 2008-06-20
Posts: 43

Re: [Tutorial] Modifying ScratchApplet.jar

It works for me.  Now I can self-host my projects on http://NitezProductions.com/ as well as have custom images.  Thanks for the tips Gershmer!  You guys can look at any project on my site to see an example of what Gershmer is talking about.


http://nitezproductions.com/box.pnghttp://nitezproductions.com/sig.gifhttp://nitezproductions.com/box.png

Offline

 

Board footer