ee3_client/ee3/client | ||
ee3_common | ||
resources/ee3 | ||
.gitignore | ||
build.xml | ||
COPYING | ||
COPYING.LESSER | ||
README.md | ||
version.xml |
Welcome to Equivalent Exchange 3!
Setup MCP was done mostly by Minalien, I just changed it a bit. Some credit goes to BuildCraft's README.md, which I based this README off of.
The Minecraft Forums page can be found [here] (http://www.minecraftforum.net/topic/1540010-equivalent-exchange-3).
Compiling Equivalent Exchange 3
IMPORTANT: This is not guaranteed to work as it has not been tested extensively (only done on Linux so far, partly on Windows).
Prerequisites (Tested for Windows 7 ONLY!)
- Download and install the Java JDK here. Just scroll down.
- Go to
Control Panel\System and Security\System
, and click onAdvanced System Settings
on the left-hand side. - Click on
Environment Variables
.
- Go to
- Under
System Variables
, clickNew
. - For
Variable Name
, inputJAVA_HOME
. - For
Variable Value
, input something similar to;C:\Program Files (x86)\Java\jdk1.7.0_09
exactly as shown to the end.(or wherever your Java JDK installation is), and clickOk
. - Scroll down to a variable named
Path
, and double-click on it. - Append
;C:\Program Files (x86)\Java\jdk1.7.0_09\bin
(or wherever your Java JDK installation is \bin), and clickOk
.
- Download and Apache Ant [here] (http://ant.apache.org).
- Unzip the files anywhere you want, eg
C:\Program Files (x86)\Ant
.
- Unzip the files anywhere you want, eg
- Again, go to
Environment Variables
just like you did for the Java JDK. - Under
System Variables
, clickNew
. - For
Variable Name
, inputANT_HOME
. - For
Variable Value
, inputC:\Ant\apache-ant-1.8.4
(or your Ant directory \apache-ant-1.8.4). - Scroll down to
Path
, and double-click on it. - Append
;C:\Ant\apache-ant-1.8.4\bin
exactly as shown to the end (or your Ant directory \apache-ant-1.8.4\bin).
- Download and install Github [here] (http://windows.github.com/).
- Create an account.
- Go back to the Equivalent-Exchange-3 directory [here] (http://github.com/pahimar/Equivalent-Exchange-3).
- Click
Clone to Windows
near the top-left of the page. - You should see Github flash and
pahimar/Equivalent-Exchange-3
appear. (The local repository defaults toC:\Users\(username)\Documents\GitHub\Equivalent-Exchange-3
, you can change it if you want but then you have to find it again on Github).
-
Create an empty directory for EE3 development. This directory is refernced as
mcdev
from now on. It can be where you cloned EE3, but it'll be a little messy. -
You are now ready to Setup MCP!
Setup MCP (Linux and Windows 7 tested)
-
Download the latest version of MCP from [here] (http://mcp.ocean-labs.de/index.php/MCP_Releases) , e.g. mcp723.zip. Install MCP dependencies as listed on the website if neccessary.
-
Inside
mcdev
, create a directory namedmcp
and unzip the MCP .zip file into it. -
To verify, check if a file name
CHANGELOG
exists inside themcp
directory. -
Get a clean (unmodded!) copy of minecraft's
bin
folder. Currently EE3 runs on 1.4.5 but that might have changed. -
From your
.minecraft
directory (on Windows, defaults to%appdata%\.minecraft
), copy thebin
and theresources
(I don't think you need resources on Windows 7) directory to thejars
directory insidemcp
. (I actually believe Forge's installation might do it for you) -
Get a clean (unmodded!) copy of
minecraft_server.jar
and also place it intojars
. (Forge might do this for you) -
Download the latest forge source for Minecraft 1.4.5 and unzip it into
mcp
so thatmcp/forge/install.sh
exists. You need at least Forge 6.4.0, best way is to get it from [here] (http://files.minecraftforge.net/). -
Execute
install.sh
(Linux and Mac?) orinstall.cmd
(Windows), both found inmcdev/mcp/forge
. On Linux you might have tochmod +x
install.sh
before you can execute it. On some system configurations you need to executeinstall.sh
from within theforge
directory whereas on others it doesn't matter. Just check the output for error messages to find out what you need to do.
Setup EE3 (Some tested for Linux, some for Windows)
-
Inside
mcdev
, create a directory namedsource
. If you're doing this from the default clone directory, make two folders:source
andEquivalent-Exchange-3
. Copy and paste the original files intoEquivalent-Exchange-3
, and then move that intosource
. -
If you haven't already, move/clone
Equivalent-Exchange-3
intosource
. -
Right now, you should have a directory that looks something like:
mcdev
\-mcp
\-mcp stuff blablabla (should have CHANGELOG).
\-forge
\-jars
\-source
\-Equivalent-Exchange-3
\-EE3's files, including build.xml.
-
Inside
Equivalent-Exchange-3
, create a new file calledbuild.properties
.- Open it up, and type into it the following:
dir.development=../../
dir.share=Shared
(or what you want it to be)dir.release=Releases
(what you want it to be)release.minecraft.version=1.4.5
(as of 11/21)release.mod.version=pre2
(or whatever version # want it to be)
- Open it up, and type into it the following:
-
[FOR WINDOWS] Open up
cmd
by typingcmd
in Run. -
[FOR WINDOWS] Navigate to
mcdev\source
by executingcd mcdev's location\source
. -
Inside
sources\Equivalent-Exchange-3
executeant release
. If you've done everything right,BUILD SUCCESSFUL
is displayed. If not, you probably did something wrong. -
Go to
mcdev\source\Equivalent-Exchange-3\Releases\1.4.5\pre2
(or whatever you put intobuild.properties
fordir.release
,release.minecraft.version
, andrelease.mod.version
). You should see a .jar namedee3-universal-pre2.jar
(or whatever you put intorelease.mod.version
). -
Copy the jar into your Minecraft mods folder, and play Minecraft!
To Update EE3 (For Windows Only?)
-
Check to see if pahimar updated EE3 since you last compiled. If he/she did, follow these instructions.
-
Open Github.
-
Double-click on pahimar/Equivalent-Exchange-3.
-
At the top, there is a button named
Sync
(orRefreshing...
if its still checking). -
Click
Sync
, and wait for it to finish. -
Re-compile (or move it to
mcdev\source
then re-compile, depending on what you did.)