Friend Roster Mii Name Changer & Extender [Vega]
#1
Friend Roster Mii Name Changer & Extender [Vega]

This code will allow you to put in a custom Mii name for every friend of your friend roster online. Your Mii name will NOT be effected. Every friend will have the same Mii name that was set on the code. You also have the ability to extend the Mii Name from 10 to 29 characters in max length. If you don't want to use the full length of 29 characters, simply fill in the non-used values with 0's. 

NTSC-U
C25CF7F0 0000000E
7C0802A6 38E40066
48000045 0000WXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
00000000 7D8802A6
A56C0002 B5670002
2C0B0000 4082FFF4
7C0803A6 80E40068
60000000 00000000

PAL
C25E55CC 0000000E
7C0802A6 38E40066
48000045 0000WXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
00000000 7D8802A6
A56C0002 B5670002
2C0B0000 4082FFF4
7C0803A6 80E40068
60000000 00000000

NTSC-J
C25E4EA8 0000000E
7C0802A6 38E40066
48000045 0000WXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
00000000 7D8802A6
A56C0002 B5670002
2C0B0000 4082FFF4
7C0803A6 80E40068
60000000 00000000

NTSC-K
C25D3768 0000000E
7C0802A6 38E40066
48000045 0000WXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
WXYZWXYZ WXYZWXYZ
00000000 7D8802A6
A56C0002 B5670002
2C0B0000 4082FFF4
7C0803A6 80E40068
60000000 00000000

WXYZ = Mii Character ASCII Value

Example ASCII Values:
0020 = Space
0041 = A
0061 = a
E017 = DSi Heart

Use 0000 for unfilled values if you don't want to use the full length of 29 characters.



Source (using 01230123012301230123456789905 as the Mii Name):

#Address ports
# 805CF7F0 = NTSC-U
# 805E55CC = PAL
# 805E4EA8 = NTSC-J
# 805D3768 = NTSC-K

#Safe registers
#r0, r7, r11, r12

#Save LR, fyi: r0 good to use for this instruction
mflr r0

#Start of Mii Name is at r4+0x68 (where loop writing starts at)
#Mii Name characters are halfword a piece, loop will transfer a halfword at a time
#Thus use r7 to point to r4+0x66
addi r7, r4, 0x66

#Use BL Trick to write out Mii Name
bl mii_name

.short 0x0000
.llong 0x0030003100320033
.llong 0x0030003100320033
.llong 0x0030003100320033
.llong 0x0030003100320033
.llong 0x0030003100320033
.llong 0x0034003500360037
.llong 0x0038003900390030
.short 0x0035
.short 0x0000
.short 0x0000

mii_name:
mflr r12

the_loop:
lhzu r11, 0x2 (r12) #Load Mii Data from BL Trick
sthu r11, 0x2 (r7) #Store Mii Data to dynamic memory
cmpwi r11, 0 #Check for null halfword (end of Mii Data)
bne+ the_loop #If NOT null, keep loop going

mtlr r0 #Move to Link Register, this copies r0's value (original LR) to the Link Register
lwz r7, 0x0068 (r4) #Default Instruction



Code creator: Vega
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)