Jump to content

Recommended Posts

Posted

Hello.

I want to start public server with FTB modpack, and for that i want to modify some mods to add additional checks for griefing protection.

I have MCP and jd-gui installed.

The problem is: in decompiled mods, all minecraft functions called like func_digits (func_123456), and in MCP there is human-readable names.

As far as i can understand, i need custom SRG to decompile minecraft (obf2pkgmcp.srg) from there: https://github.com/agaricusb/MinecraftRemapping

The problem is that latest version there is 1.6.2, and i need 1.6.4.

 

How to do that?

 

And of course i don't want to redistribute those modified mods, i just want to set up grief-free server.

 

Thanks in advance.

Posted

best thing to try first is possibly see if they have a source avaliable or ask for one to be provided, if you tell them the circumstances they may be willing to help you in that respect or possibly set up an api for you to work with, but be careful cause modding somebodies mod without their permission and using it on a public server may make some people grumpy even if it is for a good cause :)

 

that aside all else fails and you still want to decompile and and work with it anyway im not quite sure how to deobfuscate it :/

best thing to do with that is you cant find a program to help or people telling you how is to place print in statements and see how and when the code runns possibly, if you see any methods that look familiar try comparing them to vanilla classes they might be the deobfuscated verion of them in those classes maybe?

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.