-
Notifications
You must be signed in to change notification settings - Fork 44
Setting up
Zero_DSRS_VX edited this page Jun 2, 2023
·
7 revisions
- First, get a release of RetroMCP from releases.
- Run RetroMCP by double clicking on the JAR file or by launching it in terminal with
java -jar
If launched by the former method, a GUI should automatically show up. For the latter method, a console-based interface will show up. - Run the
setuptask- If you are using the console interface, select the desired version using
setupcommand
If no arguments are provided, RetroMCP will show the list of available versions, but you can also specify one of existing versions to skip it. - If you are using the GUI, select the desired version in the top right corner
- If you are using the console interface, select the desired version using
- After that, you're ready to decompile Minecraft.
- In console, run the
decompilecommand - In the GUI, click the button that says "Decompile" in the top left corner
- In console, run the
- 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 the mod 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.