PlayStation 3 Full Recompiler
A native Windows recompiler focused on translating PS3 game code and rebuilding the runtime needed to execute it.
๐ Website ยท ๐งญ Roadmap ยท ๐๏ธ Architecture ยท ๐ Diagrams ยท ๐ Engineering ยท ๐ ๏ธ Developer guide ยท ๐งญ AIFIAR (AI workflow) ยท ๐ User manual ยท ๐ฎ Game notes
Important
PPSX33's primary goal is full PlayStation 3 game recompilation into native Windows builds. This is the project's intended direction, not a claim that every PS3 title is already compatible. Full recompilation requires accurate PPU and SPU execution, system-library and kernel behaviour, DMA, and real RSX/GCM rendering. A successful lift or build alone does not prove that a game boots or is playable. Control-flow recovery and boot FIFO assist are diagnostic; use PS3RT_STRICT_FAULT=1 when validating correctness.
Note
Input format: PPSX33 loads decrypted ELF files only. It does not decrypt EBOOTs, bundle keys, or launch external emulators. Obtaining a decrypted ELF is the user's responsibility (for example, offline tooling some users already have โ not provided by this project).
Desktop UI: C++ / Qt 6 Widgets. Graphics: Vulkan 1.1 default; OpenGL selectable (working-phase notice in UI). (PPSX33.exe, 1.1.0-Alpha). Runtime: unified ps3rt.dll under build/dist/ (plus ps3core.dll, vulkan-1.dll).
PPSX33 is an open-source PlayStation 3 recompiler whose main objective is full recompilation: translate a game's PowerPC code and supporting execution paths into a native Windows build, with a host runtime that reproduces the PS3 system services and hardware behaviour the title depends on.
This is a whole-system engineering target, not just an ELF-to-C++ conversion. The project must progressively cover instruction semantics, control flow, kernel and library services, SPU/MFC/DMA behaviour, and RSX/GCM graphics so that generated builds can execute real games correctly. Implementation status is reported explicitly below and in the roadmap.
Decrypted ELF ย โ ย ๐งญ Analyse ย โ ย โ๏ธ Lift to C++ ย โ ย ๐ Link runtime ย โ ย ๐งช Validate
- Load a decrypted ELF or supported game layout that you are legally entitled to use.
- Analyse and lift supported PPU instruction regions into generated C++.
- Resolve runtime dependencies through the current LV2, PRX and library HLE layers.
- Build a native Windows executable using the installed Microsoft C++ toolchain.
- Measure what actually works using traces, lift reports and per-game test notes.
The last step matters: generated code is only one milestone. Correct execution and rendered gameplay must be demonstrated separately.
PPSX33 is being developed toward full recompilation. These statuses describe implemented subsystems and remaining gaps; they do not imply universal game compatibility.
| Area | Status | Current scope |
|---|---|---|
| ๐งฐ GUI, project flow and build orchestration | ๐ก Partial / evolving | Windows GUI and native build pipeline; title-specific failures remain possible |
| ๐ฆ ELF loading and PPU lifting | ๐ก Partial | Supported code can be lifted; translation coverage is not semantic correctness |
| ๐ง PPU runtime and control flow | ๐ก In progress | Guest context and execution paths exist; unsupported or inaccurate paths can break execution |
| ๐ช Vulkan 1.1 host window and presentation | ๐ข Implemented baseline | Async HWND pump + swapchain clear + guest RGBA upload |
| ๐งฑ RSX/GCM command processing | ๐ก In progress | FIFO decode and Vulkan present; assist draws proven; title-authored GCM and shaders still incomplete |
| ๐งฉ LV2, PRX and NID services | ๐ก Partial | Static-style stub binds (LR/PCโNID); runtime recovery fallback; coverage still incomplete |
| โก SPU, MFC/DMA and SPURS | ๐ก Partial | Assist/runtime paths exist; full instruction and scheduling behaviour is not complete |
| ๐ Audio, ๐ฎ input and ๐พ save services | ๐ก Partial | Basic host paths exist; title-level behaviour still needs verification |
| ๐ฏ End-to-end game compatibility | ๐ด Not established generally | Static lift reports do not establish bootability or playability |
- Default: Vulkan 1.1 (dynamic
vulkan-1.dllload; CMake copies DLL intodist/). - Secondary: OpenGL 4.5 (guest present + shader blit live).
- Removed: Direct3D 11 backend and DX11 dependencies.
- Present path: Dedicated HWND pump thread so the game window stays responsive during boot HLE; PPU thread does not block on
vkQueuePresent.
Legend: ๐ข implemented baseline ยท ๐ก partial or under active development ยท ๐ด not established / major work remains
HLE and host services written for this project. Public emulator behaviour may be used as a reference for expected results, not as a code source. Counts are approximate; individual titles can still fail on โCompleteโ rows if a code path is wrong or incomplete.
| Category | Modules (scope) | Status |
|---|---|---|
| Kernel threading | PPU thread / mutex / cond / semaphore HLE | ๐ก Partial |
| Kernel events / timers | Event queues, timer syscalls | ๐ก Partial |
| Kernel memory | sys_memory-style alloc, mmapper subset | ๐ก Partial |
| Filesystem | cellFs / path mapping, real host I/O | ๐ก Partial |
| Save data | cellSaveData / PARAM.SFO paths | ๐ก Partial |
| Input | cellPad mapping (XInput/host keys) | ๐ก Partial |
| Audio | cellAudio host path (waveOut-style) | ๐ก Partial |
| Video out / GCM | cellVideoOut, cellGcmSys control/FIFO kick | ๐ก Partial |
| Graphics (RSX) | OpenGL 4.5 guest present live; Vulkan 1.1 init soft-fail on some GPUs; FIFO assist | ๐ก In progress |
| SPU / MFC / SPURS | Interpreter, DMA/tags, job assist | ๐ก Partial |
| PRX / NID / LV2 | Import stubs, common syscalls | ๐ก Partial |
| Codecs / media | PNG/JPG helpers; ATRAC/VDEC deep decode | ๐จ Limited / partial |
| Network / NP | Not a product goal โ stubs only if present | โช Out of scope / stub |
| USB / Camera / Move | Not required for core recomp path | โช Out of scope / stub |
Legend: ๐ก partial ยท ๐จ limited ยท โช out of scope for current goals ยท ๐ข only when end-to-end proven on titles
Task-level tracking: ROADMAP.md.
For the task-level breakdown and longer-term architecture plan, see ROADMAP.md and PPU coverage notes. Game-specific evidence and logs are collected under docs/games.
| Document | Description |
|---|---|
| Website | Project site |
| Architecture | Containers, runtime layers, PPU/RSX pipelines (Mermaid, PlantUML, D2, C4, โฆ) |
| Diagrams index | Mermaid, PlantUML, Graphviz, WaveDrom, Vega-Lite, Nomnoml, Markmap, Kroki, โฆ |
| Roadmap | Phased gates and status |
| Engineering | Build and contributor notes |
| Game runtime requirements | Supported graphics APIs, display output and runtime hardware requirements |
High-level flow:
flowchart LR
ELF[Decrypted ELF] --> Lift[PPU lift]
Lift --> Build[MSVC game EXE]
Build --> RT[ps3rt runtime]
RT --> VK[Vulkan 1.1 present]
The PS3 combines multiple processors and a custom graphics system. A useful recompiler has to reproduce the observable behaviour games depend on, not just translate their main CPU instructions.
| Component | Responsibility | Compatibility work |
|---|---|---|
| PPU | 64-bit PowerPC main processor | Instruction semantics, branches, registers, memory and calling conventions |
| SPU | Synergistic processors | Vector operations, local store, channels and job execution |
| MFC / DMA | SPU data movement | Transfer ordering, tags, stalls and completion semantics |
| RSX / GCM | Graphics processor and command interface | FIFO, shaders, vertex data, textures, render targets and synchronization |
| LV2 / PRX | Kernel and modules | Threads, memory, events, imports, exports and module lifecycle |
| cellFs and other libraries | Game-facing system APIs | Correct paths, data formats, errors, timing and state |
A failure that looks like a graphics bug may actually be caused by a missing import or an SPU transfer that completed too early. Diagnostics should preserve that chain of evidence.
See STRUCTURE.md for the full tree. Summary:
PPSX33/
โโโ src/
โ โโโ core/ # ELF loaders, VFS, memory, HLE kernel
โ โโโ processor/PPU|SPU # Lift, run headers, SPU interpreter
โ โโโ RSX/ # Graphics pipeline + Vulkan 1.1 (OpenGL secondary)
โ โโโ games-stuff/ # Audio + Video subsystems
โ โโโ UI/ # Qt Widgets GUI
โ โโโ cli/ # CLI tooling
โโโ assets/ docs/ redist/
โโโ STRUCTURE.md
โโโ ROADMAP.md
โโโ README.md
Runtime sources live under src/ (no top-level runtime/ tree).
Built artefacts in build/dist/:
PPSX33.exe,ps3rt.dll,api.dll,rsx.dll,render.dll,resolution.dll,vulkan-1.dllโ underbuild/dist/(copy into the game USRDIR next to EBOOT)dist/runtime/โ headers only for game link (no DLL/LIB duplicate)
Generated projects may contain a game executable, runtime DLLs (ps3rt, api, rsx, render, resolution), vulkan-1.dll, guest image data, controller mapping and logs. Exact output depends on the project and build path.
The following requirements apply to running a recompiled game (the generated game executable with ps3rt.dll). They are separate from the Visual Studio, Qt 6 and CMake tools used to build PPSX33 itself.
| API | Version | Role |
|---|---|---|
| Vulkan | 1.1 | Default host renderer. vulkan-1.dll must be beside the generated game executable. |
| OpenGL | 4.5 | Secondary core-profile path. Feature parity with Vulkan is in progress. |
| Direct3D 11 | โ | Not supported. The D3D11 runtime and dependencies have been removed. |
These are the current minimums for opening the game window and clearing/presenting a frame. They do not guarantee that a particular game will boot or render correctly.
| Component | Requirement |
|---|---|
| Operating system | 64-bit Windows 10 or later |
| GPU | A driver exposing Vulkan 1.1 or OpenGL 4.5 |
| Vulkan loader | vulkan-1.dll beside the generated game executable when using Vulkan |
| Display output | Fixed 720ร560 (560p) host present for the current path |
| Monitor | A physical display of 720ร576 or higher is recommended |
| VRAM | Enough for a 560p swapchain and staging buffers; typically 1 GB or more usable |
| Input | Keyboard or XInput controller, where supported by the title |
| Game data | Lawfully obtained title files that you are authorized to run |
| Component | Recommendation |
|---|---|
| GPU | Discrete GPU with current vendor drivers and Vulkan 1.1 support |
| VRAM | 2 GB or more |
| System memory | 8 GB or more for guest and host buffers |
| Storage | SSD for game data and logs |
These are renderer and presentation requirements, not compatibility guarantees. Game behaviour still depends on the implemented PPU, SPU, RSX/GCM and system-service paths. A machine meeting the minimum requirements may open and present a window while a specific title remains unsupported or fails during execution.
The requirements above are not the development-toolchain requirements for building the recompiler or its GUI. For the current build setup, install the Visual Studio C++ desktop development tools and Windows SDK, the Qt 6 SDK required by the GUI project, and the CMake/Ninja tools required by the relevant targets. Check the redistributable and toolchain notes and the project build files for configuration-specific details.
See requirements.md for the maintained game-rendering requirements.
-
Install Visual Studio with the C++ desktop development tools and a Windows SDK.
-
Install the Qt 6 SDK required by the GUI project.
-
Clone this repository and open a terminal at the repository root.
-
Run the repository build helper:
scripts\\build_all.bat
-
Launch the generated GUI if the build completes successfully.
-
Load only a decrypted ELF or game layout you are legally entitled to use.
-
Review the lift report and build log before attempting to run the generated executable.
Build outputs and paths may vary by configuration. If a step fails, capture the complete error and toolchain version instead of assuming the project built successfully. The developer guide and user manual provide more detail.
PPSX33 tracks the full-recompilation pipeline in separate, verifiable stages:
- Decode/lift coverage: which instruction encodings the tool recognises or translates.
- Semantic correctness: whether translated instructions reproduce expected guest state.
- Runtime service coverage: whether required imports and system calls behave correctly.
- Graphics correctness: whether real game commands produce the expected image.
- Game testing: whether a documented path boots, accepts input and runs reliably.
A percentage in a lift report is not a compatibility rating. A title should only be described as playable when that claim is backed by reproducible end-to-end testing. See PPU coverage and the individual reports in game documentation.
The engineering target is to close the gaps between translated code and a working native game build:
- Expand PPU translation and validate instruction semantics, branches, register state, memory behaviour and control flow.
- Replace incomplete runtime paths with correct LV2, PRX, NID and cell-library implementations.
- Implement SPU execution and accurate MFC/DMA ordering, tags, stalls and synchronization.
- Complete the RSX/GCM path, including FIFO processing, shaders, vertex attributes, textures, surfaces, depth, render targets and presentation.
- Validate generated native builds with repeatable per-title boot, input, audio and rendering tests.
- Add regression coverage and keep unsupported behaviour visible instead of silently treating it as successful execution.
The live task list is maintained in ROADMAP.md. Contributions should include test evidence or a clear explanation of what remains unverified.
PPSX33 includes a controller mapping reference for the current input path:
The repository includes a controller-mapping reference in assets/PPSX33 PS3 Controller Key Mapping.png. Its asset provenance and any third-party marks/artwork should be verified before redistribution. See KEY_MAPPING.md for the text reference.
See KEY_MAPPING.md for the text reference. Actual game input support may depend on the title and runtime path.
Useful contributions include:
- PPU instruction implementations with focused regression tests.
- Correct LV2/PRX behaviour backed by logs or API references.
- RSX command and shader work demonstrated with real test scenes.
- SPU and DMA tests that verify data and completion ordering.
- Reproducible Windows build fixes and clearer diagnostics.
- Game reports that distinguish โtranslatedโ, โbootsโ, โreaches menuโ and โplayableโ.
Please keep changes scoped, explain assumptions, and do not add copyrighted game binaries, firmware or extracted game assets. Read CONTRIBUTING.md before opening a change.
- ๐ Website
- ๐งญ Roadmap
- ๐๏ธ Architecture
- ๐ Diagrams
- ๐ ๏ธ Developer guide
- ๐ User manual
- ๐งช PPU coverage report
- ๐ฎ Game notes and test logs
- โจ๏ธ Controller key mapping
- ๐ฅ๏ธ Game runtime requirements
- ๐งฐ Toolchain setup
- ๐ก๏ธ Security policy
- ๐ Legal notes
- ๐งพ Third-party notices
PPSX33 does not bundle commercial game files, firmware, or proprietary keys. Its optional RPCS3 integration can invoke an external EBOOT decryption workflow; this does not establish permission to process a file or guarantee legality. Users must review applicable law and third-party terms. Asset provenance and license compatibility must be checked separately. See LEGAL.md, TERMS.md and NOTICE.
See LICENSE for the project's license. Third-party components, headers and SDKs remain subject to their own licenses.
API (Vulkan 1.1 / OpenGL 4.5), quality (720/560/480), and play unlock are controlled by Modify.exe next to the game EXE โ not the main UI.
- Build Project โ produces game EXE + unlock token
- Port โ emits
Modify.exe+ppsx33_launch.jsonbound to that game - Copy to Game Folder โ ships EXE, Modify,
ps3rt.dll,vulkan-1.dll,guest_image.bin, keymap - Launch game EXE โ opens Modify (API / quality / controller) โ PLAY
Prebuilt Qt6 tool (same Qt as host). Discovers tagged game EXE, edits keymap.json, launches with -nogui -api= -h=.

