Skip to content

Releases

The Suffering Recomp v1.4.1 — Startup Shader Pre-Compilation & DLSS Fix

Choose a tag to compare

@Anthonyp85 Anthonyp85 released this 24 Nov 02:52

The Suffering — Native Win64 & Linux / Steam Deck Static Recompilation (v1.4.1)

v1.4.1 adds multi-threaded startup shader & PSO pre-compilation + cross-driver recipe caching to eliminate cold-start and mid-gameplay shader stuttering, fixes NVIDIA DLSS 4 Ultra Quality (77%) & Custom (%) NGX feature creation, and clarifies live HUD upscaler labels across 3D gameplay, DLAA, and 2D menu/FMV pass-throughs.

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


What's New & Fixed in v1.4.1

1. Multi-Threaded Startup Shader & PSO Pre-Compilation (D3D12 & Vulkan)

  • Parallel Boot Pre-Compilation Before Frame 1: Translates and compiles all guest programmable vertex & pixel shaders loaded from ShaderLibrary.bin & xpsBW.xpu, built-in blit/clear/depth/particle pipelines, common fixed-function UI/3D FVF & combiner permutations, and any previously seen cache/shader_recipes.bin permutations across up to 12 worker threads at startup.
  • Driver-Upgrade Resilient PSO Prewarm & Zero-Stall 3D Checkpointing: Preserves pso_meta_* / vk_pso_meta_* PSO prewarm lists across GPU & Mesa/SteamOS driver updates, immediately builds deferred PSOs once guest shaders finish compiling, defers heavy pipeline-library serialization until menus/loading/exit so active 3D gameplay never stalls, and shows a compact startup shader cache status toast.

2. NVIDIA DLSS Ultra Quality (77%) & Custom (%) NGX Fix

  • Eliminated 0xBAD00010 (InvalidParameter) on Ultra Quality (77%): Mapped Ultra Quality (1.3x / 77% render scale) and arbitrary Custom (%) ratios to valid NVIDIA NGX PerfQualityValue tiers (kDlaa, kMaxQuality, kBalanced, kMaxPerf, kUltraPerformance) with automatic fallback retry and odd-pixel windowed DLAA tolerance — verified across all 7 DLSS quality tiers with DLSS 4 Transformer Preset K.

3. Clearer Live Upscaler HUD & Menu Pre-Validation

  • Accurate 3D / DLAA / 2D Menu Labels: Pre-validates temporal upscaler features immediately on 2D menus/pause screens and displays DLSS / DLSS (DLAA) in 3D gameplay, DLSS (2D) / DLSS (DLAA - 2D) during clean 2D menu/FMV spatial pass-through, and FSR 1.0 (Fallback) only when a vendor plugin genuinely fails.

Release Archives & SHA-256 Checksums

Archive Target Platform Size (Bytes) SHA-256
TheSuffering-Recomp-v1.4.1-win64-launcher.zip Windows 10/11 x64 (D3D12 + bundled signed DLSS 4 / FSR 3.1.6 / XeSS 2.0.2) 196,209,948 d34412bb8b27ee4e3808e2cf7e8170c84d2e3424d2962eb1b40d671c33a11273
TheSuffering-Recomp-v1.4.1-linux-x86_64.tar.gz Native Linux x86_64 & Steam Deck (Vulkan 1.2 + SDL3 + glibc 2.35+, zero Proton) 74,440,689 bc4e7032c92336409ee64aa99f827da196970f605656046f1ede2d1671440c17
TheSuffering-Recomp-v1.4.1-source.zip Source Code Snapshot (HEAD cc4aea0) 557,288 28439123f8df7148eeaa62bd28d5f50f7ceff0352341828b9f713ae3212edfaf

The Suffering Recomp v1.4.0 — Menu Mouse Support & High-Refresh Smoothness

Choose a tag to compare

@Anthonyp85 Anthonyp85 released this 23 Nov 08:13

The Suffering — Native Win64 & Linux / Steam Deck Static Recompilation (v1.4.0)

v1.4.0 adds full point-and-click mouse support across all in-game menu screens & the interactive Map and eliminates gameplay choppiness/stuttering across 60 Hz, 90 Hz Steam Deck OLED, and 120–240 Hz PC displays (including unlocked high-refresh 90 / 120 / 165+ FPS gameplay support).

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


What's New in v1.4.0

1. Full Native Mouse Support on All Menu Screens & Interactive Map

  • Point, Hover & Click Everywhere: Native Riot Engine CGUIScreen / CGUIWidget hit-testing across Title ("Press Start"), Main Menu, Pause Menu, Options (including clicking/dragging sliders and toggles), Save/Load lists, Clem's Journal/Archives, and Yes/No modals.
  • Right-Click Back & Wheel Scroll: RMB cancels/backs out of submenus and unpauses; Mouse Wheel scrolls lists and journal pages.
  • Interactive Map Pan & Zoom (Tab / M): Hold LMB + drag to pan the map and scroll Mouse Wheel to zoom smoothly.
  • Pixel-Exact Aspect Mapping & Zero Click-Bleed: Accurate across 16:9 (stretched or 4:3 pillarbox), 16:10 Steam Deck (1280x800 +40px letterbox), 21:9 ultrawide, Integer scaling, and High-DPI windows; stationary mouse never overrides keyboard/gamepad focus, and latching mouse release prevents clicking Resume Game from firing Torque's weapon.

2. Gameplay Smoothness & High-Refresh (90 / 120 / 165+ Hz) Optimizations

  • High-Resolution CClock & Unlocked High-FPS Support: Replaced Riot Engine's 1 ms integer GetTickCount g_dt calculation (which caused ±6–12% every-frame camera/movement sawtooth and 81–97 ms unpause snowballs) with a monotonic steady_clock double accumulator (|Δg_dt| median 1.00 ms → 0.00 ms, p95 2.00 ms → 0.02 ms), plus a 60 Hz fixed-step accumulator hook on the cloth solver (0x001A6480) enabling smooth 90 / 120 / 165+ FPS gameplay.
  • Waitable Swapchain & Non-Divisor VSync Pacing: Enabled DXGI_SWAP_CHAIN_FLAG_FRAME_LATENCY_WAITABLE_OBJECT, eliminated 34 ms ↔ 1 ms non-divisor VSync oscillation at 60 FPS on 90/144/165 Hz displays (steady std -69%, p99 32.75 ms → 17.88 ms), and removed 1.0-second OS display/VRAM polling stalls inside Present().
  • Streaming Anti-Preemption & DLSS 4 Camera Isolation: Prioritized the main guest thread above background SRSC decompression during active rendering (with a 25 ms load-screen watchdog) and isolated 640x480 main-pass camera matrices from offscreen 256x256 shadow/monitor passes for clean DLSS motion vectors.

Release Archives & SHA-256 Checksums

Archive Target Platform Size (Bytes) SHA-256
TheSuffering-Recomp-v1.4.0-win64-launcher.zip Windows 10/11 x64 (D3D12 + bundled signed DLSS 4 / FSR 3.1.6 / XeSS 2.0.2) 196,142,802 42f2d1cb855773e4c21fbf7b9b28aa46405922c01ededb84160cec670ef92c31
TheSuffering-Recomp-v1.4.0-linux-x86_64.tar.gz Native Linux x86_64 & Steam Deck (Vulkan 1.2 + SDL3 + glibc 2.35+, zero Proton) 74,408,019 29d7921f94f71d26d690ea1702a819eee86ed53e865cea8c64aa31fa36993472
TheSuffering-Recomp-v1.4.0-source.zip Source Code Snapshot (HEAD c6aae09) 539,853 05ab4b80d9b3df5de483ddc7f6352ae688763f729fb9b632292831d6185b34e5

The Suffering Recomp v1.3.1 (Windows x64 & Linux / Steam Deck)

Choose a tag to compare

@Anthonyp85 Anthonyp85 released this 23 Nov 03:03

The Suffering — Native Win64 & Linux / Steam Deck Static Recompilation (v1.3.1)

Native 64-bit static recompilation of Original Xbox The Suffering (USA) (Title ID 0x4D570015, XDK 1.0.5788.1) for Windows 10/11 x64 (Direct3D 12 + XAudio2 + SDL3) and Native Linux x86_64 & Steam Deck (Vulkan 1.2 + SDL3 + ELF64, glibc 2.35+, zero Proton required), built on XboxXBERecomp.

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


Key Features & v1.3.1 Performance Highlights

  • True Native Dual-Platform Engine:
    • Windows x64: Direct3D 12 renderer, XAudio2 3D/ADPCM audio, Win32 Raw Input 1:1 mouse aim + full keyboard rebinding + SDL3 DualSense/Xbox/Switch controller support, 6-tab Pre-Game Graphical Launcher, and live F1 (BACK + L3) Dear ImGui overlay.
    • Native Linux x86_64 & Steam Deck (SteamOS 3.x): Native Vulkan 1.2 renderer, SDL3 Wayland/X11/Gamescope windowing + PipeWire/PulseAudio/ALSA audio, self-contained compiler/ toolchain ($ORIGIN RPATH — zero system LLVM packages needed on stock read-only SteamOS), in-app Gamepad/Touch XISO File Browser, 1280x800 (16:10) auto-centering, and one-step install-steamdeck.sh Non-Steam shortcuts.vdf installer.
  • 9 Upscalers Out of the Box:
    • 6 Built-In Spatial Upscalers (Windows D3D12 & Linux Vulkan, zero external DLLs): AMD FSR 1.0 (EASU + RCAS), NVIDIA Image Scaling (NIS v1.0.3), AMD FidelityFX CAS, Bicubic 5-Tap, Integer, and Bilinear.
    • 3 Pre-Bundled Official Signed Temporal Upscalers (Windows plugins\): NVIDIA DLSS 4 (v310.9.16, Presets J/K & DLAA + automatic Authenticode-verified NGX driver fallback), AMD FidelityFX FSR 3.1.6 (SDK v2.4.0), and Intel XeSS 2.0.2 (SDK v3.0.2).
  • v1.3.1 Frame-Pacing & Cutscene Stutter Optimizations:
    • XMV Cutscene & Horror-Flash Anti-Spin: Hooked XMVDecoder_GetNextFrame (sub_00265C7B) onto a drift-free 60.000 Hz VBlank condition variable (-75.5% guest main-thread CPU load) + Linux unprivileged relative-nice fallback so Steam Deck single-core guest scheduling never starves .vdu packet streaming.
    • 16 MiB XISO Block Read-Ahead Cache: 32-stripe × 8-way × 64 KiB userspace block cache in Disc::ReadAt (19.8x faster across ~387k sub-sector Riot Engine reads) + gated SetEvent thread yields and Linux MatchCase negative caching.
    • 4-Thread Startup PSO Pre-Warm & Boot Upscaler Pre-Warm: Persistent pso_meta_*.bin / vk_pso_meta_*.bin metadata pre-warms all cached pipelines on 4 worker threads at boot (0 runtime PSO misses during cutscenes and room loads), background async SaveCaches() writer thread, and boot-time upscaler context pre-warming (349.5 ms → 0 ms first-3D-frame stall).
    • 32 MiB GPU Texture Slabs, SSE2 YUY2 Decode & VSync/Audio Pacing: Placed-resource / VkDeviceMemory texture slabs (-99.97% resource wait stalls), SSE2 BT.601 YUY2 cutscene row decoding (7.2x faster FMV uploads), VSync-aware app::Pace() anti-beat-drop pacing (accurate fps_cap on 60 Hz, 90 Hz Steam Deck OLED, and 144–240 Hz monitors), push-mode SDL3 audio, and event-driven XAudio2 callbacks.

Release Archives & SHA-256 Checksums

Archive Target Platform Size (Bytes) SHA-256
TheSuffering-Recomp-v1.3.1-win64-launcher.zip Windows 10/11 x64 (D3D12 + bundled signed DLSS 4 / FSR 3.1.6 / XeSS 2.0.2) 196,035,580 911c6a72347f4ddffc9b0cddbbc498f43031f274b8b988e5109bd359dc82b45b
TheSuffering-Recomp-v1.3.1-linux-x86_64.tar.gz Native Linux x86_64 & Steam Deck (Vulkan 1.2 + SDL3 + glibc 2.35+, zero Proton) 74,389,609 e38253275ba93eeb90f10ff46882902a4160d5124fa2db6aa9f89b17d28d03e0
TheSuffering-Recomp-v1.3.1-source.zip Source Code Snapshot (HEAD fd341df) 518,966 852eade9d879723512f4cf405bb2a5093bf5a95a0784dc848ca37339be4e4d3a