The PS4Recomp project is an experimental static recompiler designed to port x64 applications from the PlayStation 4 to Apple Silicon hardware. The tool utilizes the Go programming language for disassembly and instruction translation, while C and C++ handle the runtime environment and OrbisOS kernel instructions. Objective-C is used to interface with the Metal graphics API.
The process involves analyzing PS4 binary files, including eboot.bin and .prx modules, to identify symbols and dependencies. The recompiler generates assembly files and uses the Ninja build system to compile the final binary. The project relies on external components such as SPIRV-Cross for shader translation and LibAtrac9 for audio processing.
Current testing shows varying results for different titles. The Last of Us Remastered is functional, running at approximately 20 FPS on a MacBook Pro M1 and up to 90 FPS on an M1 Pro chip. Bloodborne: Game of the Year Edition is playable but exhibits significant graphical artifacts. Other titles like Hogwarts Legacy and Hollow Knight: Silksong currently face initialization or exception handling errors.
The developer emphasizes that the project is in an early stage and aims to create a universal static recompiler rather than a solution for specific games. The source code is hosted on GitHub, and the project is licensed under GPL 2.0. Contributions are accepted, provided they maintain the project's focus on universal implementation rather than hardcoded fixes.



