The online racing simulator
MPR Time frame format
(5 posts, started )
MPR Time frame format
I've been trying to program an application that extracts RAF files from non-hotlapping MPR, to avoid the hassle of MPR->RAF conversion using LFS and allow for analysis of races, and I have not been able to find a complete MPR specification.

The header is officially specified: http://www.lfs.net/?page=MPR

Looking at the source code of some applications you programmed (LFSStat, MPREdit) I have found that some of you have apparently reverse-engineered the general format of the frame events, and the data inside some types of events, but those that specify the positions and status of the car are already unknown as far as I know.

The questions are:

Has someone completely deciphered MPR format?
Has someone asked LFS developers to publish the complete MPR format?
Quote from Mandel :Has someone completely deciphered MPR format?
Has someone asked LFS developers to publish the complete MPR format?

Sadly no, to both of your questions.
Response from LFS team
This is the response I received from the LFS Team, which gives some information I was not aware of:

Quote :
Parsing MPRs to the fullest is not possible because they only contain user inputs, so you need the LFS physics engine to run the mpr and get actual usable data. The only way to 'parse' an mpr is to replay it in LFS and grab the racing data via insim.

Quote from Mandel :This is the response I received from the LFS Team, which gives some information I was not aware of:

Indeed, I kinda knew this. For some reason, I suck at putting that into words tho.
Too Bad. I want to do the same thing to kinda Auto-Extract good laps from me.

Maybe at some point we get some cmd-line for lfs like
/mpr=xxxx.mpr /savelap=5 /out=mylap5.raf
to automate this.

MPR Time frame format
(5 posts, started )
FGED GREDG RDFGDR GSFDG