repowiserepowise

boykopovar / anyps5 Architecture and code health

Tool for automatic PS5 executables porting to Linux and Windows

C++GPL-2.0
View on GitHub★ 63.7k

github.com/boykopovar/anyps5Indexed

What is anyps5?

AnyPS5 is a tool for automatically porting PS5 executables to Linux and Windows. It converts an executable into the native format of the target system and provides implementations of system prx libraries for dynamic linking, with no emulation or separate runtime process. The project is written mainly in C++. Its code health is 5.9 out of 10 (Fair), ranked #243 of 297 ranked repos. The last commit to anyps5 was on Nov 30, 2026, and 1,333 people have contributed.

As of commit 06b3505, indexed Nov 30, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsanyps5.md

Repo facts: type, license, health, rank, contributors
anyps5 facts
LicenseGPL-2.0
Code health5.9 / 10 (Fair)
Health rank#243 of 297 ranked repos
Last commitNov 30, 2026
Contributors1,333
Bus factor28
Size11,411 files, 1,902,873 lines

Get this map for your own codebase

Ask about this code in your agent. It connects Repowise to anyps5's code, with answers that cite its files. It does not install anyps5.

Who uses it

  • →

Ways in

  • →
  • →

Engine

  • →
  • →

A user request enters through the relinker or its WASM binding, then reaches core and the shader recompiler. The weaker links are in the full architecture.

Each box is tinted by the health of its files:goodfairCore engine first: 5 hotspots

Ask about anyps5

Answers come from anyps5's README and source, with the files they cite. Two free answers a day without an account.

boykopovar/anyps5 FAQ

What is AnyPS5?

AnyPS5 is a tool for automatically porting executables to Linux and Windows, including PS5 executables. It runs as a web converter in a browser, where files stay on the device, or as a relinker that converts an executable to the target system's native format.

How does AnyPS5 work?

AnyPS5 relinks an executable by converting it to the target system's native format and supplies implementations of system prx libraries for dynamic linking. It uses no emulation and no separate runtime process.

What language is AnyPS5 written in?

AnyPS5 is written mainly in C++. The repository also contains Python, C and JavaScript files.

How is the AnyPS5 code organized?

The core directory holds the relinker in core/relinker, the shader recompiler in core/shader/recompiler and the system libraries in core/libs/prx. The tools directory holds Python scripts for repository checks and performance captures, and the demo directory holds the web demo.

Who is AnyPS5 for?

AnyPS5 is intended for interoperability, research, preservation, and compatibility purposes. Users are responsible for ensuring that any binaries used with it are obtained and used in accordance with applicable laws.

What license does AnyPS5 use?

AnyPS5 uses the GPL-2.0 license.

Key features of anyps5

  • A web converter that runs in a browser, where files stay on the user's device.
  • A relinker that converts an executable to the target system's native format.
  • Implementations of system prx libraries suitable for dynamic linking, with no emulation or separate runtime process.
  • SDL-mapped game controllers are supported, including analog sticks and triggers.
  • Keyboard and mouse controls can be configured with an anyps5-input.ini file.

How boykopovar/anyps5 works

The relinker in core/relinker starts at main.cpp, which launches the command-line parser defined in core/relinker/cli/include/Cli.hpp, and its conversion code builds the output for Windows, Linux and macOS. The shader recompiler in core/shader/recompiler translates the AMD RDNA guest shader code a game supplies into SPIR-V and keeps finished results so repeated requests can skip the translation. The core/libs/prx/libSceAgc directory holds the sceAgc functions, and each one appends a hardware command packet to a CommandBuffer. The core/libs/prx/libSceAgcDriver library receives those packets and exports the driver's queue, event, resource and settings calls. The core/libs/prx/libc directory implements the C and C++ standard library that PS5 guest programs call, running those functions on the host machine. The tools directory contains Python scripts for checking repository conventions and comparing performance captures.

The codebase has 11,411 files and 187,415 symbols in 5 modules, led by C++, Python and C. Code health is 5.9 out of 10, rated fair.

Featured answer

Read the answer

AnyPS5 is a tool that automatically ports PS5 executables to Linux and Windows, converting each one into the target system's native format with no emulation or separate runtime process. The relinker in core/relinker starts at main.cpp, which launches the command-line parser in core/relinker/cli/include/Cli.hpp, and its conversion code builds output for Windows, Linux and macOS. The shader recompiler in core/shader/recompiler translates AMD RDNA guest shader code into SPIR-V and caches finished results so repeated requests skip the translation. The system libraries under core/libs/prx work together: libSceAgc appends hardware command packets to a CommandBuffer, libSceAgcDriver receives those packets and exports the driver calls, and libc implements the C and C++ standard library on the host machine. The tools directory holds Python scripts for checking repository conventions and comparing performance captures. To start reading, begin with main.cpp in core/relinker, then move to the shader recompiler, across a repository of 11411 files.

Repowise maps public repos from their source. Not affiliated with boykopovar. What is Repowise?