Page 1 of 1

TrackMania Telemetry Monitor

Posted: 09 May 2017, 23:38
by Electron
Maniaplanet 4 now provides a telemetry interface, just like Trackmania Turbo.
In the closed MP4 Beta forums Nadeo has provided an example program for it, including source code:
xbx wrote: 08 Mar 2017, 12:26 hi

There's now a sharedmemory interface that gives some info about the car.
Here is a quick example how it works:
http://files.maniaplanet.com/ManiaPlane ... -11-17.zip
The tool simply displays all of the provided data items live in a window.

But it was not possible for me to compile the source code. So I created my own Windows program.

My application lists the sector and/or checkpoint times of a race in a table, supplemented by a few statistics.
In addition, a selection of live data is displayed in the status bar:

Image

The project is available on GitHub: github.com/Electron-x/TMTelemetry
Maybe someone would like to add some line graphs of gear, rpm, speed, etc.

If you are only interested in the compiled application, here is the Installer for Windows Vista 64-bit and higher: TrackMania Telemetry Monitor
There is also a 32-bit version available.

Note: The Telemetry Monitor can best be used on a second monitor when Maniaplanet or TMTurbo is running in Windowed mode (press F11).

Re: TrackMania Telemetry Monitor

Posted: 30 Oct 2018, 02:15
by Electron
Should I release the throttle a little before this turn or should I better brake briefly? How much time do I lose while shifting? How smoothly did I drive my track overall?

I've wondered that from time to time. So I added some more statistics to the telemetry sample program:
  • Bumps/rumbles per race
  • Number of gear changes per race
  • Number of braking operations
  • Full throttle percentage per race

Re: TrackMania Telemetry Monitor

Posted: 30 Oct 2018, 10:43
by TMarc
:shock: did not see that until now. Cool tool, could be nice for cups statistics, or for the F1 title players as well :thumbsup:

Re: TrackMania Telemetry Monitor

Posted: 30 Mar 2019, 13:48
by Electron
The project files have been updated. New are the steering indicator in the status bar and the display of the total wheel slip in the race table.

Re: TrackMania Telemetry Monitor

Posted: 19 Oct 2019, 16:35
by Electron
TMarc wrote: 30 Oct 2018, 10:43Cool tool, could be nice for cups statistics, or for the F1 title players as well :thumbsup:
Unfortunately a lap counter was missing in the telemetry data. In the meantime, however, information has been added that can be used to calculate the current lap.

As a first step I would like to display a lap counter. But what exactly should it show before the start (incl. count down) and after crossing the finish line of the last lap?

Before start: 0/5 or 1/5 ?
After finish: 5/5 or 6/5 ?

And what should be displayed in a lap race with only a time limit?

5/0 or 5/∞ or only 5 ?

Re: TrackMania Telemetry Monitor

Posted: 19 Oct 2019, 19:14
by TMarc
Before the race, 0 would be correct.
But you could also make it as countdown. 5 to go, etc until it ends.

And on timed race, incrementing from 0 as well, but no maximum lap count.?

Re: TrackMania Telemetry Monitor

Posted: 02 Jun 2022, 18:55
by Electron
Hello,

by chance I discovered that the telemetry interface in Trackmania 2020 is now working! :-)

Unfortunately, a few small things have changed, so I had to update the sample program above.


Nadeo has expanded the shared memory structure for Trackmania 2020. More extensive changes are required to access the new features, such as player name, trigram, start time, and more. Stay tuned.