github Mrsuss60/bloodborne_pc_windows_port v0.5.0
bloodborne_pc_windows_port v0.5.0 - Native Windows Port

latest releases: v1.0.0, v0.9.0, v0.8.0...
one month ago

Bloodborne PC Windows Port - v0.5.0

This release introduces an overhauled mouse look implementation with in-engine deadzone compensation, fully rebindable controls, a modernized modular PySide6 launcher, and a standalone embedded Python runtime that removes external Python installation requirements. It resolves persistent shader compilation stutters through disk-backed Vulkan pipeline binary serialization, fixes memory leaks from uncollected transient depth targets, removes the CPU AVX2 instruction set requirement, and fixes audio pop discontinuities during high-amplitude impacts.


Controls & Input

  • Mouse Look & Camera Integration

    • Replaced the previous cursor emulation with relative cursor capture adapted from the Linux port (deadinside28/bloodborne_pc@3c57da4).
    • Added initial capture-click discard, window boundary clipping (ClipCursor), and automatic cursor release when switching focus away from the game window or toggling the configuration overlay (F1 / Insert).
    • Fixed ineffective sensitivity sliders by adding an engine deadzone jump (defaulting to 0.13 to immediately bypass Bloodborne's internal ~16/127 stick threshold for responsive micro-adjustments) and configurable exponential moving average (EMA) mouse smoothing.
  • Keybind Remapping System

    • Added an interactive key remapping system with click-to-assign buttons, mouse button support (Mouse Left, Mouse Right, Mouse Middle, Mouse X1, Mouse X2, chords), conflict auto-swapping, and a reset-to-defaults option.
    • All bindings persist bidirectionally between bbport.ini, the in-game overlay, and the desktop launcher.
    • Aligned action mapping strictly to official DualShock 4 controller inputs:
      • Dedicated Backspace to Personal Effects (Touchpad Right) and G to Gestures (Touchpad Left).
      • Dedicated Escape to System Menu (OPTIONS).
      • Removed redundant simulated jump button (C), preserving the native engine sprint-to-jump mechanic (holding and tapping Space).

Graphics, Shaders & Memory

  • Vulkan Pipeline Binary Disk Persistence

    • Eliminated recurring shader compilation stutter across game restarts by persisting compiled driver binary blobs (VkPipelineCache) directly to disk (.vkp).
    • Saved driver caches are validated against GPU vendor ID, device ID, and driver version to prevent stale cache ingestion across graphics driver updates.
    • Expanded default background compiler worker threads to std::clamp(cores / 2, 2, 8) and reduced the async skippable draw streak threshold from 8 to 2 frames, dispatching geometry and particle pipelines to worker threads earlier.
  • Texture Cache GC & Transient Depth Target Reclamation (#89)

    • Resolved progressive VRAM accumulation during extended sessions by reclaiming unreferenced transient depth targets.
    • Scaled garbage collection eviction quotas (80/40/20 across aggressive/pressured/normal tiers) with a 512-item LRU scan cap.
    • Tightened idle grace timers to 10s (normal) and 3s (pressured) to purge unreferenced zone assets, while explicitly protecting active bound targets, presentation surfaces, and GPU-modified tiled textures from early eviction.
  • Stream Buffer Placement & Stutter Reductions

    • Moved stream buffers (MemoryType::Stream) to host-cached system RAM with random write access. This eliminates small draw call transfers over the PCIe bus on the recording thread, allowing the CPU to write at cache speeds while the GPU reads asynchronously via DMA.
    • Marked PM4ItOpcode::SetPredication as pipelined, stopping unnecessary GPU pipeline flushes and deferred signal stalls on unhandled predication opcodes.
    • Fixed a fatal GPU assertion (exit code 23) by falling back to NumberConversion::None on unhandled SnormNz packed HDR/normal formats.

Platform, Runtime & Audio

  • Removal of AVX2 Requirement (#40)

    • Removed mandatory hardware requirements for AVX2 and FSGSBASE instructions in user-mode thread initialization and VEH probing.
    • Added runtime CPUID detection for FSGSBASE (Leaf 7, EBX bit 0) with a safe fallback to Windows TLS slot lookups when unsupported, allowing older CPUs (such as Intel Ivy Bridge / Sandy Bridge and older AMD architectures) to boot the port.
  • Audio Soft-Clip Waveform Smoothing (#70)

    • Fixed sharp popping artifacts during visceral attacks, explosions, and loud boss sound effects.
    • Resolved a waveform derivative discontinuity in soft_clip() by replacing piecewise hard-clamping with a continuous tanh/rational saturation curve.
  • Stable High-Resolution Timing

    • Routed guest TSC reads (read_tsc()) through process_time_counter() with frequency fixed to 1 GHz. This prevents delta jumps and animation stutter when threads migrate across heterogeneous cores or multi-CCD AMD processors.

Launcher & Packaging

  • Modular PySide6 Desktop Launcher

    • Replaced the monolithic launcher.py with a modular architecture under bblauncherAPP/ (bblauncher_app.py, bblauncher_UI.py, bblauncher_Utils.py).
    • Added an embedded dark title bar with custom window styling and application icon integration.
    • Handled folder paths containing parentheses without breaking batch script variable expansion (#82).
  • Zero-Dependency Portable Package

    • Bundled a standalone, isolated embedded Python runtime (python-embed/) directly into the release package.
    • End users no longer need to install Python 3 or configure system PATH variables to compile patches or launch the game.
  • Parallelized Build System

    • Updated build.bat to detect available CPU threads (%NUMBER_OF_PROCESSORS%), configure parallel Ninja jobs, and cache staged runtime DLL scans to speed up incremental builds.

Merged Pull Requests & Credits

  • @ALuaNegra for #89 (gpu/texture_cache: Reclaim transient depth targets and mitigate VRAM pressure leak).
  • @deadinside28 for the reference Linux relative mouse look implementation (deadinside28/bloodborne_pc@3c57da4).

Requirements

  • OS: Windows 10 or Windows 11 (64-bit)
  • GPU: Vulkan 1.3 capable graphics card (NVIDIA GTX 10-series+, AMD RX 400-series+, Intel Arc)
  • CPU: x86-64 processor supporting AVX / SSE4.2 (AVX2 no longer required)
  • Game Dump: Decrypted Bloodborne PS4 dump (CUSA03173, version 1.09) with eboot.bin

(Python is no longer required on the host system; the required runtime environment is pre-configured and bundled in python-embed/)

Installation & Launching

  1. Extract the release archive.
  2. Run BloodborneLauncher.exe (or run.bat).
  3. Select your decrypted 1.09 eboot.bin path.
  4. Adjust graphics, framerate cap, and keybinds as desired.
  5. Click Launch Bloodborne.

In-Game Hotkeys

  • F1 to capture/release mouse
  • Insert or L3 + R3: Open the in-game settings overlay.
  • F11: Toggle performance telemetry HUD.

Downloads v0.5.0

Don't miss a new bloodborne_pc_windows_port release

NewReleases is sending notifications on new releases.