Skip to content

Setting up

Lassebq edited this page Jun 16, 2022 · 5 revisions
  • First, get a release of RetroMCP (Preferably pre1)
  • 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 setup command
      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
  • After that, you're ready to run decompile task
    • In console run decompile command
    • In GUI just 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