Skip to content

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 setup task
    • If you are using the console interface, select the desired version using setup command
      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
  • After that, you're ready to decompile Minecraft.
    • In console, run the decompile command
    • In the GUI, click the button that says "Decompile" in the top left corner
  • It's done. You can open workspace in eclipse or workspace/Client/Client.iml and workspace/Server/Server.iml if you're using IntelliJ

FAQ

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.

Clone this wiki locally