Repository navigation
The Suffering Recomp v1.6.1 — Docks Staircase, Cheat Menu Crash & Build Privacy Fixes
The Suffering — Native Win64 & Linux / Steam Deck Static Recompilation (v1.6.1)
v1.6.1 fixes the In-Game Cheat Menu PopStyleColor() assertion crash when toggling cheats, resolves Torque getting stuck on the wooden/railed staircases on 10 Docks before the final boss, prevents One-Hit Kills from softlocking the 8b Bluff Hermes boss encounter, hardens x87 FPU & guest memory safety across UI/gameplay hooks, and enforces -O3 -DNDEBUG Release optimization + deterministic zero-path-leak binary sanitization.
Legal & Asset Notice: This is an unofficial, independent clean-room recompilation project and is not affiliated with or endorsed by Surreal Software, Midway Games, Warner Bros. Discovery, or Microsoft Corporation. Zero copyrighted game code, XBE binaries, or disc assets are included in this repository or its release archives. Provide your own legally acquired Original Xbox disc image of The Suffering (USA) (
.xiso.isoor.iso).
End-User Download Tip: Existing
v1.5.0+users can click Check for Updates -> Update Now directly inside the Pre-Game Launcher, or downloadTheSuffering-Recomp-v1.6.1-win64-launcher.zip(Windows) /TheSuffering-Recomp-v1.6.1-linux-x86_64.tar.gz(Linux / Steam Deck) below — extract to a writable folder (or extract the entire archive over an existing install) and launchsuffering.exe/./suffering. Do not downloadSource code (zip)unless building from a full Git clone with Visual Studio / LLVM developer tools.
What's New & Fixed in v1.6.1
1. 10 Docks Staircase & Narrow Railed / Long-Flight Traversal Fixes
- Fixed Inverted
400.0fSlope Check & Flat-Landing Step Transitions: HookedIsWalkableOrStepTriangle(sub_00179D60) to fix the Original Xbox x87fcomp [400.0f]comparison that rejected0.54 <= ny < 0.76604staircase ramps (40°–57.3°) and preservedSTEP_UP_ENABLED(0x08) across flat-landing-to-rampCGroundSupporttransitions (0x0017A81C). - Long Wooden Docks Flights & Narrow Railings: Hooked
ShouldSkipStepTriangle(sub_001709C0) so tall single-triangle Docks flights (span_yup to1,301units) no longer register as solid foot walls on their lower two-thirds, raisedCTriPoolsnapshot capacity (512 -> 2048) for dense Docks meshes, and added narrow-railing parallel clearance tolerance, multi-angle inward probing, header-trim progressive crest lift, andON_GROUNDV-pinch anti-wedge recovery.
2. In-Game Cheat Menu Crash Fix & ImGui UI Hardening
- Eliminated
PopStyleColor()Stack Underflow Crash (imgui.cpp:3252): FixedDrawCheatsPanelmutatingarmedinsideImGui::Checkboxbetween conditionalPushStyleColorandPopStyleColor(2)calls when toggling God Mode or any other cheat. - Full ImGui Stack, Font & Controller Lifecycle Audit: Guarded
BeginTooltip()per Dear ImGui 1.91 contract, invalidated GPU font textures prior toio.Fonts->Clear()on DPI changes, released heldImGuiKey_Gamepad*inputs on controller disconnect, scoped hardware selector combo IDs, and synchronized XISO modal and MKB rebind cancel states.
3. 8b Bluff Hermes Boss One-Hit Kills Protection & Hook Safety
- Environmental-Puzzle Boss Softlock Prevention: Updated
One-Hit Kills(sub_000F1E80) to exclude environmental-puzzle bosses (Hermes, Horace, Killjoy) and sentinel-HP setpiece actors (>= 5,000 HP) soHermesin8b Bluffcannot be killed outside the furnace gas burner sequence (Relay #7949). - x87 FPU & Guest Bounds Hardening: Added
SavedX87Statecapture/restore and overflow-safeValidGuestchecks acrosshooks.cppguest calls, preserved controller turn acceleration on early-return hot-switches, and validatedCUserSettings::CopyFrombuffer ranges.
4. Windows -O3 -DNDEBUG Optimization & Zero-Path-Leak Build Privacy
- Release Optimization & Path-Free Binaries: Enforced explicit
-O3 -DNDEBUGRelease flags on Windows & Linux Clang builds (reducingsuffering.exesize by ~33%) and configured comprehensive-ffile-prefix-maprules,/Brepro,/PDBALTPATH:%_PDB%, and--build-id=sha1 --strip-debugacross all host, SDK, and FetchContent targets alongside automated ASCII/UTF-16LE + PE CodeView RSDS binary path-leak gates (gate2b_binary_hygiene).
Release Archives & SHA-256 Checksums
| Archive | Target Platform | Size (Bytes) | SHA-256 |
|---|---|---|---|
TheSuffering-Recomp-v1.6.1-win64-launcher.zip |
Windows 10/11 x64 (D3D12 + bundled signed DLSS 4 / FSR 3.1.6 / XeSS 2.0.2) |
196,078,468 |
2ef4e45c1a1cd96f1e4086dc1d19023206cc21995321101648b625c761677e21 |
TheSuffering-Recomp-v1.6.1-linux-x86_64.tar.gz |
Native Linux x86_64 & Steam Deck (Vulkan 1.2 + SDL3 + glibc 2.35+, zero Proton) |
71,265,206 |
9ae5439c771a3bc31d8622bab9225ab22bea912d0f3e8ec3e60700f76c7e6217 |
TheSuffering-Recomp-v1.6.1-source.zip |
Source Code Snapshot (HEAD 83ed39a) |
670,088 |
681cf6d1397469caa26c21609473bbc5388133f1ffd1d0e4e0ea3b7194bd5601 |