[TuT - A][508] Decompiling HD Client

An old mofo
Loyal Member
Joined
Jan 23, 2007
Messages
2,606
Reaction score
362
Decompiling the 508 HD Client

This can be done with basically ALL Class files you want tbh..
Im just going to show (For an example) How to decompile a HD client.
This will be useful for people that need to edit stuff in certain classes...

BUT the only thing you need to do is find a decent Compiler to recompile the CLASS file.
The normal Compiler WONT be good enough (The one that is in the Clients Folder)

Step 1.

Download JAD by going here:

Step 2.

Once downloaded JAD you must place it into the HD Clients folder where all the Classes are...

Step 3.

Ok now that is done, open up a DOS window. If you dont know how just go Start > Run > In Run type CMD

Step 4.

Once DOS is opened type the following without the ".. Example "jad -p Client.class > Client.java"
That will simply decompile Client.class into Client.java and will be editable..

Step 5.


Ok if you want to decompile ALL the CLASS files in the folder then simply do.
"jad -o -dtest sjava *.class"

Yep its as easy as anything..

REMEMBER this is'nt just for the HD client... Its for all sorts of CLASS files..

(If you get stuck or anything, please say below!)

Credits:

Joe9099
 
Re: [TuT][508] Decompiling HD Client

Ok, well I'll try and convert the jar in to a desktop client, what files are needed for HD?
 
Re: [TuT][508] Decompiling HD Client

Very Nice Tutorial Here Joe!
Great for those Ambitious ones, trying to get HD Client Working.
You Don't happen to have any "All-Round" tutorials?

What you mean by All-Round tutorials?..

Anyways to compile a CLASS back you can simply put ALL your files in the jdk bin folder and in DOS direct to the bin folder and do "javac client.java" simple as that...

BUT it might give you errors, if so then you will have to work it out..
 
Re: [TuT][508] Decompiling HD Client

At the moment i am redirecting the cache...

TehByte found the CLASS so i will just decompile it, edit and compile.
Making it load from the clients folder....

As for AJ i have seen hes doing a Web based version, so theres not much point in him redirecting the cache, and if thats wat ur doing then leave the cache imo
 
Re: [TuT][508] Decompiling HD Client

Ok, Joe with the class do you open the class in JAD then edit it? Cause I usually decompile the class file into a java file but it craps it up and I get invalid lines etc.
 
Re: [TuT][508] Decompiling HD Client

Yeh JAD doesnt do much, i have another program which does it perfect. But i dont want to tell anyone as you can find it ureself -.-"
 
Re: [TuT][508] Decompiling HD Client

Working on it, but its Class43 i think... TehByte found it for me
 
Re: [TuT][508] Decompiling HD Client

Just find a decompiler that takes out the IMPORTS aswell as the code :)
 
Re: [TuT][508] Decompiling HD Client

TehByte can i have that zfilesearcher please..?
 
Back