FAQ  •  Login

Engine data exporter

<<

MaVac

User avatar

Turbocharged
Turbocharged

Posts: 19

Joined: Sun May 19, 2013 7:25 pm

Cars: Skoda Fabia II 1.2TSI
Skoda Felicia 1.6MPI GLXi (tuned by Cimbu to 70kW)

Post Fri Jul 19, 2013 11:08 pm

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...;-)
<<

Killrob

User avatar

Developer - Lead Beta Tester/Producer/German Efficiency Expert
Developer - Lead Beta Tester/Producer/German Efficiency Expert

Posts: 3711

Joined: Fri Mar 11, 2011 1:00 am

Location: Lower Hutt, New Zealand

Cars: I owned a Twingo... totally bad-ass!

Post Fri Jul 19, 2013 11:24 pm

Re: Engine data exporter

"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.
<<

MaVac

User avatar

Turbocharged
Turbocharged

Posts: 19

Joined: Sun May 19, 2013 7:25 pm

Cars: Skoda Fabia II 1.2TSI
Skoda Felicia 1.6MPI GLXi (tuned by Cimbu to 70kW)

Post Fri Jul 19, 2013 11:37 pm

Re: Engine data exporter

Thanks KillRob, I know, that it is possible, but my question was meant like this: :-) 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? :-)
<<

Killrob

User avatar

Developer - Lead Beta Tester/Producer/German Efficiency Expert
Developer - Lead Beta Tester/Producer/German Efficiency Expert

Posts: 3711

Joined: Fri Mar 11, 2011 1:00 am

Location: Lower Hutt, New Zealand

Cars: I owned a Twingo... totally bad-ass!

Post Sat Jul 20, 2013 1:56 am

Re: Engine data exporter

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. :)
<<

Daffyflyer

User avatar

Developer - Lead Artist
Developer - Lead Artist

Posts: 3444

Joined: Wed Apr 14, 2010 8:36 pm

Location: Wellington, New Zealand

Cars: 1993 Mazda Lantis Type R V6 Racecar, 2006 BMW 530i

Post Sat Jul 20, 2013 12:58 pm

Re: Engine data exporter

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 :)
3d Artist, Game Designer, Marketing Guy

Follow us on
Twitter - http://twitter.com/AutomationGame
ModDB - http://www.moddb.com/games/automation
Facebook - http://goo.gl/omJzt
Chat http://automationgame.com/irc
<<

MaVac

User avatar

Turbocharged
Turbocharged

Posts: 19

Joined: Sun May 19, 2013 7:25 pm

Cars: Skoda Fabia II 1.2TSI
Skoda Felicia 1.6MPI GLXi (tuned by Cimbu to 70kW)

Post Sat Jul 20, 2013 7:36 pm

Re: Engine data exporter

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. ;-)
<<

Daffyflyer

User avatar

Developer - Lead Artist
Developer - Lead Artist

Posts: 3444

Joined: Wed Apr 14, 2010 8:36 pm

Location: Wellington, New Zealand

Cars: 1993 Mazda Lantis Type R V6 Racecar, 2006 BMW 530i

Post Sat Jul 20, 2013 7:49 pm

Re: Engine data exporter

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 :)
3d Artist, Game Designer, Marketing Guy

Follow us on
Twitter - http://twitter.com/AutomationGame
ModDB - http://www.moddb.com/games/automation
Facebook - http://goo.gl/omJzt
Chat http://automationgame.com/irc

Return to Suggestions

Who is online

Users browsing this forum: No registered users and 6 guests