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