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 > gcc zpipe.c -o zpipe -lz > ./zpipe -d < a.z > a.xml
Oops, you're right. I actually did the same, but using cut instead of dd. I guess there was some newline character issue. Anyway, it works that way for Kontakt v2, v3 and even v4 files. Thanks Grigor! CU Christian ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel