CoreGS Brings Open-Source PS2 Vulkan Rendering to Static Recompilation Ports
CoreGS, an open-source Vulkan hardware renderer extracted from GT4Recomp, offers a generic graphics synthesizer library for PS2 port authors.
Developer moesuito has released CoreGS, an open-source PlayStation 2 Graphics Synthesizer hardware renderer built on Vulkan and licensed under Apache-2.0. It was extracted from the Gran Turismo 4 static recompilation project GT4Recomp, and it gives port authors a standalone, hardware-faithful graphics pipeline that does not depend on emulator internals.
Reusing an emulator’s renderer is often impossible because of its license or internals. CoreGS processes GIF streams, tracks privileged registers, and handles exact blending, depth, alpha testing, and texture palettes. It supports internal resolutions from 1x to 12x, up to the GPU’s limit, along with upscaling filters and existing PS2 texture replacement packs. So far it has been proven on Gran Turismo 4 only. Other games need testing and often per-game optimization.
How to Try It
- Ensure you have CMake 3.24+, a C++20 compiler, and the Vulkan SDK installed.
- Configure the project with CMake:
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release - Build the binaries and run tests:
cmake --build build ctest --test-dir build
Windows is the primary platform. Linux builds the renderer and test fixtures, but the windowed front end is Windows-only, and the first Linux CI run is still pending.
