to find more ingame values of Dirt 1+2 and Grid
Hello together,
I hope there are some interests in the riddle of the extradata="0" entry and some of the readers like to help to bring light into the dark hole of codemasters. I found out that when I set extradata="1" the output of Dirt2 Demo is not a LFS outsim compatible data format. What is a dataformat? It is the order of the ingame values that are send by the game. Have a look to the LFS data format:
- Code: Select all
LFS Packet: 68 Bytes
struct INPUT
{
int time;
float angular[3];
float orientation[3];
float acceleration[3];
float velocity[3];
float possition[3];
int id;
};
In this dataformat the time comes first as a 4 byte integer value. This value will increase every milisecond.
Followed by three angular float (dot e.g. 3,6) values with 4 bytes (easy accuracy).
And now we have a new dataformat:
- Code: Select all
Dirt2 Packet: 152 Bytes
struct INPUT
{
float global racingtime in ms
float time in ms after startshoot
?
?
...
};
This is the point where you come into the game

Attached is a little program. If you start it (it will minimize to taskbar) you can start the MMF Visualizer and look at the ingame values in relatime. The outsimdirt2 will for now not display anything, it will only pass through to the MMF visualizerFind out which value could be which ingame synonym. Find out if there is a LFS outsim like structure with 152 bytes with google.
For now it seems for me, that this is nearly like the old outsim format but now with 8byte double precision values.
I do not see ingame Gear values at all, but the last value could be RPM (4 Bytes).
Install:
Simple insert the grid type setup to the game (Port 4123). Type 127.0.0.1 if you are using dualscreen or insert a IP of another computer where you can run outsimdirt2 and MMF Visualizer.
Then start the outsimdirt2 and run the mmf visualizer. Insert as name "mmftestmover" and as size 152.After openenig you see everywhere a zero.
Start the game and look at the values, try offsets and type combinations.
My results:
I can see the first 4byte float values increasing in ms and the seconds 4byte float is increasing after the start shoot.
Then are following game position and accelerations, which might be in 8byte double instead in 4 byte float.
The values near the end react on the keyboard input.
The last 4byte value increases like RPM, but I am not sure.
The MAP values might be map oriented or car oriented.
Note: the included plugin is a fake plugin only to transfere the data to the MMF visualizer! No x-sim support!



Augsburg, Germany
News