[TuT - A][508] Decompiling HD Client
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: http://www.kpdus.com/jad.html#download
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
It seems to lag alot on the bigger files....
Re: [TuT][508] Decompiling HD Client
Re: [TuT][508] Decompiling HD Client
This is for a desktop HD client right?
Re: [TuT][508] Decompiling HD Client
Quote:
Originally Posted by
TehByte
This is for a desktop HD client right?
As i said, its for ANY Class files, but im showing the desktop client one there, yeh
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?
Re: [TuT][508] Decompiling HD Client
Quote:
Originally Posted by
iTyler
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
By all-round, i mean one that displays a lot about Creating a server.
theres some listed on the forums.
You don't happen to know where to palce the cache?
im trying to run a 508 desktop client, and im not too sure where to place it.
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
i see where your coming from. you wouldn't know how to load it from the clients folder would you?
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
Joe, Do you have the code, to load the cache directly from the client files, just for a regular desktop 508 client?
Re: [TuT][508] Decompiling HD Client
Working on it, but its Class43 i think... TehByte found it for me