(Note so far, all I can do is modify images)
1. Download http://scratch.mit.edu/static/misc/ScratchApplet.jar to a folder where you can find it.
2. Rename it to "ScratchApplet.zip" (no quotes)
3. Extract ScratchApplet.zip into a folder (easier to handle this way)
4. Go to the folder "skin" within the folder "ScratchApplet" (or the archive "ScratchApplet.zip")
5. There are some image resources that the ScratchApplet uses. You can edit those.
6. Zip back up the ScratchApplet folder, if you did step 3. The rezipped archive should be identical to the original, except for the images.
7. Rename the archive to ScratchApplet.jar, if you did step 6.
8. Use this thread to embed ScratchApplet and a test project, except use your ScratchApplet instead of the one linked to in the thread.
I have done this myself, so it should work..
If you are too lazy to do this yourself: http://scratch.mit.edu/forums/viewtopic.php?id=32542
Last edited by gershmer (2010-03-20 19:55:37)
Offline
Bump. C'mon people this is actually cool.
Offline
nXIII wrote:
Cool! I haven't tried yet, but it sounds promising. Keep working!
![]()
Yeah. I have decompiled the jar into raw .java files so I can see the source code.
First step:
change the font
Offline
OK. I have done it.
Check it out @ http://www2.gershmer.net/comicsanstest/ (my computer must be on)
It should show up in Comic Sans MS rather than Arial Unicode MS
Tell me what you see
Note:
It requires both ScratchApplet.jar AND ScratchApplet.class to be in the directory, even though it only references ScratchApplet.jar in the HTML source code of the page, and the file I changed was AskPrompter.class, not ScratchApplet.class
Anyway. ENJOY
Offline
I have to ask, though. Does anyone want a tutorial to change the class files (compiled source files found in the .jar)
Offline
Pretty cool! It would be awesome if you could resize the scratch applet for bigger images.... (Hint, hint)
Offline
shadow_7283 wrote:
Pretty cool! It would be awesome if you could resize the scratch applet for bigger images.... (Hint, hint)
Are you asking me to examine the source and do that?
Offline
gershmer wrote:
shadow_7283 wrote:
Pretty cool! It would be awesome if you could resize the scratch applet for bigger images.... (Hint, hint)
Are you asking me to examine the source and do that?
Yes please!
Offline
shadow_7283 wrote:
gershmer wrote:
shadow_7283 wrote:
Pretty cool! It would be awesome if you could resize the scratch applet for bigger images.... (Hint, hint)
Are you asking me to examine the source and do that?
Yes please!
I'm working on it.
So far, it's not working.
Offline
gershmer wrote:
shadow_7283 wrote:
gershmer wrote:
Are you asking me to examine the source and do that?Yes please!
I'm working on it.
So far, it's not working.
Shame...
Offline
shadow_7283 wrote:
gershmer wrote:
shadow_7283 wrote:
Yes please!
I'm working on it.
So far, it's not working.Shame...
Yeah.
But what do you see @ http://www2.gershmer.net/large/
It should be a larger ScratchApplet with a "pink" green flag.
Last edited by gershmer (2010-03-20 19:45:17)
Offline
I am doing requests:
http://scratch.mit.edu/forums/viewtopic.php?id=32542
Offline
B. U. M. P.
Offline
I never thought of this... does this mean that we could, theroeticaly... have out own loading bars?
Offline
markyparky56 wrote:
I never thought of this... does this mean that we could, theroeticaly... have out own loading bars?
Yes. But the loading bar is in the Java src, not the images... but... yeah.
I can change the text, and if I poke around more, change the loader bar.
Offline
OK. I changed the text.
http://gershmer.net/LoaderTest
Offline
gershmer wrote:
OK. I changed the text.
http://gershmer.net/LoaderTest
VERY cool! Can you change the loading bar (color, size, etc.)?
Offline
gershmer wrote:
markyparky56 wrote:
I never thought of this... does this mean that we could, theroeticaly... have out own loading bars?
Yes. But the loading bar is in the Java src, not the images... but... yeah.
I can change the text, and if I poke around more, change the loader bar.
The initial loader bar, which not all of us see, is indeed Java source.
However, the blue one is part of the scratch player.
Offline
How did you change the loader bar?
All I get when I try to look at the Class Files is gobbaldeygook.
Offline
billyedward wrote:
gershmer wrote:
markyparky56 wrote:
I never thought of this... does this mean that we could, theroeticaly... have out own loading bars?
Yes. But the loading bar is in the Java src, not the images... but... yeah.
I can change the text, and if I poke around more, change the loader bar.The initial loader bar, which not all of us see, is indeed Java source.
However, the blue one is part of the scratch player.
Oh. lolz. I meant the source code of the applet, not the source of Java.
Offline
markyparky56 wrote:
How did you change the loader bar?
All I get when I try to look at the Class Files is gobbaldeygook.
You need a java decompiler.
The best one costs money, which I am using the free trial of.
There are free alternatives that I will move to when my trial runs out (I get 10 uses, and I always have to close the app
)
When I find a good way that's as easy as possible, and I finish http://gershmer.net/large/ , then a full tutorial will be released, with images of how I did it.
Offline
waveOSBeta wrote:
JEdit Lite is pretty good.
I'll take a look.
Offline