Open atesin opened 5 years ago
This deobfuscator doesn't allow mapping input.
I think ProGuard can remap based on an input map.
Otherwise you can use SpecialSource for remapping too, thats what BuildTools uses.
No clue on whether the file format of mojang mappings fits.
not same but similer thing i want that class renamer can take an extra input as optional so i can select a txt file which has many meaningfull class name so after rename jar look easy to read instead of class10, class67 etc.
You can use Reconstruct to do this.
good hint, thanks, i'll try later
1.14.4 does not have proper deobfuscation maps
The obfuscation maps for 1.14.4 have been released. Source: Dinnerbone
When I decompiled it I used jd-cmd and MC-Remapper.
So this is pretty old, but I'll tag this as a suggestion since there's an unused field value called mapping-file
in AbstractNormalizer.java that hasn't been implemented yet.
I think that implementing a mapping-file is more-or-less realistic and within scope of the project, but perhaps let's see what some others say.
FYI, there are transformers for minecraft names, but an ability to use a general obfuscation map would be helpful too.
ATTENTION: i won't release deobfuscated generated code, i will only use it for private analysis in plugin development (anyway if you need it you can do it for yourself also)
...
recently mojang had released minecraft obfuscation maps for server and client to aid the modding community (urls in client.json, see https://minecraft.gamepedia.com/Obfuscation_map )
how these maps can be used to get correct official class/prop/method names?
i am trying to deobfuscate server.jar, my config.yml is as follows