Bloodborne PC Windows Port - v0.4.2
This release resolves keyboard emulation for the DualShock 4 touchpad (fixing the Gestures menu and Personal Effects), corrects HUD VRAM reporting to display physical adapter capacity, addresses process hangs on restart/exit, prevents pipeline cache invalidation loops, and fixes launcher scripts for non-1080p startup resolutions.
Controls & Input
- Touchpad Gestures & Personal Effects Simulation (#56)
- Root Cause: Bloodborne validates touch surface packet headers in addition to the touchpad click bit. Synthesized touch events previously reported
id = 0with an unpopulatedtouch_held_time = 0. Real DualShock 4 controllers only assign IDs in1..127and require non-zero hold duration tracking. The engine discarded these packets, preventing keyboard bindingsG(Touchpad Left / Gestures) andBackspace(Touchpad Right / Personal Effects) from functioning. - Fix: Implemented monotonic touch ID assignment (
1..127) and microsecond hold-time duration tracking (touch_held_time) insrc/runtime_pad.c. Touch events now clear cleanly on button release.
- Root Cause: Bloodborne validates touch surface packet headers in addition to the touchpad click bit. Synthesized touch events previously reported
Graphics & Performance
-
Accurate Physical VRAM HUD Telemetry
- Switched the HUD denominator from Windows DWM dynamic process budget allocations (
budgets[h].budget, which reported floating values such as3319 MBor6541 MB) to actual physical device-local heap size (mem_props.memoryHeaps[h].size). - The performance overlay now accurately displays true hardware capacity (e.g.
4096 MBon 4 GB cards,8192 MBon 8 GB cards).
- Switched the HUD denominator from Windows DWM dynamic process budget allocations (
-
Pipeline Cache Retention (#74)
- Replaced the wholesale cache wipe on pipeline warmup mismatch with targeted removal of individual corrupted or mismatched blobs.
- Excluded transient motion-vector pipelines from disk cache persistence and preserved valid
ShaderProfilecaches across launches.
Process Lifecycle & Stability
- Clean Process Termination on Crash or In-Game Restart (#73)
- Eliminated zombie
bbport.exeinstances that hung during DLL teardown when triggering an in-game restart or handling crashes. - Added a dedicated termination watchdog in
src/probe.c, an orphan process cleaner script (scripts/bb_guard.py), a single-instance launcher mutex, and launcher log rotation intologs/.
- Eliminated zombie
Launcher & Configuration
-
Shader Cache Reset Utility (#76)
- Added a "Reset shader cache" button with user confirmation in
launcher.pyto allow clean cache wipes directly from the launcher without manual folder navigation.
- Added a "Reset shader cache" button with user confirmation in
-
Startup Resolution Patching for Scaled Outputs (#77)
- Fixed command parsing in
run.batwhen handling custom resolutions other than 1080p by routing via temporary file to prevent Windows CMD quote stripping. - Fixed delayed variable expansion within parenthesized blocks so custom resolution parameters and memory allocations (
BB_DMEM_MB) apply reliably.
- Fixed command parsing in
Merged Pull Requests & Credits
Special thanks to @Vorshim92 for contributions in this release:
- #73:
fix(runtime, launcher): end bbport.exe after an in-game restart or a crash - #74:
fix(cache): keep the pipeline cache instead of wiping it every other start - #76:
feat(launcher): Reset shader cache button - #77:
fix(run.bat): apply the startup resolution patch for outputs other than 1080p
Requirements:
- Python 3.10+
- Decrypted Bloodborne PS4 dump (CUSA03173, version 1.09)
Installation
- Extract the release archive.
- Run launch_gui.bat or Launcher.py
- Select your decrypted 1.09 eboot.bin path.
- Configure settings as desired.
- Click Launch Bloodborne.
Note
- Press F11 in-game to toggle the performance HUD.
- Press L3/R3 or LS/RS or INSERT on the keyboard to access the in-game settings overlay.