Skip to content
Jens Claes edited this page Aug 8, 2014 · 3 revisions

Hints for Setting Up And Updating The Mod

Hints for Setting Up

  1. Download the MCP pack, unzip and clone the repo in /src/minecraft
  2. (If Step 1 didn't work, do as normal and clone repo into /src/minecraft AFTER compiling, server is not necessary)
  3. Create a recompile-reobfuscate.bat: (ATecho off runtime\bin\python\python_mcp runtime\recompile.py %* runtime\bin\python\python_mcp runtime\reobfuscate.py %* pause)
  4. Remove decompile.bat (it can only hurt...)

Hints for Updating

  1. Download the new MCP Pack, unzip and decompile as instructed in MCP instructions /docs/README-MCP.txt (client-only, server jar is not necessary)
  2. (Create recompile-reobfuscate.bat and remove decompile.bat)
  3. Go to the old repo.
  4. Git checkout vanilla
  5. Copy the git folder into the new folder
  6. Git add . <- Not sure if this is correct anymore. Not all files are tracked anymore.
  7. Git commit -m "Minecraft [VERSION NUMBER]
  8. Git checkout mod
  9. Git merge vanilla
  10. Solve the git conflicts, if there are any.
  11. Update the .lang file (key.drop=List Objectives)
  12. Enjoy!

Hints for Compiling

  1. Execute recompile - reobfuscate.bat
  2. Go to /reobf/minecraft/
  3. Add the "Extra files" (currently not in the repo, but just search for them in an old released zip: the /lang/ folder, /title/ folder and AutoReferee.png
  4. Zip all the files from that folder
  5. Name the zip AutoReferee-client-x.y.za.zip (x.y.z the minecraft version number, a the letter of alphabet of mod version: 1.4.7a is version 1 of the mod, 1.4.7b is version 2...)