Jump to content

Recommended Posts

Posted

I'm not sure how this is made possible, is it a custom class loader or do we have to do certain registrations to let FML know a deobfuscation entry.

 

Also, I assume anything about using Reflection to look up a string name for a method/field is not handled?

Posted

Yes, reflection is not handled hence why the reflection helper class allows you to specify many names.

And to use it, just when you reobfusicate, pass the --srgnames as a argument.

Instead of obfuscating to notching names 'aby.a' it'll obfuscate to srg names 'net.minecraft.world.World.field_46592_a'

Which typically do not change cross versions so, in theory if you only use things that do not change, you'll be fine cross versions.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Posted

Thanks LexManos,

 

I wasn't able to pass --srgnames to runtime/reobfuscate.py, it says such an argument doesn't exist.

 

There seems to be a ReobfClientSrg and ReobfServerSrg entry in mcp.cfg, but these files don't exist. I guess I'm missing something here. Does forge has its own reobfuscation tool? I've being using MCP's reobf all the time.

Posted

Its there, if its not for you then you have the wrong version of MCP.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

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.