How dmorazasanchez/kytyps5-native-beta works
KytyPS5-Native is a PS5 emulator fork packaged for BC-250 Linux systems, with a desktop launcher and optional Steam Deck integration. The main workflow is to select a legally obtained game archive or folder in the launcher, configure it, and hand it to the emulator; the emulator loads guest state, translates GPU shaders and commands, and presents rendered frames. The repository also contains controller support, upscaling/frame-generation integrations, and host-GPU memory and pipeline management. Edges are limited to relationships visible in the excerpts, SOURCE INDEX references, or README; unsampled internals are not traced.
Main entry points: Program.cs Desktop launcher · main.cpp Emulator entry · emulator.cpp Emulator lifecycle · pm4Dispatch.cpp Guest GPU commands
Components 20
Launcher and library
- Desktop launcher
beta/launcher/src/KytyPS5.Launcher/Program.cs - Game library
beta/launcher/src/KytyPS5.Launcher/Library.cs - Game archives
beta/launcher/src/SharpEmu.HLE/FileSystem/ZArchive.cs - Emulator bridge
beta/launcher/src/KytyPS5.Launcher/KytyBridge.cs - Launcher audio
beta/launcher/src/KytyPS5.Launcher/AudioEngine.cs - Music library
beta/launcher/src/KytyPS5.Launcher/MusicLibrary.cs - Decky plugin
decky-plugin/src/index.tsx
Emulator runtime
- Emulator entry
src/main.cpp - Emulator lifecycle
src/emulator.cpp - Runtime configuration
src/common/emulatorConfig.h - Symbol database
src/loader/symbolDatabase.cpp - Guest controllers
src/libs/controller.cpp
Graphics runtime
- Guest GPU commands
src/graphics/guest_gpu/command_processor/pm4Dispatch.cpp - Shader translation
src/graphics/shader/recompiler/ir/Program.cpp - Pipeline cache
src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp - GPU memory mapping
src/graphics/host_gpu/pageManager.cpp - Upscaling and frame gen
3rdparty/fidelityfx/src/components/fsr3upscaler/ffx_fsr3upscaler.cpp
Host services
- Common services
src/common/file.h
Other components
- Player
- Linux host
Connections 20
- Player → Desktop launcher: selects game
- Desktop launcher → Game library: browses titles
- Game library → Game archives: opens archive
- Desktop launcher → Emulator bridge: launches game
beta/launcher/src/KytyPS5.Launcher/Program.cs - Emulator bridge → Emulator entry: starts runtime
- Emulator entry → Emulator lifecycle: configures runtime
src/main.cpp - Emulator entry → Common services: reads files
src/main.cpp - Emulator entry → Runtime configuration: reads settings
- Emulator lifecycle → Symbol database: resolves symbols
- Emulator lifecycle → Guest controllers: initializes input
- Guest controllers → Linux host: reads gamepads
- Emulator lifecycle → Guest GPU commands: dispatches commands
- Guest GPU commands → Pipeline cache: requests pipelines
- Pipeline cache → Shader translation: translates shaders
src/graphics/host_gpu/renderer/pipeline/pipelineCache.cpp - Pipeline cache → GPU memory mapping: uses GPU memory
- Guest GPU commands → Upscaling and frame gen: uses effects
- Desktop launcher → Launcher audio: plays UI audio
beta/launcher/src/KytyPS5.Launcher/Program.cs - Launcher audio → Music library: loads tracks
beta/launcher/src/KytyPS5.Launcher/AudioEngine.cs - Player → Decky plugin: uses Steam UI
- Decky plugin → Desktop launcher: controls games