Recompiler Experimental

PS2 Web Recomp

A PS2 static recompiler that turns your disc image into a web page: the Emotion Engine code is translated ahead of time into C++ and compiled to WebAssembly, and a runtime reproduces the rest of the console. The I/O processor (IOP) runs the disc’s own IRX modules on an interpreter, the Graphics Synthesizer is drawn with WebGPU compute shaders, the VU1 microprograms are compiled ahead of time, and sound and movies are reimplemented. It also builds a native executable, ps2run, for x86-64 Linux and Apple silicon macOS (wgpu-native on Vulkan or Metal, with SDL2), with a window, controllers, and internal resolution up to 3x. A single script does the whole job: it reads the disc’s executable, translates it, runs the game a few times without a window to find the missing functions, and builds the page and the executable; it also applies PCSX2 .pnach patches. It’s been tried with two games: Gran Turismo 4 (PAL), which plays with sound and saves, and God of War II, which reaches combat. The README warns that another game will most likely stop at some unimplemented system call, and there’s an experimental Gran Turismo 3 bring-up contributed by another author. moesuito’s Gran Turismo 4 recompilation builds on it. Using it takes your disc image (ISO, BIN/CUE, or a ZIP or 7z holding one), git, CMake, Ninja, a C++20 compiler (clang preferred), and Python 3; the first run installs the Emscripten SDK, the native window needs the SDL2 development files, and the page needs a browser with WebGPU. The repository includes nothing from any game, and the README asks you not to publish the generated code. MIT license. 27 of its last 100 commits list Claude as a co-author.

Type
Recompiler
Consoles
PS2
Author
snuri00
Stars
1.4k
Last activity
2026-11-08 · 3 days ago
License
MIT
Language
C++
View repository ↗
emotion-enginestatic-recompai-assisted
README badge

If this is your project, you can add it to its README: it shows its status on Recompendium and updates itself when the status changes.

README badge
[![Recompendium](https://recompendium.com/insignias/tool/ps2-web-recomp.svg)](https://recompendium.com/en/tool/ps2-web-recomp/)

Recompiled with this tool 1

PS2 Playable
PS2

Gran Turismo 4

moesuito/gt4-staticrecomp

A static recompilation of Gran Turismo 4 (NTSC-U) for Windows x86-64: the game’s code is translated ahead of time into C++ and compiled to native code, including every VU1 and VU0 microprogram, and the PS2 hardware is reproduced in software. It is what the README calls a hybrid recompilation: the image goes out through Vulkan with PCSX2’s GSdx renderer in a separate process, which the launcher downloads, while an in-house one (CoreGS 2.0) is in development. It advertises a locked 60 FPS at 100% game speed in the scenes it tests, 1080p by default and up to 8K, widescreen and ultrawide, custom texture packs, a crash-safe memory card, and gamepads through SDL3. It ships an installer and a launcher that set the game up from your disc. Version 1.3.0-rc6 (October 26) is a test build; 1.2.5 is from the same day. 51 of its last 100 commits list Claude as a co-author.

You needYour own .iso image of Gran Turismo 4 USA v2.00 (SCUS-97328). 64-bit Windows 10 or 11, a processor with SSE4.1, a graphics card with Vulkan 1.2, and about 6 GB free (the launcher keeps a 5.3 GB copy of your image).

★ 535 · 2026-11-11 View →