ROM Hack [TUTORIAL]Give your Mii gold pants and use it for Streetpass!

GotKrypto76

That one PHP guy.
Member
Joined
Dec 1, 2014
Messages
302
Trophies
0
Location
The Chamber of Kim
XP
232
Country
Saint Kitts and Nevis
Great! Thanks for sharing your solution, now anyone with the same problem can follow your guide. :rolleyes:

To be fair it wasn't really an issue, more of a stupid question. I was wondering why I didn't see the sparkles on my Mii, but later realized it showed up on other peoples devices anyways, and I was content with that.
 

Zidapi

Well-Known Member
Member
Joined
Dec 1, 2002
Messages
3,112
Trophies
3
Age
42
Website
Visit site
XP
2,681
Country
Look:
MiiID is a 4-byte number
MiiID offset starts at byte = 92 x (MiiOrder - 1) + 20

So, let's find out where your 11th Mii is in the file:
92 * (11 - 1) + 20
so
92 * 10 + 20
so
920 + 20
so
940
now convert this to hexadecimal
0x3AC

You 11th Mii's data starts at offset 0x3AC.
Hey piratesepiroth, i made it thanks to your explanation ! Many thanks for your help ;)
"Teach a man to fish..." as they say.
BTW I tried making my main Mii have gold pants and it only made the Friends app freeze so don't do it.
I've made the primary Mii on two of my three 3DSes "special" and able to view my friends list without it crashing.

Unless by "friends app" you mean Mii Maker, in which case yes, it will crash if you try to edit your newly gold pants'd Mii. This is noted a few posts above yours, as the poster suggests keep a backup if you want to be able to edit your Mii in the future.

Before dumping your CFL_DB.dat for editing I do the following; go into Mii Plaza and change the Mii you're using from your personal Mii to another, then open Mii Maker and disable sharing/copying on your personal Mii, then dump your extdata.

After making your edits and recalculating the checksum, restore the newly modified CFL_DB.dat and reboot your system. Open Mii Plaza and set the Mii you're using back to your personal one.

Done. Enjoy the perks of playing the plaza games with a special Mii.
 
  • Like
Reactions: ferofax

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,453
Trophies
2
Age
103
XP
3,233
Country
Brazil
"Teach a man to fish..." as they say.

I've made the primary Mii on two of my three 3DSes "special" and able to view my friends list without it crashing.

Unless by "friends app" you mean Mii Maker, in which case yes, it will crash if you try to edit your newly gold pants'd Mii. This is noted a few posts above yours, as the poster suggests keep a backup if you want to be able to edit your Mii in the future.

Before dumping your CFL_DB.dat for editing I do the following; go into Mii Plaza and change the Mii you're using from your personal Mii to another, then open Mii Maker and disable sharing/copying on your personal Mii, then dump your extdata.

After making your edits and recalculating the checksum, restore the newly modified CFL_DB.dat and reboot your system. Open Mii Plaza and set the Mii you're using back to your personal one.

Done. Enjoy the perks of playing the plaza games with a special Mii.

Well I don't remember seeing an option for changing my main Mii.
 

SenpaiIsTheMan

Member
Newcomer
Joined
Dec 19, 2013
Messages
14
Trophies
0
Age
34
XP
138
Country
Gambia, The
How do I find out, what Bit to change? I read the guide from conanac, but can't really follow him...

Can someone give me a hint how to make this?

All I could do was a color change, somehow or deleting the Mii...

Just FYI, if somehow you want to use old Mii then the MiiID may not start with 94 (i.e. you cannot find this number in your CFL_DB.dat file).

Here is a simple tutorial how to find the location of your MiiID of interest along with the disabling sharing bit location as well (I use the same two Miis information from the first posting, see the first hex-editor picture):

MiiID is a 4-byte number
MiiID offset start at byte = 92 x (MiiOrder - 1) + 20
Examples:
1st Mii (MiiOrder = 1)
MiiID start at = 92 x (1 - 1) + 20 = 20 = 0x14 (row 0x10, column 0x04) --> 94 BD 74 9E
2nd Mii (MiiOrder = 2)
MiiID start at = 92 x (2 - 1) + 20 = 112 = 0x70 (row 0x70, column 0x00) --> 94 BD 80 02
Just for checking, after MiiID, you could see the 3ds MAC address, e.g. CC FB 65 31 62 F4 (for these two Miis).
And from MiiID, we actually could calculate the exact time/date when that Mii is created.
Examples:
1st Mii (0x94BD749E & 0x0FFFFFFF) * 2 = (0x04BD749E) * 2 = 0x097AE93C = 159050044 seconds.
159050044 seconds + 1262304000 seconds (adding this for getting back to 1/1/1970 00:00:00) = 1421354044 seconds or Thu, 15 Jan 2015 20:34:04 GMT (using http://www.onlineconversion.com/unix_time.htm).
2nd Mii (0x94BD8002 & 0x0FFFFFFF) * 2 = (0x04BD8002) * 2 = 0x097B0004 = 159055876 seconds.
159055876 seconds + 1262304000 seconds (adding this for getting back to 1/1/1970 00:00:00) = 1421359876 seconds or Thu, 15 Jan 2015 22:11:16 GMT.
From these examples, we could see that older Mii may have MiiID starts with a number different than 94. To make older Mii to have gold pants just changing from the first number in the first byte of MiiID to 1 (e.g. 93 to 13, 92 to 12, etc).

Disable sharing bit located at byte = 92 x (MiiOrder - 1) + 56
Examples:
1st Mii (MiiOrder = 1)
Disable sharing bit is located at byte = 92 x (1 - 1) + 56 = 56 = 0x38 (row 0x30, column 0x08) --> 01
2nd Mii (MiiOrder = 2)
Disable sharing bit is located at byte = 92 x (2 - 1) + 56 = 148 = 0x94 (row 0x90, column 0x04) --> 01
We could see that both Miis have already disable sharing bit set (i.e. they are already an odd number).

Hope that helps.
 

Ronhero

Too Weird to Live, Too Rare to Die
Member
Joined
Jun 28, 2014
Messages
3,470
Trophies
1
Location
Arizona Bay
Website
127.0.0.1
XP
2,062
Country
United States
error.jpg

I have tried it on win 8 64 bit and win 7 and both get the same error....
 

Jayro

MediCat USB Dev
Developer
Joined
Jul 23, 2012
Messages
12,973
Trophies
4
Location
WA State
Website
ko-fi.com
XP
17,004
Country
United States
You can use GW and a .3ds file with a custom config.txt

I'm on 9.2U (With 9.5U nag screen) on a 2DS, and no Gateway, Cubic Ninja, or Sky3DS. So if people could just make this shit work with the browser exploit, that'd be great...
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: If you want a good system to port it to, at least have a good programmer and knowledge. +1