deathmarine / Luyten

An Open Source Java Decompiler Gui for Procyon
Other
4.99k stars 994 forks source link

[Feature Request] Decompile with mappings #274

Open Roadhog360 opened 3 years ago

Roadhog360 commented 3 years ago

classes.csv fields.csv methods.csv I have these mappings here I was trying to decompile a jar with. I downloaded Luyten to try it, and was not able to find any option anywhere for mappings, so sorry if they already exist, but I can't seem to find them. I'd like to decompile a jar that uses the names in the "notch" row of these .csv and map them to the names in the "name" row.

JDaltonLins commented 3 years ago

Luyten is just a decompiler. The files you expose are mappings of some application that I am unaware of, it does not apply to the MCP format, at least the ones I saw. And only with these files that you brought, you will not get much, you need another file that contains the identifiers of the fields and methods, these files are only "translated" from them. And what you're looking for calls something that has the same function as SpecialSource

ThexXTURBOXx commented 3 years ago

As @JDaltonLins already said, this is not a deobfuscator. If you need deobfuscation for some Minecraft mod, try BON or BON2 and then decompile the mod using Luyten or some other decompiler.