This is a guide to setting up the MPC with ModLoader and ModLoaderMP (aka the results of a day of pain).
Extract the MCP use 7Zip to whatever folder you wish it to live in. (It won’t have its own folder)
From now on any path with ${mcp}
will be the path to the folder containing the MCP.
Go t runtime/commands.py
and comment out line 502 and 503 so that it reads:
#for entry in md5srvlist:
# md5srvdict[entry.split()[0]] = (entry.split()[1], float(entry.split()[2]), entry.split()[3])
In MultiMC create a Beta 1.7.3 instance and run it once, this will automatically download all the required files for you.
From now on any path with ${multimc}
is the path to MultiMC.
Copy and rename ${multimc}/versions/b1.7.3/b1.7.3.jar
to ${mcp}/jars/bin/minecraft.jar
.
Copy and rename the downloaded Beta 1.7.3 Sever jar to ${mcp}/jars/minecraft_server.jar
.
Copy and rename ${multimc}/libraries/org/lwjgl/lwjgl/lwjgl/2.9.0/lwjgl-2.9.0.jar
to ${mcp}/jars/bin/lwjgl.jar
.
Copy and rename ${multimc}/libraries/org/lwjgl/lwjgl/lwjgl_util/2.9.0/lwjgl_util-2.9.0.jar
to ${mcp}/jars/bin/lwjgl_util.jar
.
Copy and rename ${multimc}/libraries/net/java/jinput/jinput/2.0.5/jinput-2.0.5.jar
to ${mcp}/jars/bin/jinput.jar
.
Open and cope the file from ${multimc}/libraries/net/java/jinput/jinput-platform/2.0.5/jinput-platform-2.0.5-natives-windows.jar
to ${mcp}/jars/bin/natives
.
Open ${mcp}/jars/bin/minecraft.jar
with 7Zip. Delete META-INF
.
Open the downloaded ModLoader with 7Zip, press CTRL-A
to select all file and drag them into the open client, you’ll have to click ok
.
Do the same with the downloaded ModLoaderMP Client.
You can now close the Minecraft client 7Zip window.
Open ${mcp}/jars/minecraft_server.jar
with 7Zip. Drag all the file of ModLoaderMP server into the server and close the window.
Run decompile.bat
, there will be some errors that we have to fix.
FOR BELOW: !!DO ALL OF THIS IN THIS ORDER!!
Once completed open ${mcp}/src/minecraft_server/net/minecraft/server/MinecraftServer.java
.
Remove lines 324, 338-340, 351-367, 372-401, 373-375, and 411.
Between lines 252 and 253 add this:
try {
Between lines 303 and 304 add:
} catch (Throwable throwable1)
{
throwable1.printStackTrace();
logger.log(Level.SEVERE, "Unexpected exception", throwable1);
while (serverRunning)
{
commandLineParser();
try
{
Thread.sleep(10L);
}
catch (InterruptedException interruptedexception1)
{
interruptedexception1.printStackTrace();
}
}
}
Run recompile.bat
.
At this point if there are any errors shown, you messed up somewhere and have to do it again.