Game Maker's Garage Forum

Game Creation => Other Languages & Tools => Topic started by: GMG Kurt on September 11, 2011, 07:20:01 PM

Title: decompiling java
Post by: GMG Kurt on September 11, 2011, 07:20:01 PM
Its common knowledge that minecraft modders change the internal files to suit their needs, and change the game. I'm curious as to how they do it. when ever I open one of those files with Xcode it shows me part of the code, but never all of it. so the question is

How do you view the source code of an already compiled java application?
Title: Re: decompiling java
Post by: Gan on September 11, 2011, 08:56:22 PM
I use JD-GUI. Excellent stuff. Beware though, most Java code is obfuscated and may be hard to interpret.
Title: Re: decompiling java
Post by: GMG Kurt on September 12, 2011, 04:40:11 PM
Sweet thanks. I'm trying it out now  ;D
Title: Re: decompiling java
Post by: GMG Kurt on September 12, 2011, 04:52:44 PM
how come almost all the source files are letters, what cooreletion are they supposed to represent  >:(
Title: Re: decompiling java
Post by: Gan on September 12, 2011, 05:47:38 PM
That means the source has been obfuscated. Obfuscation means to take the source and get rid of all comments, make all variables and classes into letters, and make it nearly impossible to understand.
Title: Re: decompiling java
Post by: GMG Kurt on September 13, 2011, 05:56:26 PM
well that sucks! :P

oh well, at lease you can do some pretty cool stuff with it.