Select any Mii in Character Selection Screen (Single Player Menus) [B_squo]
#1
Select any Mii in Character Selection Screen (Single Player Menus) [B_squo]

Video

With this mod, when selecting a Mii in the character selection screen, you will be able to select any Mii from your console / a Guest Mii by bringing up the selection menu typically only used in Local multiplayer.
This code is offline-only, at least temporarily, in order to prevent situations where the player's Mii name would not match the Mii name seen by the Wiimmfi server, which according to that server's rules, it's banworthy.

The Gecko code itself won't work as is. You have to copy some specific files from MenuMulti.szs to MenuSingle.szs and Event.szs (otherwise the game will crash).

The following BRCTRs must be present in those files:
  • /button/ctrl/MiiSelectArrowLeft.brctr
  • /button/ctrl/MiiSelectArrowRight.brctr
  • /button/ctrl/MiiSelectMii.brctr
  • /button/ctrl/Back.brctr
  • /control/ctrl/MiiBlackBack.brctr
  • /control/ctrl/MiiSelectName.brctr
  • /control/ctrl/TabControlMiiSelect.brctr
  • /bg/ctrl/MenuObiBottom.brctr
  • /bg/ctrl/MenuObiTop.brctr

Their associated BRLYTs and TPLs must also be present, in the respective /blyt and /timg folders.
If you don't want to be copying the exact files over, you can just copy the entire /bg , /button and /control folders from MenuMulti.szs to the other files, without overwriting the files with the same name, with the exception of Back.brctr, MenuObiBottom.brctr and MenuObiTop.brctr .
Those three files must be replaced with the ones from MenuMulti.szs.

Here you have example patches for patching both files so that they're compatible with the Gecko code.


(PAL)
0462D32C 4B9D3485
0462D470 4B9D3341
0462D5B4 4B9D31FD
0462D800 4B9D2FB1
0462D86C 4B9D2F45
0462D8D8 4B9D2ED9
0462D944 4B9D2E6D
0462F684 4B9D112D
0462F768 4B9D1049
0462F840 4B9D0F71
0462FC3C 4B9D0B75
0462FCB4 4B9D0AFD
060007B0 0000002C
9421FFF0 7C0802A6
90010014 7FE3FB78
38800060 48622545
7FE3FB78 80010014
7C0803A6 38210010
4E800020 00000000
C2847E84 00000003
2C000045 41820010
2C000046 41820008
2C000047 00000000
04847E88 41820020
04847ED4 60000000
048315B8 60000000
04848858 48000044
04848950 480000F4
0459E3B0 60000000
047E3BB0 60000000
047E3928 60000000
0483E354 38600000

(USA)
045fc478 4ba04339
045fc5bc 4ba041f5
045fc700 4ba040b1
045fc94c 4ba03e65
045fc9b8 4ba03df9
045fca24 4ba03d8d
045fca90 4BA03D21
045fe7d0 4BA01fe1
045fe8b4 4BA01efd
045fe98c 4BA01e25
045fed88 4BA01a29
045fee00 4BA019b1
060007B0 0000002C
9421FFF0 7C0802A6
90010014 7FE3FB78
38800060 485f1691
7FE3FB78 80010014
7C0803A6 38210010
4E800020 00000000
C282afac 00000003
2C000045 41820010
2C000046 41820008
2C000047 00000000
0482afb0 41820020
0482affc 60000000
0484e290 60000000
0482b980 48000044
0482ba78 480000F4
045b3398 60000000
047ddb20 60000000
047dd898 60000000
048238f4 38600000

Known bugs:

When going back to the Time Trial course selection screen (by clicking on Change Course during gameplay), your selected Mii will revert back to your License's Mii, and sometimes the vehicle model will become invisible.
If you selected a Mii with different weight class than your License's Mii, you will be able to select their vehicles if you go back to the vehicle selection screen, and play with them just fine.
This is temporarily though, when you go back to the character selection screen, select your desired Mii again and it will be fixed, or just exit to the main menu.

Documentation (PAL)
Code:
Add Mii Selection page to the sections that have the Character Select page
0462D32C 4B9D3485
0462D470 4B9D3341
0462D5B4 4B9D31FD
0462D800 4B9D2FB1
0462D86C 4B9D2F45
0462D8D8 4B9D2ED9
0462D944 4B9D2E6D
0462F684 4B9D112D
0462F768 4B9D1049
0462F840 4B9D0F71
0462FC3C 4B9D0B75
0462FCB4 4B9D0AFD

Small function that adds the Mii Selection page. Accessed from the branches in the lines above. Uses addresses 0x800007B0 thru 0x800007E0
060007B0 0000002C
9421FFF0 7C0802A6
90010014 7FE3FB78
38800060 48622545
7FE3FB78 80010014
7C0803A6 38210010
4E800020 00000000

Don't add extra buttons if going to the License settings / Mii Select on create / Mii Select on deleted Mii pages. This avoids a crash due to missing resources in MenuOther.szs, used by said pages.
04847E84 2C000054
C2847E84 00000003
2C000045 41820010
2C000046 41820008
2C000047 00000000
04847E88 41820020

Remove local multiplayer-only checks so that they pass if accessing other sections.
04847ED4 60000000
048315B8 60000000
04848858 48000044
04848950 480000F4
0459E3B0 60000000

The game crashes when selecting a Mii here because of a missing pane named ok_text_Xp (where X is a local player number). I wasn't able to fix this on time, so at the moment I skip this to avoid the crash, but has the side effect of not displaying the small "OK" text in in front of the Mii icon
047E3BB0 60000000

Allow loading the Mii Selection page instead of simply choosing the Mii when in single player modes
047E3928 60000000

Fixes an issue where selecting a Mii would then load the License's Mii data back
0483E354 38600000
Reply
#2
Moved thread to this subforum because its currently missing JPN and KOR ports.
Reply
#3
NTSC-J
0462CA78 4B9D3D39
0462CBBC 4B9D3BF5
0462CD00 4B9D3AB1
0462CF4C 4B9D3865
0462CFB8 4B9D37F9
0462D024 4B9D378D
0462D090 4B9D3721
0462EDD0 4B9D19E1
0462EEB4 4B9D18FD
0462EF8C 4B9D1825
0462F388 4B9D1429
0462F400 4B9D13B1
060007B0 0000002C
9421FFF0 7C0802A6
90010014 7FE3FB78
38800060 48621C91
7FE3FB78 80010014
7C0803A6 38210010
4E800020 00000000
C28474f0 00000003
2C000045 41820010
2C000046 41820008
2C000047 00000000
048474f4 41820020
04847540 60000000
04830c24 60000000
04847ec4 48000044
04847fbc 480000F4
0459dd30 60000000
047e321c 60000000
047e2f94 60000000
0483d9c0 38600000

NTSC-K
0461B724 4B9E508D
0461B868 4B9E4F49
0461B9AC 4B9E4E05
0461BBF8 4B9E4BB9
0461BC64 4B9E4B4D
0461BCD0 4B9E4AE1
0461BD3C 4B9E4A75
0461DA7C 4B9E2D35
0461DB60 4B9E2C51
0461DC38 4B9E2B79
0461E034 4B9E277D
0461E0AC 4B9E2705
060007B0 0000002C
9421FFF0 7C0802A6
90010014 7FE3FB78
38800060 4861093D
7FE3FB78 80010014
7C0803A6 38210010
4E800020 00000000
C2836244 00000003
2C000045 41820010
2C000046 41820008
2C000047 00000000
04836248 41820020
04836294 60000000
0481f978 60000000
04836c18 48000044
04836d10 480000F4
0458c408 60000000
047d1f70 60000000
047d1ce8 60000000
0482c714 38600000

Was bored so why not lol
Reply
#4
Ty for the ports. Thread moved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)