Ghost Mii Name Modifier [Vega]
#1
Ghost Mii Name Modifier [Vega]

NOTE: You MUST run this with my Bypass Mii Data CRC Code -> https://mkwii.com/showthread.php?tid=1572

Another NOTE: If you watch the Ghost Replay then proceed directly to 'Start Race' to go against the Ghost immediately, it will cause you to have the ghost's Mii and the ghost itself will have no Mii Data. To avoid this issue, simply choose to Race against the Ghost only during the Track Selection.

This code will allow you to fully edit the Mii Name that is used for the Time Trial ghost.

WXYZ = Mii Name Character, use 0000 for unfilled values

NTSC-U
C2524F80 00000006
48000019 WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
7C8802A6 7D04A4AA
38630002 7D03A5AA
7FE3FB78 00000000

PAL
C25293F4 00000006
48000019 WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
7C8802A6 7D04A4AA
38630002 7D03A5AA
7FE3FB78 00000000

NTSC-J
C2528D74 00000006
48000019 WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
7C8802A6 7D04A4AA
38630002 7D03A5AA
7FE3FB78 00000000

NTSC-K
C2517418 00000006
48000019 WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
7C8802A6 7D04A4AA
38630002 7D03A5AA
7FE3FB78 00000000



Code creator: Vega



Source:

#Address Ports
#NTSC-U = 80524F80
#PAL = 805293F4
#NTSC-J = 80528D74
#NTSC-K = 80517418

#r0, r3 thru r12, CTR, LR all safe
#r3 points to very start of Mii Data

bl mii_name

.llong 0x004F004F004F004F #Garbage values used so source can compile, fill in values accordingly
.llong 0x004E004E004E004E
.long 0x004D004D

mii_name:
mflr r4

lswi r8, r4, 20 #Load the 20 bytes starting at r4's location (all the mii name data from table) and place it into r8 thru r12
addi r3, r3, 2 #Adjust r3 to point to start of Mii Name
stswi r8, r3, 20 #Now store r8 thru r12's values consecutively to r3 (start of mii name), whole mii name now replaced

mr r3, r31 #Default instruction
Reply


Messages In This Thread
Ghost Mii Name Modifier [Vega] - by Vega - 08-03-2020, 11:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)