From 572b19adbcfd19e5fc8725b127248f0f09a501a3 Mon Sep 17 00:00:00 2001 From: HyperBE32 Date: Tue, 20 Apr 2021 01:35:04 +0100 Subject: [PATCH] [Sonic Boom] Disable Camera Shake --- .../patch_DisableEventCameraShake.asm | 23 +++++++++++++++++++ .../DisableEventCameraShake/rules.txt | 6 +++++ .../patch_DisablePlayerCameraShake.asm | 23 +++++++++++++++++++ .../DisablePlayerCameraShake/rules.txt | 6 +++++ 4 files changed, 58 insertions(+) create mode 100644 src/SonicBoomRiseOfLyric/Enhancements/DisableEventCameraShake/patch_DisableEventCameraShake.asm create mode 100644 src/SonicBoomRiseOfLyric/Enhancements/DisableEventCameraShake/rules.txt create mode 100644 src/SonicBoomRiseOfLyric/Enhancements/DisablePlayerCameraShake/patch_DisablePlayerCameraShake.asm create mode 100644 src/SonicBoomRiseOfLyric/Enhancements/DisablePlayerCameraShake/rules.txt diff --git a/src/SonicBoomRiseOfLyric/Enhancements/DisableEventCameraShake/patch_DisableEventCameraShake.asm b/src/SonicBoomRiseOfLyric/Enhancements/DisableEventCameraShake/patch_DisableEventCameraShake.asm new file mode 100644 index 000000000..799ed5ef5 --- /dev/null +++ b/src/SonicBoomRiseOfLyric/Enhancements/DisableEventCameraShake/patch_DisableEventCameraShake.asm @@ -0,0 +1,23 @@ +[WiiULauncher0US] +moduleMatches = 0x90DAC5CE + +; Skip shake initialisation in CView::ProcessShakeNormal +0x2AEA96C = b 0x2AEAA0C + +[WiiULauncher0EU] +moduleMatches = 0x8F7D2702 + +; Skip shake initialisation in CView::ProcessShakeNormal +0x2AEA94C = b 0x2AEA9EC + +[WiiULauncher0JP] +moduleMatches = 0x0D395735 + +; Skip shake initialisation in CView::ProcessShakeNormal +0x2AEA988 = b 0x2AEAA28 + +[WiiULauncher16] +moduleMatches = 0x113CC316 + +; Skip shake initialisation in CView::ProcessShakeNormal +0x2AEA9A8 = b 0x2AEAA48 \ No newline at end of file diff --git a/src/SonicBoomRiseOfLyric/Enhancements/DisableEventCameraShake/rules.txt b/src/SonicBoomRiseOfLyric/Enhancements/DisableEventCameraShake/rules.txt new file mode 100644 index 000000000..d1f048206 --- /dev/null +++ b/src/SonicBoomRiseOfLyric/Enhancements/DisableEventCameraShake/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 0005000010175B00,0005000010177800,0005000010191F00 +name = Disable Event Camera Shake +path = "Sonic Boom: Rise of Lyric/Enhancements/Disable Event Camera Shake" +description = This patches out camera shake tied to events.||Made by HyperBE32. +version = 6 \ No newline at end of file diff --git a/src/SonicBoomRiseOfLyric/Enhancements/DisablePlayerCameraShake/patch_DisablePlayerCameraShake.asm b/src/SonicBoomRiseOfLyric/Enhancements/DisablePlayerCameraShake/patch_DisablePlayerCameraShake.asm new file mode 100644 index 000000000..68363cbc0 --- /dev/null +++ b/src/SonicBoomRiseOfLyric/Enhancements/DisablePlayerCameraShake/patch_DisablePlayerCameraShake.asm @@ -0,0 +1,23 @@ +[WiiULauncher0US] +moduleMatches = 0x90DAC5CE + +; Skip shake initialisation in CBrbGameCamera::InitializeCameraShakes +0x309CA08 = b 0x309CBE8 + +[WiiULauncher0EU] +moduleMatches = 0x8F7D2702 + +; Skip shake initialisation in CBrbGameCamera::InitializeCameraShakes +0x309CA70 = b 0x309CC50 + +[WiiULauncher0JP] +moduleMatches = 0x0D395735 + +; Skip shake initialisation in CBrbGameCamera::InitializeCameraShakes +0x309CA28 = b 0x309CC08 + +[WiiULauncher16] +moduleMatches = 0x113CC316 + +; Skip shake initialisation in CBrbGameCamera::InitializeCameraShakes +0x309CC28 = b 0x309CE08 \ No newline at end of file diff --git a/src/SonicBoomRiseOfLyric/Enhancements/DisablePlayerCameraShake/rules.txt b/src/SonicBoomRiseOfLyric/Enhancements/DisablePlayerCameraShake/rules.txt new file mode 100644 index 000000000..c42150b67 --- /dev/null +++ b/src/SonicBoomRiseOfLyric/Enhancements/DisablePlayerCameraShake/rules.txt @@ -0,0 +1,6 @@ +[Definition] +titleIds = 0005000010175B00,0005000010177800,0005000010191F00 +name = Disable Player Camera Shake +path = "Sonic Boom: Rise of Lyric/Enhancements/Disable Player Camera Shake" +description = This patches out camera shake tied to player movement.||Made by HyperBE32. +version = 6 \ No newline at end of file