Experimental static recompiler that ports PlayStation 3 games to native x86-64 Linux executables.
On Linux x86-64, install Git, curl and Python 3.11+ with venv/ensurepip using your
distribution's package manager (python3-venv on Debian/Ubuntu). Then paste this into Bash,
as your normal user:
curl -fsSL https://raw.githubusercontent.com/maceeek/AnyPS3/main/scripts/install.sh | bashOpen AnyPS3 in your desktop's application menu, or launch it directly:
~/.local/bin/anyps3-guiThe installer downloads the app, PySide6 and the decryption library into a private Python environment. It does not require sudo or change system Python. Rerun the same installation command to update, then close and reopen the GUI. A failed download or dependency installation keeps the previous version active. Previous app versions stay on disk so an update does not remove files used by running jobs.
- Choose Import ISO, select your game disc image, then use the wizard's explained key setup to choose JSON files, paste hex values, or explicitly download published keys from RPCS3.
If you already have this project's
local/ratchetsetup, Adopt Ratchet copies it into the library. - Wait for import and compilation in Jobs. Closing the GUI leaves these jobs running.
- Select the title and choose Play. Use Rebuild after an app update to build with the new runtime; saves stay separate from builds. Saves provides backup and restore.
Building and playing also need GCC with C++17, SDL2, Vulkan and glslang development libraries, a Vulkan GPU driver and a working systemd user session. The installer handles Python dependencies; install these native dependencies through your distribution. Review Settings → Build for memory and parallelism appropriate to your machine. Game audio is on by default for Play; turn it off in Settings → Audio → Enable game audio globally or per title.
Experimental: Ratchet & Clank: A Crack in Time (BCES00511, 01.00) is the only current target. The manager/GUI have synthetic integration coverage; a complete real-game import → build → play → rebuild → reload-save workflow and physical-controller gameplay remain unverified. Game data, firmware and keys are not included.
| Installed app data | Default location |
|---|---|
| Private source snapshots and Python environments | ~/.local/share/anyps3-app/ |
| Game library, builds and saves | ~/.local/share/anyps3-library/ |
| GUI preferences | ~/.config/anyps3-app/ |
| Launch commands | ~/.local/bin/anyps3, anyps3-manager, anyps3-gui |
The installer respects XDG_DATA_HOME and XDG_CONFIG_HOME and records those locations in its launchers.
It never pulls into your development checkout or uses its virtual environment. Launchers ignore the current
directory, PYTHONPATH and development Qt plugin paths. The installed library is separate from the source
checkout's default ~/.local/share/anyps3 library. App updates do not import, rebuild or delete games or saves.
See the manager guide for CLI commands, development setup and troubleshooting.
PPU (PowerPC) and SPU code is translated ahead of time to C++ and compiled together with our own LV2 kernel and system-library runtime and a Vulkan implementation of the RSX graphics pipeline. PPU code has no interpreter fallback; SPU code that only appears at run time (job overlays) runs in an exact interpreter until it reaches translated code. There is no separate emulator process.
Unsupported or unexpected states strictly throw std::runtime_error. Unknown instructions, syscalls and
protocols stop the program explicitly; they are never silently skipped or faked.
Knowledge base · current state · architecture · progress log · agent workflow
The first and only target so far is Ratchet & Clank: A Crack in Time (BCES00511, version 01.00).
- The original game boots, plays its videos, reaches the original main menu and loads a saved game into the
first level (
great_clock_a). The menu and the level are rendered by the Vulkan RSX backend. - The menu runs at full speed. At native 1280×720, builds 703–706 (2026-10-21) held the 60 Hz VSYNC cap in the level on a Ryzen 9 9900X with an RTX 4070 SUPER: 59.5–59.9 FPS mean in quiet measurements (main thread ~11 ms and RSX worker ~12 ms of the 16.7 ms frame; ~3–4 ms headroom; an emulated 75 Hz vblank is not held). Walking through heavy views at 720p still drops to ~44–46 FPS.
- At 2× internal resolution (2560×1440,
ANYPS3_RENDER_SCALE=2) build 1031 walks at ~40 FPS (2026-10-27). A stable 60 FPS at 1440p is the open goal; later CPU work on the development branch is not yet measured in the game. - Input works through SDL game controllers, including DualSense (PS5) SIXAXIS motion, rumble and the PS button (details). Navigation with a virtual and a uinput controller is verified; a physical controller has not been verified yet.
- Audio is produced through SDL (on by default in the GUI, switchable per title). Linux is the only supported host for the game runtime.
Measurements, open blockers and reproduction commands are tracked in the knowledge base.
- Linux x86-64, Python 3.11+, GCC with C++17, SDL2, Vulkan and glslang/SPIRV development libraries, a Vulkan driver (a real GPU; Lavapipe for tests).
- Optional:
cryptographyfor theunselfcommand (python3 -m pip install -e .[self]). - No game data, firmware, keys or system files are included. To run a game you need your own legally obtained copy of the game, the PS3 system software and the decryption parameters for your copy.
mkdir -p build
python3 -m anyps3 demo -o build/answer42.elf
python3 -m anyps3 inspect build/answer42.elf
python3 -m anyps3 recompile build/answer42.elf -o build/answer42.cpp
c++ -std=c++17 -O2 build/answer42.cpp -o build/answer42
./build/answer42 # prints r3=42The demo ELF is a synthetic PPU program written by this project
(examples/answer42.ppu.s), not a game dump. python3 -m anyps3 --help lists the other
commands (analyze, recompile-program, sfo, unself, disc-inventory, disc-extract, recover-zip).
Commands never overwrite existing output files.
ANYPS3_REQUIRE_VULKAN=1 python3 -m unittest discover -s tests -qThe suite has several hundred tests (native C++ harnesses, Vulkan through Lavapipe or a real GPU) and does not need any game files.
AnyPS5 inspired the way the tool is used. Public PS3 static recompilation projects, notably ps3recomp (MIT), inspired some of the runtime techniques. RPCS3 (GPL-2.0) serves as a behavioural reference and is cited in code comments where hardware or firmware behaviour was taken from it. No source files of these projects are included.
This project is intended for interoperability, research, preservation and compatibility purposes only. It does not include, distribute or require any copyrighted software, firmware, game data, cryptographic keys or proprietary libraries. Users are solely responsible for obtaining any games, system software and keys legally, and for using them and this software in accordance with the laws of their jurisdiction and the applicable license terms. Do not use this project to infringe copyright or to circumvent technical protection measures where doing so is unlawful.
This software is experimental and is provided "AS IS", WITHOUT WARRANTY OF ANY KIND, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, accuracy and non-infringement. To the maximum extent permitted by applicable law, the authors and contributors shall not be liable for any claim, damages or other liability, whether direct, indirect, incidental, special, consequential or exemplary, including but not limited to loss of data, hardware damage, lost profits or legal consequences, arising from or in connection with the software or its use, misuse or inability to use, even if advised of the possibility of such damage. You use this software entirely at your own risk.
This project is not affiliated with, endorsed, sponsored or approved by Sony Interactive Entertainment, Insomniac Games or any other rights holder. "PlayStation", "PS3", "Cell Broadband Engine", "Ratchet & Clank" and all other trademarks are the property of their respective owners and are used here only to describe compatibility.
This project is licensed under the GNU General Public License version 2 only (GPL-2.0-only). See LICENSE.