Skip to content

The Suffering Recomp v1.6.1 — Docks Staircase, Cheat Menu Crash & Build Privacy Fixes

Choose a tag to compare

@Anthonyp85 Anthonyp85 released this 25 Nov 23:08
· 5 commits to main since this release

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.iso or .iso).

End-User Download Tip: Existing v1.5.0+ users can click Check for Updates -> Update Now directly inside the Pre-Game Launcher, or download TheSuffering-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 launch suffering.exe / ./suffering. Do not download Source 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.0f Slope Check & Flat-Landing Step Transitions: Hooked IsWalkableOrStepTriangle (sub_00179D60) to fix the Original Xbox x87 fcomp [400.0f] comparison that rejected 0.54 <= ny < 0.76604 staircase ramps (40°–57.3°) and preserved STEP_UP_ENABLED (0x08) across flat-landing-to-ramp CGroundSupport transitions (0x0017A81C).
  • Long Wooden Docks Flights & Narrow Railings: Hooked ShouldSkipStepTriangle (sub_001709C0) so tall single-triangle Docks flights (span_y up to 1,301 units) no longer register as solid foot walls on their lower two-thirds, raised CTriPool snapshot capacity (512 -> 2048) for dense Docks meshes, and added narrow-railing parallel clearance tolerance, multi-angle inward probing, header-trim progressive crest lift, and ON_GROUND V-pinch anti-wedge recovery.

2. In-Game Cheat Menu Crash Fix & ImGui UI Hardening

  • Eliminated PopStyleColor() Stack Underflow Crash (imgui.cpp:3252): Fixed DrawCheatsPanel mutating armed inside ImGui::Checkbox between conditional PushStyleColor and PopStyleColor(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 to io.Fonts->Clear() on DPI changes, released held ImGuiKey_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) so Hermes in 8b Bluff cannot be killed outside the furnace gas burner sequence (Relay #7949).
  • x87 FPU & Guest Bounds Hardening: Added SavedX87State capture/restore and overflow-safe ValidGuest checks across hooks.cpp guest calls, preserved controller turn acceleration on early-return hot-switches, and validated CUserSettings::CopyFrom buffer ranges.

4. Windows -O3 -DNDEBUG Optimization & Zero-Path-Leak Build Privacy

  • Release Optimization & Path-Free Binaries: Enforced explicit -O3 -DNDEBUG Release flags on Windows & Linux Clang builds (reducing suffering.exe size by ~33%) and configured comprehensive -ffile-prefix-map rules, /Brepro, /PDBALTPATH:%_PDB%, and --build-id=sha1 --strip-debug across 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