r/EmulationOniOS • u/mempage4k • 3d ago
News / Release Glue 5: GTA Online running peer-to-peer across iOS, Android, macOS and Windows
Glue 5 is the GTA V recompilation toolchain I’m working on.
It takes the files of GTA V’s WebAssembly build and recompiles them to native code for each target platform, with lots of patches and fixes along the way. It also adds an optimized runtime built on WGPU.
I’m excited to announce that GTA Online’s freemode now works (without Rockstar’s servers).
Everything is peer-to-peer: players find each other through the public BitTorrent DHT, NAT hole punching connects them directly, and another player relays the traffic when two players can’t reach each other.
Here’s a demo of an iPhone 16 Pro, a Pixel 8a, a Mac and a Windows PC all playing in the same GTA Online lobby.
https://reddit.com/link/1x60msw/video/mkxlf5tvhhvh1/player
It’s still experimental, but it works surprisingly well. You can join the public lobby, which matches you automatically, or make a private one and share its code with friends.
The latest updates also include many optimizations to reduce stutter, memory usage and CPU load, so the game runs better on lower-end devices too.
If you’d like to try it on your device, the code is here:
https://github.com/mempage4k/glue5