Skip to content
simnJSPublic

About

Tool for automatic PS5 executables porting to Linux and Windows

Resources

Contributing

Stars

345 stars

Watchers

0 watching

Forks

Repository files navigation

AnyKyty

PS5 games as native Linux and Windows programs, with the Kyty graphics core on Vulkan.

CI Licence: GPL-2.0 Platforms: Linux, Windows GPUs: NVIDIA, AMD Good first issues Discussions Managed with HangarAI

Start here · Map of work · Precook a title · Report a title · Architecture

AnyKyty takes a PS5 game you dumped yourself and turns it into a program your PC runs directly: no emulator, no virtual machine. The AnyPS5 relinker converts the game once, AnyPS5's system libraries answer its calls, and the Kyty graphics core turns its GPU work into Vulkan. It is young and experimental, built from source, and moving fast.

Why it is worth a look

  • One line, everything in it. Since 2 Dec 2026, AnyKyty is the only branch: the shader model work and architecture v2, which lived on their own branches, are merged into it, with the contributor pull requests of the same week.
  • No shader compilation in game. A title's shaders can be translated and compiled before its first launch, so it starts with nothing left to compile: precook a title.
  • Every run profiles itself. Each run writes a flamegraph and a short report of where its frame time went, with nothing to set: profiling.
  • Faster than native Kyty on the same PC. A Unity title, uncapped: 182.9 FPS on AnyKyty against 112.4 for native Kyty (measured).
  • Linux and Windows, NVIDIA and AMD. Contributors run titles and tests on GPUs and systems the maintainers don't have.
  • Built in the open, measured in the open. More than thirty people besides the maintainer have code in AnyKyty. Every speed change comes with an in-run A/B on the same scene, and AI-assisted work is welcome.
  • Experiments that pay off. In an experiment (#150), a Rust model of the memory tracker replayed 299.6 million in-game calls identically to the C++ tracker, and writing its specification found four bugs in the C++, now fixed. The tracker that ships stays C++.

Measured

xychart-beta
    title "A Unity title, uncapped, Ryzen 9 7950X3D + RTX 4080 SUPER"
    x-axis ["Kyty, native", "AnyKyty"]
    y-axis "Frames per second" 0 --> 200
    bar [112.4, 182.9]
Loading
How these numbers were taken

The same in-game scene, warm shader and pipeline caches, uncapped (ANYPS5_VBLANK_HZ=360 on AnyKyty, --vblank-frequency 360 on native Kyty), the other settings at their defaults. Ryzen 9 7950X3D, RTX 4080 SUPER (NVIDIA 595.99.02), Ubuntu 26.04. AnyKyty: two sessions on 18 Nov 2026 (e535bb49ed), 177.2 and 188.7 FPS. Native Kyty: two sessions on 17 Nov 2026, 106.3 and 118.6 FPS. The title loads a slightly different world on each launch, so treat the gap as approximate, not the decimals.

CPU time per draw call in the same sessions, one thread per stage:

Stage AnyKyty Native Kyty
Execute 3.64 µs 7.23 µs
Resolve 3.08 µs 6.26 µs
Record 2.49 µs 4.00 µs
Command processor 1.59 µs 3.40 µs

From a contributor, the first cutscene of a native PS5 title: 29.6 FPS (one run of 106 s, 20 Nov 2026, 82039de925), RX 9070 XT with RADV (Mesa 26.2.6), Linux (#32).

These numbers were taken before the 2 Dec line. New ones will be taken on it, with the profiler every run now carries.

Status

As of 2 Dec 2026 (AnyKyty at ea9a09129b2d). PS5 titles only: the Kyty driver, now the only one, does not run PS4 titles (GNM).

  • Where the work is. The maintainers work on one large native PS5 title. The goal is to play it as on the console, in this order: no compilation in game, correct rendering, then frame rate. What they learn on it goes into the shared code, not into title-specific switches.
  • Earlier reports. Before 2 Dec, titles on Unity, Unreal Engine 4 and several in-house engines reached the game or played, on Linux and Windows, with NVIDIA and AMD. Those runs used older code, and the old reports were closed with the move to the single line. A new run on this line helps a lot: report a title, working or not.
  • Missing so far. Any Unreal Engine 5 title, any Intel GPU, and a title that reaches the game on Windows with AMD.

How it works

flowchart LR
    dump["PS5 game<br/>(your own dump)"] --> relinker["relinker<br/>converts it once"]
    relinker --> app["native Linux or<br/>Windows program"]
    app --> libs["AnyPS5 system libraries<br/>libkernel, libc, libSceAgc…"]
    libs --> shim["KytyShim<br/>memory, faults, presentation"]
    shim --> cp
    subgraph kyty["Kyty graphics core"]
        cp["command processor"] --> resolve["Resolve"] --> execute["Execute"] --> record["Record"]
    end
    record --> vulkan["Vulkan"] --> gpu["your GPU"]
Loading

The game's own code runs natively on your CPU. Its command buffers go through the Kyty stages, one thread each: the command processor decodes them, Resolve prepares resources ahead, Execute records each draw and dispatch, Record submits to Vulkan. The game's GPU programs are translated to SPIR-V, ahead of time when the title is precooked. Architecture has the details, and the flamegraph of your own run shows where the time goes.

Quick start

Linux: Git, CMake 3.21 or newer, Ninja, GCC 14 and LLVM 21 (clang, clang++, ld.lld and llvm-profdata, on PATH).

git clone --recurse-submodules https://github.com/simnJS/AnyPS5.git
cd AnyPS5
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF \
  -DCMAKE_C_COMPILER=gcc-14 -DCMAKE_CXX_COMPILER=g++-14 -DANYPS5_KYTY_JOBS="$(nproc)"
cmake --build build --target kyty_gpu libs relinker --parallel "$(nproc)"

Convert the extracted, decrypted executable of your game, put the libraries (build/core/libs/libs/*.prx) in a libs/ folder beside the output, and start it:

build/core/relinker/relinker source/input.elf app.elf
./app.elf

For a large title, precook its shaders before the first launch, or its first minutes will stop while shaders compile. No other setting is needed: the defaults are the fastest and most stable choices measured.

Windows, packages, tests and player options
  • Windows (WinLibs GCC 15.2 and LLVM 21), the package list for Ubuntu, and how to run the tests: Start here.
  • The options a player may want (fullscreen, GPU, output resolution, frame-rate cap): the AnyKyty page.
  • Conversion options, module folders and add-ons: usage.
  • Where a run's time goes: profiling.

Join us

Goal #1: a large native PS5 title that plays as on the console. No compilation in game, correct rendering, then frame rate. The map of work says what is open and where to start. There is work at every size around it, and most of it needs no knowledge of the code base yet.

You have You can
30 minutes and a PS5 game you dumped Test it and send the report
An AMD or Intel GPU, or Windows Run the tests or a title on hardware the maintainers don't have (#705)
An evening and some C++ or Python Pick a good first issue, or a system library: kernel (#698), services (#699), audio (#700), input (#701), save data (#702), network (#703)
A taste for GPUs and performance The shader model, CPU-side performance, or tests and tools

Read Start here before your first pull request: building, testing, measuring, the rules, and how a pull request gets in. Questions go to Discussions.

Contributors

Everyone below has code in AnyKyty, by merged pull requests. Thank you!

simnJS mjnhbg3 klosixgaming-arch Raghav314 leszczy slopgobblercobbler gurtgg fogydes adam25136 birdmarty smecherucarbarou SleglJan XatiX Kikoarl Felipebmaitan discordbarca gmankab Ryongen Celegans12 relativespace2K Nawid3333 DealPotato mrfelek Scramblrrrr kzorin52 Superseabas TideOPL trvxoo-glitch vgpastor yinx080 QRMOE ThiagoShade yasaiiko

And thanks to everyone who tested a game or reported a bug in the game test issues. AnyKyty also stands on the work of every AnyPS5 contributor and of KytyPS5. Your first merged pull request adds you here.

Credits and licence

HangarAI AnyKyty is managed, and partly built, with HangarAI — a team of Claude Code and Codex agents that plans, codes in parallel and lands checked work together. The maintainers use it to triage issues, review pull requests, measure and integrate; much of the code comes from the contributors in the history.

AnyKyty is built on two projects. AnyPS5 by boykopovar and its contributors gives the relinker and every system library; its own README is upstream. KytyPS5, built on Kyty by InoriRus, gives the graphics core, which is maintained in this repository under core/kyty.

AnyPS5 and the Kyty core are distributed under the GNU General Public License version 2 (LICENSE); the original Kyty code by InoriRus is MIT. File by file origin and licences: docs/dev/THIRD_PARTY_KYTY.md.

AnyKyty is for interoperability, research, preservation and compatibility. It does not include, distribute or require copyrighted software, firmware, keys or proprietary libraries, and no game is provided: use only games you own and dumped yourself, as the law where you live allows. It is an independent project, not affiliated with, authorised or endorsed by Sony Interactive Entertainment. "PlayStation" and "PS5" are trademarks of Sony Interactive Entertainment Inc.

About

Tool for automatic PS5 executables porting to Linux and Windows

Resources

Contributing

Stars

345 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages