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

#826 2009-12-23 15:01:50

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

Re: Emerald

Magnie wrote:

We need to make our own Applet for "Meow" ( Marvellous Editor Of Wonder xD ) not use Scratch's. Gershmer, do you have MySql support?

Yes. It'll be a miracle if I can get it properly working though. (well, actually, not quite a miracle, but it'll take me a bit to figure out how to set it up)

Last edited by gershmer (2009-12-23 15:02:23)


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

Offline

 

#827 2009-12-24 07:47:46

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

Well, ill see if i can get the source code for the java applet, shall i? Or just not bother?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#828 2009-12-24 08:54:57

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

Re: Emerald

The .jar file (and its soundbank) are available here:

http://scratch.mit.edu/static/misc/ScratchApplet.jar
http://scratch.mit.edu/static/misc/soundbank.gm

IDK if you can get the source from a .jar or not.


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

Offline

 

#829 2009-12-24 09:48:53

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

Re: Emerald

erm, I think a .jar file is an archive, a jar, containing the class files necessary to run a java program.

It's like an executable, but it's really just an ensemble of class and other java files.

sooo, We can EXTRACT it.
using the jar command in the java command line, and decompile the class files.
If java has a decompiler.


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

Offline

 

#830 2009-12-24 09:51:49

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

Re: Emerald

I think anyway.


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

Offline

 

#831 2009-12-24 17:43:59

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

What about view it in notepad++? im downloading it now.

Didn't work!

Last edited by markyparky56 (2009-12-24 17:46:16)


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#832 2009-12-24 18:29:55

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

Okay, I've downloaded the .jar file and extracted it, now what am I supposed to do with all these .class files? I tried opening them in a text-editor, which was FAIL! What program am I supposed to open it in?

Offline

 

#833 2009-12-24 20:31:49

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

Re: Emerald

Magnie wrote:

Okay, I've downloaded the .jar file and extracted it, now what am I supposed to do with all these .class files? I tried opening them in a text-editor, which was FAIL! What program am I supposed to open it in?

http://classeditor.sourceforge.net/

Class Editor


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

Offline

 

#834 2009-12-25 12:42:47

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

I'll try it some other time.  tongue

Offline

 

#835 2009-12-25 13:50:54

hidas
Scratcher
Registered: 2009-09-27
Posts: 76

Re: Emerald

Magnie wrote:

Okay, I've downloaded the .jar file and extracted it, now what am I supposed to do with all these .class files? I tried opening them in a text-editor, which was FAIL! What program am I supposed to open it in?

eclipse. (i think)

Last edited by hidas (2009-12-25 13:51:06)


TBOS (Toxic Blobs Of Slime) will get you someday. Better buy a slime suit. Too late. Here they come...

Offline

 

#836 2009-12-25 16:23:09

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

Re: Emerald

magnie, do nothing to the .class files, those are java executables,  not sure, but i think you can decompile them into java files.

for instance, you may use:
http://members.fortunecity.com/neshkov/dj.html

but I'm not gonna dwell on it cause it's christmas and I'm gonna spend more time doing fun stuff

Last edited by cds56 (2009-12-25 16:24:30)


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

Offline

 

#837 2009-12-26 08:26:12

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

how did you exctract the jar file!?


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#838 2009-12-26 09:34:22

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

Re: Emerald

using the jar -x command in the jdk?
the jdk i think

magnie did it, but I was having troubles with extracting it.


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

Offline

 

#839 2009-12-26 09:55:36

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

what on earth is the jdk?!


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#840 2009-12-26 10:45:27

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Emerald

I just extracted it with the extract here command.  tongue  I'm to lazy to extract from command line as my dad says.  tongue

Offline

 

#841 2009-12-26 13:12:46

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

Re: Emerald

lol, and i realized it's JRE not JDK.

I cant make heads or tails of the uh, decompilers so far.


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

Offline

 

#842 2009-12-26 17:18:36

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

i have no idea what your talking about... JRE?! just use the full name not the abreviations!


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#843 2009-12-26 18:29:29

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

Re: Emerald

markyparky56 wrote:

what on earth is the jdk?!

Java Development Kid, like an SDK


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

Offline

 

#844 2009-12-26 19:25:11

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

Re: Emerald

gershmer wrote:

markyparky56 wrote:

what on earth is the jdk?!

Java Development Kid, like an SDK

Software development Kid.. kit.
Sorreh, I didnt know what JRE stood for until.
erm woops. (java runtime environment)


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

Offline

 

#845 2009-12-27 07:41:52

markyparky56
Scratcher
Registered: 2008-03-20
Posts: 1000+

Re: Emerald

lol, ok.  big_smile


http://j.mp/jgVnTq
Check out my game engine development site: NewDawn I'm a Level 171 Scratcher.I am http://bit.ly/nkvLNT

Offline

 

#846 2009-12-27 08:45:15

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

Re: Emerald

Magnie, are we going to request this thread closed, or just get it renamed, since we are M30W now? (Well not 'til what would've been Emerald 0.4)


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

Offline

 

#847 2009-12-27 09:44:36

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

Re: Emerald

is ASP any better than HTML?
cause it kinda looks similar.


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

Offline

 

#848 2009-12-27 10:32:43

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

Re: Emerald

cds56 wrote:

is ASP any better than HTML?
cause it kinda looks similar.

A .aspx page is just an HTML page with extra features.
It can be programmed in these markups/languages: HTML, JavaScript, Visual Basic OR C#.

A nice example of ASP:
http://gershmer.net/asptests (my asp.net test website)


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

Offline

 

#849 2009-12-27 14:51:32

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

Re: Emerald

yep, that's why i asked, cause i checked your testpage.

I've got an idea for adding a more scratch-like structure to M30W.

scratches structure is like this:

Code:

When Flag clicked(beginning of code)
say HI
set x to 15
END ALL

so I propose we add a structure like, beginning and ending.

e.g.:

Code:

begin

print hello world

end

I can't decide between start and begin.


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

Offline

 

#850 2009-12-27 15:49:56

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

Re: Emerald

I suggested start and begin already, Magnie said no.


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

Offline

 

Board footer