Engine data exporter

Hello! I would like to ask somebody, if it is possible to make some utility to export engine data to some XML file. I mean basic parameters like displacement, weight, costs, RON, Economy etc. plus power and torque graph. I can see, that the *.LUA files are “human-readable” but I wasn’t able to findout the values.
I would ike to start a webpage for my virtual car company and these data would be cool to have, to be able to “draw” my own graphs etc. I am also thinking about some little piece of software to compare my engines and don’t want to fill all data manualy…:wink:

“if it is possible to make some utility to export engine data to some XML file”

Well, of course that is possible, and pretty simple too because the .lua engine files always have the same format. A little (for example) java tool would be easy to make, albeit a bit tedious because there is quite a lot of info in there to extract.

Thanks KillRob, I know, that it is possible, but my question was meant like this: :slight_smile: It would be much easier for a programmer who knows the exact file structure, rather then for someone trying to do some reverse-engineering…
I know, that it makes no sense to implant something like this into game, but an external script shoud be easy to do, right? :slight_smile:

Yes, true. We’ll probably invest a bit of time to properly document the .lua files such that other people who want to create exporters can do so more easily. Modding support is something we keep in mind… that is why we switched to a better file format too. :slight_smile:

We’re considering it, in the context of doing an exporter to some race sims at some point in the future, but for now it is super easy to pull that stuff out of the LUA file :slight_smile:

Daffyflyer, but I was talking about more simple exporter of just basic data and power/torque curves…to be able to parse it and use for my own projects. I don’t need complex engine data for some simulation, just the size, weight, economy etc…to put it on my virtual car company website as engine specs. :wink:

Ahh, easiest way if you just want to present it online would be run it in a window then snipping tool the stats area and graph, that’s what we do :slight_smile: