June 10, 201411 yr If the mod's not open source, then the mod author(s) don't want you to deobfuscate it. if (user.hasKnowledgeOfJava) { if (user.question.hasCode) { return interpetHelpfulResponse(user.getQuestion()); } else { return "Could you post your code please?"; } } else { return "Learn some freaking Java!"; }
June 11, 201411 yr If the mod's not open source, then the mod author(s) don't want you to deobfuscate it. You mean - like Mojang? :-P @Russoul You can partially deobfuscate a 1.7.2 mod by searching for the calls to vanilla methods and renaming them, probably you can use the forge srg2src program for that (although I don't know how since I've never looked into the details). As for the variables and functions within the mod itself, you're on your own there. Just have to figure out what they do and figure out what a good name would be. Or talk to the mod author, of course. -TGG
June 11, 201411 yr Note that some mods provide an "API" which is a public way to interact with their mod. It depends on whether you want the deobfuscated code so you can study/copy/steal it or whether you just want to be able to interact with it. Check out my tutorials here: http://jabelarminecraft.blogspot.com/
June 11, 201411 yr Author Thank you all for your answers ! I did deobfuscation manually, just figuring out what every func_blabla means, and that was not the best time
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.