Difference between revisions of "Lap & Speed Modifier"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
* The 2 bytes at offsets 0x0A and 0x0B are interpreted as the 2 most significant bytes of the floating point speed factor. The usual range is 0.5 to 2.0. | * The 2 bytes at offsets 0x0A and 0x0B are interpreted as the 2 most significant bytes of the floating point speed factor. The usual range is 0.5 to 2.0. | ||
− | == | + | == Cheat Codes == |
− | + | ||
+ | Cheat codes are available for 3 regions: | ||
+ | |||
+ | <spoiler text="PAL"> | ||
+ | <pre> | ||
+ | C257B9B0 00000004 | ||
+ | C00459F4 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C2578558 00000004 | ||
+ | C00959F4 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C25858C8 00000004 | ||
+ | C00559F8 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C257B9A0 00000004 | ||
+ | C00459F8 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C257BBC4 00000004 | ||
+ | C01E0108 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C257BD80 00000004 | ||
+ | C0030004 3E808170 | ||
+ | C3740000 EC1B0032 | ||
+ | FF60E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C257BD5C 00000004 | ||
+ | C0030014 3E808170 | ||
+ | C3740000 EC1B0032 | ||
+ | FF60E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C25921AC 00000004 | ||
+ | C0230024 3E808170 | ||
+ | C3940000 EC3C0072 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C25921BC 00000004 | ||
+ | C0230028 3E808170 | ||
+ | C3940000 EC3C0072 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C25921CC 00000004 | ||
+ | C023002C 3E808170 | ||
+ | C3940000 EC3C0072 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C25921DC 00000004 | ||
+ | C0230030 3E808170 | ||
+ | C3940000 EC3C0072 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C259218C 0000001D | ||
+ | C0230018 3E80809C | ||
+ | 8294D6E8 8294003C | ||
+ | 82940000 82940000 | ||
+ | 82940000 A274000A | ||
+ | 5673801E 2C130000 | ||
+ | 40820008 3E603F80 | ||
+ | 3E808170 92740000 | ||
+ | 3E600000 C3940000 | ||
+ | EC3C0072 3E808160 | ||
+ | 3E6042D2 92740004 | ||
+ | 3E604296 92740008 | ||
+ | 3E604382 9274000C | ||
+ | 3E604302 92740010 | ||
+ | 3E60491C 62734000 | ||
+ | 92740014 3E604302 | ||
+ | 92740018 60000000 | ||
+ | C3D40004 EFDC07B2 | ||
+ | 3E60808A D3D35DC0 | ||
+ | C3D40008 EFDC07B2 | ||
+ | D3D35AB0 C3D4000C | ||
+ | EFDC07B2 D3D35BC4 | ||
+ | C3D40010 EFDC07B2 | ||
+ | D3D35C24 C3D40014 | ||
+ | EFDC07B2 D3D35C34 | ||
+ | C3D40018 EFDC07B2 | ||
+ | D3D35ABC 60000000 | ||
+ | FFC0E890 3E600000 | ||
+ | 60000000 FF80E890 | ||
+ | 3A800000 60000000 | ||
+ | C25328B0 00000005 | ||
+ | 3CA0809C 80A5D6E8 | ||
+ | 80A5003C 80A50000 | ||
+ | 80A50000 80A50000 | ||
+ | 88050000 98040B8D | ||
+ | 60000000 00000000 | ||
+ | 045336B8 60000000 | ||
+ | 04534350 60000000 | ||
+ | 04534BBC 60000000 | ||
+ | 04723D10 281D0009 | ||
+ | 04723D40 3BA00009 | ||
+ | C2723D50 00000007 | ||
+ | 4800002D 00000000 | ||
+ | 00000000 00000000 | ||
+ | 3F800000 40000000 | ||
+ | 40400000 40800000 | ||
+ | 40A00000 40C00000 | ||
+ | 40E00000 7CA802A6 | ||
+ | 38800003 00000000 | ||
+ | </pre></spoiler> | ||
+ | <spoiler text="NTSC/USA"> | ||
+ | <pre> | ||
+ | C252DD68 00000005 | ||
+ | 3CA0809C 80A58F28 | ||
+ | 80A5003C 80A50000 | ||
+ | 80A50000 80A50000 | ||
+ | 88050000 98040B8D | ||
+ | 60000000 00000000 | ||
+ | 0452EB70 60000000 | ||
+ | 0452F808 60000000 | ||
+ | 04530074 60000000 | ||
+ | 0471F8E0 281D0009 | ||
+ | 0471F910 3BA00009 | ||
+ | C271F920 00000007 | ||
+ | 4800002D 00000000 | ||
+ | 00000000 00000000 | ||
+ | 3F800000 40000000 | ||
+ | 40400000 40800000 | ||
+ | 40A00000 40C00000 | ||
+ | 40E00000 7CA802A6 | ||
+ | 38800003 00000000 | ||
+ | C257514C 00000004 | ||
+ | C0041134 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C2571CF4 00000004 | ||
+ | C0091134 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C257F0A4 00000004 | ||
+ | C0051138 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C257513C 00000004 | ||
+ | C0041138 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C2575360 00000004 | ||
+ | C01E0108 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C257551C 00000004 | ||
+ | C0030004 3E808170 | ||
+ | C3740000 EC1B0032 | ||
+ | FF60E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C25754F8 00000004 | ||
+ | C0030014 3E808170 | ||
+ | C3740000 EC1B0032 | ||
+ | FF60E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C258B988 00000004 | ||
+ | C0230024 3E808170 | ||
+ | C3940000 EC3C0072 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C258B998 00000004 | ||
+ | C0230028 3E808170 | ||
+ | C3940000 EC3C0072 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C258B9A8 00000004 | ||
+ | C023002C 3E808170 | ||
+ | C3940000 EC3C0072 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C258B9B8 00000004 | ||
+ | C0230030 3E808170 | ||
+ | C3940000 EC3C0072 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C258B968 0000001D | ||
+ | C0230018 3E80809C | ||
+ | 82948F28 8294003C | ||
+ | 82940000 82940000 | ||
+ | 82940000 A274000A | ||
+ | 5673801E 2C130000 | ||
+ | 40820008 3E603F80 | ||
+ | 3E808170 92740000 | ||
+ | 3E600000 C3940000 | ||
+ | EC3C0072 3E808160 | ||
+ | 3E6042D2 92740004 | ||
+ | 3E604296 92740008 | ||
+ | 3E604382 9274000C | ||
+ | 3E604302 92740010 | ||
+ | 3E60491C 62734000 | ||
+ | 92740014 3E604302 | ||
+ | 92740018 60000000 | ||
+ | C3D40004 EFDC07B2 | ||
+ | 3E60808A D3D312E8 | ||
+ | C3D40008 EFDC07B2 | ||
+ | D3D30FD8 C3D4000C | ||
+ | EFDC07B2 D3D310EC | ||
+ | C3D40010 EFDC07B2 | ||
+ | D3D3114C C3D40014 | ||
+ | EFDC07B2 D3D3115C | ||
+ | C3D40018 EFDC07B2 | ||
+ | D3D30FE4 60000000 | ||
+ | FFC0E890 3E600000 | ||
+ | 60000000 FF80E890 | ||
+ | 3A800000 60000000 | ||
+ | </pre></spoiler> | ||
+ | <spoiler text="NTSC/Japan"> | ||
+ | <pre> | ||
+ | C2532230 00000005 | ||
+ | 3CA0809C 80A5C748 | ||
+ | 80A5003C 80A50000 | ||
+ | 80A50000 80A50000 | ||
+ | 88050000 98040B8D | ||
+ | 60000000 00000000 | ||
+ | 04533048 60000000 | ||
+ | 04533CD0 60000000 | ||
+ | 0453453C 60000000 | ||
+ | 0472337C 281D0009 | ||
+ | 047233AC 3BA00009 | ||
+ | C27233BC 00000007 | ||
+ | 4800002D 00000000 | ||
+ | 00000000 00000000 | ||
+ | 3F800000 40000000 | ||
+ | 40400000 40800000 | ||
+ | 40A00000 40C00000 | ||
+ | 40E00000 7CA802A6 | ||
+ | 38800003 00000000 | ||
+ | C257B330 00000004 | ||
+ | C0044B54 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C2577ED8 00000004 | ||
+ | C0094B54 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C2585248 00000004 | ||
+ | C0054B58 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C257B320 00000004 | ||
+ | C0044B58 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C257B544 00000004 | ||
+ | C01E0108 3E808170 | ||
+ | C3940000 EC1C0032 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C257B700 00000004 | ||
+ | C0030004 3E808170 | ||
+ | C3740000 EC1B0032 | ||
+ | FF60E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C257B6DC 00000004 | ||
+ | C0030014 3E808170 | ||
+ | C3740000 EC1B0032 | ||
+ | FF60E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C2591B2C 00000004 | ||
+ | C0230024 3E808170 | ||
+ | C3940000 EC3C0072 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C2591B3C 00000004 | ||
+ | C0230028 3E808170 | ||
+ | C3940000 EC3C0072 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C2591B4C 00000004 | ||
+ | C023002C 3E808170 | ||
+ | C3940000 EC3C0072 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C2591B5C 00000004 | ||
+ | C0230030 3E808170 | ||
+ | C3940000 EC3C0072 | ||
+ | FF80E890 3A800000 | ||
+ | 60000000 60000000 | ||
+ | C2591B0C 0000001D | ||
+ | C0230018 3E80809C | ||
+ | 8294C748 8294003C | ||
+ | 82940000 82940000 | ||
+ | 82940000 A274000A | ||
+ | 5673801E 2C130000 | ||
+ | 40820008 3E603F80 | ||
+ | 3E808170 92740000 | ||
+ | 3E600000 C3940000 | ||
+ | EC3C0072 3E808160 | ||
+ | 3E6042D2 92740004 | ||
+ | 3E604296 92740008 | ||
+ | 3E604382 9274000C | ||
+ | 3E604302 92740010 | ||
+ | 3E60491C 62734000 | ||
+ | 92740014 3E604302 | ||
+ | 92740018 60000000 | ||
+ | C3D40004 EFDC07B2 | ||
+ | 3E60808A D3D34F20 | ||
+ | C3D40008 EFDC07B2 | ||
+ | D3D34C10 C3D4000C | ||
+ | EFDC07B2 D3D34D20 | ||
+ | C3D40010 EFDC07B2 | ||
+ | D3D34D84 C3D40014 | ||
+ | EFDC07B2 D3D34D94 | ||
+ | C3D40018 EFDC07B2 | ||
+ | D3D34C1C 60000000 | ||
+ | FFC0E890 3E600000 | ||
+ | 60000000 FF80E890 | ||
+ | 3A800000 60000000</pre></spoiler> | ||
== Wiimms SZS Tools == | == Wiimms SZS Tools == | ||
− | + | ||
+ | [[Wiimms SZS Tools]] support the '''Lap & Speed Modifier''' in 2 ways: | ||
+ | * '''wszst patch''' supports options [http://szs.wiimm.de/opt/kmp --kmp=3laps] and [http://szs.wiimm.de/opt/speed-mod --speed-mod=factor] to patch a [[SZS]] track file. | ||
+ | * '''wstrt patch''' supports the option [http://szs.wiimm.de/opt/add-section --add-section=file] to add a section to file ''main.dol''. The section can be a gecko code interpreter together with some cheat codes. | ||
[[category:Software]] | [[category:Software]] |
Revision as of 22:28, 3 October 2015
Lap & Speed Modifier is the name of an Mario Kart Wii extension to modify the number of laps and the basic speed of a race. It was developed by MrBean35000vr for CTGP and is also available as cheat code.
How it works (STGI)
The Lap & Speed Modifier reads some values of KMP/STGI:
- The byte at offset 0 is used for the number of laps, if it is between 1 and 9.
- The 2 bytes at offsets 0x0A and 0x0B are interpreted as the 2 most significant bytes of the floating point speed factor. The usual range is 0.5 to 2.0.
Cheat Codes
Cheat codes are available for 3 regions:
Wiimms SZS Tools
Wiimms SZS Tools support the Lap & Speed Modifier in 2 ways:
- wszst patch supports options --kmp=3laps and --speed-mod=factor to patch a SZS track file.
- wstrt patch supports the option --add-section=file to add a section to file main.dol. The section can be a gecko code interpreter together with some cheat codes.