Topic:   decompiling java   (Read 8901 times)


0 Members and 1 Guest are viewing this topic.

GMG Kurt


  • GMG-er

  • **


  • Posts: 682

  • Sorry for being such a noob
decompiling java
« 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?
Just your average Weekend Warrior.
Yes I know I have bad spelling, it's what makes me such a good programmer!

"Old art, weather magnificent or wretched, is always the raw material of new art. The artist's job, though, is to

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: decompiling java
« Reply #1 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.

GMG Kurt


  • GMG-er

  • **


  • Posts: 682

  • Sorry for being such a noob
Re: decompiling java
« Reply #2 on: September 12, 2011, 04:40:11 PM »
Sweet thanks. I'm trying it out now  ;D
Just your average Weekend Warrior.
Yes I know I have bad spelling, it's what makes me such a good programmer!

"Old art, weather magnificent or wretched, is always the raw material of new art. The artist's job, though, is to

GMG Kurt


  • GMG-er

  • **


  • Posts: 682

  • Sorry for being such a noob
Re: decompiling java
« Reply #3 on: September 12, 2011, 04:52:44 PM »
how come almost all the source files are letters, what cooreletion are they supposed to represent  >:(
Just your average Weekend Warrior.
Yes I know I have bad spelling, it's what makes me such a good programmer!

"Old art, weather magnificent or wretched, is always the raw material of new art. The artist's job, though, is to

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: decompiling java
« Reply #4 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.

GMG Kurt


  • GMG-er

  • **


  • Posts: 682

  • Sorry for being such a noob
Re: decompiling java
« Reply #5 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.
Just your average Weekend Warrior.
Yes I know I have bad spelling, it's what makes me such a good programmer!

"Old art, weather magnificent or wretched, is always the raw material of new art. The artist's job, though, is to