Setting up the dev environment:
- Set up your folder structure like this:
projred
\-ProjectRed
\build.xml
\common
\resources
\dummy
\etc.
-
CD to ProjectRed folder.
-
Run this command:
ant fullfilesetup
- After its done, download the following files to the MCP lib directory, then link the libraries in eclipse (Rightclick on
Minecraft
project, selectbuildpath
, and underlibraries
tab clickadd external jar
.
projred
\-build
\-forge
\-mcp
\-lib
\CodeChickenCore-dev x.x.x.x.jar
\NotEnoughItems-dev x.x.x.x.jar
\scala-compiler.jar
\CodeChickenLib-dev-1.6.2-x.x.x.x.jar
\ForgeMultipart-dev-1.6.2-x.x.x.x.jar
- Also copy all those files to the mods directory in mcp:
projred
\-build
\-forge
\-mcp
\-jars
\-mods
\CodeChickenCore-dev x.x.x.x.jar
\NotEnoughItems-dev x.x.x.x.jar
\scala-compiler.jar
\CodeChickenLib-dev-1.6.2-x.x.x.x.jar
\ForgeMultipart-dev-1.6.2-x.x.x.x.jar
- Open eclipse and link the following sources:
projred
\-ProjectRed
\common
\resources
\dummy
- To create a test release, run:
ant testbuild
This will use your dev environment to reobfuscate, then restore the state back to development.
- The finished jar will be in:
projred
\-build
\dist
- The finished jar file will not be fully compatible with everything unless you use an external utility such as BON to fix the file names (Temporary problem with obfuscation)