Before 96 Posted August 23, 2016 Like I have no idea how it works but I'd like to know how to do it.. So how do you do it?
Pandemic 2842 Posted August 24, 2016 Download Bytecode Viewer (pretty sure that's what it's called), throw the gamepack in there, and go to town
Nuclear Nezz 2094 Posted August 24, 2016 Okay so Step 1. Learn bytecode Step 1a. Learn ASM Step 2. Learn the basic concept of what obfuscation actually is Step 3. Write a program that will take the jar and check for any unused methods in the gamepack Step 4. Remove those unused methods, rewrite the jar. Step 5. Repeat with other types of things you notice could be changed (arithmetic order, removing excess try/catch blocks, removing unused variables) Step 6. In this program, rewrite any *known variable names* to readable names. If you know a.ct is actually Player.level Chance the class a (and all of its references) to class PlayerThat's pretty much most of what you need for a general deobfuscator. (written more specifically with RS in mind) Decompile using some java decompiler or another, put itin a project, fix any compilation errors, start renaming things.
epickek 0 Posted April 27, 2019 On 8/24/2016 at 3:11 AM, Nuclear Nezz said: Okay so Step 1. Learn bytecode Step 1a. Learn ASM Step 2. Learn the basic concept of what obfuscation actually is Step 3. Write a program that will take the jar and check for any unused methods in the gamepack Step 4. Remove those unused methods, rewrite the jar. Step 5. Repeat with other types of things you notice could be changed (arithmetic order, removing excess try/catch blocks, removing unused variables) Step 6. In this program, rewrite any *known variable names* to readable names. If you know a.ct is actually Player.level Chance the class a (and all of its references) to class Player That's pretty much most of what you need for a general deobfuscator. (written more specifically with RS in mind) Decompile using some java decompiler or another, put itin a project, fix any compilation errors, start renaming things. In your steps you mention the jarfile. I assume, this is for the osrs vanilla client. but there are a handful of jar files in the osrs vanilla launcher files. Which one is it? I want to make my own vanilla client as a summer project, for educational purposes. If I manage to do it in a short time I'll add on to it. Does deobfuscating the vanilla client allows me to do pretty much anything popular clients like runelite can do? Like, drawing the screen and showing the game to the client user for starters. Thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.