How swordpdf/ps5sx2 works
PS5SX2 is a native PS2 emulator for jailbroken PS5 consoles. The main user journey is browsing the game shelf, choosing a title, booting it in the emulated PS2, and playing through the PS5 display and controller. The README also describes phone-based settings, patches, achievements, online play, texture packs, memory cards, and USB support. Those documented capabilities are represented alongside the runtime stages; several platform-specific implementations are not present in the supplied tree, so their links are documented at README level.
Main entry points: VMManager.cpp VM lifecycle · frontend Phone settings · InputManager.cpp Input bindings · fe_app.cpp Game shelf
Components 19
Frontend and settings
- Game shelf
ps5/frontend/fe_app.cpp - Phone settings
ps5/frontend - Game library
pcsx2/VMManager.cpp - Controller settings
pcsx2-qt/Settings/ControllerBindingWidget.cpp - Installer
ps5/installer/src/app.c
Emulation runtime
- VM lifecycle
pcsx2/VMManager.cpp - Disc loading
pcsx2/CDVD/CDVD.cpp - PS2 CPU
pcsx2/VMManager.cpp - CPU recompilers
pcsx2/x86/iMMI.cpp
PS5 integration
- Graphics renderer
ps5/coreorbis/include-orbis/GLContextPS5.h - Input bindings
pcsx2/Input/InputManager.cpp - USB devices
pcsx2/Input/InputManager.cpp
Game capabilities
- RetroAchievements
3rdparty/rcheevos/src/rc_client.c - Emulated network
pcsx2/DEV9/Sessions/TCP_Session/TCP_Session_Out.cpp - Game patches
pcsx2/GameDatabase.cpp - HD textures
pcsx2/GS/Renderers/DX12/D3D12DescriptorHeapManager.cpp - Memory cards
pcsx2/SIO/Sio.h
Other components
- Player
- Phone browser
Connections 21
- Player → Game shelf: browses
- Game shelf → Game library: shows library
- Game shelf → VM lifecycle: starts game
- Game library → Disc loading: selects image
- VM lifecycle → Disc loading: initializes disc
pcsx2/VMManager.cpp - VM lifecycle → PS2 CPU: runs VM
pcsx2/VMManager.cpp - PS2 CPU → CPU recompilers: executes native code
- VM lifecycle → Graphics renderer: renders gameplay
- Player → Input bindings: provides controls
- Input bindings → VM lifecycle: controls emulation
- Controller settings → Input bindings: configures bindings
pcsx2-qt/Settings/ControllerBindingWidget.cpp - Player → Phone settings: opens settings
- Phone browser → Phone settings: loads page
- Phone settings → VM lifecycle: changes settings
- VM lifecycle → RetroAchievements: updates progress
pcsx2/VMManager.cpp - VM lifecycle → Emulated network: routes game traffic
- Phone settings → Game patches: configures patches
- VM lifecycle → HD textures: uses replacement textures
- VM lifecycle → Memory cards: accesses cards
pcsx2/VMManager.cpp - USB devices → Input bindings: provides input
pcsx2/Input/InputManager.cpp - Player → Installer: installs app