Introduction: How to Give Your Mii Different Colored Pants

This is my first Instructable and it will tell you how to give your mii's different colored Pants! They usually are all the default color, black, but with some Hex Editing, you can make their pants some different colors.

What is a Mii?
A mii is an avatar for use on the Nintendo Wii. Mii's are made in the Mii Channel on your Wii.
Some games use mii's off of your Wii as characters in games.

What is Hex Code?
Hex Code (actually called Hexadecimal) is a number system with a base of 16 (Hex = 6 Dec = 10 6+10=16 thus the base), which uses the numbers 0-9 to represent the numbers 0-9, and the letters A-F to represent the numbers 10-15.
So when you are counting, it is: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F, because A=10, B=11 and C=12 and so on.
The hex codes we are using in this Instructable look like this: 00000000 or like this: 0x00000000.
The reason the "0x" is there is because in the C programming language the "0x" before a string of numbers tells the program or whatever you are writing, that what's next is Hex (and it's a slight habit of mine...)

Step 1: Materials and Preparation

First off, you need to have the following things:

A wii (Picture #1)
A wii Remote (Picture #2)
A Mii to use (Picture #3)
A Bluetooth Dongle (Picture #4)
A Computer (Windows XP or Vista) (Picture #5)
A free USB port for the Bluetooth Dongle

Gather all of these and you are ready to begin and move to step 2!

Step 2: Preparing Your Mii

First turn on your Wii and go to the Mii Channel.
When you are in there find a Mii that you want to get gold pants.
Press Transfer on the right side of the screen and grab the Mii you want to copy and drag him into one of the circles.
Once the Mii is on the Wii Remote we can connect it to the computer via the Bluetooth Dongle!

Step 3: Setting Up Your Bluetooth Dongle

Set aside the controller and turn off the Wii for now, as they are not needed at the moment.

Plug your Bluetooth Dongle into your empty USB Port and it should tell you that it was activated. (Remember to get the drivers from the company who made your Dongle)
Now grab your Wii Remote and get it near you.
Search for devices on your bluetooth dongle and at the same time, hit the sync button located in your battery casing on your Wii Remote.
Alternatively, while your bluetooth Dongle is searching for devices, hold the 1 and 2 buttons.
Eventually, your Bluetooth Dongle should find your Wii Remote.
Connect that device using no passcode.
Congratulations, you've just successfully connected your Wii Remote to your PC via Bluetooth.
Using this method, and with an IR Sensor bar you can also play games on your computer using the wii remote as a controller, such as Half-Life 2, using the application called GlovePIE.

Step 4: Getting the Mii's Off Your Remote and Into Your Computer

To get the mii(s) you have on your Wii Remote onto your harddrive for editing, you first have to download this.
Extract that to a folder, it doesn't really matter what folder.
Within that folder there will be a bunch of .bat files and one .exe file.
There are readslot#.bat and a readslotall.bat
Double-click readslotall.bat and it will read all of the info that's on your Wii Remote.
It will save .mii files into that folder.
Those are your Mii's.
Your mii's are now on your computer!

Step 5: Editing Your Mii to Give It Different Pants!

First, download this Mii Editor(Thanks for the awesome Mii Editor AJ!),
and then extract it using WinRar which is available here.

Once it is extracted, open the Mii Editor and import your .mii file.
Under the Mii ID box type:
1FFFFFF0 - Gold
DFFFFFF0 - Blue
3FFFFFF0 - Default
Also change the name of the mii so there is no overwriting done on the wii. You can also feel free to change anything else but make sure you know what you are doing. Don't change the System ID!

Now, when you are done, save the Mii by going to File->Save Mii or hit Ctrl+S.
Your Mii on the computer now has different Pants!

Step 6: Put the Different Pants Mii on the Remote

Now we have to put the edited Mii onto your Wii remote so you can put it back on your Wii.
Now, go back into your Mii Transfer folder and write to whichever slot that mii was from. (If the mii you edited came from Slot 0, doubleclick writeslot0.bat)
But make sure that your .mii file is in the Mii Transfer folder still.
Your Mii is now on your Wii Remote!
Turn on your Wii and sync the remote by pressing the red sync button on the front of your wii and hold the 1 and 2 buttons on your wii remote. You could also press your Wii Remote's sync button. Next, go to the Mii Channel and Transfer your Mii to the Wii.
If all was done correctly, your Mii will have golden pants!

Step 7: How Does It Work?

Nintendo made special mii's as a promotion to Mii's in Japan. They have released three, Sanma Akashiya, a japanese comedian, Shuzo Matsuoka, an ex-Tennis player in Japan, and Mario.
They all featured Golden Pants instead of the regular Grey pants.
The Golden Pants are just a Hex Code in the Mii ID.
The hex code can be anywhere from 00-00-00-00 to 1F-FF-FF-FF so we used 1F-FF-FF-F0.

There are also Foreign Mii's, which come off of someone else's Wii when the person transfers a Mii to his Wii Remote and then transfers it onto your Wii. The Blue Pants that Foreign Mii's wear are also just a Hex Code in the Mii ID.
The code can be anywhere from C0000000 to DFFFFFFF.

When transfering a Special Mii, note that it will not Copy the mii like regular Mii's, but it will cut/move the mii over to the Wii Remote.
You cannot edit the Special Mii or the Foreign Mii on your console. You will have to move them to a Wii Remote and edit them using a Mii Editor.

Step 8: Liability

By attempting this Instructable, you agree that I am in no way, shape or form, responsible for your actions. Anything that happens to your Wii, or anything else you used for this, is not my fault.

Thank you for using my Instructable!