add shared XML file
This commit is contained in:
parent
b5a40ab2f7
commit
b181045c55
6 changed files with 1011 additions and 308 deletions
973
codes/Common.xml
Normal file
973
codes/Common.xml
Normal file
|
@ -0,0 +1,973 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<codes>
|
||||
<code>
|
||||
<title lang="en-US">DPad Functions</title>
|
||||
<title lang="de-CH">DPad Funktionen</title>
|
||||
<author>Psychonauter, Noki Doki, Dan Salvato, Link Master, James0x57</author>
|
||||
<version>2.5</version>
|
||||
<description lang="en-US">
|
||||
Allows various game modifications through a set of button combinations:
|
||||
|
||||
| Combination | Result |
|
||||
| --------------- | ------------------------------------------- |
|
||||
| D-Pad Left | Save Mario's current position |
|
||||
| D-Pad Right | Load Mario's position |
|
||||
| D-Pad Up | Replace all dialog with a single "!!!" line |
|
||||
| D-Pad Down | Restore Dialog Boxes |
|
||||
| B + D-Pad Left | Lock Rocket Nozzle |
|
||||
| B + D-Pad Right | Lock Turbo Nozzle |
|
||||
| B + D-Pad Up | Lock Hover Nozzle |
|
||||
| B + D-Pad Down | Release Nozzle Lock |
|
||||
| X + D-Pad Left | No FLUDD in secrets |
|
||||
| X + D-Pad Right | FLUDD in all secrets |
|
||||
| X + D-Pad Down | FLUDD in completed secrets (default) |
|
||||
| X + D-Pad Up | Regrab last held object |
|
||||
</description>
|
||||
<description lang="de-CH">
|
||||
Erlaubt verschiedene Spiel-Modifikationen über das Drücken einer Tastenkombination:
|
||||
|
||||
| Kombination | Effekt |
|
||||
| --------------- | ------------------------------------------- |
|
||||
| D-Pad Left | Speichere Mario's aktuelle Position |
|
||||
| D-Pad Right | Lade Mario's Position |
|
||||
| D-Pad Up | Ersetze alle Dialoge mit einer "!!!" Linie |
|
||||
| D-Pad Down | Stelle alle Dialoge wieder her |
|
||||
| B + D-Pad Left | Sperre Raketendüse |
|
||||
| B + D-Pad Right | Sperre Turbodüse |
|
||||
| B + D-Pad Up | Sperre Schwebedüse |
|
||||
| B + D-Pad Down | Düsensperre freigeben |
|
||||
| X + D-Pad Left | Kein Dreckweg in geheimen Leveln |
|
||||
| X + D-Pad Right | Dreckweg in allen geheimen Leveln |
|
||||
| X + D-Pad Down | Dreckweg in komplettierten geheimen Leveln |
|
||||
| X + D-Pad Up | Hole das zuletzt gefasste Objekt zurück |
|
||||
</description>
|
||||
<date>Apr 3, 2019</date>
|
||||
<source version="GMSE01">
|
||||
2440E10C 80000000
|
||||
82200000 8040E10C
|
||||
80000001 817F0008
|
||||
82200002 8040E114
|
||||
82200003 8040D0A8
|
||||
86000003 000000A6
|
||||
28404455 00000001
|
||||
8A000C01 00000000
|
||||
8A000221 0000000C
|
||||
8A000631 0000000E
|
||||
28404455 00000002
|
||||
8A000C10 00000000
|
||||
8C000212 0000000C
|
||||
8C000613 0000000E
|
||||
28404455 00000004
|
||||
04153DA0 801C0004
|
||||
0415317C A81C0340
|
||||
04291340 88030214
|
||||
28404455 00000008
|
||||
04153DA0 38000000
|
||||
0415317C 38005000
|
||||
04291340 60000000
|
||||
28404455 00000208
|
||||
04269F50 3BE00004
|
||||
28404455 00000204
|
||||
04269F50 8BFE1C85
|
||||
28404455 00000201
|
||||
04269F50 3BE00001
|
||||
28404455 00000202
|
||||
04269F50 3BE00005
|
||||
28404455 00000401
|
||||
041C0910 60000000
|
||||
04298B88 60000000
|
||||
28404455 00000402
|
||||
C61C0910 801C0928
|
||||
C6298B88 80298B9C
|
||||
28404455 00000404
|
||||
041C0910 40820018
|
||||
04298B88 40820014
|
||||
28404455 00000408
|
||||
48000000 8040E108
|
||||
1400007C 00000383
|
||||
E0000000 00000000
|
||||
048D3A3C 21000000
|
||||
0423F9D4 60000000
|
||||
</source>
|
||||
<source version="GMSJ01">
|
||||
2440A39C 80000000
|
||||
82200000 8040A39C
|
||||
80000001 817F0008
|
||||
82200002 8040A3A4
|
||||
82200003 8040B370
|
||||
86000003 000000A6
|
||||
28400D51 00000001
|
||||
8A000C01 00000000
|
||||
8A000221 0000000C
|
||||
8A000631 0000000E
|
||||
28400D51 00000002
|
||||
8A000C10 00000000
|
||||
8C000212 0000000C
|
||||
8C000613 0000000E
|
||||
28400D51 00000004
|
||||
04215290 801C0004
|
||||
04214610 A81C0340
|
||||
040E4888 88030214
|
||||
28400D51 00000008
|
||||
04215290 38000000
|
||||
04214610 38005000
|
||||
040E4888 60000000
|
||||
28400D51 00000208
|
||||
041494D4 3BE00004
|
||||
28400D51 00000204
|
||||
041494D4 8BFE1C85
|
||||
28400D51 00000201
|
||||
041494D4 3BE00001
|
||||
28400D51 00000202
|
||||
041494D4 3BE00005
|
||||
28400D51 00000401
|
||||
04198784 60000000
|
||||
040EC0F4 60000000
|
||||
28400D51 00000402
|
||||
C6198784 8019879C
|
||||
C60EC0F4 800EC108
|
||||
28400D51 00000404
|
||||
04198784 40820018
|
||||
040EC0F4 40820014
|
||||
28400D51 00000408
|
||||
48000000 8040A398
|
||||
1400007C 00000383
|
||||
E0000000 00000000
|
||||
028D8A7E 00028149
|
||||
048D8A84 00000000
|
||||
0411EB10 60000000
|
||||
</source>
|
||||
<source version="GMSJ0A">
|
||||
243FEFAC 80000000
|
||||
82200000 803FEFAC
|
||||
80000001 817F0008
|
||||
82200002 803FEFB4
|
||||
82200003 803FFA38
|
||||
86000003 000000A6
|
||||
283F5429 00000001
|
||||
8A000C01 00000000
|
||||
8A000221 0000000C
|
||||
8A000631 0000000E
|
||||
283F5429 00000002
|
||||
8A000C10 00000000
|
||||
8C000212 0000000C
|
||||
8C000613 0000000E
|
||||
283F5429 00000004
|
||||
041351C4 801C0004
|
||||
04134524 A81C0340
|
||||
04271090 88030214
|
||||
283F5429 00000008
|
||||
041351C4 38000000
|
||||
04134524 38005000
|
||||
04271090 88030214
|
||||
283F5429 00000208
|
||||
04249CA0 3BE00004
|
||||
283F5429 00000204
|
||||
04249CA0 8BFE1C85
|
||||
283F5429 00000201
|
||||
04249CA0 3BE00001
|
||||
283F5429 00000202
|
||||
04249CA0 3BE00005
|
||||
283F5429 00000401
|
||||
041A0698 60000000
|
||||
04278830 60000000
|
||||
283F5429 00000402
|
||||
C61A0698 801A06B0
|
||||
C6278830 80278844
|
||||
283F5429 00000404
|
||||
041A0698 40820018
|
||||
04278830 40820014
|
||||
283F5429 00000408
|
||||
48000000 803FEFA8
|
||||
1400007C 00000383
|
||||
E0000000 00000000
|
||||
028CD55E 00028149
|
||||
048CD564 00000000
|
||||
0421F71C 60000000
|
||||
</source>
|
||||
<source version="GMSP01">
|
||||
244057D4 80000000
|
||||
82200000 804057D4
|
||||
80000001 817F0008
|
||||
82200002 804057DC
|
||||
82200003 80404808
|
||||
86000003 000000A6
|
||||
283FBBF5 00000001
|
||||
8A000C01 00000000
|
||||
8A000221 0000000C
|
||||
8A000631 0000000E
|
||||
283FBBF5 00000002
|
||||
8A000C10 00000000
|
||||
8C000212 0000000C
|
||||
8C000613 0000000E
|
||||
283FBBF5 00000004
|
||||
04148D20 801C0004
|
||||
04147F98 A81C0340
|
||||
042890CC 88030214
|
||||
283FBBF5 00000008
|
||||
04148D20 38000000
|
||||
04147F98 38005000
|
||||
042890CC 60000000
|
||||
283FBBF5 00000208
|
||||
04261CDC 3BE00004
|
||||
283FBBF5 00000204
|
||||
04261CDC 8BFE1C85
|
||||
283FBBF5 00000201
|
||||
04261CDC 3BE00001
|
||||
283FBBF5 00000202
|
||||
04261CDC 3BE00005
|
||||
283FBBF5 00000401
|
||||
041B87C8 60000000
|
||||
04290A20 60000000
|
||||
283FBBF5 00000402
|
||||
C61B87C8 801B87E0
|
||||
C6290A20 80290A34
|
||||
283FBBF5 00000404
|
||||
041B87C8 40820018
|
||||
04290A20 40820014
|
||||
283FBBF5 00000408
|
||||
48000000 804057D0
|
||||
1400007C 00000383
|
||||
E0000000 00000000
|
||||
20570B7C 00000000
|
||||
0474E87C 21000000
|
||||
20570B7D 00000001
|
||||
0474E9F4 21210000
|
||||
20570B7D 00000002
|
||||
0474ED38 00000000
|
||||
20570B7D 00000003
|
||||
0474EE04 A1000000
|
||||
20570B7D 00000004
|
||||
0474EBDC 21210000
|
||||
E2000001 00000000
|
||||
04237760 60000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Infinite Lives</title>
|
||||
<author>Noki Doki</author>
|
||||
<version>2.0</version>
|
||||
<date>Feb 28, 2020</date>
|
||||
<description lang="en-US">Prevents the life counter from decreasing.</description>
|
||||
<source>
|
||||
04298814 60000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Disable Blue Coin Flag</title>
|
||||
<author>Psychonauter, Noki Doki</author>
|
||||
<version>1.1</version>
|
||||
<date>Sep 05, 2018</date>
|
||||
<description lang="en-US">Prevents the game from setting the blue coin flag, which makes them respawn after reentering the level.</description>
|
||||
<source>
|
||||
04294564 60000000
|
||||
C22A6728 00000003
|
||||
7CA00039 80AD9FA0
|
||||
38800000 908500D4
|
||||
60000000 00000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">FMV Skips</title>
|
||||
<author>Psychonauter</author>
|
||||
<version>1.0</version>
|
||||
<date>Jan 20, 2017</date>
|
||||
<description lang="en-US">Allows skipping FMVs without having to watch them once first.</description>
|
||||
<source>
|
||||
042B5EF4 38600001
|
||||
042B5E8C 38600001
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Mute Background Music</title>
|
||||
<author>Psychonauter</author>
|
||||
<version>1.0</version>
|
||||
<date>Jan 28, 2017</date>
|
||||
<description lang="en-US">Mutes background music, but keeps SFX on.</description>
|
||||
<source>
|
||||
04016A34 FC210828
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Remove Save Boxes</title>
|
||||
<author>Psychonauter</author>
|
||||
<version>1.0</version>
|
||||
<date>Oct 02, 2017</date>
|
||||
<description lang="en-US">Removes all saveboxes.</description>
|
||||
<source>
|
||||
0416210C 4E800020
|
||||
04157EF8 48000020
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Unlock Yoshi</title>
|
||||
<author>Noki Doki</author>
|
||||
<version>1.0</version>
|
||||
<date>Feb 10, 2018</date>
|
||||
<description lang="en-US">Unlocks Yoshi everywhere.</description>
|
||||
<source>
|
||||
C61BBF70 801BBFA4
|
||||
C61BBFB4 801BBFD0
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Unlock Nozzles</title>
|
||||
<author>Noki Doki</author>
|
||||
<version>1.0</version>
|
||||
<date>Feb 12, 2018</date>
|
||||
<description lang="en-US">Unlocks all nozzle boxes.</description>
|
||||
<source>
|
||||
0429443C 38600001
|
||||
04294440 4E800020
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Free Pause</title>
|
||||
<author>Noki Doki</author>
|
||||
<version>1.1</version>
|
||||
<date>Nov 12, 2017</date>
|
||||
<description lang="en-US">Allows you to pause mid-air and during cutscenes.</description>
|
||||
<source>
|
||||
C6297AB0 80297ABC
|
||||
C22979D4 00000007
|
||||
887F007C 2803000F
|
||||
41820028 807F0018
|
||||
80630000 806300D4
|
||||
546307FF 41820014
|
||||
3C608029 60637A7C
|
||||
7C6803A6 4E800020
|
||||
881F0124 00000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Enable Exit Area Everywhere</title>
|
||||
<author>Noki Doki</author>
|
||||
<version>1.0</version>
|
||||
<date>Oct 30, 2017</date>
|
||||
<description lang="en-US">Enables 'Exit Area' on Plaza and Airstrip.</description>
|
||||
<source>
|
||||
C6156B78 80156B84
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Shine Get Timer</title>
|
||||
<author>Psychonauter, Noki Doki</author>
|
||||
<version>2.0</version>
|
||||
<description lang="en-US">
|
||||
Adds the ingame timer to every level, starting on the last black frame after the loading screen and ending as soon as the 'Shine Get' animation starts (similar to the x-cam timer of SM64).
|
||||
The timer pauses during loading times.
|
||||
|
||||
|
||||
::: warning
|
||||
Requires the Level Select code, Fast Any% or Stage Loader to be active.
|
||||
:::
|
||||
</description>
|
||||
<date>Oct 11, 2019</date>
|
||||
<source>
|
||||
C2031F68 0000000F
|
||||
3CC0817F 60C60100
|
||||
88860000 2C040001
|
||||
4182002C 88860001
|
||||
2C040001 40A20050
|
||||
3CA0803E 60A59710
|
||||
88850002 2C040007
|
||||
4182003C 2C040009
|
||||
41810034 3C608034
|
||||
606394D8 7C6803A6
|
||||
4E800021 80AD9FB8
|
||||
38A500E8 90650028
|
||||
90660004 9085002C
|
||||
90860008 38600000
|
||||
98660000 80010024
|
||||
60000000 00000000
|
||||
C21BD3D8 00000003
|
||||
3C60817F 60630100
|
||||
38800001 9083000C
|
||||
4E800020 00000000
|
||||
C22979D8 0000000C
|
||||
2C000003 40A20050
|
||||
3C60817F 60630100
|
||||
8083000C 2C040000
|
||||
41A2003C 38800000
|
||||
9083000C 7DE802A6
|
||||
3C608056 6063DD00
|
||||
7FB0EB78 3FA08028
|
||||
63BDE604 7FA803A6
|
||||
4E800021 7DE803A6
|
||||
7E1D8378 39E00000
|
||||
3A000000 3C60803A
|
||||
60000000 00000000
|
||||
C234802C 00000007
|
||||
3DE0817F 61EF0100
|
||||
8A0F0000 2C100001
|
||||
4182000C 806F0004
|
||||
808F0008 3A000000
|
||||
9A0F0000 906F0004
|
||||
908F0008 909F002C
|
||||
39E00000 00000000
|
||||
C2149148 00000013
|
||||
7C6F1B78 7FB0EB78
|
||||
3C60817F 60630100
|
||||
88830001 2C040001
|
||||
40A20064 38800000
|
||||
98830001 3C60803E
|
||||
60639710 A0630002
|
||||
2C030805 41820048
|
||||
2C030605 41820040
|
||||
2C031E00 41820038
|
||||
3C608056 6063DD00
|
||||
3FA08028 63BDE998
|
||||
7FA803A6 4E800021
|
||||
3C608056 6063DD00
|
||||
3FA08028 63BDE82C
|
||||
39800000 7FA803A6
|
||||
4E800021 7DE37B78
|
||||
7E1D8378 39E00000
|
||||
3A000000 800100CC
|
||||
60000000 00000000
|
||||
C228E90C 00000003
|
||||
558C0001 4082000C
|
||||
38800000 38600000
|
||||
909E00CC 00000000
|
||||
C2171B6C 00000003
|
||||
3C60817F 60630100
|
||||
38800101 B0830000
|
||||
807F025C 00000000
|
||||
C2031F6C 0000000A
|
||||
3C60803E 60639710
|
||||
A083FFFE 2C043C00
|
||||
40A20038 A0830002
|
||||
2C040FFF 40A2002C
|
||||
7C1E0378 7FE802A6
|
||||
3C608056 6063DD00
|
||||
3C808028 6084E604
|
||||
7C8803A6 4E800021
|
||||
7FE803A6 7FC0F378
|
||||
83E1001C 00000000
|
||||
04348048 4E800020
|
||||
0414A99C 60000000
|
||||
0414D2E8 60000000
|
||||
0428E9C8 60000000
|
||||
0428E854 60000000
|
||||
0428E624 60000000
|
||||
0456DD00 00000000
|
||||
0456DD04 00000000
|
||||
0456DD18 00000003
|
||||
0456DD1C 00000002
|
||||
0456DD20 8056DD24
|
||||
0456DD24 00000000
|
||||
0456DD28 00000001
|
||||
0456DD2C 00000000
|
||||
0456DD30 000000B4
|
||||
0414AC18 4800006C
|
||||
077F00C0 00000040
|
||||
38000000 60000001
|
||||
7D0D42E6 7D2C42E6
|
||||
7C6D42E6 7C081800
|
||||
4082FFF0 3D40817F
|
||||
806A0108 7C634810
|
||||
906A0108 806A0104
|
||||
7C634110 906A0104
|
||||
3860001C 4E800020
|
||||
04296E7C 4955924D
|
||||
042998BC 49556805
|
||||
042B5B94 4953A531
|
||||
042B7070 49539051
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Level Select</title>
|
||||
<author>Psychonauter, Dan Salvato, Noki Doki</author>
|
||||
<version>1.14</version>
|
||||
<date>May 8, 2020</date>
|
||||
<description lang="en-US">
|
||||
Allows warping to other levels when starting a file or when exiting level by holding the combination until the screen turns black.
|
||||
This code is not compatible with the Fast Any%, Stage Loader or Stage Randomizer code.
|
||||
|
||||
Codes:
|
||||
|
||||
![Level Select Combinations](/img/levelselect.png){width=500}
|
||||
</description>
|
||||
<source>
|
||||
C22A6710 00000073
|
||||
3C60817F 3CA08040
|
||||
60A54484 38E00000
|
||||
90E3010C 38E00001
|
||||
98E30101 A09F0012
|
||||
2C040D05 41810318
|
||||
2C040109 41810308
|
||||
2C040001 41820308
|
||||
38E00001 98E30100
|
||||
A0E50002 54E6C6F6
|
||||
7CC73B78 70E70C70
|
||||
88C50001 2C860000
|
||||
40860024 418202E0
|
||||
2C070800 A1030000
|
||||
418202BC 2C070010
|
||||
408201D4 A1030002
|
||||
480002B8 2C060009
|
||||
418201C4 2C060008
|
||||
4082000C 39000200
|
||||
48000060 2C06000A
|
||||
4082000C 39000300
|
||||
48000050 2C060002
|
||||
4082000C 39000400
|
||||
48000040 2C060006
|
||||
4082000C 39000500
|
||||
48000030 2C060004
|
||||
4082000C 39000600
|
||||
48000020 2C060005
|
||||
4082000C 39000800
|
||||
48000010 2C060001
|
||||
40820254 39000900
|
||||
2C070000 41820230
|
||||
2C070040 4082000C
|
||||
39080001 48000220
|
||||
2C070020 4082000C
|
||||
39080002 48000210
|
||||
2C070060 4082000C
|
||||
39080003 48000200
|
||||
2C070010 4082000C
|
||||
39080004 480001F0
|
||||
2C070050 4082000C
|
||||
39080005 480001E0
|
||||
2C070030 4082000C
|
||||
39080006 480001D0
|
||||
2C070070 4082000C
|
||||
39080007 480001C0
|
||||
2C070400 40820068
|
||||
2C060004 4082000C
|
||||
39000E01 480001B0
|
||||
2C06000A 4082000C
|
||||
39001E00 480001A0
|
||||
2C060002 4082000C
|
||||
39002100 48000190
|
||||
2C060001 4082000C
|
||||
39003900 48000180
|
||||
2C060008 4082000C
|
||||
39003700 48000170
|
||||
2C060005 39003A00
|
||||
40820164 39002C00
|
||||
4800015C 2C070800
|
||||
40820164 2C060008
|
||||
4082000C 39000100
|
||||
48000144 2C06000A
|
||||
4082000C 39000101
|
||||
48000134 2C060002
|
||||
4082000C 39000105
|
||||
48000124 2C060006
|
||||
4082000C 39000107
|
||||
48000114 2C060004
|
||||
4082000C 39000108
|
||||
48000104 2C060005
|
||||
4082000C 39000109
|
||||
480000F4 39000102
|
||||
480000EC 2C070040
|
||||
40820010 39001400
|
||||
39202E00 480000C4
|
||||
2C070020 40820010
|
||||
39001500 39203000
|
||||
480000B0 2C070060
|
||||
40820010 39001600
|
||||
39202000 4800009C
|
||||
2C070050 40820010
|
||||
39001700 39202900
|
||||
48000088 2C070030
|
||||
40820010 39001800
|
||||
39203300 48000074
|
||||
2C070070 40820010
|
||||
39001D00 39202800
|
||||
48000060 2C070400
|
||||
40820010 39003400
|
||||
39202A00 4800004C
|
||||
2C070440 40820010
|
||||
39000000 39201F00
|
||||
48000038 2C070800
|
||||
4082000C 39203A01
|
||||
48000028 2C070840
|
||||
40820010 39001000
|
||||
39203C00 48000014
|
||||
2C070010 39203200
|
||||
41820008 39202F00
|
||||
2C060009 40A20010
|
||||
7D284B78 80AD9FA0
|
||||
990500DF B1030000
|
||||
B11F0012 A09F0012
|
||||
B0830002 2C041E00
|
||||
4182002C 2C040404
|
||||
41820024 2C040801
|
||||
4182001C 2C040904
|
||||
41820014 2C040605
|
||||
4182000C 2C040805
|
||||
40A2000C 38800000
|
||||
B0830100 807F0020
|
||||
889F0012 2C040007
|
||||
4182000C 2C04000E
|
||||
40A2000C 3880003B
|
||||
B08300E4 00000000
|
||||
062976B4 00000008
|
||||
3C600003 38830005
|
||||
C22B98E0 00000003
|
||||
5460063F 41820010
|
||||
881D000F 2C000007
|
||||
60000000 00000000
|
||||
C22B9A34 00000003
|
||||
806D9FA0 880300CC
|
||||
54000734 980300CC
|
||||
4E800020 00000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Fast Any%</title>
|
||||
<author>Psychonauter, Noki Doki</author>
|
||||
<version>1.4</version>
|
||||
<description lang="en-US">Loads stages in any% order, skips all save boxes, replaces all dialog with "!!!" (except for the Pianta 5 secret) and makes all FMVs skippable (except for the Pinna 1 cutscenes). This code is not compatible with the Level Select, Stage Loader or Stage Randomizer code.</description>
|
||||
<date>Feb 16, 2018</date>
|
||||
<source>
|
||||
C22A6710 00000064
|
||||
3C60817F 60630100
|
||||
38000000 9003000C
|
||||
38000001 98030001
|
||||
80AD9FA0 889F0012
|
||||
2C040001 418102F4
|
||||
98030000 88850007
|
||||
70800001 41A2000C
|
||||
38803400 480002D4
|
||||
88850006 70800080
|
||||
41A2000C 38800906
|
||||
480002C0 70800040
|
||||
41A2000C 38800905
|
||||
480002B0 70800020
|
||||
41A2000C 38800904
|
||||
480002A0 70800010
|
||||
41A2000C 38800903
|
||||
48000290 70800008
|
||||
41A2000C 38800902
|
||||
48000280 70800004
|
||||
41A2000C 38800901
|
||||
48000270 88850005
|
||||
70800040 41A2000C
|
||||
38800900 4800025C
|
||||
70800020 41A2000C
|
||||
38800606 4800024C
|
||||
70800010 41A2000C
|
||||
38800605 4800023C
|
||||
70800008 41A2000C
|
||||
38800604 4800022C
|
||||
70800004 41A2000C
|
||||
38800603 4800021C
|
||||
70800002 41A2000C
|
||||
38800602 4800020C
|
||||
70800001 41A2000C
|
||||
38800601 480001FC
|
||||
88850000 70800040
|
||||
41A2000C 38800600
|
||||
480001E8 70800020
|
||||
41A2000C 38800206
|
||||
480001D8 88850002
|
||||
70800001 41A2000C
|
||||
38800205 480001C4
|
||||
88850001 70800080
|
||||
41A2000C 38800306
|
||||
480001B0 70800040
|
||||
41A2000C 38800305
|
||||
480001A0 70800020
|
||||
41A2000C 38800304
|
||||
48000190 70800010
|
||||
41A2000C 38800303
|
||||
48000180 70800008
|
||||
41A2000C 38800302
|
||||
48000170 70800004
|
||||
41A2000C 38800301
|
||||
48000160 88850004
|
||||
70800010 41A2000C
|
||||
38800300 4800014C
|
||||
70800008 41A2000C
|
||||
38800506 4800013C
|
||||
70800002 41A2000C
|
||||
38800502 4800012C
|
||||
70800001 41A2000C
|
||||
38800503 4800011C
|
||||
88850003 70800080
|
||||
41A2000C 38800502
|
||||
48000108 70800040
|
||||
41A2000C 38800501
|
||||
480000F8 88850008
|
||||
70800004 41A2000C
|
||||
38800500 480000E4
|
||||
88850007 70800080
|
||||
41A2000C 38800806
|
||||
480000D0 88850008
|
||||
70800001 41A2000C
|
||||
38800805 480000BC
|
||||
88850007 70800020
|
||||
41A2000C 38800804
|
||||
480000A8 70800040
|
||||
41A2000C 38800803
|
||||
48000098 88850008
|
||||
70800002 41A2000C
|
||||
38800802 48000084
|
||||
88850007 70800010
|
||||
41A2000C 38800801
|
||||
48000070 88850003
|
||||
70800004 41A2000C
|
||||
38800800 4800005C
|
||||
70800008 41A2000C
|
||||
38800406 4800004C
|
||||
88850000 70800010
|
||||
41A2000C 38800400
|
||||
48000038 70800008
|
||||
41A2000C 38800204
|
||||
48000028 70800004
|
||||
41A2000C 38800203
|
||||
48000018 70800002
|
||||
41A2000C 38800202
|
||||
48000008 38800200
|
||||
B09F0012 988500DF
|
||||
807F0020 00000000
|
||||
0416210C 4E800020
|
||||
04157EF8 48000020
|
||||
048D3A3C 21000000
|
||||
283E9712 00002A00
|
||||
04153DA0 801C0004
|
||||
0415317C A81C0340
|
||||
E2000001 00000000
|
||||
2A3E9712 00002A00
|
||||
04153DA0 38000000
|
||||
0415317C 38005000
|
||||
E2000001 00000000
|
||||
C22B5EF0 00000004
|
||||
38840391 5480043C
|
||||
2C000398 4182000C
|
||||
3C800001 6084039A
|
||||
60000000 00000000
|
||||
C22B5E88 00000004
|
||||
38840391 5480043C
|
||||
2C000398 4182000C
|
||||
3C800001 6084039A
|
||||
60000000 00000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Any Fruit Opens Yoshi Eggs</title>
|
||||
<author>Unknown, Noki Doki</author>
|
||||
<version>1.0</version>
|
||||
<date>Aug 19, 2018</date>
|
||||
<description lang="en-US">Allows opening Yoshi eggs with a different fruit than the one depicted.</description>
|
||||
<source>
|
||||
041BC900 60000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Infinite Juice</title>
|
||||
<author>Noki Doki</author>
|
||||
<version>1.0</version>
|
||||
<date>Apr 5, 2019</date>
|
||||
<description lang="en-US">Prevents Yoshi from despawning by running out of juice.</description>
|
||||
<source>
|
||||
0426E810 60000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Stage Randomizer (Experimental)</title>
|
||||
<author>Noki Doki</author>
|
||||
<version>1.0</version>
|
||||
<description lang="en-US">Loads stages in randomized order. This code is not compatible with the Level Select or Fast Any% code.</description>
|
||||
<date>Oct 11, 2017</date>
|
||||
<source>
|
||||
C22A6710 00000023
|
||||
3C60803E 60639710
|
||||
88830002 2C04000E
|
||||
418200D8 2C04000D
|
||||
41820068 2C040001
|
||||
418100EC 7C6C42E6
|
||||
5464EF7E 70650007
|
||||
38840002 2C040007
|
||||
40A20028 38800014
|
||||
2C050006 40A20008
|
||||
68840003 2C050007
|
||||
40A20008 54A5083C
|
||||
7C842A14 38A00000
|
||||
5484402E 7C842A78
|
||||
48000008 7C884A14
|
||||
3C60803E 60639710
|
||||
90830000 48000090
|
||||
39000D00 8083FFFC
|
||||
2C040500 4082000C
|
||||
39200000 4BFFFFD8
|
||||
2C040502 4082000C
|
||||
39200001 4BFFFFC8
|
||||
2C040504 4082000C
|
||||
39200002 4BFFFFB8
|
||||
2C040505 4082000C
|
||||
39200003 4BFFFFA8
|
||||
2C040506 4082000C
|
||||
39200004 4BFFFF98
|
||||
2C040507 40A20030
|
||||
39200005 4BFFFF88
|
||||
3C60803E 60639710
|
||||
8883FFF4 70850008
|
||||
41A2000C 38800E01
|
||||
4BFFFF70 38800E00
|
||||
4BFFFF68 807F0020
|
||||
60000000 00000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Replace Episode names with their ID</title>
|
||||
<author>Psychonauter, Noki Doki</author>
|
||||
<version>1.1</version>
|
||||
<description lang="en-US">Replaces the Episode names with the episode number in the demo screen. (Useful for the stage randomizer and the stage loader.)</description>
|
||||
<date>Feb 13, 2018</date>
|
||||
<source>
|
||||
C21727B8 00000004
|
||||
80AD9FA0 88A500DF
|
||||
38A50031 54A5403E
|
||||
B0A60000 38800080
|
||||
60000000 00000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Shine Outfit</title>
|
||||
<author>Ralf, Psychonauter</author>
|
||||
<version>1.0</version>
|
||||
<date>Oct 23, 2017</date>
|
||||
<description lang="en-US">Always wear shine outfit and sunglasses.</description>
|
||||
<source>
|
||||
04241FD4 60000004
|
||||
04241FD8 B01D0004
|
||||
0424D4DC 60000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Position/angle/speed display</title>
|
||||
<author>Noki Doki</author>
|
||||
<version>1.3</version>
|
||||
<date>Oct 28, 2019</date>
|
||||
<description lang="en-US">Shows Mario's position, angle and speed at any given time.</description>
|
||||
<source>
|
||||
062A6160 00000010
|
||||
49553F19 60000000
|
||||
60000000 60000000
|
||||
042998B8 49560749
|
||||
04143F14 496B6209
|
||||
077FA000 000001E8
|
||||
9421FFE0 7C0802A6
|
||||
90010024 93E1001C
|
||||
4AABD6E5 38E00200
|
||||
38C00320 38A0FFD8
|
||||
3880000A 38610008
|
||||
4AAD01B9 814D9FC8
|
||||
3FE08180 3BFFA1EC
|
||||
39200000 39000002
|
||||
3CE08180 38E7A164
|
||||
80CA0048 38A10008
|
||||
38800000 7FE3FB78
|
||||
4AAD67F1 39200001
|
||||
913F01B0 80010024
|
||||
7C0803A6 83E1001C
|
||||
38210020 4E800020
|
||||
9421FFE8 7C0802A6
|
||||
9001001C 93A1000C
|
||||
93C10010 93E10014
|
||||
7C7F1B78 81230000
|
||||
83A90064 3D208180
|
||||
8129A39C 2F890000
|
||||
409E002C 7FE3FB78
|
||||
7FA903A6 4E800421
|
||||
8001001C 7C0803A6
|
||||
83A1000C 83C10010
|
||||
83E10014 38210018
|
||||
4E800020 3D208040
|
||||
6129E0E8 83C90000
|
||||
3C608180 3863A1EC
|
||||
4AAD6B79 C0BE00A8
|
||||
C09E00B0 A0DE0096
|
||||
C07E0018 C05E0014
|
||||
C03E0010 3CA08180
|
||||
38A5A164 38800080
|
||||
4CC63242 4AB3F691
|
||||
4BFFFF94 9421FFF0
|
||||
7C0802A6 90010014
|
||||
93E1000C 7C7F1B78
|
||||
4AAF158D 38E00081
|
||||
7FE6FB78 38A00000
|
||||
38800000 3C608180
|
||||
3863A1EC 4AAD5C5D
|
||||
80010014 7C0803A6
|
||||
83E1000C 38210010
|
||||
4E800020 5820506F
|
||||
7320252E 30660A59
|
||||
20506F73 20252E30
|
||||
660A5A20 506F7320
|
||||
252E3066 0A416E67
|
||||
6C652025 68750A48
|
||||
20537064 20252E32
|
||||
660A5620 53706420
|
||||
252E3266 20202020
|
||||
20202020 20202020
|
||||
20202020 20202020
|
||||
20202020 20202020
|
||||
20202020 20202020
|
||||
20202020 20202020
|
||||
20202020 20202020
|
||||
20202020 20202020
|
||||
20202000 00000000
|
||||
C22A66F4 00000003
|
||||
38600000 3D808180
|
||||
906CA39C 807F0040
|
||||
60000000 00000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Intro skip</title>
|
||||
<author>Noki Doki</author>
|
||||
<version>1.0</version>
|
||||
<date>Jun 19, 2019</date>
|
||||
<description lang="en-US">Removes the logos and cutscene that normally play before the title screen when loading or resetting the game.</description>
|
||||
<source>
|
||||
042956AC 480002C4
|
||||
04295B20 48000014
|
||||
062A65E0 00000014
|
||||
38600F00 38000000
|
||||
B07F000E B01F0010
|
||||
4BFFFEB0 00000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Respawn One-Time Shines</title>
|
||||
<author>Noki Doki</author>
|
||||
<version>1.0</version>
|
||||
<date>Aug 19, 2019</date>
|
||||
<description lang="en-US">Allows Shines obtained by cleaning graffiti, the Shine Gate or the bells to respawn.</description>
|
||||
<source>
|
||||
041E792C 48000050
|
||||
021E7FFC 00004800
|
||||
021FF85C 00004800
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Force Plaza Events</title>
|
||||
<author>Noki Doki</author>
|
||||
<version>1.0</version>
|
||||
<date>Mar 8, 2020</date>
|
||||
<description lang="en-US">Forces the unlock events for Ricco, Gelato and Yoshi to happen any time the correct version of the plaza is loaded. Nozzle unlock events take precedence over Yoshi's if their conditions are met.</description>
|
||||
<source>
|
||||
042B7810 48000018
|
||||
042B785C 48000018
|
||||
042B78C4 48000018
|
||||
042B78F0 60000000
|
||||
042B7940 60000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Fix Memory Card Encoding</title>
|
||||
<author>Noki Doki</author>
|
||||
<version>2.0</version>
|
||||
<date>Jun 25, 2020</date>
|
||||
<description lang="en-US">Enable this if your Nintendont saves do not work on your other loader (e.g. Gecko OS on a Japanese console).</description>
|
||||
<source>
|
||||
0240CE58 00000001
|
||||
</source>
|
||||
</code>
|
||||
</codes>
|
|
@ -1,78 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<codes>
|
||||
<code>
|
||||
<title lang="en-US">DPad Functions</title>
|
||||
<title lang="de-CH">DPad Funktionen</title>
|
||||
<author>Psychonauter, Noki Doki, Dan Salvato, Link Master, James0x57</author>
|
||||
<version>2.5</version>
|
||||
<description lang="en-US">
|
||||
Allows various game modifications through a set of button combinations:
|
||||
|
||||
| Combination | Result |
|
||||
| --------------- | ------------------------------------------- |
|
||||
| D-Pad Left | Save Mario's current position |
|
||||
| D-Pad Right | Load Mario's position |
|
||||
| D-Pad Up | Replace all dialog with a single "!!!" line |
|
||||
| D-Pad Down | Restore Dialog Boxes |
|
||||
| B + D-Pad Left | Lock Rocket Nozzle |
|
||||
| B + D-Pad Right | Lock Turbo Nozzle |
|
||||
| B + D-Pad Up | Lock Hover Nozzle |
|
||||
| B + D-Pad Down | Release Nozzle Lock |
|
||||
| X + D-Pad Left | No FLUDD in secrets |
|
||||
| X + D-Pad Right | FLUDD in all secrets |
|
||||
| X + D-Pad Down | FLUDD in completed secrets (default) |
|
||||
| X + D-Pad Up | Regrab last held object |
|
||||
</description>
|
||||
<description lang="de-CH">D-Pad Funktionen</description>
|
||||
<date>Apr 3, 2019</date>
|
||||
<source>
|
||||
2440E10C 80000000
|
||||
82200000 8040E10C
|
||||
80000001 817F0008
|
||||
82200002 8040E114
|
||||
82200003 8040D0A8
|
||||
86000003 000000A6
|
||||
28404455 00000001
|
||||
8A000C01 00000000
|
||||
8A000221 0000000C
|
||||
8A000631 0000000E
|
||||
28404455 00000002
|
||||
8A000C10 00000000
|
||||
8C000212 0000000C
|
||||
8C000613 0000000E
|
||||
28404455 00000004
|
||||
04153DA0 801C0004
|
||||
0415317C A81C0340
|
||||
04291340 88030214
|
||||
28404455 00000008
|
||||
04153DA0 38000000
|
||||
0415317C 38005000
|
||||
04291340 60000000
|
||||
28404455 00000208
|
||||
04269F50 3BE00004
|
||||
28404455 00000204
|
||||
04269F50 8BFE1C85
|
||||
28404455 00000201
|
||||
04269F50 3BE00001
|
||||
28404455 00000202
|
||||
04269F50 3BE00005
|
||||
28404455 00000401
|
||||
041C0910 60000000
|
||||
04298B88 60000000
|
||||
28404455 00000402
|
||||
C61C0910 801C0928
|
||||
C6298B88 80298B9C
|
||||
28404455 00000404
|
||||
041C0910 40820018
|
||||
04298B88 40820014
|
||||
28404455 00000408
|
||||
48000000 8040E108
|
||||
1400007C 00000383
|
||||
E0000000 00000000
|
||||
048D3A3C 21000000
|
||||
0423F9D4 60000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Infinite Lives</title>
|
||||
<author>Noki Doki</author>
|
||||
|
|
|
@ -1,77 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<codes>
|
||||
<code>
|
||||
<title lang="en-US">DPad Functions</title>
|
||||
<author>Psychonauter, Noki Doki, Dan Salvato, Link Master, James0x57</author>
|
||||
<version>2.5</version>
|
||||
<description lang="en-US">
|
||||
Allows various game modifications through a set of button combinations:
|
||||
|
||||
| Combination | Result |
|
||||
| --------------- | ------------------------------------------- |
|
||||
| D-Pad Left | Save Mario's current position |
|
||||
| D-Pad Right | Load Mario's position |
|
||||
| D-Pad Up | Replace all dialog with a single "!!!" line |
|
||||
| D-Pad Down | Restore Dialog Boxes |
|
||||
| B + D-Pad Left | Lock Rocket Nozzle |
|
||||
| B + D-Pad Right | Lock Turbo Nozzle |
|
||||
| B + D-Pad Up | Lock Hover Nozzle |
|
||||
| B + D-Pad Down | Release Nozzle Lock |
|
||||
| X + D-Pad Left | No FLUDD in secrets |
|
||||
| X + D-Pad Right | FLUDD in all secrets |
|
||||
| X + D-Pad Down | FLUDD in completed secrets (default) |
|
||||
| X + D-Pad Up | Regrab last held object |
|
||||
</description>
|
||||
<date>Apr 3, 2019</date>
|
||||
<source>
|
||||
2440A39C 80000000
|
||||
82200000 8040A39C
|
||||
80000001 817F0008
|
||||
82200002 8040A3A4
|
||||
82200003 8040B370
|
||||
86000003 000000A6
|
||||
28400D51 00000001
|
||||
8A000C01 00000000
|
||||
8A000221 0000000C
|
||||
8A000631 0000000E
|
||||
28400D51 00000002
|
||||
8A000C10 00000000
|
||||
8C000212 0000000C
|
||||
8C000613 0000000E
|
||||
28400D51 00000004
|
||||
04215290 801C0004
|
||||
04214610 A81C0340
|
||||
040E4888 88030214
|
||||
28400D51 00000008
|
||||
04215290 38000000
|
||||
04214610 38005000
|
||||
040E4888 60000000
|
||||
28400D51 00000208
|
||||
041494D4 3BE00004
|
||||
28400D51 00000204
|
||||
041494D4 8BFE1C85
|
||||
28400D51 00000201
|
||||
041494D4 3BE00001
|
||||
28400D51 00000202
|
||||
041494D4 3BE00005
|
||||
28400D51 00000401
|
||||
04198784 60000000
|
||||
040EC0F4 60000000
|
||||
28400D51 00000402
|
||||
C6198784 8019879C
|
||||
C60EC0F4 800EC108
|
||||
28400D51 00000404
|
||||
04198784 40820018
|
||||
040EC0F4 40820014
|
||||
28400D51 00000408
|
||||
48000000 8040A398
|
||||
1400007C 00000383
|
||||
E0000000 00000000
|
||||
028D8A7E 00028149
|
||||
048D8A84 00000000
|
||||
0411EB10 60000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Infinite Lives</title>
|
||||
<author>Noki Doki</author>
|
||||
|
|
|
@ -1,77 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<codes>
|
||||
<code>
|
||||
<title lang="en-US">DPad Functions</title>
|
||||
<author>Psychonauter, Noki Doki, Dan Salvato, Link Master, James0x57</author>
|
||||
<version>2.5</version>
|
||||
<description lang="en-US">
|
||||
Allows various game modifications through a set of button combinations:
|
||||
|
||||
| Combination | Result |
|
||||
| --------------- | ------------------------------------------- |
|
||||
| D-Pad Left | Save Mario's current position |
|
||||
| D-Pad Right | Load Mario's position |
|
||||
| D-Pad Up | Replace all dialog with a single "!!!" line |
|
||||
| D-Pad Down | Restore Dialog Boxes |
|
||||
| B + D-Pad Left | Lock Rocket Nozzle |
|
||||
| B + D-Pad Right | Lock Turbo Nozzle |
|
||||
| B + D-Pad Up | Lock Hover Nozzle |
|
||||
| B + D-Pad Down | Release Nozzle Lock |
|
||||
| X + D-Pad Left | No FLUDD in secrets |
|
||||
| X + D-Pad Right | FLUDD in all secrets |
|
||||
| X + D-Pad Down | FLUDD in completed secrets (default) |
|
||||
| X + D-Pad Up | Regrab last held object |
|
||||
</description>
|
||||
<date>Apr 3, 2019</date>
|
||||
<source>
|
||||
243FEFAC 80000000
|
||||
82200000 803FEFAC
|
||||
80000001 817F0008
|
||||
82200002 803FEFB4
|
||||
82200003 803FFA38
|
||||
86000003 000000A6
|
||||
283F5429 00000001
|
||||
8A000C01 00000000
|
||||
8A000221 0000000C
|
||||
8A000631 0000000E
|
||||
283F5429 00000002
|
||||
8A000C10 00000000
|
||||
8C000212 0000000C
|
||||
8C000613 0000000E
|
||||
283F5429 00000004
|
||||
041351C4 801C0004
|
||||
04134524 A81C0340
|
||||
04271090 88030214
|
||||
283F5429 00000008
|
||||
041351C4 38000000
|
||||
04134524 38005000
|
||||
04271090 88030214
|
||||
283F5429 00000208
|
||||
04249CA0 3BE00004
|
||||
283F5429 00000204
|
||||
04249CA0 8BFE1C85
|
||||
283F5429 00000201
|
||||
04249CA0 3BE00001
|
||||
283F5429 00000202
|
||||
04249CA0 3BE00005
|
||||
283F5429 00000401
|
||||
041A0698 60000000
|
||||
04278830 60000000
|
||||
283F5429 00000402
|
||||
C61A0698 801A06B0
|
||||
C6278830 80278844
|
||||
283F5429 00000404
|
||||
041A0698 40820018
|
||||
04278830 40820014
|
||||
283F5429 00000408
|
||||
48000000 803FEFA8
|
||||
1400007C 00000383
|
||||
E0000000 00000000
|
||||
028CD55E 00028149
|
||||
048CD564 00000000
|
||||
0421F71C 60000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Infinite Lives</title>
|
||||
<author>Noki Doki</author>
|
||||
|
|
|
@ -1,86 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<codes>
|
||||
<code>
|
||||
<title lang="en-US">DPad Functions</title>
|
||||
<author>Psychonauter, Noki Doki, Dan Salvato, Link Master, James0x57</author>
|
||||
<version>2.5</version>
|
||||
<description lang="en-US">
|
||||
Allows various game modifications through a set of button combinations:
|
||||
|
||||
| Combination | Result |
|
||||
| --------------- | ------------------------------------------- |
|
||||
| D-Pad Left | Save Mario's current position |
|
||||
| D-Pad Right | Load Mario's position |
|
||||
| D-Pad Up | Replace all dialog with a single "!!!" line |
|
||||
| D-Pad Down | Restore Dialog Boxes |
|
||||
| B + D-Pad Left | Lock Rocket Nozzle |
|
||||
| B + D-Pad Right | Lock Turbo Nozzle |
|
||||
| B + D-Pad Up | Lock Hover Nozzle |
|
||||
| B + D-Pad Down | Release Nozzle Lock |
|
||||
| X + D-Pad Left | No FLUDD in secrets |
|
||||
| X + D-Pad Right | FLUDD in all secrets |
|
||||
| X + D-Pad Down | FLUDD in completed secrets (default) |
|
||||
| X + D-Pad Up | Regrab last held object |
|
||||
</description>
|
||||
<date>Apr 3, 2019</date>
|
||||
<source>
|
||||
244057D4 80000000
|
||||
82200000 804057D4
|
||||
80000001 817F0008
|
||||
82200002 804057DC
|
||||
82200003 80404808
|
||||
86000003 000000A6
|
||||
283FBBF5 00000001
|
||||
8A000C01 00000000
|
||||
8A000221 0000000C
|
||||
8A000631 0000000E
|
||||
283FBBF5 00000002
|
||||
8A000C10 00000000
|
||||
8C000212 0000000C
|
||||
8C000613 0000000E
|
||||
283FBBF5 00000004
|
||||
04148D20 801C0004
|
||||
04147F98 A81C0340
|
||||
042890CC 88030214
|
||||
283FBBF5 00000008
|
||||
04148D20 38000000
|
||||
04147F98 38005000
|
||||
042890CC 60000000
|
||||
283FBBF5 00000208
|
||||
04261CDC 3BE00004
|
||||
283FBBF5 00000204
|
||||
04261CDC 8BFE1C85
|
||||
283FBBF5 00000201
|
||||
04261CDC 3BE00001
|
||||
283FBBF5 00000202
|
||||
04261CDC 3BE00005
|
||||
283FBBF5 00000401
|
||||
041B87C8 60000000
|
||||
04290A20 60000000
|
||||
283FBBF5 00000402
|
||||
C61B87C8 801B87E0
|
||||
C6290A20 80290A34
|
||||
283FBBF5 00000404
|
||||
041B87C8 40820018
|
||||
04290A20 40820014
|
||||
283FBBF5 00000408
|
||||
48000000 804057D0
|
||||
1400007C 00000383
|
||||
E0000000 00000000
|
||||
20570B7C 00000000
|
||||
0474E87C 21000000
|
||||
20570B7D 00000001
|
||||
0474E9F4 21210000
|
||||
20570B7D 00000002
|
||||
0474ED38 00000000
|
||||
20570B7D 00000003
|
||||
0474EE04 A1000000
|
||||
20570B7D 00000004
|
||||
0474EBDC 21210000
|
||||
E2000001 00000000
|
||||
04237760 60000000
|
||||
</source>
|
||||
</code>
|
||||
<code>
|
||||
<title lang="en-US">Infinite Lives</title>
|
||||
<author>Noki Doki</author>
|
||||
|
|
|
@ -10,6 +10,7 @@ const md = require('@vuepress/markdown')({
|
|||
|
||||
const themePlugins = require(path.join(__dirname, '../site/.vuepress/data/themePlugins.json'));
|
||||
const locales = require(path.join(__dirname, '../site/.vuepress/i18n/locales.json'));
|
||||
const sharedXML = fs.readFileSync(path.join(__dirname, `../codes/Common.xml`));
|
||||
|
||||
// Constants
|
||||
const JSON_FILE_PATH = path.join(__dirname, '../site/.vuepress/data/gameVersions.json');
|
||||
|
@ -56,6 +57,11 @@ const localizeNode = (node, identifier) =>
|
|||
*/
|
||||
const trimLines = (str) => str.replace(/^ +/gm, '').replace(/ +$/gm, '');
|
||||
|
||||
/**
|
||||
* Localize a markdown text
|
||||
* @param {*} node The parent node
|
||||
* @param {*} identifier The childs tag name
|
||||
*/
|
||||
const localizeMarkdown = (node, identifier) => {
|
||||
const markdowns = localizeNode(node, identifier).map((markdown) => ({
|
||||
...markdown,
|
||||
|
@ -68,25 +74,44 @@ const localizeMarkdown = (node, identifier) => {
|
|||
}));
|
||||
};
|
||||
|
||||
/**
|
||||
* Find a code by its version attribute (if specified)
|
||||
* @param {*} node The parent node
|
||||
* @param {*} identifier The childs tag name
|
||||
* @param {*} gameVersion The game version
|
||||
*/
|
||||
const readCode = (node, identifier, gameVersion = null) => {
|
||||
if (!gameVersion) {
|
||||
const codeNode = node.querySelector(identifier);
|
||||
return codeNode ? codeNode.textContent.replace(/[\s\n\r\t]+/gm, '') : null;
|
||||
}
|
||||
|
||||
const codeNode = node.querySelector(`${identifier}[version='${gameVersion}']`);
|
||||
return codeNode ? codeNode.textContent.replace(/[\s\n\r\t]+/gm, '') : null;
|
||||
};
|
||||
|
||||
/**
|
||||
* Converts the XML source files to a JSON object
|
||||
* @param {*} xmlString The xml string
|
||||
* @param {*} gameVersion The game version to filter the code on
|
||||
*/
|
||||
const parseXml = (xmlString) => {
|
||||
const parseXml = (xmlString, gameVersion = null) => {
|
||||
const codeCollection = new JSDOM(xmlString, {
|
||||
contentType: 'text/xml',
|
||||
}).window.document.getElementsByTagName('code');
|
||||
|
||||
const codes = [...codeCollection];
|
||||
|
||||
return codes.map((code) => ({
|
||||
author: readTextNode(code, 'author'),
|
||||
title: localizeNode(code, 'title'),
|
||||
description: localizeMarkdown(code, 'description'),
|
||||
version: readTextNode(code, 'version'),
|
||||
date: readTextNode(code, 'date'),
|
||||
source: readTextNode(code, 'source').replace(/[\s\n\r\t]+/gm, ''),
|
||||
}));
|
||||
return codes
|
||||
.map((code) => ({
|
||||
author: readTextNode(code, 'author'),
|
||||
title: localizeNode(code, 'title'),
|
||||
description: localizeMarkdown(code, 'description'),
|
||||
version: readTextNode(code, 'version'),
|
||||
date: readTextNode(code, 'date'),
|
||||
source: readCode(code, 'source', gameVersion),
|
||||
}))
|
||||
.filter((code) => code.source != null);
|
||||
};
|
||||
|
||||
// Register themes containers such as tip/warning/danger
|
||||
|
@ -102,7 +127,10 @@ const codeJson = require(JSON_FILE_PATH);
|
|||
// Populate all code fields in the codeJSON
|
||||
for (let i = 0; i < CODE_VERSIONS.length; i++) {
|
||||
const xml = fs.readFileSync(path.join(__dirname, `../codes/${CODE_VERSIONS[i]}.xml`));
|
||||
codeJson.find((c) => c.identifier === CODE_VERSIONS[i]).codes = parseXml(xml);
|
||||
codeJson.find((c) => c.identifier === CODE_VERSIONS[i]).codes = [
|
||||
...parseXml(xml),
|
||||
...parseXml(sharedXML, CODE_VERSIONS[i]),
|
||||
];
|
||||
}
|
||||
|
||||
// Save the codeJSON with the updated codes
|
||||
|
|
Loading…
Reference in a new issue