Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support JAD parameter names as configurable option #28

Open
aikar opened this issue Aug 31, 2018 · 0 comments
Open

Support JAD parameter names as configurable option #28

aikar opened this issue Aug 31, 2018 · 0 comments

Comments

@aikar
Copy link

aikar commented Aug 31, 2018

https://github.com/MinecraftForge/ForgeFlower/blob/master/FernFlower-Patches/0012-JAD-Style-variable-naming.patch#L477

This is hard coded false with no visible way to change it.

I'm having trouble building the project, so hoping someone can assist in making this option configurable?

aikar added a commit to PaperMC/Paper that referenced this issue Aug 31, 2018
ForgeFlower is better than Spigots FernFlower at decompiling the source.

However, in order to maintain the CraftBukkit patches, we must keep
using spigots for the primary.

However, for any file that we import on top of Spigots imported files
there is nothing stopping us from using better decompiled files.

So these changes will use ForgeFlower to maintain a better set of
decomped files, so anything we add on top of Paper can start off
in a better spot.

However, ForgeFlower is not giving JAD style parameter names,
and I'm waiting for MinecraftForge/ForgeFlower#28
to be resolved in order to keep parameter names the same as spigots.

Once that is resolved, I can then update ForgeFlower and solve mc-dev
fix conflicts and get us on an updated baseline.

Initial comparison shows much better decompile results.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant