Image: reddit.com · I used Claude to get GTA 2 running in a browser
GTA 2 running in a browser tab
A browser port of GTA 2 built on a community decompilation, using WebGL and Web Audio, done with Claude Code.
Credits
- Reddit poster Thisiaphr0 Source ↗
- Repository account M1sterMo Source ↗
Earliest dated source:
The full story
The poster used Claude Code to port GTA 2 to run in a browser tab, building on the community decompilation gta2_re. The C++ engine is compiled to WebAssembly with Emscripten, and Claude helped replace the Windows graphics, audio and input layers with WebGL, Web Audio and browser controls, with saves kept locally.
Some game data tables were missing from the decompilation, so they were recovered from the original executable, down to truck hitch offsets and horn rhythms. The poster also added widescreen, a waypoint map and a calmer camera. It is an unofficial fan project and the first launch fetches about 346 MB of game data.
How it was done
Tools
Themes
Loading themes…
Sources
From a short post by the maker, so the details are as they tell them.
- Reddit: I used Claude to get GTA 2 running in a browserReddit poster: Thisiaphr0Posted
The maker's post on r/ClaudeCode.
If it disappears: archived copy of Reddit: I used Claude to get GTA 2 running in a browser (opens in a new tab)
- The code: github.comRepository account: M1sterMo
The project on GitHub.