PS2 static recompilation / field manual
PS2 Web Recomp
PS2 Web Recomp translates PS2 CPU code into WebAssembly and uses a runtime for the rest of the console. Use this manual to prepare a private local build from your own disc image.
Local build workspace
Stage checkpoints →The commands use reviewed revision f3a550b797de. They run on your build host; this site does not open or upload a disc.
Local command builder
Prepare commands for your file
Enter text below to prepare Bash commands. This tool does not run commands, inspect an ISO or upload files.
For a new clone, start in its parent folder. For an existing clone, start inside that repository; the commands will not clone it again. Both use reviewed revision f3a550b797de04b6380394e52532c03902bb03c4. Review your local changes before switching revisions; Git may refuse a conflicting checkout.
Use a short name such as gt4 for this game's directory.
Replace the example with your absolute Linux or macOS path, such as /Users/you/Games/My Game.iso. Relative paths start inside the cloned ps2-web-recomp folder, after cd. Replace a leading ~/ with your full home path; quoted paths do not expand it.
Choose a slug and replace the example image path, then build commands.
Runs on this device
Check your build's browser
Test API availability and request a WebGPU adapter here. This does not launch a game, benchmark your GPU or verify PS2 game compatibility. Results stay in the page.
Ready to check. No test has run yet.
PS2 Web Recomp source download and next steps
Get the source from the official snuri00/ps2-web-recomp repository. The command builder above fetches the manual’s fixed source revision; its commands do not track the moving default branch. The source contains no game data. Build privately from your own disc image and keep the translated game outputs on your machine.
- After generating commands, follow the extraction, exploration and build checkpoints.
- When the local page opens, check its isolation and browser APIs. A result on this guide checks this guide’s document only.
- Once an in-game save works, export a memory-card backup before changing browser storage or addresses.
Using a newer checkout? Read the 26 October source changes and version boundaries before mixing instructions.
What has been reported for each game
Recording and test notes →| Stage | Gran Turismo 4 | God of War II |
|---|---|---|
| Startup / boot | ReportedBoot through the opening movie is described. | Not establishedThe account starts at menus; it is not a separate boot test log. |
| Menus | ReportedMenus and entry into races are described. | ReportedMenus are described. |
| Movies / cutscenes | ReportedThe opening movie is described. | ReportedCutscenes are described. |
| Audio | ReportedMusic and sound effects are described. | Not establishedAn IOP audio-timer fix is explained; no separate playback test is recorded. |
| Gameplay | ReportedA race is shown in the upstream recording. | ReportedThe maintainer describes reaching combat. |
| Memory-card save | ReportedThe README describes a card kept in browser storage. | Not establishedNo title-specific save result is described. |
| Whole-game completion | Not establishedNo whole-game completion log is supplied. | Not establishedNo whole-game completion log is supplied. |
Gran Turismo 4
- Startup / boot
- ReportedBoot through the opening movie is described.
- Menus
- ReportedMenus and entry into races are described.
- Movies / cutscenes
- ReportedThe opening movie is described.
- Audio
- ReportedMusic and sound effects are described.
- Gameplay
- ReportedA race is shown in the upstream recording.
- Memory-card save
- ReportedThe README describes a card kept in browser storage.
- Whole-game completion
- Not establishedNo whole-game completion log is supplied.
God of War II
- Startup / boot
- Not establishedThe account starts at menus; it is not a separate boot test log.
- Menus
- ReportedMenus are described.
- Movies / cutscenes
- ReportedCutscenes are described.
- Audio
- Not establishedAn IOP audio-timer fix is explained; no separate playback test is recorded.
- Gameplay
- ReportedThe maintainer describes reaching combat.
- Memory-card save
- Not establishedNo title-specific save result is described.
- Whole-game completion
- Not establishedNo whole-game completion log is supplied.
Gran Turismo 4 — reported conditions. PAL race: 50 FPS at 2× native resolution in Chrome on the author’s laptop integrated GPU. The later optimization account reports 48–50 FPS at 3× native resolution. Source report.
God of War II — reported conditions. Heavy combat: 60 FPS at native resolution and 48–60 FPS at 2× native resolution in Chrome on the author’s laptop integrated GPU. Source report.
Setup and reference
- Local setupPrepare a private local build, then check the output of extraction, exploration, compilation, hosting and one scene test.
- Runtime architectureHow Emotion Engine code generation, emulated services, vector units and WebGPU fit together.
- Browser and local-page checksCheck adapter access here, then inspect isolation and disc requests on the page that serves your local game.
- Controls & savesKeyboard mapping, gamepad input and memory-card backups for the upstream browser runtime.
- TroubleshootingUse the failed build stage and the first relevant error to choose the next check.
- Project comparisonCompare repository owners, target platforms and documented workflows before following a similarly named project.
No matching topic. Try “setup”, “browser” or “saves”.
Common questions
Can I play a PS2 game on this website?
Use this page to prepare local build commands and check your browser. To play, obtain the upstream source and build a local page from a disc image you own. We do not host game executables, ROMs, BIOS files or ready-to-play ports.
Can I use PS2 Web Recomp on PS5?
The reviewed upstream instructions describe a Linux x86-64 or Apple silicon macOS build toolchain and a browser runtime that uses WebGPU. They do not document a PS5 build or verified PS5 browser workflow. PS5 support is therefore unverified here; the name refers to recompiling PS2 code, not a PS5 package.
Is PS2 Web Recomp the same as PS2Recomp?
No. snuri00/ps2-web-recomp targets browser WebAssembly as well as a native runner. ran-j/PS2Recomp is a separate experimental project for native PC ports. Check the repository owner as well as the project name.
Do I need to upload my ISO?
No upload is part of this guide. The upstream port script consumes a local disc image and the local server streams that file to your own browser. The tools on this site do not read or upload game files.