Jump to content

Recommended Posts

Posted

I need to have readable (not obf) names in standard (user) session so that I can write .txt scripts using them. Sadly that was not really possible with obfuscation so I made some wrappers for common code.

 

After writing shitload of wrappers and almost-copied classes (e.g NBT) just to get "readable" names of methods/fields/classes during game, I got angry and decided to go other way.

 

Why not write scripts in deobf format and then just translate it on-run. Sure, will take extra time and might even catch me off-guard with translation (but that is for me to deal with), but still - much prettier thing to do.

 

Question:

Does user-environment provide file with code translations? If not - Would shipping them within be reasonable? Where do I get them again? (idr directory).

1.7.10 is no longer supported by forge, you are on your own.

Posted

Only names of fields and methods should be translated.

And into srg names, not obf ones.

 

I also ran into the same issue few days ago, with user written java scripts on run time obfuscation. And i haven't found any answers. I was ready to ask here...

But you were faster than me :D ...

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.