[Linuxsampler-devel] Kontakt NKI file format

2010-07-28 Thread Christian Schoenebeck
Hi! Does anybody know something about the NKI file format? Apprently a NKI file encapsulates a compressed XML file. The question is, how is it compressed? Benno said it would be an ordinary ZIP file with some bytes prepended. I looked now at some Kontakt 2 ... 4 files and cannot confirm that. I

Re: [Linuxsampler-devel] Kontakt NKI file format

2010-07-28 Thread Grigor Iliev
Here is how I successfully uncompressed nki file using zlib: I look for the first occurrence of "78 9C" bytes and skip the bytes before those magic bytes dd if=a.nki of=a.z bs=10 skip=17 Then, I use http://www.zlib.net/zpipe.c gcc zpipe.c -o zpipe -lz ./zpipe -d < a.z > a.xml On Wed, Jul 28, 201

Re: [Linuxsampler-devel] Kontakt NKI file format

2010-07-28 Thread Christian Schoenebeck
On Wednesday 28 July 2010 13:25:33 Grigor Iliev wrote: > Here is how I successfully uncompressed nki file using zlib: > I look for the first occurrence of "78 9C" bytes and skip the bytes > before those magic bytes > dd if=a.nki of=a.z bs=10 skip=17 > > Then, I use http://www.zlib.net/zpipe.c > gc