deniz.in

Markets

Weather

Loading weather

· via Hacker News – Front Page (native)

AnyPS5 relinks PS5 executables to run natively on Windows and Linux

An open-source tool featured on Hacker News converts PS5 executables into native Linux and Windows programs via relinking and re-implemented system libraries, with no emulator involved.

AnyPS5 relinks PS5 executables to run natively on Windows and Linux

An open-source project called AnyPS5, currently on the Hacker News front page, promises something unusual: turning PlayStation 5 executables into programs that run natively on Linux and Windows with no emulator underneath. According to the project's GitHub repository, published under the handle boykopovar, the tool has two core parts — a relinker that rewrites a PS5 executable into the target platform's own binary format, and fresh implementations of the console's system PRX libraries that the result can link against dynamically. The ported code then executes as an ordinary process on the host machine.

The number drawing attention, 87% of system libraries mapped, comes with a caveat the developers state themselves. The figure counts functions the project has already declared in its own code, not a verified proportion of the PS5's full system API, and the total keeps shifting as more declarations land. It is best read as a progress indicator against the team's own map rather than a compatibility score.

Relinking instead of emulating

Where an emulator interprets or translates console code inside a self-contained runtime, AnyPS5 works statically: the executable is rewritten to bind to replacement libraries and is then treated as a regular application by the host operating system. Graphics are handled by a shader recompiler that emits SPIR-V, the intermediate format consumed by Vulkan, and the repository says that output can be validated with Spirv-Tools when the build is configured with ANYPS5_ENABLE_SPIRV_TOOLS. The error model is deliberately strict — anything unsupported or unexpected raises std::runtime_error, prints its message to stderr and terminates the process instead of continuing in an undefined state.

Where compatibility stands

Verified titles remain thin. Dreaming Sarah, a 2D platformer, is reported to hold a steady 60 frames per second on modest hardware, namely a GTX 1050 Ti paired with an i5-7500 clocked at 3.4 GHz. A game compatibility list tracks further tested titles and known issues, and the README openly documents the project's technical debt.

Input and configuration

Controllers mapped through SDL are supported, analog sticks and triggers included. Keyboard and mouse bindings can be adjusted through an anyp5-input.ini file, with the repository documenting the supported devices and the configuration format.

License and legal stance

The project is licensed under the GNU GPL version 2 only. Its disclaimer frames the work as serving interoperability, research, preservation and compatibility, and states that no copyrighted code, firmware, cryptographic keys or proprietary libraries are bundled with it or required to use it. Responsibility for the binaries users supply sits with those users — a posture familiar from other console-adjacent compatibility efforts.

Why it matters

Nearly all console-to-PC compatibility work so far has gone through emulation, which carries runtime overhead and must model the original hardware faithfully. Static binary porting is a different bet: if it scales, ported games behave like native software that links directly against host libraries and drivers, which matters both for performance and for preservation once the original hardware becomes scarce.

The current reality is modest — one verified game, a young codebase and a coverage metric the authors themselves describe as self-referential. Commercial releases almost certainly depend on system behavior that has yet to be declared, and in this design every gap ends in a deliberate crash rather than a quiet workaround. Even so, the project demonstrates that a modern console executable can be lifted onto the PC without an emulation layer, and the GPLv2 licensing plus a strict no-proprietary-content policy suggest the authors see it as a long-term interoperability effort rather than a shortcut for playing retail games.

  • #open-source
  • #playstation
  • #reverse-engineering
  • #gaming
  • #linux

Related posts