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

A step up compared to my Ghost Mii Name Modifier. This code will allow you to edit/put in all the Mii Data of the TT ghost instead of just the Mii Name.

IMPORTANT README: To save code length, some useless parts of the Mii Data is not included. This is the Creator Name and the CRC. Normally Mii Data is 0x4C bytes in length, but without the creator name and CRC, it is just 0x36 bytes in length. Just be mindful of this when filling in the values for the Mii Data.

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

Since you are bypassing the CRC, you can freely edit the Mii Data however you want (as long as the Mii characteristics/inputs is still valid..)

Yet another note: If you watch the Ghost Replay then proceed directly to 'Start Race' to go against the Ghost immediately, some weird side effects could occur. To avoid this possible issue, simply choose to Race against the Ghost only during the Track Selection.

The Z values are the Mii Data that you will paste in (excluding the creator name and CRC). This code isn't for 'noobs'. Please have some knowledge of the Mii Data structure before asking questions if you are unsure what to do. Thank you for understanding.

NTSC-U
C2524F80 0000000B
BE41FFC8 4800003D
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZ0000
7D8802A6 BA4C0000
BE430000 BA41FFC8
7FE3FB78 00000000

PAL
C25293F4 0000000B
BE41FFC8 4800003D
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZ0000
7D8802A6 BA4C0000
BE430000 BA41FFC8
7FE3FB78 00000000

NTSC-J
C2528D74 0000000B
BE41FFC8 4800003D
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZ0000
7D8802A6 BA4C0000
BE430000 BA41FFC8
7FE3FB78 00000000

NTSC-K
C2517418 0000000B
BE41FFC8 4800003D
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZ0000
7D8802A6 BA4C0000
BE430000 BA41FFC8
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

#0x36 bytes of data

stmw r18, -0x38 (sp)

bl mii_data

#NOTE random garbage values used below for source to compile, don't use these values for testing (lol)

.llong 0x004F004F004F004F
.llong 0x004E004E004E004E
.llong 0x004E004E004E004E
.llong 0x004E004E004E004E
.llong 0x004E004E004E004E
.llong 0x004E004E004E004E
.llong 0x004E004E004E0000 #Halfword of null at end is meant to be there.

mii_data:
mflr r12

lmw r18, 0 (r12)
stmw r18, 0 (r3)

lmw r18, -0x38 (sp)

mr r3, r31 #Default instruction
Reply


Messages In This Thread
Ghost Mii Data Modifier [Vega] - by Vega - 08-05-2020, 01:27 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)