mirror of
https://github.com/Mrsuss60/bloodborne_pc_windows_port.git
synced 2026-11-07 05:56:20 -10:00
Port upstream improvements from deadinside28/bloodborne_pc (commit 8185b88): 1. Launcher GPU Selection & Complete 21-Language Support (#249): - Added `--gpus` CLI argument to `tools/gpu_capabilities.c` to enumerate all available Vulkan physical devices with vendor ID, device type, name, and default ranking. - Added a "GPU Adapter" dropdown under "Draw Prep Workers" in the launcher UI to allow explicit device selection on multi-GPU systems and laptops. - Expanded the launcher's Game Text Language selector to include all 21 localized PS4 text languages supported by Bloodborne. - Choices persist in configuration and pass `BB_GPU_ID` and `BB_LANGUAGE` to the engine runtime. 2. Crash 0xa0020007 (Code 23) Blur Kernel Clamp: - Implemented `raise_exception` in `src/runtime_kernel.c` bound to NIDs `OMDRKKAZ8I4#p#J` and `zE-wXIZjLoM#p#J`. - Filtered out non-fatal blur-kernel assertions (`code == 0xa0020007u`) from Yebis at call ranges 0xbbc3e0..0xbbc700 and 0xc33000..0xc34200 unless explicitly stopped with `BB_GAME_ASSERT_STOP=1`. - Added entry hook at `image + 0xbbc3e0` (`GPUTexUtil_GetRecursiveSampleParameters`) in `src/probe.c` to clamp sample count `edi >= 3`, preventing black screens and assertion trips during recursive texture sampling. Upstream credits: - deadinside28/bloodborne_pc@8185b88 Closes #126