Minecraft Blogs / Tutorial

The Minecoder Modding Tuts | #3 Setting up MCP w/ Mod Loader and Audio Mod

  • 4,267 views, 2 today
  • 13
  • 5
  • 19
TheMinecoder's Avatar TheMinecoder
Level 19 : Journeyman Modder
52
Hey guys, Jordy the Minecoder here,


And in todays tutorials im going to showing you how to set up MCP version 5.6 for Minecraft 1.1 with Mod Loader and Audio Mod installed. This tutorial is done on a Mac but will include Windows alternated when needed. I am also going to be doing 2 versions of this tutorials for those of you that just want MCP without Mod Loader. So what i do is add a //* whenever i refere to the MCP without Mod Loader tutorials. This saves me creating another Post! So Lets get on with things!




/* Step 1 */




Ok so first off we are going to need the Following items:




o Mod Loader [ Download ]


o Audio Mod [ Download ]


o MCP v5.6 [ Download ]


o Clean Minecraft Bin [ 1.1 ] [ Download ]


o Minecraft Server.jar [ 1.1 ] [ Download ]




Now you can Download these individual files by hitting the links next to them that i have put into a Direct Download for you OR you can download the complete package i especially put together!




o The Complete MCP Pack for Minecraft 1.1 [ Download ]


* Includes everything listed in the list above *




So now you have downloaded the files you can create a folder wherever you like I made on on my desktop for easy view. Call it something easy to locate like Minecraft Modding and then drag or move all of the files you downloaded into the folder. All we do now is Un-Zip them all!




/* Step 2 */




So now you have got all of the folders ready to use! Now find the 'Bin' folder and Copy it. Now we need to locate the MCP folder and find the jars folder inside. Go into there and paste the Bin folder. Do the same with the Minecraft Server.jar. If you have done this correctly you should have inside the MCP56/jars the minecraft bin and minecraftserver.jar along with the original folder files. Now you need to open your Applications/Utilities/Terminal.app As we are going to enter some code to access the minecraft.jar and install Mod Loader and Audio Mod. If you are using Windows this is where you will ned Win-Rar.




/* Step 3 */




//* If you do not want to install Mod Loader or Audio Mod with MCP then skip straight to Step 4!




Ok so now in terminal paste the following code:


cd ~


mkdir mctmp


cd mctmp


jar xf ~/Library/Application Support/minecraft/bin/minecraft.jar


Now we have done this if you go into the User pane in Finder a folder would have been created called 'mctmp' In here is the content from MCP56/bin/minecraft.jar If you are on Windows you do not need to worry about that bit as you just open the minecraft.jar with Win-Rar. Now go back to your Modding Folder and go into Mod Loader and just Copy all of the files. Find your way back to the MCTMP folder or on windows the Win-Rar window. Now paste all of the files in and replace all when needed. Now you need to do the same for Audio Mod. One all of the files are in the MCTMP or Win rar for windows you are going to want to delete the META-INF Folder. If you are on Mac then dont worry because this terminal code below gets rid of the MCTMP folder and deletes the META-INF folder aswel!


rm META-INF/MOJANG_C.*


jar uf ~/Library/Application Support/minecraft/bin/minecraft.jar ./


cd ..


rm -rf mctmp


So that is all for adding the Mod Loader and Audio Mod files which means we can go ahead and Decompile the client!




/* Step 4 */




Now go into your MCP folder and locate the decompile.bash if you are on Windows. Or if you are on Mac go back into Terminal and do the Following:


cd [ Drag the Folder icon in the top of your Finder Window into Terminal ]


You should get something looking like this: /users/example/Desktop/ModdingFolder/mcp56


Now hit Enter and you are officially working from inside the mcp56 folder. meaning on Mac you can now enter the Decompile code and also Decompile the client! Now for Decompiling:




Windows: Double Click the Decompile.bash


Mac: In terminal Write: bash decompile.sh




Now you need to wait and let it Decompile! The Following Lines of Code are examples of a successful Decompile.




==MCP 5.6 (data: 5.6, client: 1.1 , server: 1.1)==


* Retroguard opens up and loads then closes again


Decompiling Client...


!!Modified Jar Detected. Unpredictable Results. !! * Do Not Worry this RIGHT!


> Applying patches


'patch -p1 -u -i ../../temp/temp.patch -d src/minecraft' failed : 1


== ERRORS FOUND == * Do Not Worry this RIGHT!


1 out of 1 hunk FAILED -- saving rejects to file net/minecraft/src/RenderBlocks.java.rej


==================


Creating reobfuscation tables


Done in 60.21 seconds


== Decompiling Server ==


Creating SRGS for server


Applying Retroguard to server


> Done in 41.34 seconds


== Post decompiling operations ==


Recompiling


Recompiling client...


Done in 20.27 seconds


Recompiling server...


Done in 15.72 seconds




/* Step 5 */




Now you have Decompiles your MCP folder you are ready to start Minecraft Modding! Just to double check everything went correct however locate: MCP56/src and if both Minecraft and Minecraft_server is there You have installed it correctly now go deeper into minecraft/net/minecraft/src and Find ModLoader.java this means you have Successfully installed Everything including AudioMod and Mod Loader!




/* If you did not want to install Mods you would NOT have got the error messages in Terminal or CMD neither will you have the ModLoader.java file in your Src.




/* Step 6 */




Now i am going to teach you to how to Set up MCP with Eclipse. If you Do not have Eclipse do not worry you download it for free Here: [ Download ]


So open up Eclipse and it should ask you for a Workspace. Go ahead and Browse for one or if there is no option find your Workspace location and paste it. When browsing you need to go to your Modding Folder/mcp56/Eclipse


Now open up Eclipse and on the Left hand side it should have: Client and Server if so go into Client then net.minecraft.src and again into src and all of your .java files should be there!




/* CONGRATULATIONS! */




You are now Set up and all ready to go with Minecraft Modding!

/* Next Time... */

Catch the Next Tutorial for how to create your very first Java Mod! Im going to teach you how to make Blocks and Items drop whatever items you like! And Make Mobs Stronger or drop double the XP! Im also going to be introducing something called The Code Box! At the End of every Video or Blog Post i am oing to recite the Code with you explaining what it does etc... Its going to be like some sort of identify resource just to help you learn more! So Catch you next time,


Jordy | The Minecoder

P.S -> Screenshots and Next tutorial coming soon...
CreditJordy, Chromeleaf, minecraft, Notch, MCP, Mod Loader, Audio Mod.
Tags

2 Update Logs

TEMPORARILY ON HOLD : by TheMinecoder 02/10/2012 2:01:10 pmFeb 10th, 2012

SORRY FOR THIS BUT I AM VERY VERY VERY BUSY RIGHT NOW! I WILL CONTINUE THE SERIES SHORTLY HOWEVER I EXPECT THERE NOT TO BE ANY VIDEOS! ITS EITHER I TAKE AGES TO UPLOAD BLOGS AND THEN TO DO VIDEOS OR I DO AS MANY BLOGS AS POSSIBLE AND TAKE TIME TO RECORD VIDS!
PLEASE CHOOSE ONE OF THEM!
LOAD MORE LOGS

Create an account or sign in to comment.

1
09/18/2012 12:59 am
Level 55 : Grandmaster Technomancer
En Dabuwya
En Dabuwya's Avatar
unsubscribing now.
1
08/16/2012 2:21 am
Level 26 : Expert Engineer
Technofreak301
Technofreak301's Avatar
I try to run decompile.sh but it says it doesn't exist.
1
06/25/2012 3:41 pm
Level 16 : Journeyman Skinner
dual_iron_swords
dual_iron_swords's Avatar
These tutorials are great but im stuck i got no terminal.app anywhere
help?
1
02/27/2012 8:46 am
Level 9 : Apprentice Architect
MCArchitect
MCArchitect's Avatar
can you please make the part 4? please it would be very helpful for me
1
02/07/2012 8:20 am
Level 45 : Master Engineer
gemhunter1
gemhunter1's Avatar
and i install modloader delete meta-inf but i dont find modloader.java D: S: adn please make video for this tut
1
02/07/2012 8:21 am
Level 45 : Master Engineer
gemhunter1
gemhunter1's Avatar
ohh, i find it :D i am happy *let's make a party :P*

but still make video ;) now i only must to wait for next part...
1
02/07/2012 11:41 am
Level 19 : Journeyman Modder
TheMinecoder
TheMinecoder's Avatar
Recorded the video just have to edit it sometime this week ;)
1
02/07/2012 11:50 am
Level 45 : Master Engineer
gemhunter1
gemhunter1's Avatar
good :D
1
02/07/2012 7:31 am
Level 45 : Master Engineer
gemhunter1
gemhunter1's Avatar
when you make how to make first mod ???
1
01/30/2012 9:05 am
Level 28 : Expert Pegasus
mengy0077
mengy0077's Avatar
dude i love all your tutorials!! i hope this gets successfull. even though i already know how to java (i am working on a mod based on skyrim) i diamond your content and subscribed. i hope others can learn from you good luck mate. -mengy0077
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome