Posted October 28, 201213 yr I need to decompile a mod that uses minecraft forge. I have the obfuscated class files for it but somehow my mod folder got half cleaned when i did getchangedmodsource (I have all the folders but everything inside of them is missing) I tried throwing the class files into a jar like I was installing a mod and installing forge using that jar, but forge removes the files from the jar before it starts decompiling If anyone knows how to do this it'd be a great help, because otherwise I have to copy all the obfuscated code and then deobfuscate it manually, and seeing as I have over 20 files, I'd really rather not do that, especially because I don't have the source memorized, so I don't know what methods I should have in some places
October 28, 201213 yr Extract JAR file somewhere, then get fernflower from <mcp folder>/runtime/bin/fernflower.jar. Open up cmd (or similar), pushd to the folder where your JAR was extracted, and run fernflower folderwithclasses folderforsource. Protip: try and find answers yourself before asking on the forum. It's pretty likely that there is an answer. Was I helpful? Give me a thank you! http://bit.ly/HZ03zy[/img] Tired of waiting for mods to port to bukkit? use BukkitForge! (now with a working version of WorldEdit!)
October 28, 201213 yr Use the universal zip, not the sources. Then use MCP's normal scripts. Read the EAQ before posting! OR ELSE! This isn't building better software, its trying to grab a place in the commit list of a highly visible github project. www.forgeessentials.com Don't PM me, I don't check this account unless I have to.
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.