How yzfsoldier/astroframe works
AstroQuest runs ASTRO BOT Rescue Mission on Steam Frame as a native ARM64 Linux program, using the shadPS4 emulator. The user supplies game files; the emulator runs their x86-64 code through FEX, renders through Vulkan, and uses the headset’s OpenXR runtime for VR. The README also documents controller input, SDL audio and microphone, foveated rendering, and emulated PSVR. Some of these capabilities are documented but their Steam Frame implementation paths are not visible in the supplied tree, so their links are documented relationships rather than source-traced calls.
Main entry points: main.cpp shadPS4 emulator · vk_graphics_pipeline.cpp Vulkan renderer · vk_pipeline_cache.cpp Pipeline cache · guest_cpu.cpp Guest CPU
Components 16
Emulation
- shadPS4 emulator
shadps4-arm64-main/src/main.cpp - Guest CPU
shadps4-arm64-main/src/core/guest_cpu/guest_cpu.cpp - FEX engine
shadps4-arm64-main/src/core/fex/fex_guest_engine.cpp - PS4 system services
shadps4-arm64-main/src/core/libraries
Graphics
- Vulkan renderer
shadps4-arm64-main/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp - Shader compilation
shadps4-arm64-main/src/shader_recompiler - Pipeline cache
shadps4-arm64-main/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp - Cache storage
shadps4-arm64-main/src/video_core/cache_storage.cpp - Foveated rendering
shadps4-arm64-main/src/video_core
VR and input
- OpenXR runtime
- Gamepad input
shadps4-arm64-main/src/input/controller.cpp - PSVR emulation
shadps4-arm64-main/src/core/vr
Audio
- SDL audio
shadps4-arm64-main/src/core/libraries/audio - SDL microphone
shadps4-arm64-main/src/core/libraries/audio/audioin.cpp
Other components
- Steam Frame player
- PS4 game files
Connections 15
- Steam Frame player → shadPS4 emulator: starts
README.md - PS4 game files → shadPS4 emulator: loads
README.md - shadPS4 emulator → FEX engine: runs guest code
README.md - shadPS4 emulator → Guest CPU: executes guest
- shadPS4 emulator → PS4 system services: emulates services
- shadPS4 emulator → Vulkan renderer: renders with
README.md - Vulkan renderer → Shader compilation: uses shaders
shadps4-arm64-main/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp - Vulkan renderer → Pipeline cache: builds pipelines
shadps4-arm64-main/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp - Pipeline cache → Cache storage: loads and saves
shadps4-arm64-main/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp - shadPS4 emulator → OpenXR runtime: uses headset runtime
README.md - Steam Frame player → Gamepad input: provides input
README.md - OpenXR runtime → Foveated rendering: supplies eye tracking
README.md - shadPS4 emulator → PSVR emulation: emulates headset
README.md - shadPS4 emulator → SDL audio: outputs sound
README.md - Steam Frame player → SDL microphone: provides microphone
README.md