Jump to content

1.5.1 runtime deobfuscation missing names


gcewing

Recommended Posts

Is anyone successfully using runtime deobfuscation with Forge 7.7.1.611?

 

The deobfuscation_data file that this version of Forge uses appears to be missing some rather crucial field names. In particular, all the static fields defined in the Block, Material and MapColor classes are missing. Without access to these fields, it's almost impossible to define any custom block classes, so I have trouble seeing how this wouldn't affect just about every mod in existence.

Link to comment
Share on other sites

Its not missing any names.

Maybe I've got the wrong idea about what runtime deobfuscation means. I've been assuming it means I don't need to reobfuscate my mod -- I should be able to drop the unobfuscated classes into a standard Minecraft instance and it will run. That doesn't work for me; I get errors like

 

2013-04-13 12:29:34 [iNFO] [sTDERR] java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
2013-04-13 12:29:34 [iNFO] [sTDERR] 	at gcewing.sg.BaseMod.newBlock(BaseMod.java:140)
...
2013-04-13 12:29:34 [iNFO] [sTDERR] Caused by: java.lang.NoSuchFieldError: blocksList
2013-04-13 12:29:34 [iNFO] [sTDERR] 	at gcewing.sg.SGRingBlock.<init>(SGRingBlock.java:41)

 

So, have I got the wrong end of the stick? Is this meant to work or not?

Link to comment
Share on other sites

No you still need to rebfusicate your mods. To srg names.

Hence the reobfusicate_srg script.

Mapped names change, obfusicated names change, srg names don't. Thats how things work.

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

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.