How rygt-team/rygt works
RyGT runs GT Sport and GT7 as native Windows programs: the launcher converts a user-provided game executable, then starts it against shared PS4-compatibility libraries and the Vulkan renderer. The README documents the conversion, launch, per-game setup, online server, GT7 stubs, and optional DLSS; sampled renderer sources expose pipeline creation and shader-cache responsibilities. Several implementation details—especially the launcher and most runtime libraries—were not sampled, so those relationships rely on README statements rather than source inspection.
Main entry points: RyGTLoader.cs Unified launcher · libSceAgcDriver shadGT renderer · vk_pipeline_cache.h Pipeline cache · RelinkerPipeline.cpp Executable converter
Components 17
Setup and launch
- Game dump
- Unified launcher
loader/RyGTLoader.cs - Executable converter
core/relinker/relinker/src/pipeline/RelinkerPipeline.cpp - Converted game
Compatibility runtime
- PS4 runtime libraries
core/libs/prx - GT7 stub library
runtime/gt7/gt7_stubs.c - Controller input
renderer/src/input/controller.cpp - Per-game state
core/libs/GameSerial.hpp
Graphics rendering
- shadGT renderer
core/libs/prx/libSceAgcDriver - AGC graphics driver
core/libs/prx/libSceAgcDriver/Execution/src/Driver/EntryPoints.cpp - Graphics pipelines
core/libs/prx/libSceAgcDriver/Graphics/src/Pipeline.cpp - Shader recompiler
core/shader/recompiler - Pipeline cache
renderer/src/video_core/renderer_vulkan/vk_pipeline_cache.h - Shader store
renderer/src/video_core/cache_storage.cpp
Game services
- Online server
server - Optional DLSS plugin
plugins/dlss/ryGT_dlss.cpp
Other components
- Game owner
Connections 17
- Game owner → Unified launcher: configures and starts
- Game dump → Unified launcher: selects files
- Unified launcher → Executable converter: converts executable
- Executable converter → Converted game: produces
- Unified launcher → Converted game: starts
- Converted game → PS4 runtime libraries: loads at runtime
- Converted game → shadGT renderer: loads video output
- Converted game → GT7 stub library: loads for GT7
- shadGT renderer → AGC graphics driver: uses driver
- AGC graphics driver → Graphics pipelines: creates pipelines
- Graphics pipelines → Shader recompiler: uses compiled shaders
- Pipeline cache → Shader recompiler: caches translations
renderer/src/video_core/renderer_vulkan/vk_pipeline_cache.h - Pipeline cache → Shader store: loads and saves
renderer/src/video_core/renderer_vulkan/vk_pipeline_cache.h - Converted game → Controller input: reads controls
- Unified launcher → Online server: configures online
- shadGT renderer → Optional DLSS plugin: optional integration
- Converted game → Per-game state: selects game identity