How shadany7824/playgta5 works
This repository packages an archival, locally runnable browser port of Grand Theft Auto V. The principal workflow is to launch the local server, open the game in a browser, load the engine, and run the game using the separately supplied asset mirror. Runtime code includes engine hosting, persistent asset reads, and a WebGPU worker; the repository also contains a resumable asset-snapshot tool. The README documents the launch flow, while sampled source clarifies server behavior and runtime responsibilities; some worker wiring and browser execution remain unverified.
Main entry points: game.js Game engine · Launch-Local.cmd Local launcher · serve_local.py Local HTTP server · io_worker.js Asset I/O worker
Components 13
Local Launch
- Local launcher
Launch-Local.cmd - Local HTTP server
serve_local.py - Game page
homepage.html
Game Runtime
- Engine host
loader.js - Game engine
game.js - WebGPU renderer
wgpu_worker.js
Asset Access
- Asset I/O worker
io_worker.js - Game asset mirror
- Batch range service
serve_local.py
Snapshot Archive
- Snapshot downloader
mirror_site.py - Snapshot inventory
snapshot/files.jsonl
Other components
- Player
- Browser
Connections 11
- Player → Local launcher: runs
README.md - Local launcher → Local HTTP server: starts
README.md - Local HTTP server → Browser: opens local URL
README.md - Browser → Game page: loads
- Engine host → Game engine: imports
loader.js - Game engine → WebGPU renderer: dispatches rendering
- Game engine → Asset I/O worker: requests asset reads
- Asset I/O worker → Game asset mirror: reads ranges
- Browser → Batch range service: posts batch ranges
- Batch range service → Game asset mirror: reads files
serve_local.py - Snapshot downloader → Snapshot inventory: records downloads
mirror_site.py