
Who did what
35 of 275 commits credit an AI: 29 Claude Opus 5.5, 6 Claude (version not given). They were made on 8 separate days between 14 Oct 2026 and 28 Oct 2026.
Counted from the public git history on 16 Nov 2026. How
What was done
snuri00's PS2 Web Recomp brings Gran Turismo 4 and God of War II into Chrome as WebAssembly with WebGPU graphics at 50 to 60 fps, and every port starts from your own disc image.
snuri00's PS2 Web Recomp statically recompiles PlayStation 2 games into WebAssembly and runs them in a browser page with WebGPU graphics and no emulator for the main code. Its commit history carries Co-Authored-By: Claude trailers, so AI agents helped write it. The README does not mention AI; the AI commit census counts 31 of 251 commits with Claude credit (mostly Claude Opus 5.5), from 14 to 27 October 2026. The first target was deliberately hard, Gran Turismo 4, and God of War II followed through the same scripts with no game-specific code.
How it works
The recompiler reads the game executable, follows its control flow and emits C++ in 16 KiB units, keeping the Emotion Engine 128-bit registers, branch delay slots and the exact floating point rules of the console. Vector unit programs are compiled ahead of time, and anything a game uploads unseen is translated to a WebAssembly module within milliseconds on the spot. The graphics chip runs as compute shaders with the console's own texture, palette and blending rules, and SPU2 audio, IOP kernel modules and movies are reimplemented, with a software renderer as the reference the GPU output is checked against.
What plays
The README gives no date. Two games have been brought up so far. God of War II plays from menus through cutscenes into combat and holds 60 fps in heavy combat at console resolution (the PS2's resolution), 48 to 60 at twice that on a laptop integrated GPU. Gran Turismo 4 boots, plays the opening movie, menus and full races, with sound and saves, at a clean 50 fps for the PAL release at twice the resolution in Chrome on an integrated GPU, and a browser-stored memory card exports to PCSX2. A Gran Turismo 3 bring-up is marked experimental, with no claim of full compatibility. The next game usually stops where an unhandled system call or a graphics feature is logged for you to bring upstream.
No game data ships: the port script turns your own disc image into a page on your machine. You need a C++20 toolchain, CMake, Ninja, Python 3 and a disc image of a game you own. scripts/port.sh makes the page and scripts/serve.py serves it. The page needs WebGPU, which on Linux Chrome means two flags. The README says not to publish the generated output.
Sources:
- https://github.com/snuri00/ps2-web-recomp
- https://news.ycombinator.com/item?id=50052251 (not read)
Questions about Gran Turismo 4 and God of War II (PlayStation 2)
snuri00's PS2 Web Recomp brings Gran Turismo 4 and God of War II into Chrome as WebAssembly with WebGPU graphics at 50 to 60 fps, and every port starts from your own disc image. It is listed under Games and mods for PS2 (R5900) to WebAssembly in Chrome.
The entry names Claude. The tools named alongside are Emscripten and WebGPU.
Its author reports that it partly works.
The entry links a repository, https://github.com/snuri00/ps2-web-recomp, but does not record whether the code is public. Licence: MIT.
Discussion
Sources
Sources reviewed · Added
An AI model drafted this entry from the sources above. Checked against the sources on 19 Oct 2026. The figures are the author's. How entries are checked. Something wrong? Tell me.


