LiTE Converter - Automated 24/16 bits conversion for Kontakt Libraries

Discussion in 'Kontakt' started by yodadl, May 17, 2024.

  1. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    59
    Likes Received:
    93
    Yes, I hope to manage to do so. I'm trying to write a script that will handle all scenarios, nkx, ncw, wav files... If I cannot do it, I will provide a script for wav files based library at least as I already made one for my own use.
     
  2. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    59
    Likes Received:
    93
    LiTE Converter 2.0 is released! See first post for download

    - NKX unpack added (no compression support)
    - WAV support
    - Lots of improvements

    Set your variables, just drop your library in source folder and enjoy your lite version :)

    Please submit any bug or error found here.
     
    • Like Like x 2
    • Love it! Love it! x 1
    • List
  3. grrarrrgh

    grrarrrgh Member

    Joined:
    Mar 6, 2024
    Messages:
    93
    Likes Received:
    9
    Can I just use the previous settings file from the previous version? That way I can just drag and drop the new one and not need to set the variables and directories?
     
  4. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    59
    Likes Received:
    93
    Almost but no. Some essential variables names changed, so I recommand you keep the new file and copy your previous path into the new file.
    $ncwdir is now named $sourceDir and there is a new $nkxTemp path to edit for handling NKX libraries.
    Unless you use SSD only, you should keep 2 differents letters for path that are on different drive on default settings.
    Let's say C: is disk 1 and G: disk 2, you should use disk 1 for $sourceDir and $16bDir, and use disk 2 for other paths.

    If you really want to keep old file, you must at least rename $ncwDir variable to $sourcedir, and you won't be able to handle NKX based library until you use the new variables file.
     
  5. grrarrrgh

    grrarrrgh Member

    Joined:
    Mar 6, 2024
    Messages:
    93
    Likes Received:
    9
    I just copied the paths over and made a new one for nkx, the actual text format was different so I couldn’t replace it entirely, I actually have everything done internally so it’s quicker and I just make sure there’s room for the tool to work. Haven’t tried everything just yet but once it comes up I’ll get to see how well it works!
     
  6. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    59
    Likes Received:
    93
    Script updated to 2.0.1, links updated in first post.
    Fixed: if NKX contains WAV files, files are not not processed, so conversion failed.
     
    • Like Like x 3
    • Love it! Love it! x 1
    • List
  7. Thotu

    Thotu Producer

    Joined:
    Apr 18, 2021
    Messages:
    189
    Likes Received:
    93
    This is really cool update, can't wait to try it out. Need to delete some stuff for storage.
     
    Last edited: Jun 15, 2025 at 6:21 AM
  8. Thotu

    Thotu Producer

    Joined:
    Apr 18, 2021
    Messages:
    189
    Likes Received:
    93
    I am getting this error for a library-
     

    Attached Files:

  9. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    59
    Likes Received:
    93
    Looks like the wav file's header is not good, this is weird that it happens during compression.
    Did you have some issue during previous steps?
    Can you send a link with one of these files?

    I don't think I can help as it is link to conNCW tool but we can try to understand.
     
  10. Thotu

    Thotu Producer

    Joined:
    Apr 18, 2021
    Messages:
    189
    Likes Received:
    93
    I researched, and it seems like the issue is with the header of the wav files. The creator of the conNCW had posted this-
    You can read it in the text files (linked below). He has given a tool to fix it - CorrectWAV.exe. Unfortunately, I couldn't find the 'correct14.cmd' which is created for the batch operation. Can you create it, if possible?

    Here is the link to the files->

     
    Last edited: Jun 15, 2025 at 8:43 AM
  11. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    59
    Likes Received:
    93
    @Thotu Is this a wav library or did you extract WAV files with Kontakt ?
    The cmd file content is :

    Code:
    for %%a in ("*.wav") do D:\Obmen\My\correctWav.exe "%%a"
    pause
    Just change D:\Obmen\My\correctWav.exe with your path to correctwav.exe, execute the batch from within the folder containing all your wav files.
    Never faced this issue, I guess it would be possible to add this process in the script but not sure it would be easy to handle the use case.
     
  12. Thotu

    Thotu Producer

    Joined:
    Apr 18, 2021
    Messages:
    189
    Likes Received:
    93
    The library is "Primaries Strings 1.0.1 [Slate + Ash]". It comes with 16-bit WAV files inside the NKX. They are not compressed to NCW. I tried the tool and it gives "Wrong fmt_ tag" error. I will check with other libraries and see.

    Screenshot_2025_06_15-2.png

    One such sample WAV-
    https://filebin.net/t2q95wn5juph66fm
     
    Last edited: Jun 15, 2025 at 5:03 PM
  13. grrarrrgh

    grrarrrgh Member

    Joined:
    Mar 6, 2024
    Messages:
    93
    Likes Received:
    9
    Oh goodness, I can’t even imagine how bad this would’ve been if I got to it and found out it was full of wavs, now it is better now despite current header issues so maybe this could help me too if I have the same problem
     
  14. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    59
    Likes Received:
    93
    If samples are already 16bits you won't gain space as my script will bypass process. The only thing you can do is ncw compress, and the header is not supported.
    http://www.topherlee.com/software/pcm-tut-wavformat.html
    If think your best chance is to use Kontakt to compress samples, your library seems to use an odd format :(
     
  15. Thotu

    Thotu Producer

    Joined:
    Apr 18, 2021
    Messages:
    189
    Likes Received:
    93
  16. yodadl

    yodadl Producer

    Joined:
    Jan 21, 2022
    Messages:
    59
    Likes Received:
    93
    I got the same issue you faced.
    But I confirm you can use Kontakt to compress it. Try a sample collection in Kontakt with compression option.
    File is 7.62 MB and 2.85 MB compressed. A very nice gain, you could cut a good half from your library without any loss.
     
Loading...
Loading...