The nid_patcher turns each *_nid_no_patch_cut alias into a second dynamic symbol with the same name as the plain alias exported next to it, seven names in all. With those duplicates, LD_DEBUG=bindings shows libstdc++ keeping its own __cxa_allocate_exception, __cxa_throw, __cxa_begin_catch, __cxa_end_catch, __cxa_rethrow, __gxx_personality_v0 and _Unwind_Resume while taking __cxa_init_primary_exception, _Unwind_RaiseException and std::terminate from libc.prx. An exception thrown inside libstdc++ (std::stoi, a stream with exceptions enabled) got a libc header laid over a libstdc++ allocation, reached the libc personality as a foreign exception, matched no typed handler and ended in "terminate called without an active exception". The plain aliases already export these names, so the duplicates go. libstdc++ also describes std::__ios_failure with __iosfail_type_info, a class that privately derives from __si_class_type_info at the same address. Kind now follows such single same-address bases to the __cxxabiv1 class, so catching std::ios_base::failure or std::exception matches a stream failure. The plain aliases came ina4c519b26next to the cut aliases from14f8c16ac.
About
Tool for automatic executables porting to Linux and Windows.
Web converter - files stay on your device.
Includes a relinker that converts executable to the target system's native format and implementations of system prx libraries suitable for dynamic linking. No emulation or separate runtime process.
Discord, Usage, Build instructions, Architecture, Technical debt of the project, code style conventions, contributing
Status
* System libraries: percentage of the functions known to the project so far (declared in core/libs/prx), not of every PS5 system function. The total grows as more functions are declared.
Unsupported or unexpected states strictly throw std::runtime_error. what() is printed to stderr and the process terminates.
The shader recompiler successfully produces SPIR-V (validated via Spirv-Tools when built with ANYPS5_ENABLE_SPIRV_TOOLS).
Compatibility
Per-game progress (stage reached, open blockers, libraries and GPU coverage) is tracked on the blocker map, a community project built from public GitHub data (source). Test reports go in the Game bring-up discussions, one thread per title.
Input mapping
SDL-mapped game controllers are supported, including analog sticks and triggers. Keyboard and mouse controls can be configured with an anyps5-input.ini file. See input mapping for the supported devices and configuration format.
Disclaimer
This project is intended for interoperability, research, preservation, and compatibility purposes. It does not include, distribute, or require copyrighted software, firmware, cryptographic keys, or proprietary libraries. Users are responsible for ensuring that any binaries used with this project are obtained and used in accordance with applicable laws and their respective license terms.
License
This project is licensed under the GNU General Public License version 2 only.