From 93c8842313d0ef03402f73b2e0f5ece5966563aa Mon Sep 17 00:00:00 2001 From: stis1 <151397425+stis1@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:12:23 +0500 Subject: [PATCH 01/10] [Shadow Generations] Disable Wind Overlay code --- .../Post-processing/Disable Wind Overlay Effect.hmm | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Source/Shadow Generations/Graphics/Post-processing/Disable Wind Overlay Effect.hmm diff --git a/Source/Shadow Generations/Graphics/Post-processing/Disable Wind Overlay Effect.hmm b/Source/Shadow Generations/Graphics/Post-processing/Disable Wind Overlay Effect.hmm new file mode 100644 index 0000000..7ab3b3d --- /dev/null +++ b/Source/Shadow Generations/Graphics/Post-processing/Disable Wind Overlay Effect.hmm @@ -0,0 +1,12 @@ +Patch "Disable Wind Overlay Effect" in "Graphics/Post-processing" by "stis" does "Disables the wind effect when boosting" +{ + WriteProtected( + /* v1.1.0.1: 0x14120FF38 */ + ScanSignature + ( + "\x65\x66\x5F\x70\x6C\x5F\x6C\x69\x6E\x65\x5F\x73\x70\x65\x65\x64\x30\x31", + "xxxxxxxxxxxxxxxxxx" + ), + 0x30 + ); +} \ No newline at end of file From b3918d57e496270a6026e29d69651cc83c6ec994 Mon Sep 17 00:00:00 2001 From: stis1 <151397425+stis1@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:56:56 +0500 Subject: [PATCH 02/10] Renamed "Wind Overlay Effect" to "Speed Lines" --- .../{Disable Wind Overlay Effect.hmm => Disable Speed Lines} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename Source/Shadow Generations/Graphics/Post-processing/{Disable Wind Overlay Effect.hmm => Disable Speed Lines} (60%) diff --git a/Source/Shadow Generations/Graphics/Post-processing/Disable Wind Overlay Effect.hmm b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines similarity index 60% rename from Source/Shadow Generations/Graphics/Post-processing/Disable Wind Overlay Effect.hmm rename to Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines index 7ab3b3d..387b862 100644 --- a/Source/Shadow Generations/Graphics/Post-processing/Disable Wind Overlay Effect.hmm +++ b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines @@ -1,4 +1,4 @@ -Patch "Disable Wind Overlay Effect" in "Graphics/Post-processing" by "stis" does "Disables the wind effect when boosting" +Patch "Disable Speed Lines" in "Graphics/Post-processing" by "stis" does "Disables the speed lines around the edges of the screen whilst boosting." { WriteProtected( /* v1.1.0.1: 0x14120FF38 */ @@ -9,4 +9,4 @@ Patch "Disable Wind Overlay Effect" in "Graphics/Post-processing" by "stis" does ), 0x30 ); -} \ No newline at end of file +} From 32f57bd787a165c815c9861948c59d5e0399c991 Mon Sep 17 00:00:00 2001 From: stis1 <151397425+stis1@users.noreply.github.com> Date: Wed, 4 Dec 2024 23:57:56 +0500 Subject: [PATCH 03/10] forgot .hmm --- .../{Disable Speed Lines => Disable Speed Lines.hmm} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename Source/Shadow Generations/Graphics/Post-processing/{Disable Speed Lines => Disable Speed Lines.hmm} (100%) diff --git a/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm similarity index 100% rename from Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines rename to Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm From 78d219b615e340b0568953bb1b1acd611236948d Mon Sep 17 00:00:00 2001 From: stis <151397425+stis1@users.noreply.github.com> Date: Thu, 27 Mar 2025 01:39:25 +0500 Subject: [PATCH 04/10] . . --- .../Post-processing/Disable Speed Lines.hmm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm index 387b862..fcc669e 100644 --- a/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm +++ b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm @@ -1,6 +1,7 @@ Patch "Disable Speed Lines" in "Graphics/Post-processing" by "stis" does "Disables the speed lines around the edges of the screen whilst boosting." { - WriteProtected( + WriteProtected + ( /* v1.1.0.1: 0x14120FF38 */ ScanSignature ( @@ -9,4 +10,14 @@ Patch "Disable Speed Lines" in "Graphics/Post-processing" by "stis" does "Disabl ), 0x30 ); -} + WriteProtected + ( + /* v1.1.0.1: 0x14120FF38 */ + ScanSignature + ( + "\x65\x66\x5F\x70\x6C\x5F\x6C\x69\x6E\x65\x5F\x73\x70\x65\x65\x64\x30\x34", + "xxxxxxxxxxxxxxxxxx" + ), + 0x30 + ); +} \ No newline at end of file From 4b4f11c587a8da7745b0408038b9119ce6c4ff46 Mon Sep 17 00:00:00 2001 From: stis <151397425+stis1@users.noreply.github.com> Date: Thu, 27 Mar 2025 01:41:39 +0500 Subject: [PATCH 05/10] Updated Disable Speed Line code Now it disables them in 2d acts to avoid chaos when using with Multiplayer mod --- .../Graphics/Post-processing/Disable Speed Lines.hmm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm index fcc669e..9216c21 100644 --- a/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm +++ b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm @@ -20,4 +20,4 @@ Patch "Disable Speed Lines" in "Graphics/Post-processing" by "stis" does "Disabl ), 0x30 ); -} \ No newline at end of file +} From 19519b4642518a9e04f2e34390f7bdb753246c55 Mon Sep 17 00:00:00 2001 From: stis <151397425+stis1@users.noreply.github.com> Date: Thu, 27 Mar 2025 01:44:16 +0500 Subject: [PATCH 06/10] Disable Speed Lines for Forces Yup for Forces --- .../Post-processing/Disable Speed Lines.hmm | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Source/Sonic Forces/Graphics/Post-processing/Disable Speed Lines.hmm diff --git a/Source/Sonic Forces/Graphics/Post-processing/Disable Speed Lines.hmm b/Source/Sonic Forces/Graphics/Post-processing/Disable Speed Lines.hmm new file mode 100644 index 0000000..ef2a01a --- /dev/null +++ b/Source/Sonic Forces/Graphics/Post-processing/Disable Speed Lines.hmm @@ -0,0 +1,23 @@ +Patch "Disable Speed Lines" in "Graphics/Post-processing" by "stis" does "Disables the speed lines around the edges of the screen whilst boosting." +{ + WriteProtected + ( + /* 0x141D9DD28 */ + ScanSignature + ( + "\x65\x66\x5F\x70\x6C\x5F\x6C\x69\x6E\x65\x5F\x73\x70\x65\x65\x64\x5F\x6C\x76\x31\x5F\x72\x6F\x74\x61\x74\x65", + "xxxxxxxxxxxxxxxxxxxxxxxxxxx" + ), + 0x30 + ); + WriteProtected + ( + /* 0x141D9DD60 */ + ScanSignature + ( + "\x65\x66\x5F\x70\x6C\x5F\x6C\x69\x6E\x65\x5F\x73\x70\x65\x65\x64\x5F\x6C\x76\x32\x5F\x72\x6F\x74\x61\x74\x65", + "xxxxxxxxxxxxxxxxxxxxxxxxxxx" + ), + 0x30 + ); +} \ No newline at end of file From 1d3dcbf16963dfb9f458f8ea85f1ca513e0c586c Mon Sep 17 00:00:00 2001 From: stis <151397425+stis1@users.noreply.github.com> Date: Thu, 27 Mar 2025 18:38:57 +0500 Subject: [PATCH 07/10] separating 3d and 2d --- .../Disable Speed Lines in 3D.hmm | 13 +++++++++++ .../Post-processing/Disable Speed Lines.hmm | 23 ------------------- 2 files changed, 13 insertions(+), 23 deletions(-) create mode 100644 Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines in 3D.hmm delete mode 100644 Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm diff --git a/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines in 3D.hmm b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines in 3D.hmm new file mode 100644 index 0000000..f2b0e53 --- /dev/null +++ b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines in 3D.hmm @@ -0,0 +1,13 @@ +Patch "Disable Speed Lines in 3D" in "Graphics/Post-processing" by "stis" does "Disables the speed lines around the edges of the screen whilst boosting." +{ + WriteProtected + ( + /* v1.1.0.1: 0x14120FF38 */ + ScanSignature + ( + "\x65\x66\x5F\x70\x6C\x5F\x6C\x69\x6E\x65\x5F\x73\x70\x65\x65\x64\x30\x31", + "xxxxxxxxxxxxxxxxxx" + ), + 0x30 + ); +} diff --git a/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm deleted file mode 100644 index 9216c21..0000000 --- a/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines.hmm +++ /dev/null @@ -1,23 +0,0 @@ -Patch "Disable Speed Lines" in "Graphics/Post-processing" by "stis" does "Disables the speed lines around the edges of the screen whilst boosting." -{ - WriteProtected - ( - /* v1.1.0.1: 0x14120FF38 */ - ScanSignature - ( - "\x65\x66\x5F\x70\x6C\x5F\x6C\x69\x6E\x65\x5F\x73\x70\x65\x65\x64\x30\x31", - "xxxxxxxxxxxxxxxxxx" - ), - 0x30 - ); - WriteProtected - ( - /* v1.1.0.1: 0x14120FF38 */ - ScanSignature - ( - "\x65\x66\x5F\x70\x6C\x5F\x6C\x69\x6E\x65\x5F\x73\x70\x65\x65\x64\x30\x34", - "xxxxxxxxxxxxxxxxxx" - ), - 0x30 - ); -} From b638da7d093bada41ccceb5e35719c2490e40d14 Mon Sep 17 00:00:00 2001 From: stis <151397425+stis1@users.noreply.github.com> Date: Thu, 27 Mar 2025 18:42:22 +0500 Subject: [PATCH 08/10] Create Disable Speed Lines in 2D --- .../Post-processing/Disable Speed Lines in 2D.hmm | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines in 2D.hmm diff --git a/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines in 2D.hmm b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines in 2D.hmm new file mode 100644 index 0000000..1ef26fa --- /dev/null +++ b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines in 2D.hmm @@ -0,0 +1,13 @@ +Patch "Disable Speed Lines in 2D" in "Graphics/Post-processing" by "stis" does "Disables the speed lines around the player whilst boosting." +{ + WriteProtected + ( + /* v1.10.0.0: 0x141240A78 */ + ScanSignature + ( + "\x65\x66\x5F\x70\x6C\x5F\x6C\x69\x6E\x65\x5F\x73\x70\x65\x65\x64\x30\x34", + "xxxxxxxxxxxxxxxxxx" + ), + 0x30 + ); +} From 4ff7c2eeb21582650dd0e59be86d1a2543dc63c4 Mon Sep 17 00:00:00 2001 From: stis <151397425+stis1@users.noreply.github.com> Date: Thu, 27 Mar 2025 18:43:52 +0500 Subject: [PATCH 09/10] [Shadow Generations] Update addresses --- .../Graphics/Post-processing/Disable Speed Lines in 3D.hmm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines in 3D.hmm b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines in 3D.hmm index f2b0e53..9ccab8e 100644 --- a/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines in 3D.hmm +++ b/Source/Shadow Generations/Graphics/Post-processing/Disable Speed Lines in 3D.hmm @@ -2,7 +2,7 @@ Patch "Disable Speed Lines in 3D" in "Graphics/Post-processing" by "stis" does " { WriteProtected ( - /* v1.1.0.1: 0x14120FF38 */ + /* v1.10.0.0: 0x1412450C8 */ ScanSignature ( "\x65\x66\x5F\x70\x6C\x5F\x6C\x69\x6E\x65\x5F\x73\x70\x65\x65\x64\x30\x31", From 09660d1e7463c42e10c8745b6ca9e35f4fce2839 Mon Sep 17 00:00:00 2001 From: stis <151397425+stis1@users.noreply.github.com> Date: Thu, 27 Mar 2025 18:44:40 +0500 Subject: [PATCH 10/10] [Shadow Generations] Added 2D variant of no speed lines