[Splatoon] Add 2.12.1 support (#604)

This commit is contained in:
Michael 2023-08-03 01:26:34 -07:00 committed by GitHub
parent d3721c93ad
commit 4198c9f70d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 58 additions and 11 deletions

View File

@ -1,3 +1,29 @@
[SplatoonV288uw]
moduleMatches = 0x659C782E
#rodata constants
0x1004364C = .float $width/$height
0x10124BE0 = .float (($ultrawideHUD == 0) * ($gameWidth/$gameHeight)) + (($ultrawideHUD == 1) * ($width/$height))
0x10158FE0 = .float $width/$height
0x10160454 = .float $width/$height
_aspectAddr = 0x1004364C
_hudAspectAddr = 0x10124BE0
#patches
0x028B1940 = lis r29, _hudAspectAddr@ha ;hud
0x028B1944 = lfs f13, _hudAspectAddr@l(r29) ;hud
0x02014864 = lis r4, _aspectAddr@ha ;master ar
0x0201486C = lfs f9, _aspectAddr@l(r4) ;master ar
0x02014570 = lis r4, _aspectAddr@ha ;transition frames
0x02014578 = lfs f9, _aspectAddr@l(r4)
0x0201434C = lis r4, _aspectAddr@ha
0x02014354 = lfs f9, _aspectAddr@l(r4)
[SplatoonV272uw] [SplatoonV272uw]
moduleMatches = 0xF7A78809 moduleMatches = 0xF7A78809

View File

@ -1,3 +1,15 @@
[SplatoonV288uw]
moduleMatches = 0x659C782E
#rodata constants
_zeroAddr = 0x02000000
#patches
0x028B1940 = lis r29, _zeroAddr@ha ;hud
0x028B1944 = lfs f13, _zeroAddr@l(r29) ;hud
[SplatoonV272uw] [SplatoonV272uw]
moduleMatches = 0xF7A78809 moduleMatches = 0xF7A78809

View File

@ -1,8 +1,17 @@
[Splatoon_30FPS_v288]
moduleMatches = 0x659C782E
# toggles FPS variable, similar to
# Exzap's 60fps patch in plaza
0x2AD5EB0 = lwz r4, 0x304(r31)
0x2AD5EB4 = ori r4, r4, 1
0x2AD5EB8 = stw r4, 0x304(r31)
[Splatoon_30FPS_v272] [Splatoon_30FPS_v272]
moduleMatches = 0xF7A78809 moduleMatches = 0xF7A78809
# toggles FPS variable, similar to # toggles FPS variable, similar to
# Exzap's 60fps patch in plaza # Exzap's 60fps patch in plaza
0x2ad5e70 = lwz r4, 0x304(r31) 0x2AD5E70 = lwz r4, 0x304(r31)
0x2ad5e74 = ori r4, r4, 1 0x2AD5E74 = ori r4, r4, 1
0x2ad5e78 = stw r4, 0x304(r31) 0x2AD5E78 = stw r4, 0x304(r31)

View File

@ -1,4 +1,4 @@
[Splatoon_60FPSPlaza_v272] [Splatoon_60FPSPlaza]
moduleMatches = 0xF7A78809 moduleMatches = 0xF7A78809, 0x659C782E
0x242B09C = nop # prevent switch-to-30-FPS-mode function from being called 0x242B09C = nop # prevent switch-to-30-FPS-mode function from being called

View File

@ -1,5 +1,5 @@
[Gambit272] [Gambit_MapSwap]
moduleMatches = 0xF7A78809 moduleMatches = 0xF7A78809, 0x659C782E
# List of maps are in maplist.txt # List of maps are in maplist.txt
0x100F9CE0 = .string "Fld_Tutorial00_Ttr" # Tutorial (Original: Fld_Tutorial00_Ttr) 0x100F9CE0 = .string "Fld_Tutorial00_Ttr" # Tutorial (Original: Fld_Tutorial00_Ttr)

View File

@ -5,8 +5,8 @@ moduleMatches = 0x08ED6677
0x100D8FEC = .string "Rival00_Hlf" 0x100D8FEC = .string "Rival00_Hlf"
#0x100D8FFC = .string "Rival_Squid" #Broken bones, just like safe Octohax #0x100D8FFC = .string "Rival_Squid" #Broken bones, just like safe Octohax
[Gambit272] [GambitLatest]
moduleMatches = 0xF7A78809 moduleMatches = 0xF7A78809, 0x659C782E
0x100EC3B0 = .string "Rival00" 0x100EC3B0 = .string "Rival00"
0x100EC3BC = .string "Rival00_Hlf" 0x100EC3BC = .string "Rival00_Hlf"

View File

@ -9,8 +9,8 @@ moduleMatches = 0x08ED6677
0x100D353C = .byte $marieLetter 0x100D353C = .byte $marieLetter
0x100D5568 = .byte $marieLetter 0x100D5568 = .byte $marieLetter
[Gambit272] [GambitLatest]
moduleMatches = 0xF7A78809 moduleMatches = 0xF7A78809, 0x659C782E
0x100E38EC = .byte $callieLetter 0x100E38EC = .byte $callieLetter
0x100E5A48 = .byte $callieLetter 0x100E5A48 = .byte $callieLetter