How rpcs3/rpcs3 works
RPCS3 is a PlayStation 3 emulator and debugger. Its principal runtime workflow is to execute guest PPU/SPU code, provide PS3 system and library behavior, and translate guest graphics and device activity to host services. The tree identifies these major subsystems, including audio, input, networking, and trophy management. The sampled excerpts do not show the application’s launch orchestration or most cross-subsystem calls, so the graph emphasizes documented domain boundaries and omits uncertain wiring; several capabilities are represented by their exact enclosing source directories.
Main entry points: PPUThread.cpp PPU execution · lv2.cpp LV2 services · SPUThread.cpp SPU execution · Modules Cell modules
Components 19
Guest execution
- CPU threads
rpcs3/Emu/CPU/CPUThread.cpp - PPU execution
rpcs3/Emu/Cell/PPUThread.cpp - SPU execution
rpcs3/Emu/Cell/SPUThread.cpp - JIT translators
rpcs3/Emu/Cell/PPUTranslator.cpp
PS3 system
- LV2 services
rpcs3/Emu/Cell/lv2/lv2.cpp - Cell modules
rpcs3/Emu/Cell/Modules - Guest memory
rpcs3/Emu/Memory/vm.cpp - Filesystem services
rpcs3/Emu/Cell/lv2/sys_fs.cpp - Storage services
rpcs3/Emu/Cell/lv2/sys_storage.cpp
Host devices
- Input handlers
rpcs3/Emu/Io/PadHandler.cpp - Audio backends
rpcs3/Emu/Audio/AudioBackend.cpp - Network services
rpcs3/Emu/Cell/lv2/sys_net.cpp
Graphics and tools
- RSX rendering
rpcs3/Emu/RSX/Core/RSXContext.cpp - OpenGL pipelines
rpcs3/Emu/RSX/GL/GLPipelineCompiler.cpp - Vulkan pipelines
rpcs3/Emu/RSX/VK/VKPipelineCompiler.cpp - GDB debugger
rpcs3/Emu/GDB.cpp - Trophy manager
rpcs3/rpcs3qt/trophy_manager_dialog.cpp
Other components
- RPCS3 user
- PS3 title
Connections 19
- RPCS3 user → PS3 title: selects
- PS3 title → PPU execution: guest code
- PS3 title → SPU execution: guest code
- PPU execution → JIT translators: translated by
- CPU threads → PPU execution: runs
- CPU threads → SPU execution: runs
- PPU execution → Guest memory: accesses
- SPU execution → Guest memory: accesses
- PPU execution → LV2 services: requests services
- PPU execution → Cell modules: calls emulated APIs
- LV2 services → Filesystem services: provides filesystem
- LV2 services → Storage services: provides storage
- LV2 services → Network services: provides networking
- Input handlers → Cell modules: emulated input
- Cell modules → Audio backends: emulated audio
- RSX rendering → OpenGL pipelines: compiles OpenGL
- RSX rendering → Vulkan pipelines: compiles Vulkan
- RPCS3 user → GDB debugger: debugs emulation
- RPCS3 user → Trophy manager: manages trophies