Quote:did not find the file structure in the website
It's an internal format. I don't think it was ever meant to be used outside of vdrift.
The format should be clear if you look into the Serialize functions of the involved classes.
Something like:
Code:
version_info.Save(outstream); //REPLAYVERSIONING
_SERIALIZE_(s, track);
_SERIALIZE_(s, cartype);
_SERIALIZE_(s, carpaint);
_SERIALIZE_(s, carfile);
_SERIALIZE_(s, carcolor_r);
_SERIALIZE_(s, carcolor_g);
_SERIALIZE_(s, carcolor_b);
s.Serialize("inputframes", newinputframes);//std::vector <INPUTFRAME> 90 fps
s.Serialize("stateframes", newstateframes);//std::vector <STATEFRAME> 1 fps
Look into REPLAY::RecordFrame(const std::vector <float> & inputs, CAR & car).
If you are interested in certain parameters I think the driver-training branch has some advanced logging facilities, I've not looked into the code though.