User Tools

Site Tools


mod_development:decompiling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
mod_development:decompiling [2019/11/14 05:42] – [Process] changed name rekmod_development:decompiling [2023/03/22 18:28] – [RetroMCP-Java] zero
Line 7: Line 7:
   * JDK (Java Development Kit). [[https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html|Version 8]] is recommended.   * JDK (Java Development Kit). [[https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html|Version 8]] is recommended.
 One of: One of:
-  * [[https://github.com/ModificationStation/1.7.3-LTS|LTS]] (MCP with Long Term Service). Recommended.+  * [[https://github.com/MCPHackers/RetroMCP-Java|RetroMCP-Java]] (MCP remade in Java with many more versions). Recommended. 
 +  * [[https://github.com/ModificationStation/1.7.3-LTS|LTS]] (MCP with Long Term Service).
   * [[https://minecraft.gamepedia.com/Programs_and_editors/Mod_Coder_Pack#Downloads|MCP]] (Minecraft Coder Pack) Use this if LTS doesn't support the version you are using or doesn't work for some other reason.    * [[https://minecraft.gamepedia.com/Programs_and_editors/Mod_Coder_Pack#Downloads|MCP]] (Minecraft Coder Pack) Use this if LTS doesn't support the version you are using or doesn't work for some other reason. 
  
 ====== Instructions ====== ====== Instructions ======
 After installing JDK, follow the instructions below depending on your choice of coder pack. After installing JDK, follow the instructions below depending on your choice of coder pack.
 +
 +===== RetroMCP-Java =====
 +  - Download the latest release from Github Releases.
 +  - To launch with the GUI, simply click on the JAR file twice.
 +  - To launch with the CLI, use: <code bash>java -jar "RetroMCP-Java-all.jar"</code>
 +  - To launch the GUI from a CLI, type the following to launch the GUI: <code bash>java -cp "RetroMCP-Java-all.jar" org.mcphackers.mcp.main.MainGUI</code>
 +  - After opening RetroMCP-Java, use the version dropdown to select a version or use the command: <code bash>setup [version]</code>
 +  - (Optional) Apply extra mods and APIs to ''%%jars/minecraft.jar%%''
 +  - Press the decompile button or type: <code bash>decompile</code>
  
 ===== LTS ===== ===== LTS =====
 +  - Download LTS by following the link above and clicking the green button named 'Clone or download', then 'Download ZIP'.
   - Export your LTS-master.zip to somewhere sensible (this will contain all your development files).   - Export your LTS-master.zip to somewhere sensible (this will contain all your development files).
   - In the newly exported folder, run setup.bat or setup.sh depending on your OS (Use .bat on Windows).   - In the newly exported folder, run setup.bat or setup.sh depending on your OS (Use .bat on Windows).
Line 23: Line 34:
  
 ===== MCP ===== ===== MCP =====
-TODO+  - Download the appropriate version of MCP for your Minecraft version via the link above. 
 +  - Export the zip to somewhere sensible (this will contain all your development files). 
 +  - In the newly exported folder, insert minecraft_server.jar and the bin folder from your .minecraft into the folder named '/jars' You'll need to provide your own bin folder with the jinput, lwjgl, lwjgl_util, and natives folder in it, as we cannot redistribute these. These files can be obtained by running the legacy Minecraft launcher with a jar for the correct version. If you only wish to decompile the client, the server jar is not required. Alternatively you can use setup.bat/sh in LTS to obtain these files and copy them over to your MCP folder. 
 +  - Open /runtime/decompile.py with a text editor of your choice and remove line 15: ''commands.checkupdates()'' 
 +  - (Optional) If decompiling a mod, apply it to the relevant jar in the /jars folder. 
 +  - Run the decompile.bat/sh file that has generated.
  
mod_development/decompiling.txt · Last modified: 2023/03/22 19:13 by zero

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki