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

latest releases: v0.9.0, v0.8.0, v0.7.2...
one month ago

Bloodborne PC (Native Windows Port) - v0.4.0

Highlights

Vulkan Rendering Pipeline & Performance Optimization

  • Background Pipeline Compilation (vk_pipeline_cache):
    • Implemented an asynchronous compilation worker pool that compiles SPIR-V pipelines in background threads.
    • Added streak tracking to dynamically throttle compilation workload during draw bursts.
    • Preserved synchronous compilation fallback for quad draws and indirect dispatches to prevent dropped geometry.
      (Adapted from deadinside28/bloodborne_pc commit ea8ec76)
  • VRAM Eviction & Texture Thrashing Prevention (texture_cache):
    • Added LRU age grace periods before releasing texture allocations, eliminating rapid texture thrashing across zone transitions.
    • Restructured mirror defragmentation to avoid out-of-memory errors on 6 GB and 8 GB GPUs.
      (Adapted from deadinside28/bloodborne_pc commit 38a1bd2)
  • Fine-Grained DMA Host-Copy Tracking (liverpool, vk_scheduler):
    • Replaced global pipeline flushes on every WRITE_DATA command with direct-mapped 64 KiB memory page tracking (NoteHostCopySource / WaitHostCopiesFor).
    • CPU-side synchronization now waits only when in-flight GPU DMA operations intersect the modified memory range, reducing frame-time spikes during entity updates.
      (Adapted from deadinside28/bloodborne_pc commit c7e3e55 / 0.5)

Engine Stability & Crash Safeguards

  • Indirect Dispatch Bounds Check (vk_indirect_guard):
    • Added a Vulkan compute shader guard (indirect_guard.comp) that bounds-checks indirect draw and dispatch parameters against physical hardware device limits before execution.
    • Added trailing zero-padding loops in liverpool.cpp to prevent buffer overflow crashes on padded command buffers.
  • Null Command Chunk Protection (vk_scheduler):
    • Guarded against null chunk dereferences via thread-safe atomic chunk swaps during command buffer submission handoffs (Issue #100).
  • Atomic Shader Cache Storage & Corruption Protection (cache_storage, serdes, vk_pipeline_serialization):
    • Implemented atomic cache file writes using staging files (.tmp) paired with Windows-native MoveFileExW (MOVEFILE_REPLACE_EXISTING), eliminating file sharing collisions and partial writes on process exit.
    • Added bounds checking across serialized archives with explicit CorruptData exceptions.
    • Added SPIR-V magic header verification (0x07230203u) and automatic cache regeneration in WarmUp() to cleanly recover from damaged cache files without crashing.
      (Adapted from deadinside28/bloodborne_pc commit daa7165)

Mouse & Keyboard Overhaul

  • Mouse Acceleration Implementation (Closes Issue #52):
    • Replaced raw linear delta mapping with a progressive radial power curve.
    • Added continuous deadzone subtraction in polar coordinates to eliminate center jitter without angular drift.
    • Micro-adjustments retain precision for aiming (Monocular and firearms), while fast swipes ramp smoothly up to 3.2x acceleration for responsive camera turns.
  • Authentic Bloodborne Control Layout:
    • Removed incorrect crouch bindings (Bloodborne has no crouch mechanic).
    • Realigned keybindings to match original PlayStation 4 controller layout:
      • F / V: Use Blood Vial / Heal (Triangle)
      • R: Use Equipped Consumable (Square)
      • Shift + RMB / Tab: Trick Weapon Transform (L1)
      • C / Z: Jump / Gestures (L3)
      • G: Gestures Menu (Touchpad Left)
      • Backspace: Personal Effects / Inventory (Touchpad Right)
      • 1 / 2 / 3 / 4: D-Pad Quick Actions (Blood Bullets, Item Cycling, Left/Right Weapon Swapping)
  • Launcher Reference Table:
    • Updated the Mouse & Keyboard Settings dialog to display accurate action mappings matching in-game behavior.

Installation

  1. Extract the release archive.
  2. Run launch_gui.bat.
  3. Select your decrypted 1.09 eboot.bin path.
  4. Configure graphics and controls as desired.
  5. Click Launch Bloodborne.

Credits & Upstream References

This release adapts key rendering optimizations and stability patches from upstream deadinside28/bloodborne_pc:

  • Background pipeline compilation worker pool (ea8ec76)
  • VRAM texture eviction grace threshold (38a1bd2)
  • Page-granule host-copy DMA tracking (c7e3e55)
  • Atomic shader cache serialization and corruption recovery (daa7165)

All patches adapted and ported to native Windows Vulkan / Win32 APIs by the Bloodborne PC Windows Port team.

Don't miss a new bloodborne_pc_windows_port release

NewReleases is sending notifications on new releases.