NefMoto

ECU Files => ECU Definition Files => Topic started by: spen on March 04, 2011, 12:36:23 PM



Title: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: spen on March 04, 2011, 12:36:23 PM

Any version will do.

Then I could start on map pack exports also.

Thanks

Spen


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: nyet on March 04, 2011, 02:16:33 PM
Spen, i have reverse engineered it enough to be able to extract axis data FROM .kps, but I have not yet been able to generate a kp..

I have a bunch of java crap here

svn co https://curtis.curtisfong.org/mesim/trunk/

specifically, look in

org/nyet/mappack/Parser.java

email me nyet@nyet.org if you want more info


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: spen on March 05, 2011, 04:59:53 AM
Thanks I'll have a look.


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: msundercober on March 05, 2011, 10:40:43 AM
You can extract Maps from OLS and save ist as *.kp


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: spen on March 06, 2011, 03:31:09 PM
yes, that is true.  But if you have no OLS file? I want to generate the kp file from nothing at all other than the image.



Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: nyet on March 06, 2011, 04:04:06 PM
yes, that is true.  But if you have no OLS file? I want to generate the kp file from nothing at all other than the image.




spen: PLEASE let me know if you make progress on this (or would like to work together on it).


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: spen on March 06, 2011, 05:26:59 PM
will do.  It will be as time allows.  I'll drop you a PM if I come up with something 'alpha' state.


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: maZer.GTi on August 09, 2012, 03:59:59 AM
I have spent a lot of time to understand .kp files.
If you need help you can contact me via skype or mail :)


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: nyet on August 09, 2012, 08:13:07 AM
I have spent a lot of time to understand .kp files.
If you need help you can contact me via skype or mail :)

Publish what you have please. Thanks.

Not interested in working on something with people who want to keep their work private.


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: maZer.GTi on August 26, 2012, 01:41:00 PM
Publish what you have please. Thanks.

Not interested in working on something with people who want to keep their work private.

I will share all i know about, and i can share public.
But maybe you can read php code?
if yes i can upload the source of my findmap tool.
This tool is reading and savind kp files :)


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: userpike on September 04, 2012, 07:49:25 PM
I will share all i know about, and i can share public.
But maybe you can read php code?
if yes i can upload the source of my findmap tool.
This tool is reading and savind kp files :)
when are you guna upload this program?


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: nyet on September 04, 2012, 11:03:08 PM
Honestly, a document format would be better. I could start writing one based on my .kp parser code, but its almost entirely useless because it only works for VERY old map packs.


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: Axis on March 26, 2013, 12:25:40 PM
I will share all i know about, and i can share public.
But maybe you can read php code?
if yes i can upload the source of my findmap tool.
This tool is reading and savind kp files :)
maZer.GTi: did you post this tools somewhere?


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: maZer.GTi on April 01, 2013, 03:27:45 PM
maZer.GTi: did you post this tools somewhere?

Im Sorry for delay, i hope you can read my code.

First you need to take a look on
function explodeKennfeldPaket($thisKennfeldPaket)

This will cut the header and footer from kp file

After that you should take a look on
function filterKennfeld($thisKennfeld)
This function is very difficult but ill try to help so much i can.

But this will not work with the newest .kp format. The newest one is compressed and crypted :(


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: o2bad455 on September 11, 2018, 09:20:40 PM
You can extract Maps from OLS and save it as *.kp

Is WinOLS required for this, or is there another way?


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: opctim on September 14, 2018, 05:13:03 AM
Im Sorry for delay, i hope you can read my code.

First you need to take a look on
function explodeKennfeldPaket($thisKennfeldPaket)

This will cut the header and footer from kp file

After that you should take a look on
function filterKennfeld($thisKennfeld)
This function is very difficult but ill try to help so much i can.

But this will not work with the newest .kp format. The newest one is compressed and crypted :(

Hi mazer.

I stumbled upon your file here and asked myself if you are interested in writing a documentation about the kp file format with me.
I noticed you are german too, I think the communication would be very easy like this. I've been working with PHP and other languages for years now.

Just hit me up with what you think about this.

@nyet:

I thought about building a library in java to read / write kp files. This could be used in the me7-tool. Like this, we could automatically generate XML files for map recognition.


Title: Re: Can anyone tell me the format of the binary mappack (.kp) files?
Post by: nyet on September 14, 2018, 09:42:40 AM
I thought about building a library in java to read / write kp files. This could be used in the me7-tool. Like this, we could automatically generate XML files for map recognition.

you can start with my ecuxplot java code, it has kp reading in it. Unfortunately, it is only for a very very old version.