This plugin is signed for School Mode. That means it will only work when using the School signature mode, in which you will not be able to play online or set official leaderboard times.
More information
TrackmaniaRL Connect bridges Trackmania/OpenPlanet with
TrackmaniaRL, a reinforcement
learning framework for Trackmania.
It exposes local-only TCP endpoints for live vehicle telemetry and session
readiness checks. All connections are bound to 127.0.0.1; no telemetry is
sent over the internet.
Endpoints
127.0.0.1:9000 — binary telemetry stream
127.0.0.1:9001 — newline-delimited JSON session channel
The telemetry server accepts one client and continuously sends one fixed-size
packet per game tick: 33 float32 values. If the client disconnects, the
plugin closes the connection and listens again.
The session channel uses protocol version "2" and supports:
verify_loaded_map — returns the UID of the currently loaded map
confirm_ready — verifies that a player and vehicle state are ready
Telemetry packet layout
Values are serialized in this exact order.
Race state — 4 floats
- Checkpoints passed
- Current lap number
- Finished flag (
1.0 or 0.0)
- Current race time in milliseconds
Transform and vehicle state — 12 floats
- Position:
x, y, z
- Velocity:
x, y, z
- Forward direction:
x, y, z
- Up vector:
x, y, z
Engine and drivetrain — 3 floats
- Speed
- Engine RPM
- Current gear
Wheels and surface — 8 floats
- Slip coefficient: front-left, front-right, rear-left, rear-right
- Ground-contact material ID: front-left, front-right, rear-left, rear-right
Driving helpers — 3 floats
- Wheels skidding count
- Flying duration
- Adherence coefficient
Player inputs — 3 floats
- Steering input
- Gas-pedal input
- Braking flag (
1.0 or 0.0)
Integer and boolean values are encoded as floats to keep the telemetry payload
uniform.