snuri00/ps2-web-recomp
PS2 games in the browser: static recompilation to WebAssembly with a native runtime
Older snapshot: check the original source for current information.
From the publisher
README & documentation
Source previewRead the project’s overview, installation instructions and usage examples. The original README is the source of truth.
PlayStation 2 games running in the browser through static recompilation. The game's Emotion Engine machine code is translated ahead of time into C++ and compiled to WebAssembly, so the main CPU is never interpreted; the rest of the console, its operating system and hardware, is emulated by a runtime that draws with WebGPU. Watch the full recording (1:24) This is the sibling of psp-web-recomp and follows the same method. The first title brought up this way is Gran Turismo 4, chosen because it is one of the most demanding games on the system: it leans on both vector units, on exact floating point behaviour for its replays and license tests, and on graphics tricks that read rendered images back as palettes. It plays from boot through the opening movie, the menus and races, with music and sound effects, and saves to a memory card kept in the browser. A race…
Read the full README ↗ · Preview checked 2026-10-28T05:26:52.901Z
Inside the original README — Document outline
- PS2 Web Recomp
- How it works
- Lessons from making it fast
- A second game
- Port a game of your own
- Browsers
- Playing natively
- Saves
- Playing together
- Hosting
- Legal
- Credits
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Links from the README
References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.
Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
What this repository does
PS2 games in the browser: static recompilation to WebAssembly with a native runtime
Repository facts
- Owner
- snuri00
- Primary language
- C++
- Stars
- 903
- Forks
- 80
- Open issues + pull requests
- 1
- License
- MIT
- Archived
- No
- Default branch
- main
- Created
- 2026-10-08T07:06:56.000Z
- Last push
- 2026-10-15T06:24:03.000Z
Topics and intended use
No topics were included in the latest source metadata.
Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.
Evaluate before installing
Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.
Source and freshness
Source: GitHub. Metadata observed 2026-10-15T12:08:24.329Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.