Open source · Raspberry Pi · PS5

Grand Theft Velo

Ride GTA 6 on a real bike. Pedal harder and the bike in the game goes faster. Turn your bars and it turns. Your legs are R2.

How it works

A Pi at your trainer plays the controller

A Raspberry Pi sits next to your indoor trainer. It reads your power over Bluetooth and plays the part of the controller through PS5 Remote Play. The PS5 stays plugged into the TV, so you ride watching the normal picture. Nothing is modified on the console and nothing is plugged into it.

01

Pedal

Your watts become the throttle, from a light squeeze to flat out. Sprint and it mashes the sprint button for you.

02

Steer

A steering block under your front wheel reads the handlebar angle. Lean into the corner like you mean it.

03

Play

Your gamepad pairs to the Pi and passes straight through, so every other button still works from the saddle.

The ride page on a phone: power, cadence, steering and everything that is connected Tuning sliders: watts for full throttle, sprint line, steering lock

Everything is set up and tuned from a page on your phone.

Why this one is different

No mod. The real console. No video lag.

The bike projects that came before, built for GTA 5, all worked the same way: a mod loaded into the PC version of the game. That needs a gaming PC, a modded copy of the game, and a mod that keeps up with every update. It cannot work on a console at all.

No mod

The game is untouched, on a stock PS5. To the console, the Pi is just a Remote Play controller.

Native picture

You watch the PS5 on your TV as normal, at its native resolution and frame rate. The Remote Play video only goes to the Pi; you never look at it.

No video lag

The picture comes straight from the console to the TV, so there is no streaming delay or compression in what you see. Only your inputs travel over the network.

Survives update day

There is no mod to fall out of step with a game patch.

The trade: your inputs cross your home network, so there is a small delay between your legs and the game. It has not been measured yet, and a network cable keeps it low.

Progress

Where it is today

This is an early project that works on its author's bike. It has been ridden on exactly one setup: a PS5, a Raspberry Pi 4, an original Tacx Neo, an Elite Sterzo Smart and a DualSense. Read this before you buy anything.

Working

  • One command installs everything on a Pi
  • Setup and tuning from a web page
  • Pedalling power drives the throttle in the game
  • Handlebar steering with an Elite Sterzo
  • Gamepad passes through the Pi

Written, not proven

  • Ride log with heart rate, as a file for Strava
  • Trainers that speak FTMS (most newer ones)
  • Pairing a console from the web page
  • Waking the PS5 from rest mode
  • Brake switch and trainer resistance

Not built yet

  • Automatic Strava upload
  • Your route on the game's map
  • Tracked ride and pedal to play modes
  • Hills you can feel

Have a different trainer? Try it and open an issue with what happened. That is the most useful thing anyone can do for this project right now.

Current goals

Your ride, on the map

Riding the game is the start. The goal is that a ride through the game counts like a ride outside: your route drawn on the game's own map, real numbers, and all of it on Strava when you stop.

Ride the game Working

Power, steering and gamepad become one PS5 controller.

Ride file and heart rate In testing

Every ride saved with time, power, cadence and heart rate, in a file Strava, Garmin Connect and intervals.icu accept. Automatic upload comes next.

Route tracking Next

The Pi already receives the game's video. It will read your heading from the compass, your distance from the game's own readouts, and your position from the full map, so the route is the true shape of the streets you rode.

Two ways to ride Planned

Tracked ride and pedal to play. See below.

Hills Planned

The trainer gets harder when the road in the game climbs. The game shows no elevation on the ground, so this is the hardest part.

Tracked ride

Logged with its route on the map, and only while your character is on a bicycle. Steal a car and the log pauses until you are back on a bike. What lands on Strava is honest: every metre was pedalled.

Pedal to play

No map, effort only. Do anything in the game with the controller, on foot or in a car. The catch: you have to pedal the whole time. Stop, and the game pauses on you. The whole game becomes the workout.

Get going

What you need

Required

  • A PS5 on your home network, with Remote Play turned on
  • A Raspberry Pi 4 or 5, ideally on a network cable
  • A Bluetooth trainer, power meter or cadence sensor

Optional

  • Elite Sterzo Smart, for steering with the bars
  • A controller paired to the Pi, for every other button
  • A heart rate strap
  • A brake switch on a GPIO pin
git clone https://github.com/blackandwhitehat/grand-theft-velo.git
cd grand-theft-velo
./install.sh

About 15 minutes on a Pi 4. Then open the page it prints on your phone and follow the steps. The full guide, questions and troubleshooting are in the README.