Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Decompile a forge mod?


meeees
 Share

Recommended Posts

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

Link to comment
Share on other sites

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!

 

 

width=635 height=903http://bit.ly/HZ03zy[/img]

 

 

Tired of waiting for mods to port to bukkit?

use BukkitForge! (now with a working version of WorldEdit!)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.