Live: joncodeofficial.github.io/gta-vice-city-wasm
A local-first browser port of Grand Theft Auto: Vice City. Import your own game.tar.gz once — it gets extracted and stored directly in your browser via OPFS. From that point on, the game runs entirely from your device with no CDN, no external server, and no recurring downloads.
This is a different approach from the original DOS Zone port, which streams game assets from a remote CDN. Here, a Service Worker intercepts all game file requests and serves them from local OPFS storage — meaning it works offline after the first import.
- Download
game.tar.gz - Open the live page and click Select game.tar.gz to import the file
- The archive is extracted into your browser's local storage (OPFS) — this only happens once
- Click Click to play and the game loads entirely from your device
Your imported data persists between sessions so you only need to import once unless you clear browser storage.
- A modern desktop browser with WebAssembly + OPFS + Service Worker support
- Recommended: Chrome 110+, Firefox 111+, or Safari 16.4+
- The
game.tar.gzgame archive (~668 MB compressed)
pnpm install
pnpm devThen open http://localhost:5173.
- Vite — dev server and build tool
- WebAssembly — game engine compiled from C++ via Emscripten
- OPFS (Origin Private File System) — stores extracted game data locally in the browser
- Service Worker — intercepts fetch requests to serve game files from OPFS
- Web Worker — extracts the
.tar.gzarchive off the main thread
Browser client port (OPFS storage, Service Worker, import UI, GitHub Pages deploy): @joncodeofficial
WASM engine port by the DOS Zone team:
The game engine is based on the open-source reverse engineering project re3/reVC.
This is not a commercial release and is not affiliated with Rockstar Games or Take-Two Interactive. It is built entirely on an open-source reimplementation of the game engine and does not include, distribute, or host any original game assets. You must own a legitimate copy of GTA: Vice City to use this software. All trademarks and copyrights belong to their respective owners.