TDI.PL - tuning, chiptuning oraz eksploatacja silników diesla - FORUM

Przerobienie mappacka winols na XDF

0 użytkowników i 1 Gość przegląda ten wątek.

Offline masterx

  • *
  • 12
  • moc jest z nami
Przerobienie mappacka winols na XDF
« dnia: 14 Października, 2014, 16:42:11 »
Czy jest narzędzie które konwertuje mappacki na xdf? Patrzę na tunerpro, ale praktycznie nie ma xdf czyli definicji do europejskich aut



bonnart

Odp: Przerobienie mappacka winols na XDF
« Odpowiedź #1 dnia: 09 Lutego, 2018, 19:03:02 »
Czy jest narzędzie które konwertuje mappacki na xdf? Patrzę na tunerpro, ale praktycznie nie ma xdf czyli definicji do europejskich aut
znalazłem coś takiego na amerykańskim forum
I wrote a map pack -> xdf converter.
Doesn't support the newer map packs (yet), but possibly will be added in the future.

Usage is:
java -jar xdf-generator.jar <mappack file>

This will print out the XDF definition to stdout.
If you would like it in a file, redirect the output, like so:
java -jar xdf-generator.jar mymappack.kp > mydefinition.xdf

xdf-generator.jar is attached.
One of the shortcomings I am aware of, is that you will have to set "image size" manually in XDF header properties for now. For 1mb files, that'll be 100000.
----
For developers:
The source is located here: https://github.com/prj/me7-tools
You will need java6 and maven to build it.

https://creditonline.today/pl/euro-loanThe source has two modules right now - ols-parser, which parses the map pack to java objects, and xdf-generator, which uses the first module to actually emit the XDF.
ols-parser is very similar to nyet's. xdf-generator is completely different, as it emits XML based TunerPro definitions and uses JAXB and annotations for XML output.

Feel free to use, re-use and contribute.