-
Notifications
You must be signed in to change notification settings - Fork 44
Setting up
Lassebq edited this page May 31, 2022
·
7 revisions
- First, get a release of RetroMCP (Preferably latest)
- Run it either by double clicking or by launching it in terminal with
java -jar
That'll open it either in a GUI or a console - Run setup
- If you're using console, select the desired version using
setupcommand
If no arguments provided, it'll show the list of available versions, but you can also specify one of existing versions to skip it. - If you're using GUI, select the desired version in the top right corner
- If you're using console, select the desired version using
- After that, you're ready to run decompile task
- In console run
decompilecommand - In GUI just click the button that says "Decompile" in the top left corner
- In console run
- It's done. You can open
workspacein eclipse orworkspace/Client/Client.imlandworkspace/Server/Server.imlif you're using IntelliJ
Q: There's a popup saying "Java Development Kit not found!" when I try to run jar. How do I fix it?
A: Make sure that the default java on your PC is a JDK, not a JRE. Alternatively if you don't want to change the default, you can run CLI with java that you want
Q: I need to decompile <insert any mod>. How can I do that?
A: Run setup for vanilla version that the mod is for. Replace minecraft.jar in jars folder with the one that has mod loader installed. Decompile.
Q: I'm getting errors after decompiling a mod. What should I do?
A: Fix all compilation errors in source and run Update MD5 task when you are done.