From 0a52e5b34df0cb455f98c81b54a60cf3db530848 Mon Sep 17 00:00:00 2001 From: Crementif <26669564+Crementif@users.noreply.github.com> Date: Fri, 10 Dec 2021 23:52:34 +0100 Subject: [PATCH] [Skylanders Swap Force] Add Portal Communication Fix graphic pack Also some stability fixes. --- src/SkylandersSwapForce/Mods/FPS/rules.txt | 2 +- .../PortalStabilityFix/patch_PortalHidFreqFix.asm | 11 +++++++++++ .../Workarounds/PortalStabilityFix/rules.txt | 10 ++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 src/SkylandersSwapForce/Workarounds/PortalStabilityFix/patch_PortalHidFreqFix.asm create mode 100644 src/SkylandersSwapForce/Workarounds/PortalStabilityFix/rules.txt diff --git a/src/SkylandersSwapForce/Mods/FPS/rules.txt b/src/SkylandersSwapForce/Mods/FPS/rules.txt index e12b756e..5022021e 100644 --- a/src/SkylandersSwapForce/Mods/FPS/rules.txt +++ b/src/SkylandersSwapForce/Mods/FPS/rules.txt @@ -2,7 +2,7 @@ titleIds = 0005000010139200,0005000010140400 name = FPS path = "Skylanders Swap Force/Mods/FPS" -description = Changes the game's dynamic FPS target. Might have bugs, especially when going above 120 FPS.||Made by Mew00 for Imaginators, added by TheSkyDude134 for SWAP-Force. +description = Changes the game's dynamic FPS target. Might have bugs, especially when going above 120 FPS.||Made by Mew00 for Imaginators, added by TheSkyDude134 for Swap Force. version = 6 [Default] diff --git a/src/SkylandersSwapForce/Workarounds/PortalStabilityFix/patch_PortalHidFreqFix.asm b/src/SkylandersSwapForce/Workarounds/PortalStabilityFix/patch_PortalHidFreqFix.asm new file mode 100644 index 00000000..c3795e22 --- /dev/null +++ b/src/SkylandersSwapForce/Workarounds/PortalStabilityFix/patch_PortalHidFreqFix.asm @@ -0,0 +1,11 @@ +; This patch increases the frequency of how often the HID portal is polled which avoids internal report queues to ever fill up + +[SkylandersSwapForce_V16] +moduleMatches = 0xa0b35374 + +0x101353F0 = .float 0.001 + +[SkylandersSwapForce_V0] +moduleMatches = 0xb1f102ec + +0x10135390 = .float 0.001 \ No newline at end of file diff --git a/src/SkylandersSwapForce/Workarounds/PortalStabilityFix/rules.txt b/src/SkylandersSwapForce/Workarounds/PortalStabilityFix/rules.txt new file mode 100644 index 00000000..9f34b9bc --- /dev/null +++ b/src/SkylandersSwapForce/Workarounds/PortalStabilityFix/rules.txt @@ -0,0 +1,10 @@ +[Definition] +titleIds = 0005000010140400,0005000010139200 +name = Portal Stability Fix +path = "Skylanders Swap Force/Workarounds/Portal Stability Fix" +description = Increases stability of portal communication in Swap Force to fix issues at the Skylander Swap Force scanning screen.||Made by Exzap. +version = 6 +default = 1 + +# This fix can't be ported to other skylanders games since this specific problem doesn't occur for those. +# Only this game suffers from this coding bug in the game, which does something Cemu can't properly emulate. \ No newline at end of file