How deadinside28/bloodborne_pc works
bbport is a native Linux port of Bloodborne 1.09: it runs the game’s x86-64 code directly, replaces PS4 services, translates graphics work to Vulkan, and adds game-specific hooks and online features. The main path runs from game installation and launcher configuration through native runtime execution, GPU command translation, rendering, and display. The graph also preserves the documented input, settings, upscaling, and online branches. Relationships for unsampled subsystems are based on the README, not inspected implementation; source-level evidence is limited to the sampled GPU pipeline and command-processing files.
Main entry points: runtime_services.c Native Runtime · pipeline_cache.cpp Pipeline Selection · bbport_launcher.py GTK Launcher · cp_tasks.cpp Command Processor
Components 22
Native Runtime
- GTK Launcher
launcher/bbport_launcher.py - Image Preparation
scripts - Native Runtime
src/runtime_services.c - PS4 Service Replacements
gpu/bbnet/include/core/libraries
GPU Translation
- Command Processor
gpu/cp/cp_tasks.cpp - GPU Memory Layer
gpu/layer - Shader Translation
gpu/shader - Pipeline Selection
gpu/render/pipeline_cache.cpp - Vulkan Pipelines
gpu/render/pipeline.cpp - Pipeline Persistence
gpu/render/pipeline_store.cpp - Renderer
gpu/render/rasterizer.cpp - Display Output
gpu/platform/videoout/display.cpp - Temporal Upscaling
gpu/upscale/vk_temporal_upscaler.cpp
Game Experience
- Game Hooks
gpu/shim/bbport_guest_hooks.cpp - Input and Prompts
gpu/shim/bbport_button_prompts.cpp - Game Settings UI
gpu/shim/bbport_overlay.cpp
Online Services
- PS4 Network Stack
gpu/bbnet/shadps4/core/libraries/network - Network Platform Services
gpu/bbnet/shadps4/core/libraries/np - Shadnet Client
gpu/bbnet/shadps4/shadnet/client.cpp
Other components
- Player
- Game Files
- Online Services
Connections 22
- Player → GTK Launcher: configures
README.md - Game Files → Image Preparation: provides executable
README.md - Image Preparation → Native Runtime: prepares image for
README.md - GTK Launcher → Native Runtime: configures
README.md - Native Runtime → PS4 Service Replacements: uses replacements
README.md - Native Runtime → Command Processor: submits GPU work
- Native Runtime → Game Hooks: runs with hooks
README.md - Command Processor → GPU Memory Layer: translates memory work
README.md - Command Processor → Pipeline Selection: selects pipelines
- Pipeline Selection → Shader Translation: translates shaders
gpu/render/pipeline_cache.cpp - Pipeline Selection → Vulkan Pipelines: creates pipelines
gpu/render/pipeline.cpp - Pipeline Selection → Pipeline Persistence: loads and saves
- Vulkan Pipelines → Renderer: feeds rendering
- Renderer → Display Output: presents frames
- Renderer → Temporal Upscaling: uses temporal upscaling
README.md - Player → Input and Prompts: controls game with
README.md - Input and Prompts → Game Hooks: drives game controls
- Player → Game Settings UI: configures in game
README.md - GTK Launcher → PS4 Network Stack: selects online mode
README.md - PS4 Network Stack → Network Platform Services: provides networking for
- Network Platform Services → Shadnet Client: supports online play
- Shadnet Client → Online Services: connects to
README.md