Go to file
boykopovar ab7d9a180a fix(agc): fix texture detiler context lifetime 2026-09-23 11:17:53 +03:00
3rdparty feat(repo): add git submodules to 3rdparty 2026-09-11 15:51:24 +03:00
core fix(agc): fix texture detiler context lifetime 2026-09-23 11:17:53 +03:00
docs refactor(core): add some nodiscard and const 2026-08-03 21:05:36 +03:00
.gitignore feat(agc): extend graphics compiler contract and add mesh and tessellation paths 2026-09-15 21:19:06 +03:00
.gitmodules feat(repo): add git submodules to 3rdparty 2026-09-11 15:51:24 +03:00
CMakeLists.txt feat(shader): rdna memory op decoder impl 2026-09-15 07:07:50 +03:00
LICENSE initial commit 2026-08-03 20:02:52 +03:00
README.md feat(agc): implement guest sampler resource decoding 2026-09-23 08:06:06 +03:00

README.md

About

Tool for automatic executables porting to Linux and Windows.

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.

Releases will be published after the first full successful launch of at least one game.

Status

Execution reaches _start, stack unwinding and exception handling tables are built. All unimplemented functions throw std::runtime_error. what() is printed to stderr and the process terminates. Audio output and video output initialization pass. Reaches the main function with render loop (deep call chain, ~64KB stack frame function) - init and shader loading from disk fully complete.

A standalone SPIR-V triangle test passes GPU readback checks and presents a frame through the libSceAgcDriver. The shader recompiler successfully produces validated via Spirv-Tools SPIR-V. The first application draw currently stops in libSceAgcDriver, where support for shaders using textures is not implemented.

Now: libSceAgcDriver: TextureDetiler not implemented.

Build

The relinker uses only the C++20 standard library and should build with any conforming compiler.

libc.prx implementations contain compiler-specific code. Linux builds work with GCC; on Windows, MinGW-w64 GCC 15.2.0 (winlibs-gcc15, x86_64-ucrt-posix-seh) is currently required.

The project targets maximum compiler portability. Support for additional compilers will be addressed after the first successful game launch.

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.