Created
December 23, 2012 21:49
-
-
Save agaricusb/4366333 to your computer and use it in GitHub Desktop.
How to decompile Minecraft using MCP with FML repackaged class names, _without_ FML's other changes (client/server merge with MCPMerger, access changes with AccessTransformer, and source patches)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Install MCP 7.25 for Minecraft 1.4.6 from http://mcp.oceanlabs.de/index.php/MCP_Releases into mcp725-pkgd | |
| Install FML: | |
| git clone https://github.com/cpw/FML | |
| cd FML | |
| ant | |
| Copy FML's MCP configuration to the clean MCP installation (this includes the packaged mappings): | |
| cp mcp/conf/* ../mcp725-pkgd/conf/ | |
| Apply FML commands patch to allow 'side 2' (client + server) to be recognized: | |
| cd ../mcp725-pkgd/runtime | |
| patch < ../../FML/commands.patch | |
| Remove the checks to prevent decompiling server standalone: https://gist.github.com/4366195 | |
| conf/patches/* will patch fail, causing server recompile to fail: https://gist.github.com/4366211 | |
| Fix by applying this patch: https://gist.github.com/4366286 | |
| ./recompile.sh should then work | |
| ./updatemd5.sh | |
| yes | |
| Decompiled source will now be in src/minecraft and src/minecraft_server as usual, but with FML/Forge-style package names instead of net.minecraft.src |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Moved to https://github.com/agaricusb/CraftBukkit/wiki/How-to-decompile-Minecraft-using-MCP-with-FML-repackaged-class-names,-without-FML's-other-changes