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 commitea8ec76)
- 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 commit38a1bd2)
- Fine-Grained DMA Host-Copy Tracking (
liverpool,vk_scheduler):- Replaced global pipeline flushes on every
WRITE_DATAcommand 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 commitc7e3e55/0.5)
- Replaced global pipeline flushes on every
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.cppto prevent buffer overflow crashes on padded command buffers.
- Added a Vulkan compute shader guard (
- 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-nativeMoveFileExW(MOVEFILE_REPLACE_EXISTING), eliminating file sharing collisions and partial writes on process exit. - Added bounds checking across serialized archives with explicit
CorruptDataexceptions. - Added SPIR-V magic header verification (
0x07230203u) and automatic cache regeneration inWarmUp()to cleanly recover from damaged cache files without crashing.
(Adapted from deadinside28/bloodborne_pc commitdaa7165)
- Implemented atomic cache file writes using staging files (
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
- Extract the release archive.
- Run
launch_gui.bat. - Select your decrypted 1.09
eboot.binpath. - Configure graphics and controls as desired.
- 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.