| Downloads | 11 |
|---|---|
| Updated | 30 days ago |
| Released | 30 days ago |
| Numeric ID | 845 |
| Min. Openplanet | 1.29.0 |
This plugin was developed using generative AI.
From the developer: Rewrote the script, no AI used there
The plugin allows players to connect Trackmania to their own local setup (e.g. a Python script and LED hardware). It reads only your local game state and sends it as JSON over HTTP to 127.0.0.1:8001 (localhost). No data is sent to the internet or to any third party.
Reads local game state
Using the OpenPlanet/Game API (e.g. CSmArenaClient, CSmPlayer, CSmScriptPlayer), the plugin reads:
Sends data to localhost only
About 20 times per second (~50 ms interval), it sends a small JSON payload via HTTP POST to http://127.0.0.1:8001/state.
The URL is fixed and points only to the local machine. The plugin does not connect to any external server or service.
No game modification
The plugin does not:
You run a separate program on your PC (e.g. a Python script “tm_to_openbk”) that:
The plugin only provides the game state to that local program. All logic for driving the LEDs and any connection to hardware is outside the plugin, on the user’s machine.
is_racing, race_finished, is_new_pb, is_countdown, is_airborne, is_respawn, is_slidingspeed, speed_percent, checkpoint_index, checkpoint_count, countdown_seconds, accelerationmap_uid, map_nameAll values are derived from the local game API and describe only the current player’s state on their own client.