- C++ 84.9%
- HTML 9.2%
- C 4.7%
- Assembly 0.4%
- CMake 0.3%
- Other 0.2%
| cmake | ||
| res/images | ||
| src | ||
| vendor | ||
| web | ||
| .gitignore | ||
| CMakeLists.txt | ||
| CODING_STYLE.md | ||
| premake5.lua | ||
| README.md | ||
Liberty City Online
Free-roam multiplayer GTA III in the browser, on phones and PCs: touch controls, keyboard and mouse, or a controller.
Play: https://play.libertycityonline.co.uk
This repository holds the game: the engine (GTA III's code built for the web with WebAssembly) and the page that runs it. The multiplayer game server is not part of it.
Game files are not included and never will be. You need your own copy of GTA III. Nothing from the game is in this repository.
Liberty City Online is an unofficial fan project. Not affiliated with or endorsed by Rockstar Games or Take-Two Interactive.
Building
You need the Emscripten SDK (EMSDK, default ~/emsdk), Bun and your own GTA III folder.
web/build-web.sh # the engine, into web/dist/
bun web/tools/make-manifest.ts <your GTA III dir> # file list + start packs for your game folder
cp web/shell/* web/dist/ # the page
bun web/tools/serve.ts web/dist <your GTA III dir> 8790
Then open http://127.0.0.1:8790. Without a game server the page plays offline (single player); ?server=wss://...
points it at one.
Layout
src/the game code with the web changes (__EMSCRIPTEN__blocks and theFREEROAMparts insrc/core/).vendor/librw/librw with WebGL 2 changes.web/build-web.shthe build,web/shell/the page,web/data-pack.jsonwhich game files load first, stream, or are skipped.web/tools/the manifest maker and a small local server.
Credits
- re3 by the re3 team, the reverse-engineered GTA III code this is built on, via hez-gta-re3 by Hezkore. librw by aap.
- CRT's Vice City Online (gta.crt.fyi, git.crt.fyi/CRT/vc-online), used with his permission: the web streaming, start pack and manifest tools, the chat box, touch-button layout and status line, the hub menu idea, emotes, UNSTUCK, the PLAYERS list and Hall of Fame idea, the shared-world design, riding in another player's car, free-roam PvP rules and the way other players are shown. A small credit to CRT is also shown on screen while you play.
- 3DEBUTTON touch buttons (Definitive Edition style; original artwork by Video Games Deluxe / Rockstar Australia, edit and conversion by KLFxArkYT). Kept with the game files, not in this repository.
- Extended Interiors Universe by M. Osborn, the rooms you can walk into. Kept with the game files.
- "HD Weapon Icons" by RRT94 on the HUD and in the kill feed. Kept with the game files.
- gennariarmando's menu-map, the look of the interactive map.
- Savline's cosmo_interioredit, the idea behind the in-game interior editor, rebuilt with Savline's agreement.
- Zmey20009, who found and restored GTA III's cut multiplayer maps first.
- Barlow and Barlow Condensed typefaces by The Barlow Project Authors, SIL Open Font License 1.1 (
web/shell/*.woff2). - Country flags data: CC BY 4.0 by the NRO (nro.net), via sapics/ip-location-db.
Made by GTASkunk (x.com/GTASkunk).