From f3a9f0fb43ee4b75002a3945a0a31cd8b5bf3e82 Mon Sep 17 00:00:00 2001 From: Tobias Gruetzmacher Date: Mon, 19 Jan 2026 10:49:45 +0100 Subject: [PATCH 1/5] Update Flatpak runtime to 24.08 (#1676) --- .github/workflows/validate.yml | 14 +++++--------- flatpak/io.github.hedge_dev.unleashedrecomp.json | 2 +- 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 05002d3c1..9373da22e 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -9,7 +9,7 @@ on: concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true - + jobs: build-linux: name: Build Linux @@ -38,7 +38,7 @@ jobs: uses: hendrikmuhs/ccache-action@v1.2 with: key: ccache-${{ runner.os }}-${{ matrix.preset }} - + - name: Cache vcpkg uses: actions/cache@v4 with: @@ -119,7 +119,7 @@ jobs: run: | choco install ninja Remove-Item -Path "C:\ProgramData\Chocolatey\bin\ccache.exe" -Force -ErrorAction SilentlyContinue - + - name: Configure Developer Command Prompt uses: ilammy/msvc-dev-cmd@v1 @@ -134,7 +134,7 @@ jobs: - name: Build Project run: cmake --build .\out\build\${{ env.CMAKE_PRESET }} --target UnleashedRecomp - + - name: Pack Release run: | New-Item -ItemType Directory -Path .\release @@ -162,8 +162,6 @@ jobs: runs-on: ubuntu-24.04 env: FLATPAK_ID: io.github.hedge_dev.unleashedrecomp - FREEDESKTOP_VERSION: 23.08 - LLVM_VERSION: 18 steps: - name: Checkout Repository @@ -190,13 +188,11 @@ jobs: key: ccache-${{ runner.os }} - name: Prepare Project - run: cp ./private/* ./UnleashedRecompLib/private + run: cp ./private/* ./UnleashedRecompLib/private - name: Prepare Flatpak run: | flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo - flatpak --user install -y flathub org.freedesktop.Sdk//${{ env.FREEDESKTOP_VERSION }} - flatpak --user install -y flathub org.freedesktop.Sdk.Extension.llvm${{ env.LLVM_VERSION }}//${{ env.FREEDESKTOP_VERSION }} - name: Build Flatpak run: | diff --git a/flatpak/io.github.hedge_dev.unleashedrecomp.json b/flatpak/io.github.hedge_dev.unleashedrecomp.json index f6ae93245..5821bad23 100644 --- a/flatpak/io.github.hedge_dev.unleashedrecomp.json +++ b/flatpak/io.github.hedge_dev.unleashedrecomp.json @@ -1,7 +1,7 @@ { "id": "io.github.hedge_dev.unleashedrecomp", "runtime": "org.freedesktop.Platform", - "runtime-version": "23.08", + "runtime-version": "24.08", "sdk": "org.freedesktop.Sdk", "sdk-extensions" : [ "org.freedesktop.Sdk.Extension.llvm18" ], "finish-args": [ From 6b95a6d19316d8139c15ec3c931202d616040c41 Mon Sep 17 00:00:00 2001 From: xboxones1 <91512529+xboxones1@users.noreply.github.com> Date: Mon, 19 Jan 2026 19:21:59 +0900 Subject: [PATCH 2/5] Fix sound for native Linux build (#1527) --- .github/workflows/validate.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 9373da22e..5ee4a3661 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -52,7 +52,7 @@ jobs: - name: Install Dependencies (Linux) run: |- sudo apt update - sudo apt install -y ninja-build llvm-${{ env.LLVM_VERSION }}-dev libgtk-3-dev + sudo apt install -y ninja-build llvm-${{ env.LLVM_VERSION }}-dev libgtk-3-dev libasound2-dev libpulse-dev libpipewire-0.3-dev - name: Cache ccache Directory uses: actions/cache@v4 From 77f68d2d7c8431cd2f77ad7cccff6b06af04980b Mon Sep 17 00:00:00 2001 From: "Skyth (Asilkan)" <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Fri, 30 Jan 2026 19:39:09 +0300 Subject: [PATCH 3/5] Remove rumble multiplication. (#1513) --- UnleashedRecomp/hid/driver/sdl_hid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UnleashedRecomp/hid/driver/sdl_hid.cpp b/UnleashedRecomp/hid/driver/sdl_hid.cpp index aa0e47793..762355242 100644 --- a/UnleashedRecomp/hid/driver/sdl_hid.cpp +++ b/UnleashedRecomp/hid/driver/sdl_hid.cpp @@ -138,7 +138,7 @@ class Controller this->vibration = vibration; - SDL_GameControllerRumble(controller, vibration.wLeftMotorSpeed * 256, vibration.wRightMotorSpeed * 256, VIBRATION_TIMEOUT_MS); + SDL_GameControllerRumble(controller, vibration.wLeftMotorSpeed, vibration.wRightMotorSpeed, VIBRATION_TIMEOUT_MS); } void SetLED(const uint8_t r, const uint8_t g, const uint8_t b) const From 5e8695a157ce9d2a783944d63439cc8c76a38fc2 Mon Sep 17 00:00:00 2001 From: Hyper <34012267+hyperbx@users.noreply.github.com> Date: Sun, 1 Feb 2026 11:09:38 +0000 Subject: [PATCH 4/5] Fix Werehog rotating into walls when leaving them at HFR (#1570) --- UnleashedRecomp/patches/fps_patches.cpp | 8 ++++++++ UnleashedRecompLib/config/SWA.toml | 12 ++++++++++++ 2 files changed, 20 insertions(+) diff --git a/UnleashedRecomp/patches/fps_patches.cpp b/UnleashedRecomp/patches/fps_patches.cpp index afd07267d..322073cfc 100644 --- a/UnleashedRecomp/patches/fps_patches.cpp +++ b/UnleashedRecomp/patches/fps_patches.cpp @@ -195,3 +195,11 @@ bool SparkleLocusMidAsmHook() // This has the side effect of the locus particle eventually snapping to the rest position during pause, but it's better than vertices exploding. return App::s_deltaTime < (1.0 / 60.0); } + +void CEvilSonicContext_CStateWall_LeaveRotationMidAsmHook(PPCRegister& f1) +{ + // The code in the Werehog's "wall" state for leaving walls adds a constant + // value of 0.05 to his transform every frame. This makes the value respect + // delta time whilst maintaining the original behaviour at 30 FPS. + f1.f64 = f1.f64 * (std::min(App::s_deltaTime, 1.0 / 15.0) / (1.0 / 30.0)); +} diff --git a/UnleashedRecompLib/config/SWA.toml b/UnleashedRecompLib/config/SWA.toml index eb871b8a3..5063e7123 100644 --- a/UnleashedRecompLib/config/SWA.toml +++ b/UnleashedRecompLib/config/SWA.toml @@ -1141,3 +1141,15 @@ registers = ["r3"] name = "EndingTextPositionMidAsmHook" address = 0x82580168 registers = ["r31", "f13"] + +# Wall Leave - Left +[[midasm_hook]] +name = "CEvilSonicContext_CStateWall_LeaveRotationMidAsmHook" +address = 0x824067BC +registers = ["f1"] + +# Wall Leave - Right +[[midasm_hook]] +name = "CEvilSonicContext_CStateWall_LeaveRotationMidAsmHook" +address = 0x82406774 +registers = ["f1"] From cf829a9eca8fb680fba4b0409ddeb6ca92f22e3c Mon Sep 17 00:00:00 2001 From: Clash <15317421+RagdollClash@users.noreply.github.com> Date: Mon, 29 Jun 2026 04:05:43 -0700 Subject: [PATCH 5/5] Update username in credits (#1770) --- README.md | 2 +- UnleashedRecomp/res/credits.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 066cbefb9..995b73f91 100644 --- a/README.md +++ b/README.md @@ -460,7 +460,7 @@ The team behind Unleashed Recompiled does not currently have any plans to port m - [Goalringmod27](https://linktr.ee/goalringmod27): Concept Artist behind the achievements overlay shown during gameplay. Aided in the creation of the Transparency Anti-Aliasing thumbnail. -- [M&M](https://github.com/ActualMandM): Provisional support for dynamic UI aspect ratio. +- [RagdollClash](https://github.com/RagdollClash): Provisional support for dynamic UI aspect ratio. - [DaGuAr](https://twitter.com/TheDaguar): Provided Spanish localization for the custom menus alongside DarĂ­o. diff --git a/UnleashedRecomp/res/credits.h b/UnleashedRecomp/res/credits.h index 7cbd82ee0..294916fcf 100644 --- a/UnleashedRecomp/res/credits.h +++ b/UnleashedRecomp/res/credits.h @@ -15,7 +15,7 @@ inline std::array g_credits = "LJSTAR", "saguinee", "Goalringmod27", - "M&M", + "RagdollClash", "DaGuAr", "brianuuuSonic", "Kitzuku"