Jump to content

Recommended Posts

Posted

Hello,

I have a .jar file with compiled code and Searge methods/fields. I want to deobfuscate this code, but I don't want to decompile it. I know forge gradle does this process at some point, so I assume there's a tool out there. How can I do this?

Posted

Why do you want to do this?

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted (edited)

I'll try that out. I'm decompiling optifine, and because I haven't (and don't need to) decompile all of the code, I'd like to deobfuscate both the source that I have and the compiled code. This doesn't really have anything to do with forge, so I declined to state a reason, because it seems like this forum doesn't like giving out help for non-forge reasons. I posted this here because I know forge uses deobfuscation, and this community probably knows the most about minecraft modding as of now.

Edited by AutogolazzoJr
Posted

I have successfully decompiled all but 27 class files of minecraft with optifine installed, and I have a working build (with the class files that I haven't decompiled in a separate library). I'm working on decompiling the rest right now. As for now, I would like to convert those class files from SRG to mcp mappings, so I can convert my source as well. Hope you understand my logic and why I'm doing this.

Posted

I don't believe that's the case. Both optifine and minecraft are closed source, but I would guess that the law applies in the same way to optifine as it does to minecraft. Releasing the source code is illegal, but releasing a tool that decompiles and patches optifine should be legal, as well as distributing mods to optifine.

  • Haha 1
Posted

I don't see a license anywhere that gives you permission to mod Optifine.

Have you asked them if you're allowed to? If so please get assistance from them. We won't provide it.

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.