1
0
Fork 0

add PatternSelector and drawText

This commit is contained in:
sup39 2022-04-25 20:36:39 +09:00
parent 8b4d6e715a
commit 3c38fb4535
20 changed files with 545 additions and 12 deletions

View file

@ -1,3 +1,4 @@
$ Fast Forward (v0.1.0, 2022/04/09) [sup39]
020ecde2 00000258
28400D50 00000204
020ecde2 00000960

View file

@ -1,3 +1,4 @@
$ Instant Restart (v0.1.1, 2022/04/25) [sup39]
C20EAFA0 00000009
3C608040 A0A30D50
28050808 40A20030

View file

@ -0,0 +1,94 @@
$ Pattern Selector (v0.2.2, 2022/04/25) [sup39]
0424F324 7FE6FB78
0420675C 495F2A59
0424F32C 495A9D6D
077F9000 000002C5
3D208040 A1290D50
7C091800 4CA20020
3D008180 394892C8
A10892C8 7D294079
4D820020 892A0002
7C892214 548407BE
988A0002 4E800020
3D208040 A1490D50
7C0A1800 4CA20020
3D008180 392892C8
A10892C8 7D4A4079
4D820020 89490002
2C0A0003 40A2000C
39400000 99490002
89490002 7D295214
89490004 7D4A2214
38800005 7C8A23D6
1C840005 7C845050
98890004 4E800020
81460000 3D20803E
392987C0 7C0A4800
40A2008C 81260004
89290013 28090031
4182005C 28090032
41820034 28090030
40A20044 2C040021
3D208180 890992CD
418200C4 2C040026
418200C4 2C04001D
40A20024 39200004
48000068 2C04001D
3D208180 890992CC
4182008C 2C040021
4182008C 38C0FFFF
4AA67114 2C040002
3D208180 890992CE
4182008C 2C040008
40A2FFE4 39200005
48000028 3D20803E
3929A9C0 7C0A4800
4082FFCC 2C05FFFF
4082FFC4 3D208180
890992CC 39200007
2C080000 41A2FFB0
3D408180 5529103A
394A92A5 7D2A4A14
7D294214 8929FFFF
7D290774 2C09FFFF
41A2FF8C 7D234B78
4E800020 39200001
4BFFFFC8 39200000
4BFFFFC0 39200003
4BFFFFB8 39200002
4BFFFFB0 39200006
4BFFFFA8 9421FFE0
7C0802A6 90010024
BFC10018 7C7F1B78
4A83C061 38800001
38600042 3FC08180
4BFFFE29 38800003
38600041 4BFFFE1D
38800001 38600048
4BFFFE49 38800004
38600044 4BFFFE3D
391E92C8 89480002
3D202320 61292020
38600010 214A0003
38E0FFFF 554A1838
38C0FFFF 5D29503E
89480006 38A00014
38800140 91410014
552A063E 91410010
89480005 9141000C
552AC63E 91410008
5529863E 89480004
3D008180 39089290
4CC63182 4BFF6FD5
3D208040 A1290D50
7FE3FB78 80010024
B13E92C8 83E1001C
7C0803A6 83C10018
38210020 4A83BF9C
50617474 65726E20
25632558 25632558
25632558 00452020
FFFF621C FF502525
25FF4520 20FFFF62
1C510707 FFFF3601
FF1E6E20 FF000000

View file

@ -1,4 +1,4 @@
$ Skip intro cutscenes (v0.1.0, 2022/03/10) [sup39]
$ Skip Stage Intro (v0.1.0, 2022/03/10) [sup39]
28400D50 00000028
C20ECF14 00000005
899A0064 2C0C0001

36
NTSC-J_1.0/drawText.txt Normal file
View file

@ -0,0 +1,36 @@
$ drawText (v0.2.1, 2022/03/25) [sup39]
077F0238 00000110
9421FED8 7C0802A6
BF810118 7C7F1B78
9001012C 7C9E2378
90C100B8 7CBD2B78
90E100BC 7D1C4378
912100C0 914100C4
40860024 D82100C8
D84100D0 D86100D8
D88100E0 D8A100E8
D8C100F0 D8E100F8
D9010100 39200600
390100BC B12100A0
39210130 912100A4
392100A8 912100A8
808D97F8 38E100B8
7FA6EB78 38A00000
38610008 6FDE8000
4A826AF5 3D204330
91210108 3D40817F
93C1010C 6FFF8000
C00A0344 38610070
C9810108 91210110
3D20817F 93E10114
FC4C0028 C0690340
C9810110 93A10064
FC2C0028 93A10060
4A8A43E9 38800000
38610070 4A8BD419
38C100A0 7F85E378
388000FF 38610008
4A826951 BB810118
38210128 80010004
7C0803A6 4E800020
00000000 59800004

View file

@ -1,6 +1,7 @@
$ Fast forward (v0.1.0, 2022/04/25) [sup39]
0227950E 00000258
283F5428 00000204
0227950E 00000960
283F5429 00000208
0227950E 000012C0
E0000000 00000000
E0000000 00000000

View file

@ -1,3 +1,4 @@
$ Instart Restart (v0.1.3, 2022/04/25) [sup39]
C227768C 00000009
3C60803F A0A35428
28050808 40A20030

View file

@ -0,0 +1,94 @@
$ Pattern Selector (v0.2.2, 2022/04/25) [sup39]
040278F8 7FE6FB78
041252C8 496D3EED
04027900 497D1799
077F9000 000002C5
3D20803F A1295428
7C091800 4CA20020
3D008180 394892C8
A10892C8 7D294079
4D820020 892A0002
7C892214 548407BE
988A0002 4E800020
3D20803F A1495428
7C0A1800 4CA20020
3D008180 392892C8
A10892C8 7D4A4079
4D820020 89490002
2C0A0003 40A2000C
39400000 99490002
89490002 7D295214
89490004 7D4A2214
38800005 7C8A23D6
1C840005 7C845050
98890004 4E800020
81460000 3D20803A
39294B80 7C0A4800
40A2008C 81260004
89290013 28090031
4182005C 28090032
41820034 28090030
40A20044 2C040021
3D208180 890992CD
418200C4 2C040026
418200C4 2C04001D
40A20024 39200004
48000068 2C04001D
3D208180 890992CC
4182008C 2C040021
4182008C 38C0FFFF
4A83F574 2C040002
3D208180 890992CE
4182008C 2C040008
40A2FFE4 39200005
48000028 3D20803A
39296D70 7C0A4800
4082FFCC 2C05FFFF
4082FFC4 3D208180
890992CC 39200007
2C080000 41A2FFB0
3D408180 5529103A
394A92A5 7D2A4A14
7D294214 8929FFFF
7D290774 2C09FFFF
41A2FF8C 7D234B78
4E800020 39200001
4BFFFFC8 39200000
4BFFFFC0 39200003
4BFFFFB8 39200002
4BFFFFB0 39200006
4BFFFFA8 9421FFE0
7C0802A6 90010024
BFC10018 7C7F1B78
4AAD1D05 38800001
38600042 3FC08180
4BFFFE29 38800003
38600041 4BFFFE1D
38800001 38600048
4BFFFE49 38800004
38600044 4BFFFE3D
391E92C8 89480002
3D202320 61292020
38600010 214A0003
38E0FFFF 554A1838
38C0FFFF 5D29503E
89480006 38A00014
38800140 91410014
552A063E 91410010
89480005 9141000C
552AC63E 91410008
5529863E 89480004
3D008180 39089290
4CC63182 4BFF6FD5
3D20803F A1295428
7FE3FB78 80010024
B13E92C8 83E1001C
7C0803A6 83C10018
38210020 4AAD1C40
50617474 65726E20
25632558 25632558
25632558 00452020
FFFF621C FF502525
25FF4520 20FFFF62
1C510707 FFFF3601
FF1E6E20 FF000000

View file

@ -1,4 +1,4 @@
$ Skip intro cutscenes (v0.1.0, 2022/04/25) [sup39]
$ Skip Stage Intro (v0.1.0, 2022/04/25) [sup39]
283F5428 00000028
C2279640 00000005
899A0064 2C0C0001

36
NTSC-J_1.1/drawText.txt Normal file
View file

@ -0,0 +1,36 @@
$ drawText (v0.2.1, 2022/04/11) [sup39]
077F0238 00000110
9421FED8 7C0802A6
BF810118 7C7F1B78
9001012C 7C9E2378
90C100B8 7CBD2B78
90E100BC 7D1C4378
912100C0 914100C4
40860024 D82100C8
D84100D0 D86100D8
D88100E0 D8A100E8
D8C100F0 D8E100F8
D9010100 39200600
390100BC B12100A0
39210130 912100A4
392100A8 912100A8
808D9E88 38E100B8
7FA6EB78 38A00000
38610008 6FDE8000
4AABD249 3D204330
91210108 3D40817F
93C1010C 6FFF8000
C00A0344 38610070
C9810108 91210110
3D20817F 93E10114
FC4C0028 C0690340
C9810110 93A10064
FC2C0028 93A10060
4AB393C9 38800000
38610070 4AB523F9
38C100A0 7F85E378
388000FF 38610008
4AABD0A5 BB810118
38210128 80010004
7C0803A6 4E800020
00000000 59800004

View file

@ -1,3 +1,4 @@
$ Instart Restart (v0.1.3, 2022/04/25) [sup39]
C22979E4 00000009
3C608040 A0A34454
28050808 40A20030

View file

@ -0,0 +1,94 @@
$ Pattern Selector (v0.2.2, 2022/04/25) [sup39]
0403B6F4 7FE6FB78
04143F3C 496B5279
0403B6FC 497BD99D
077F9000 000002C5
3D208040 A1294454
7C091800 4CA20020
3D008180 394892C8
A10892C8 7D294079
4D820020 892A0002
7C892214 548407BE
988A0002 4E800020
3D208040 A1494454
7C0A1800 4CA20020
3D008180 392892C8
A10892C8 7D4A4079
4D820020 89490002
2C0A0003 40A2000C
39400000 99490002
89490002 7D295214
89490004 7D4A2214
38800005 7C8A23D6
1C840005 7C845050
98890004 4E800020
81460000 3D20803B
39293F88 7C0A4800
40A2008C 81260004
89290013 28090031
4182005C 28090032
41820034 28090030
40A20044 2C040021
3D208180 890992CD
418200C4 2C040026
418200C4 2C04001D
40A20024 39200004
48000068 2C04001D
3D208180 890992CC
4182008C 2C040021
4182008C 38C0FFFF
4A853FC4 2C040002
3D208180 890992CE
4182008C 2C040008
40A2FFE4 39200005
48000028 3D20803B
39296178 7C0A4800
4082FFCC 2C05FFFF
4082FFC4 3D208180
890992CC 39200007
2C080000 41A2FFB0
3D408180 5529103A
394A92A5 7D2A4A14
7D294214 8929FFFF
7D290774 2C09FFFF
41A2FF8C 7D234B78
4E800020 39200001
4BFFFFC8 39200000
4BFFFFC0 39200003
4BFFFFB8 39200002
4BFFFFB0 39200006
4BFFFFA8 9421FFE0
7C0802A6 90010024
BFC10018 7C7F1B78
4AAF24F5 38800001
38600042 3FC08180
4BFFFE29 38800003
38600041 4BFFFE1D
38800001 38600048
4BFFFE49 38800004
38600044 4BFFFE3D
391E92C8 89480002
3D202320 61292020
38600010 214A0003
38E0FFFF 554A1838
38C0FFFF 5D29503E
89480006 38A00014
38800140 91410014
552A063E 91410010
89480005 9141000C
552AC63E 91410008
5529863E 89480004
3D008180 39089290
4CC63182 4BFF6FD5
3D208040 A1294454
7FE3FB78 80010024
B13E92C8 83E1001C
7C0803A6 83C10018
38210020 4AAF2430
50617474 65726E20
25632558 25632558
25632558 00452020
FFFF621C FF502525
25FF4520 20FFFF62
1C510707 FFFF3601
FF1E6E20 FF000000

View file

@ -1,4 +1,4 @@
$ Skip intro cutscenes (v0.1.0, 2022/04/25) [sup39]
$ Skip Stage Intro (v0.1.0, 2022/04/25) [sup39]
28404454 00000028
C2299990 00000005
899A0064 2C0C0001

36
NTSC-U/drawText.txt Normal file
View file

@ -0,0 +1,36 @@
$ drawText (v0.2.1, 2022/04/11) [sup39]
077F0238 00000110
9421FED8 7C0802A6
BF810118 7C7F1B78
9001012C 7C9E2378
90C100B8 7CBD2B78
90E100BC 7D1C4378
912100C0 914100C4
40860024 D82100C8
D84100D0 D86100D8
D88100E0 D8A100E8
D8C100F0 D8E100F8
D9010100 39200600
390100BC B12100A0
39210130 912100A4
392100A8 912100A8
808D9FC8 38E100B8
7FA6EB78 38A00000
38610008 6FDE8000
4AADDA39 3D204330
91210108 3D40817F
93C1010C 6FFF8000
C00A0344 38610070
C9810108 91210110
3D20817F 93E10114
FC4C0028 C0690340
C9810110 93A10064
FC2C0028 93A10060
4AB59AC9 38800000
38610070 4AB72AF9
38C100A0 7F85E378
388000FF 38610008
4AADD895 BB810118
38210128 80010004
7C0803A6 4E800020
00000000 59800004

View file

@ -1,3 +1,4 @@
$ Instart Restart (v0.1.3, 2022/04/25) [sup39]
C228F87C 00000009
3C608040 A0A3BBF4
28050808 40A20030

94
PAL/PatternSelector.txt Normal file
View file

@ -0,0 +1,94 @@
$ Pattern Selector (v0.2.2, 2022/04/25) [sup39]
0403B544 7FE6FB78
04138B78 496C063D
0403B54C 497BDB4D
077F9000 000002C5
3D208040 A129BBF4
7C091800 4CA20020
3D008180 394892C8
A10892C8 7D294079
4D820020 892A0002
7C892214 548407BE
988A0002 4E800020
3D208040 A149BBF4
7C0A1800 4CA20020
3D008180 392892C8
A10892C8 7D4A4079
4D820020 89490002
2C0A0003 40A2000C
39400000 99490002
89490002 7D295214
89490004 7D4A2214
38800005 7C8A23D6
1C840005 7C845050
98890004 4E800020
81460000 3D20803B
3929BDA8 7C0A4800
40A2008C 81260004
89290013 28090031
4182005C 28090032
41820034 28090030
40A20044 2C040021
3D208180 890992CD
418200C4 2C040026
418200C4 2C04001D
40A20024 39200004
48000068 2C04001D
3D208180 890992CC
4182008C 2C040021
4182008C 38C0FFFF
4A853118 2C040002
3D208180 890992CE
4182008C 2C040008
40A2FFE4 39200005
48000028 3D20803B
3929DF98 7C0A4800
4082FFCC 2C05FFFF
4082FFC4 3D208180
890992CC 39200007
2C080000 41A2FFB0
3D408180 5529103A
394A92A5 7D2A4A14
7D294214 8929FFFF
7D290774 2C09FFFF
41A2FF8C 7D234B78
4E800020 39200001
4BFFFFC8 39200000
4BFFFFC0 39200003
4BFFFFB8 39200002
4BFFFFB0 39200006
4BFFFFA8 9421FFE0
7C0802A6 90010024
BFC10018 7C7F1B78
4AAEA69D 38800001
38600042 3FC08180
4BFFFE29 38800003
38600041 4BFFFE1D
38800001 38600048
4BFFFE49 38800004
38600044 4BFFFE3D
391E92C8 89480002
3D202320 61292020
38600010 214A0003
38E0FFFF 554A1838
38C0FFFF 5D29503E
89480006 38A00014
38800140 91410014
552A063E 91410010
89480005 9141000C
552AC63E 91410008
5529863E 89480004
3D008180 39089290
4CC63182 4BFF6FD5
3D208040 A129BBF4
7FE3FB78 80010024
B13E92C8 83E1001C
7C0803A6 83C10018
38210020 4AAEA5D8
50617474 65726E20
25632558 25632558
25632558 00452020
FFFF621C FF502525
25FF4520 20FFFF62
1C510707 FFFF3601
FF1E6E20 FF000000

View file

@ -1,4 +1,4 @@
$ Skip intro cutscenes (v0.1.0, 2022/04/25) [sup39]
$ Skip Stage Intro (v0.1.0, 2022/04/25) [sup39]
283FBBF4 00000028
C2291828 00000005
899A0064 2C0C0001

36
PAL/drawText.txt Normal file
View file

@ -0,0 +1,36 @@
$ drawText (v0.2.1, 2022/04/11) [sup39]
077F0238 00000110
9421FED8 7C0802A6
BF810118 7C7F1B78
9001012C 7C9E2378
90C100B8 7CBD2B78
90E100BC 7D1C4378
912100C0 914100C4
40860024 D82100C8
D84100D0 D86100D8
D88100E0 D8A100E8
D8C100F0 D8E100F8
D9010100 39200600
390100BC B12100A0
39210130 912100A4
392100A8 912100A8
808D9EF0 38E100B8
7FA6EB78 38A00000
38610008 6FDE8000
4AAD5ACD 3D204330
91210108 3D40817F
93C1010C 6FFF8000
C00A0344 38610070
C9810108 91210110
3D20817F 93E10114
FC4C0028 C0690340
C9810110 93A10064
FC2C0028 93A10060
4AB51D25 38800000
38610070 4AB6AD19
38C100A0 7F85E378
388000FF 38610008
4AAD5929 BB810118
38210128 80010004
7C0803A6 4E800020
00000000 59800004

View file

@ -2,27 +2,34 @@
## List of codes
||NTSC-J 1.0|NTSC-J 1.1|NTSC-U|PAL|
|-|:-:|:-:|:-:|:-:|
|[Instant restart](#instant-restart)|◎|◎|||
|[Fast forward](#skip-intro-cutscenes)|◎|◎|||
|[Skip intro cutscenes](#skip-intro-cutscenes)|◎|◎|||
|[Pattern Selector](#pattern-selector)|◎|◎|||
|[Instant Restart](#instant-restart)|◎|◎|||
|[Fast Forward](#fast-forward)|◎|◎|||
|[Skip Stage Intro](#skip-stage-intro)|◎|◎|||
◎: tested by sup39
: tested by others
: untested
## Usage
### Instant restart
### Pattern Selector
- [Usage](https://gct.zint.ch/code-reference/#pattern-selector)
- [Source code](https://github.com/sup39/SMS-PatternSelector)
Note: **you need to enable `drawText` as well**
### Instant Restart
- press `Y + D-Pad Up` to restart without pausing + exit area
You can change the `0808` in the 3rd line to the button input value you want.
### Fast forward
### Fast Forward
- press `B + D-Pad Down` to fast forward 4x
- press `B + D-Pad Up` to fast forward 8x (Note: this may cause lag)
This code handles QFT (but not SGT) properly.
### Skip intro cutscenes
### Skip Intro Cutscenes
- press `R + D-Pad Up` to enable
- press `R + D-Pad Down` to disable
@ -32,4 +39,4 @@ but without being rendered on the screen.
This code also handles QFT (but not SGT) properly just like the [Fast forward](#fast-forward) code.
Note: **You may want to disable it when you are in secret stage and Bowser fight.**
Note: **You may need to disable it manually when you are in secret stage and Bowser fight.**