03-31-2020, 04:36 AM
Skip License Screen [TheLordScruffy]
This code skips the license select screen and automatically selects the specified license (check "license" in ASM source). It makes it impossible to access the Options menu. It will also prompt you to make a new license if the selected one is blank.
NTSC-U
C2609C98 00000007
3FC0809C 83DED508
83DE0000 807E019C
38830468 3D808063
618C2A78 7D8903A6
4E800421 807E019C
80031308 3C808089
60000000 00000000
04633078 38000057
0483209C 38800057
045FF74C 38800057
NTSC-J
C263A724 00000007
3FC0809C 83DE0E98
83DE0000 807E019C
38830468 3D80805E
618CB07C 7D8903A6
4E800421 807E019C
80031308 3C808089
60000000 00000000
0462FD4C 38800057
04850D1C 38800057
045EB67C 38000057
PAL
C263B038 00000007
3FC0809C 83DE1E38
83DE0000 807E019C
38830468 3D80805E
618CB7A0 7D8903A6
4E800421 807E019C
80031308 3C80808A
60000000 00000000
04630600 38800057
048516B0 38800057
045EBDA0 38000057
NTSC-K
C26293D0 00000007
3FC0809B 83DE0478
83DE0000 807E019C
38830468 3D80805D
618C993C 7D8903A6
4E800421 807E019C
80031308 3C808088
60000000 00000000
0461E9F8 38800057
0483FA70 38800057
045D9F3C 38000057
Assembly Source:
#NTSC-U:
.set button_event, 0x80632A78
.set menudata, 0x809BD508
.set endload, 0x8089
#NTSC-J:
.set button_event, 0x805EB07C
.set menudata, 0x809C0E98
.set endload, 0x8089
#PAL:
.set button_event, 0x805EB7A0
.set menudata, 0x809C1E38
.set endload, 0x808A
#NTSC-K:
.set button_event, 0x805D993C
.set menudata, 0x809B0478
.set endload, 0x8088
{
#Insert
#NTSC-U: 0x80609C98
#NTSC-J: 0x8063A724
#PAL: 0x8063B038
#NTSC-K: 0x806293D0
#
.set license, 0 #set this to the license ID
lis r30, menudata@ha
lwz r30, menudata@l(r30)
lwz r30, 0(r30)
lwz r3, 0x19C(r30) #LicenseControl class
addi r4, r3, 0x468 + (0x254 * license)
lis r12, button_event@h
ori r12, r12, button_event@l
mtctr r12
bctrl
lwz r3, 0x19C(r30)
lwz r0, 0x1308(r3)
lis r4, endload
}
This code skips the license select screen and automatically selects the specified license (check "license" in ASM source). It makes it impossible to access the Options menu. It will also prompt you to make a new license if the selected one is blank.
NTSC-U
C2609C98 00000007
3FC0809C 83DED508
83DE0000 807E019C
38830468 3D808063
618C2A78 7D8903A6
4E800421 807E019C
80031308 3C808089
60000000 00000000
04633078 38000057
0483209C 38800057
045FF74C 38800057
NTSC-J
C263A724 00000007
3FC0809C 83DE0E98
83DE0000 807E019C
38830468 3D80805E
618CB07C 7D8903A6
4E800421 807E019C
80031308 3C808089
60000000 00000000
0462FD4C 38800057
04850D1C 38800057
045EB67C 38000057
PAL
C263B038 00000007
3FC0809C 83DE1E38
83DE0000 807E019C
38830468 3D80805E
618CB7A0 7D8903A6
4E800421 807E019C
80031308 3C80808A
60000000 00000000
04630600 38800057
048516B0 38800057
045EBDA0 38000057
NTSC-K
C26293D0 00000007
3FC0809B 83DE0478
83DE0000 807E019C
38830468 3D80805D
618C993C 7D8903A6
4E800421 807E019C
80031308 3C808088
60000000 00000000
0461E9F8 38800057
0483FA70 38800057
045D9F3C 38000057
Assembly Source:
#NTSC-U:
.set button_event, 0x80632A78
.set menudata, 0x809BD508
.set endload, 0x8089
#NTSC-J:
.set button_event, 0x805EB07C
.set menudata, 0x809C0E98
.set endload, 0x8089
#PAL:
.set button_event, 0x805EB7A0
.set menudata, 0x809C1E38
.set endload, 0x808A
#NTSC-K:
.set button_event, 0x805D993C
.set menudata, 0x809B0478
.set endload, 0x8088
{
#Insert
#NTSC-U: 0x80609C98
#NTSC-J: 0x8063A724
#PAL: 0x8063B038
#NTSC-K: 0x806293D0
#
.set license, 0 #set this to the license ID
lis r30, menudata@ha
lwz r30, menudata@l(r30)
lwz r30, 0(r30)
lwz r3, 0x19C(r30) #LicenseControl class
addi r4, r3, 0x468 + (0x254 * license)
lis r12, button_event@h
ori r12, r12, button_event@l
mtctr r12
bctrl
lwz r3, 0x19C(r30)
lwz r0, 0x1308(r3)
lis r4, endload
}