How overkilllabs3/driveclub-recomp works
DriveClub Recomp runs the game’s x86-64 code natively and reimplements PS4 services while translating GPU work to Vulkan. The user selects their game folders and settings in a launcher; preparation and launch lead into the runtime, whose graphics path recompiles shaders and renders through Vulkan. The repository also includes video playback, trophies and network/multiplayer services. The README documents major user-facing capabilities, but sampled source is concentrated in launcher, Vulkan pipeline and cache code, and selected networking glue; links for other runtime stages are therefore omitted where direct wiring was not shown.
Main entry points: probe.c Native game code · vk_pipeline_cache.cpp Pipeline cache · prepare.cpp Game preparation · driveclub_launcher.cpp Windows launcher
Components 20
Setup and launch
- Windows launcher
launcher/driveclub_launcher.cpp - Linux launcher
tools/launcher_linux.cpp - Game preparation
launcher/prepare.cpp
Game runtime
- Runtime services
src/runtime_services.c - Native game code
src/probe.c - Video playback
gpu/shadps4/core/libraries/avplayer/avplayer.cpp - Video decoding
gpu/shadps4/core/libraries/videodec/videodec.cpp - Video output
gpu/shadps4/core/libraries/videoout/video_out.cpp
Vulkan graphics
- Shader recompiler
gpu/shadps4/shader_recompiler/recompiler.cpp - Pipeline cache
gpu/shadps4/video_core/renderer_vulkan/vk_pipeline_cache.cpp - Graphics pipelines
gpu/shadps4/video_core/renderer_vulkan/vk_graphics_pipeline.cpp - Cache storage
gpu/shadps4/video_core/cache_storage.cpp - Vulkan device
gpu/shadps4/video_core/renderer_vulkan/vk_instance.h - DLSS integration
gpu/dlss_bridge/bbport_dlss_bridge.cpp - Neural rendering
gpu/nr_bridge/bbport_nr_bridge.cpp
System and online services
- Network services
gpu/shadps4/core/libraries/network/net.cpp - Online and multiplayer
gpu/bbnet/bbnet_glue.cpp - Trophies
gpu/shadps4/core/libraries/np/np_trophy.cpp
Other components
- Player
- Game dumps
Connections 20
- Player → Windows launcher: configures and plays
launcher/driveclub_launcher.cpp - Player → Linux launcher: configures and plays
README.md - Game dumps → Game preparation: provides files
README.md - Windows launcher → Game preparation: prepares game
launcher/driveclub_launcher.cpp - Linux launcher → Game preparation: prepares game
tools/launcher_linux.cpp - Game preparation → Native game code: starts runtime
- Native game code → Runtime services: uses services
- Native game code → Shader recompiler: submits GPU work
- Shader recompiler → Pipeline cache: compiles shaders
- Pipeline cache → Graphics pipelines: creates pipelines
gpu/shadps4/video_core/renderer_vulkan/vk_pipeline_cache.cpp - Pipeline cache → Cache storage: loads and saves
gpu/shadps4/video_core/cache_storage.cpp - Graphics pipelines → Vulkan device: creates Vulkan objects
gpu/shadps4/video_core/renderer_vulkan/vk_graphics_pipeline.cpp - Native game code → Video playback: requests playback
- Video playback → Video decoding: decodes media
- Video decoding → Video output: outputs frames
- Runtime services → Trophies: provides trophy services
- Online and multiplayer → Network services: uses networking
- Native game code → Online and multiplayer: uses online features
- Pipeline cache → DLSS integration: optional upscaling
- Pipeline cache → Neural rendering: optional rendering