Russoul Posted June 10, 2014 Share Posted June 10, 2014 Any way of deobfuscating a 1.7.2 mod ? Quote Link to comment Share on other sites More sharing options...
DiabolusNeil Posted June 10, 2014 Share Posted June 10, 2014 If the mod's not open source, then the mod author(s) don't want you to deobfuscate it. Quote 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!"; } Link to comment Share on other sites More sharing options...
TheGreyGhost Posted June 11, 2014 Share Posted June 11, 2014 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 Quote Link to comment Share on other sites More sharing options...
jabelar Posted June 11, 2014 Share Posted June 11, 2014 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. Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/ Link to comment Share on other sites More sharing options...
Russoul Posted June 11, 2014 Author Share Posted June 11, 2014 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.