Turning Los Santos into a self-driving lab
A GTAV plugin that streams synthetic driving data over TCP so you can train agents without denting real cars.

What it does DeepGTAV is a C++ plugin that hijacks Grand Theft Auto V and turns it into a remote-controlled research environment. It sits in the game process, waits for a TCP client on port 8000, then starts pumping out camera frames and vehicle telemetry in JSON. You can script weather, traffic, time of day, and driving style from your Python client, making it a poor man’s (rich grad student’s?) way to generate labeled autonomous-driving datasets.
The interesting bit The clever part isn’t the AI; it’s the plumbing. The plugin intercepts GTAV’s rendering loop and exposes it as a byte-streamable “sensor,” complete with configurable reward functions and surrounding-vehicle detection. The authors even had to work around Rockstar’s update mechanism—launch via GTA5.exe, not the launcher, or the patch treadmill breaks your setup.
Key highlights
- Streams RGB frames + telemetry (throttle, brake, steering, speed, yaw rate) over TCP at a configurable rate
- Scenario control: set spawn location, weather, vehicle model, and NPC density via JSON messages
- Supports dynamic reconfiguration mid-episode with a
Configmessage - Companion Python library VPilot provides higher-level wrappers
- Requires GTAV version 1.0.1180.2 or below; newer builds need not apply
Caveats
- The README explicitly warns the code quality “needs improvement (a lot!)”
- Traffic-sign detection and driving-mode override are listed as unimplemented TODOs
- Frame capture fails silently (black frames) if the game window is minimized
- Installation involves replacing save-game files and sideloading a
paths.xmlfrom Google Drive
Verdict Worth a look if you’re doing vision-based RL or need cheap, diverse driving data with ground-truth labels you can’t easily get from real dashcams. Skip it if you want something maintained, formally documented, or that works with a modern, legitimately-updated copy of GTAV.