OSRS-Deobfuscator icon indicating copy to clipboard operation
OSRS-Deobfuscator copied to clipboard

RSC Compatability

Open IanWONeill opened this issue 6 years ago • 5 comments

Are you or anybody forking this able to create a branch for this to be able to deobfuscate the RSC client before Classic is shut down for good? The last revision is 235.

I've attached the latest gamepack and cache for testing if anybody decides to test this. rsc-235.zip

p.s. an error is thrown on writing the deobbed jar when I attempted this.

IanWONeill avatar May 28 '18 03:05 IanWONeill

https://github.com/zeruth/OSRS-Deobfuscator/commit/f084819cc1e44d9142022615c4a8ba72d273bdf3

That should take care of it. add rsc to end of args for rsc compatibility. ex: "Deob vanilla.jar deob.jar rsc" Will leave this issue open until someone can verify the integrity of the output jar,

EDIT: I did get the chance to create a simple launcher for RSC using the deob jar and it started up just fine. couldn't log in to test further but it def works.

The deob is included in the repo

zeruth avatar May 28 '18 19:05 zeruth

Brilliant @zeruth I'm going to test it now.

IanWONeill avatar May 28 '18 21:05 IanWONeill

I attempted to decompile the deobbed jar the program puts together but (maybe just me) not working at all. Check out client.java for instance; rsc-final-deob.zip Let me know your thaughts.

IanWONeill avatar May 28 '18 22:05 IanWONeill

Yeah I noticed that as well. And I believe it has to do with the same reason the deobfuscator wasn't working. I'm pretty sure RSC is compiled using an older version of java. FernFlower gets stuck, and other decompilers spit out a bunch of errors. But the client itself runs properly so i'm willing to bet its on the decompiler side of things.

zeruth avatar May 28 '18 22:05 zeruth

client.zip

After reading what you said I ran it through JAD. looks a little better but still alot broken.

IanWONeill avatar May 28 '18 22:05 IanWONeill