From 880a540b091de1979aeccf77b0727de39c6a4f08 Mon Sep 17 00:00:00 2001 From: srkizer Date: Thu, 29 Dec 2022 09:38:33 +0900 Subject: [PATCH] [Sonic Boom] Force Alt Costumes --- .../patch_ForceAltCostumes.asm | 53 +++++++++++++++++++ .../Mods/ForceAltCostumes/rules.txt | 6 +++ 2 files changed, 59 insertions(+) create mode 100644 src/SonicBoomRiseOfLyric/Mods/ForceAltCostumes/patch_ForceAltCostumes.asm create mode 100644 src/SonicBoomRiseOfLyric/Mods/ForceAltCostumes/rules.txt diff --git a/src/SonicBoomRiseOfLyric/Mods/ForceAltCostumes/patch_ForceAltCostumes.asm b/src/SonicBoomRiseOfLyric/Mods/ForceAltCostumes/patch_ForceAltCostumes.asm new file mode 100644 index 00000000..05dcbefa --- /dev/null +++ b/src/SonicBoomRiseOfLyric/Mods/ForceAltCostumes/patch_ForceAltCostumes.asm @@ -0,0 +1,53 @@ +; AltSkinsAvailable read +; 81 9c ?? fc 80 6c 00 98 81 83 00 00 81 8c 01 0c + +; AltSkinsActive read +; 38 a0 00 00 4b ff ff 19 7c 7f 1b 78 + + +[WiiULauncher0US] +moduleMatches = 0x90DAC5CE + +; patch AltSkinsAvailable read +0x34BAEBC = li r3, 0x1 +0x34BE938 = li r3, 0x1 +0x34BE9B4 = li r3, 0x1 + +; patch AltSkinsActive read +0x34C83DC = li r3, 0x01 + + +[WiiULauncher0EU] +moduleMatches = 0x8F7D2702 + +; patch AltSkinsAvailable read +0x34BAF58 = li r3, 0x1 +0x34BE9EC = li r3, 0x1 +0x34BEA58 = li r3, 0x1 + +; patch AltSkinsActive read +0x34C8490 = li r3, 0x1 + + +[WiiULauncher0JP] +moduleMatches = 0x0D395735 + +; patch AltSkinsAvailable read +0x34BB2A4 = li r3, 0x1 +0x34BED48 = li r3, 0x1 +0x34BEDB4 = li r3, 0x1 + +; patch AltSkinsActive read +0x34C884C = li r3, 0x01 + + +[WiiULauncher16] +moduleMatches = 0x113CC316 + +; patch AltSkinsAvailable read +0x34BB354 = li r3, 0x1 +0x34BEE04 = li r3, 0x1 +0x34BEE70 = li r3, 0x1 + +; patch AltSkinsActive read +0x34C88A8 = li r3, 0x1 diff --git a/src/SonicBoomRiseOfLyric/Mods/ForceAltCostumes/rules.txt b/src/SonicBoomRiseOfLyric/Mods/ForceAltCostumes/rules.txt new file mode 100644 index 00000000..2e8f5f93 --- /dev/null +++ b/src/SonicBoomRiseOfLyric/Mods/ForceAltCostumes/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 0005000010175B00,0005000010177800,0005000010191F00 +name = Force Alt Costumes +path = "Sonic Boom: Rise of Lyric/Mods/Force Alt Costumes" +description = Force the use of alternative costumes (glowing outfits).||Turn this mod off to disable them. In-game settings won't take effect.||Made by kizer. +version = 6