Jump to content

Any chance of a tutorial on the "runtime deobfuscation" feature?


hypercross

Recommended Posts

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

Link to comment
Share on other sites

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.

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
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.