Tutorial originally by jordyad (6/24/2017):Well like I said days ago, I've found a way to move the face graphic pointer to make sure the palette address would ALWAYS be the same to use your mask ripping code much easier, and I thought I can definitely told you how I've managed to do it so you wouldn't have any problem with palette changing.
Required:
Nemu64 to dump palette data
No Texture Change with Mist/Fire Code (To Avoid too much coding)
Notepad ++
Let's start!: You need to know every items that are on your masked wrestler face (Skin Color, Hair Color, Facial Hair, Mask, Hat etc...)
For example my wrestler use:
Skin Color 4, Red Hairs and Grandmaster's Hat (Light Gold)
Now open Nemu64 and make a CAW by making sure you put the items on the CAW's face as you did on your masked wrestler (for me I would need to do the following: Skin Color 4, Red Hairs, Light Gold Grandmaster's Hat), I highly suggest to have your wrestler bleeding when you dump the palette.
Run a match with your wrestler and make him bleed.
Once your wrestler is bleeding go to 800A59A4 to grab the palette address
The address you would need to use is the one circled in red. (I guess you know this already)
Go at this address and take a lot at these
The first address circled in red (00211FB0) is the palette location and the second one (002121C8) is the stuff that edit your polygon texture pixel by pixel.
That means the needed palettes (Skin Color 4, Red Hairs, Light Gold Granmaster's Hat) are located at 80211FB0 and end at 802121C8
Now dump the data likes this
Makes sure to select the 16-bit format and dump it as a .txt file
The offset between 80211FB0 and 802121C6 is 216
Now find an address that is completely unused (The best would be to search at locations like 80380000)
My unused address would be 80381040, I know the face palette offset is 216 so 80381040 + 216 = 80381256.
That means I would need to dump datas from 80381040 to 80381256
Now that you've dumped the palettes data and unused address data you can close Nemu64 and open Notepad ++
Open the two .txt files on Notepad ++ and select the values from your dumped palette (left mouse + alt key), copy the value and paste them over the unused address value
Remove the ":" and change your the two first bytes of your address from "80" to "81"
You may have 268 lines of codes, just divide them in 3 parts (every 100 lines press enter to separate lines)
Here's an example
- Spoiler:
Part 1
81381040 FE6D
81381042 ED65
81381044 DC9F
81381046 CC1B
81381048 C3DB
8138104A B357
8138104C AB13
8138104E A2D3
81381050 8A51
81381052 71CD
81381054 5109
81381056 3083
81381058 FCA1
8138105A FA9D
8138105C F909
8138105E 5221
81381060 FF35
81381062 FE2D
81381064 FD67
81381066 E4A1
81381068 D461
8138106A C3DD
8138106C BB9B
8138106E B315
81381070 9251
81381072 79CF
81381074 614D
81381076 5109
81381078 FCA1
8138107A FA9D
8138107C F909
8138107E 5221
81381080 F69B
81381082 F697
81381084 C54B
81381086 ACC9
81381088 9C49
8138108A 9409
8138108C 8389
8138108E 52D3
81381090 0000
81381092 C631
81381094 9CE7
81381096 6B5B
81381098 2109
8138109A 420F
8138109C 0843
8138109E F6E1
813810A0 0481
813810A2 0401
813810A4 0381
813810A6 0301
813810A8 0281
813810AA 0201
813810AC 0181
813810AE 52D3
813810B0 0000
813810B2 C631
813810B4 9CE7
813810B6 6B5B
813810B8 2109
813810BA 420F
813810BC 0843
813810BE 0501
813810C0 C563
813810C2 C45B
813810C4 B395
813810C6 A311
813810C8 9AD1
813810CA 8A4D
813810CC 820B
813810CE 79CB
813810D0 6149
813810D2 48C5
813810D4 2801
813810D6 1001
813810D8 FCA1
813810DA FA9D
813810DC F909
813810DE 5221
813810E0 DD23
813810E2 BC1B
813810E4 AB55
813810E6 9AD1
813810E8 9291
813810EA 820D
813810EC 79C9
813810EE 7189
813810F0 5907
813810F2 4083
813810F4 2001
813810F6 0843
813810F8 FCA1
813810FA FA9D
813810FC F909
813810FE 5221
81381100 A4A1
81381102 9BD9
81381104 8313
81381106 728F
Part 2
81381108 6A4F
8138110A 59CB
8138110C 5187
8138110E 4947
81381110 38C5
81381112 2845
81381114 0801
81381116 0801
81381118 FCA1
8138111A FA9D
8138111C F909
8138111E 5221
81381120 B45D
81381122 9355
81381124 828F
81381126 720B
81381128 69CB
8138112A 5947
8138112C 5103
8138112E 48C3
81381130 3843
81381132 2803
81381134 0801
81381136 0801
81381138 FCA1
8138113A FA9D
8138113C F909
8138113E 5221
81381140 F357
81381142 D2D3
81381144 BA51
81381146 9A0D
81381148 818B
8138114A 6909
8138114C 48C5
8138114E 3043
81381150 1801
81381152 0000
81381154 8A91
81381156 B357
81381158 A293
8138115A 920F
8138115C 818B
8138115E 0001
81381160 0001
81381162 0001
81381164 0001
81381166 0001
81381168 0001
8138116A 0001
8138116C 0001
8138116E 0001
81381170 0001
81381172 0001
81381174 0001
81381176 0001
81381178 0001
8138117A 0001
8138117C 0001
8138117E 0001
81381180 0001
81381182 0001
81381184 0001
81381186 0001
81381188 0001
8138118A 0001
8138118C 0001
8138118E 0001
81381190 0001
81381192 0001
81381194 0001
81381196 0001
81381198 0001
8138119A 0001
8138119C 0001
8138119E 0001
813811A0 0001
813811A2 0001
813811A4 0001
813811A6 0001
813811A8 0001
813811AA 0001
813811AC 0001
813811AE 0001
813811B0 0001
813811B2 0001
813811B4 0001
813811B6 0001
813811B8 0001
813811BA 0001
813811BC 0001
813811BE 0001
813811C0 6905
813811C2 B085
813811C4 A085
813811C6 9885
813811C8 9085
813811CA 8885
813811CC 8885
813811CE 6885
Part 3
813811D0 6085
813811D2 5885
813811D4 4885
813811D6 0000
813811D8 0000
813811DA 0000
813811DC 0000
813811DE 0000
813811E0 0001
813811E2 0001
813811E4 0001
813811E6 0001
813811E8 0001
813811EA 0001
813811EC 0001
813811EE 0001
813811F0 0001
813811F2 0001
813811F4 0001
813811F6 0001
813811F8 0001
813811FA 0001
813811FC 0001
813811FE 0001
81381200 0001
81381202 0001
81381204 0001
81381206 0001
81381208 0001
8138120A 0001
8138120C 0001
8138120E 0001
81381210 0001
81381212 0001
81381214 0001
81381216 0001
81381218 0001
8138121A 0001
8138121C 0001
8138121E 0001
81381220 0001
81381222 0001
81381224 0001
81381226 0001
81381228 0001
8138122A 0001
8138122C 0001
8138122E 0001
81381230 0001
81381232 0001
81381234 0001
81381236 0001
81381238 0001
8138123A 0001
8138123C 0001
8138123E 0001
81381240 8016
81381242 F000
81381244 0000
81381246 0082
81381248 0000
8138124A 0000
8138124C CAFE
8138124E 4ABE
81381250 1F3F
81381252 0100
81381254 0101
81381256 0506
Now you can add these codes to PJ64
Next use this code to move the graphics pointer for specific wrestler and all 4 players
D0045845 002A
D1077794 XXXX
810A59A8 8037
D0045845 002A
D1077794 XXXX
810A59AA FF68
D0045845 002A
D1077794 XXXX
81366A2C 8037
D0045845 002A
D1077794 XXXX
81366A2E FF68
D0045845 002A
D1077796 XXXX
810A5F58 8038
D0045845 002A
D1077796 XXXX
810A5F5A 0000
D0045845 002A
D1077796 XXXX
813696BC 8038
D0045845 002A
D1077796 XXXX
813696BE 0000
D0045845 002A
D1077798 XXXX
810A6508 8038
D0045845 002A
D1077798 XXXX
810A650A 0098
D0045845 002A
D1077798 XXXX
8136C34C 8038
D0045845 002A
D1077798 XXXX
8136C34E 0098
D0045845 002A
D107779A XXXX
810A6AB8 8038
D0045845 002A
D107779A XXXX
810A6ABA 0130
D0045845 002A
D107779A XXXX
8136EFDC 8038
D0045845 002A
D107779A XXXX
8136EFDE 0130
Replace XXXX with your wrestler ID
Run a match with this wrestler and go to 800A59A4 to see the result
As seen on the pictures above the graphic pointer for P1 is now 8037FF68 and the graphic pointer for P2 is 80380000, and they would ALWAYS be like that for the wrestlers you used the graphic pointer modifier code I've put above.
Now that the graphic pointer as been moved to a fixed point you would need to change the palette for when the mask ripping animation is playing.
Here are some addresses (in-match) that are/may be needed
- Spoiler:
D0099615 If P1's Hair is
D0099729 If P2's Hair is
D009983D If P3's Hair is
D0099951 If P4's Hair is
D0099621 If P1 Hat Color is
D0099735 If P2 Hat Color is
D0099849 If P3 Hat Color is
D009995D If P4 Hat Color is
D0099616 If P1 Facial Hair is
D009972A If P2 Facial Hair is
D009983E If P3 Facial Hair is
D0099952 If P4 Facial Hair is
My Tiger Mask III hair color is Red and wear a Light Gold Hat so
D0099729 008E (When P2's Hair is Short 3, Red)
D0099735 0005 (When P2's Hat Color is Light Gold)
008E is Red Short Hair 3
0005 is Light Gold Color
So my codes are
P1
D1077794 0102 -> (When P1 is X-Pac/Koji Kanemoto/Tiger Mask III)
D0099621 0005 -> (When P1's Hat Color is Light Gold)
D0099615 008E -> (When P1's Hair is Short 3 Red)
D106B460 00FD -> (When P1 is getting Mask Ripped)
D106B462 093C -> (When P1 is getting Mask Ripped)
8137FF94 8038 -> (P1's Face palette change)
D1077794 0102 -> (When P1 is X-Pac/Koji Kanemoto/Tiger Mask III)
D0099621 0005 -> (When P1's Hat Color is Light Gold)
D0099615 008E -> (When P1's Hair is Short 3 Red)
D106B460 00FD -> (When P1 is getting Mask Ripped)
D106B462 093C -> (When P1 is getting Mask Ripped)
8137FF96 1041 -> (P1's Face palette change)
P2
D1077796 0102
D0099735 0005
D0099729 008E
D106B520 00FD
D106B522 093C
8138002C 8038
D1077796 0102
D0099735 0005
D0099729 008E
D106B520 00FD
D106B522 093C
8138002E 1041
P3
D1077798 0102
D0099849 0005
D009983D 008E
D106B5E0 00FD
D106B5E2 093C
813800C4 8038
D1077798 0102
D0099849 0005
D009983D 008E
D106B5E0 00FD
D106B5E2 093C
813800C6 1041
P4
D107779A 0102
D009995D 0005
D0099951 008E
D106B6A0 00FD
D106B6A2 093C
8138015C 8038
D107779A 0102
D009995D 0005
D0099951 008E
D106B6A0 00FD
D106B6A2 093C
8138015E 1041
Also I did make sure to move the face palette to 80381041 instead of 80381040 to generate a very new texture which I had to retexture as the mask ripped face
Final Result
- Spoiler - Final Result:
Now that's it! Plus you're wrestler can bleed!
Please tell me if you're facing any glitch or screw anything using this method. Also feel free to PM me if you're stuck somewhere.