Player Number on Mini Map [TheLordScruffy]
#1
Player Number on Mini Map [TheLordScruffy]

There's a disabled feature in the minimap icons to display a line with the player number on it, similar to Double Dash!!. It is very big, and player icon headlights are rendered on top of it, making it invisible when they overlap. The colors for each player also seem to be in line with the Wii's default, rather than the different format the game uses.

Please note that on the Japan and Korean game, the icon is displayed differently (i.e. 1P instead of P1) and the font for the icon the Korean game is slightly different since the game uses different font.

NTSC-U
C27E18B4 0000000B
8803002D 7C060775
7C7C1B78 41800044
38BF00DC 38610020
38800020 4CC63182
3D808001 618C0DD8
7D8903A6 4E800421
387E00A8 38810020
3D80805D 618C1C7C
7D8903A6 4E800421
38000001 980300BB
807C0034 00000000

PAL
C27EB160 0000000B
8803002D 7C060775
7C7C1B78 41800044
38BF00DC 38610020
38800020 4CC63182
3D808001 618C1938
7D8903A6 4E800421
387E00A8 38810020
3D80805E 618C8368
7D8903A6 4E800421
38000001 980300BB
807C0034 00000000

NTSC-J
C27EA7CC 0000000B
8803002D 7C060775
7C7C1B78 41800044
38BF00DC 38610020
38800020 4CC63182
3D808001 618C185C
7D8903A6 4E800421
387E00A8 38810020
3D80805E 618C7C44
7D8903A6 4E800421
38000001 980300BB
807C0034 00000000

NTSC-K
C27D9520 0000000B
8803002D 7C060775
7C7C1B78 41800044
38BF00DC 38610020
38800020 4CC63182
3D808001 618C19A0
7D8903A6 4E800421
387E00A8 38810020
3D80805D 618C6504
7D8903A6 4E800421
38000001 980300BB
807C0034 00000000



Code creator: TheLordScruffy



Source:
#Address ports
#NTSC-U = 807E18B4
#PAL = 807EB160
#NTSC-J = 807EA7CC
#NTSC-K = 807D9520

.set region, '' #e,p,j,k

lbz r0,45(r3)
extsb. r6,r0
mr r28,r3
blt- 0x44
addi r5,r31,220
addi r3,r1,32
li r4,32
crxor 6,6,6
lis r12,0x8001

.if (region == 'E' || region == 'e') # RMCE
ori r12, r12, 0x0DD8
.elseif (region == 'P' || region == 'p') # RMCP
ori r12, r12, 0x1938
.elseif (region == 'J' || region == 'j') # RMCJ
ori r12, r12, 0x185C
.elseif (region == 'K' || region == 'k') # RMCK
ori r12, r12, 0x19A0
.else # Invalid Region
.err
.endif

mtctr r12
bctrl
addi r3,r30,168
addi r4,r1,32

.if (region == 'E' || region == 'e') # RMCE
lis r12, 0x805D
ori r12, r12, 0x1C7C
.elseif (region == 'P' || region == 'p') # RMCP
lis r12, 0x805E
ori r12, r12, 0x8368
.elseif (region == 'J' || region == 'j') # RMCJ
lis r12, 0x805E
ori r12, r12, 0x7C44
.elseif (region == 'K' || region == 'k') # RMCK
lis r12, 0x805D
ori r12, r12, 0x6504
.else # Invalid Region
.err
.endif

mtctr r12
bctrl
li r0,1
stb r0,187(r3)
lwz r3,52(r28)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)