You are viewing our Forum Archives. To view or take place in current topics click here.
How to set up MCP and give yourself a cape!
Posted:

How to set up MCP and give yourself a cape!Posted:

TTGRelentless
  • Rising Star
Status: Offline
Joined: Jul 19, 201014Year Member
Posts: 704
Reputation Power: 31
Status: Offline
Joined: Jul 19, 201014Year Member
Posts: 704
Reputation Power: 31
Hey guys KinGxKeV here showing you how to get a cape in Minecraft.
Video
it does black screen at the end

[Disclaimer]Do this at your own risk if you :idea: up too bad this is easy anyways.

If the images look blurry open them and you will see fine

Ok first up you will need Java Development Kit, Eclipse/or Notepad/or Wordpad,a dropbox account,a cape template, and Minecraft Coder Pack.

(this part is if you don't have JDK as a enviroment variable)
[ Register or Signin to view external links. ]
go to where you installed JDK to and go to the bin folder

Right click on a file and click properties

Copy the location

Next click start and right click on computer

click properties and then go to advanced system settings

Then click on Enviroment Variables

click new then for the name type in Path and for the value paste the location of JDK's bin

to test open up the command prompt and enter javac

a bunch of stuff should come up
[ Register or Signin to view external links. ]

if it does your done with that part


Next is setting up Minecraft Coder Pack
Ok after JDK is all set up extract Minecraft Coder Pack(MCP)

Run Cleanup.bat then once that's done run updatemcp.bat
[ Register or Signin to view external links. ]
[ Register or Signin to view external links. ]

once both are done go to your .minecraft folder start/run/%appdata%

copy the bin folder (best if you use a clean unmodified minecraft.jar but do whatever you want)

then go to where MCP is and paste your bin folder into the jars folder
[ Register or Signin to view external links. ]

after you paste your bin into the jars folder run decompile.bat
[ Register or Signin to view external links. ]

once thats done go to src/minecraft/net/minecraft/src and you should see a bunch of .java files
[ Register or Signin to view external links. ]


Making your cape
Ok first go to [ Register or Signin to view external links. ] and then click the little cape next to the preview

right click on an image and save the image
[ Register or Signin to view external links. ]

open it in Photoshop (or any other image editing program)

once it's done save it as Yourminecraftusername.png (ex. KinGxKeV.png)

then put the cape template in your public dropbox folder c:Users/Your Account/Dropbox/public
[ Register or Signin to view external links. ]


Setting up Eclipse (if you don't want to use Eclipse skip this part)
Ok open up Eclipse

Next set your Eclipse workspace to MCP's eclipse folder
[ Register or Signin to view external links. ]

after Eclipse restarts right click on client in the package explorer

click properties and then click java build path
[ Register or Signin to view external links. ]

click add external jars and select all four jar files you see

Next select the drop down on the first 3 (do not do minecraft.jar)

click native library location for the first 3 and then click edit
[ Register or Signin to view external links. ]

click external folder and then go to MCP/jars/bin and then click on natives and click ok

now exit out of the Client properties and select the drop down for the Client

then select the dropdown for src then for net.minecraft.src
[ Register or Signin to view external links. ]


Now for the actual editing
First up open up EntityPlayer.java
[ Register or Signin to view external links. ]

Hit Ctrl+F and search for cloak then hit find

you will see this
 public void updateCloak()
    {
        playerCloakUrl = (new StringBuilder()).append("http://s3.amazonaws.com/minecraftcloaks/").append(username).append(".png").toString();
        cloakUrl = playerCloakUrl;
    }

[ Register or Signin to view external links. ]

go into your public dropbox folder and right click on your cape then select dropbox and copy public link
[ Register or Signin to view external links. ]

paste your link so it should look like this (make sure to remove the IGN.png part from the link)
 public void updateCloak()
    {
        playerCloakUrl = (new StringBuilder()).append("http://dl.dropbox.com/u/48149554/").append(username).append(".png").toString();
        cloakUrl = playerCloakUrl;
    }

(it will say dl. dropbox .com but TTG's ad filter thing makes it say thetechgame in the post)

Now save the file and close Eclipse


Recompiling and Reobfuscating
Ok when done with the editing run recompile.bat (in MCP)
[ Register or Signin to view external links. ]

once that is done run reobfuscate.bat
[ Register or Signin to view external links. ]

after that has finished open the reobf folder and open the minecraft folder inside

drag the class file into your minecraft.jar in the .minecraft directory
[ Register or Signin to view external links. ]


Enjoying your cape
Before you start Minecraft delete the META-INF folder

Then start Minecraft and you should have a cape
[ Register or Signin to view external links. ]
yes I know my cape is stupid it's just for demonstration


Thanks for following this easy/long tutorial I plan on making more.


Last edited by TTGRelentless ; edited 1 time in total
#2. Posted:
LapseDesigns-
  • TTG Master
Status: Offline
Joined: Apr 25, 201113Year Member
Posts: 874
Reputation Power: 44
Status: Offline
Joined: Apr 25, 201113Year Member
Posts: 874
Reputation Power: 44
or ask -afro- and he will help you more or just give you your own client =D
#3. Posted:
TTGRelentless
  • Rising Star
Status: Offline
Joined: Jul 19, 201014Year Member
Posts: 704
Reputation Power: 31
Status: Offline
Joined: Jul 19, 201014Year Member
Posts: 704
Reputation Power: 31
COD_HOSTERZ_V2 wrote or ask -afro- and he will help you more or just give you your own client =D


this is a tut so people can do it themselves yes you could just ask someone else but how will people learn
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.