KLU (Kontakt Library Utility) - Version 2

Discussion in 'Kontakt' started by Fred Bloggs, Nov 17, 2023.

  1. NeeboObeen

    NeeboObeen Member

    Joined:
    Aug 25, 2016
    Messages:
    21
    Likes Received:
    8
    Location:
    Many places
    Used it last night. On Catalina intel using Kontakt 6.7.1 through 8.5.0 - all worked. I am sorry people are having hassles.
     
  2. Chastity Belt

    Chastity Belt Newbie

    Joined:
    Jul 20, 2025
    Messages:
    6
    Likes Received:
    1
    I've been having this same issue with KLU, it just up and completely stopped working at some point and I have been trying to retrace my steps.

    I can't uninstall any library, nor can I install anything. KLU 2.4, attempting to install a library simply does nothing, and the older version of KLU simply gives me an "outofbounds" error, also doing nothing. I've tried everything from fresh install of Kontakt (8.5.0) and KLU, I'm thinking this has to be some sort of plist thing or a file out of place, or -something- . I've been trying to fix it for a few weeks now to no avail...

    Kontakt works just fine with all of my previously installed libraries, I can see them all in KLU, I just can no longer manage them.

    I'm on Monterey 12.7.6, the "Add Library v3/4" tools don't even seen open or do anything, I've tried all the scripts, nothing.

    really a bummer, the tool is fantastic when it works,
     
  3. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    8,852
    Likes Received:
    3,878
    That Add Library tool works great for batches, but it is super simple meaning no additional features. It is a one-trick pony as far as I can tell. But it is very good at it, and I started using it when Fred was still working on that feature in KLU. It's fast and as low user-interaction as it gets. I am using it in conjunction with KLU.

    It does not allow you to do anything with any library which needs a NICNT file still. I have only used it for the purposes of bulk reinstalling libraries, or one-off things. I do not use any "user homemade" libraries like the ones people create from Sampler Instrument folders in sample packs. When we add libraries, we are basically building a library inventory which Kontakt can fetch details from, in our NativeAccess.xml.
    The easy, lazy, or efficient way to batch fix your NativeAccess.xml is to grab the current one from NI and replace yours with it.
    https://api.native-instruments.com/static/phints/NativeAccess.xml It has all the SNPID numbers directly from NI, and it is updated dynamically; so it is always the right info..according to them anyway. If a new library you add has an SNPID colliding with that list, you will have a very good idea of what you are looking at.
     
    Last edited: Jul 22, 2025
  4. villageidiot

    villageidiot Newbie

    Joined:
    Jul 21, 2011
    Messages:
    48
    Likes Received:
    2
    I had some problems adding libraries too, it started kind of randomly but I found out that by adding library one by one -quitting after adding one library, then starting KLU again- somehow works. Also with removing the same process
     
  5. Chastity Belt

    Chastity Belt Newbie

    Joined:
    Jul 20, 2025
    Messages:
    6
    Likes Received:
    1
    Alright, I ran the "show anomalies" check in KLU and I think I probably found the core of the issue that maybe some of the others are having ~anyone with the issue should run that check and confirm/deny if they are getting the same results.

    I get the following few notifications as far as errors are concerned, seems to be for all of my installed libraries

    -> Couldn't convert the Mac native path to a valid POSIX path

    -> "Libraryname" NICNT has an SNPID number () different to that of the Service Center XML file (xxxx) .

    -> Then at the bottom of the report, KLU just says it straight up can't find the path to my library folders.

    ---

    Long story short, I've done all the same things and have the same issue theepottee on the previous page of the thread, seems like KLU is not able to install or remove anything, but it also doesn't seem to have the path to any of my previously installed libraries? Very bizarre, since everything in Kontakt works just fine.

    Any ideas to get it pointing in the right direction and correct the errors above? If It was working correctly, I could just batch-reinstall everything, but it seems to not be aware of where my libraries are, even though they are showing up when I re-scan.

    Thanks everyone in advance for all the help in this thread, sorry for being a noob :bleh:
     
  6. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    8,852
    Likes Received:
    3,878
    The Service Center file it is mentioning to you is NativeAccess.xml. (The one I linked in prior post) It should be in your /Library/Application Support/Native Instruments/Service Center folder.

    That folder seems to be a catch can for lots of XML files from other vendors' plugins even. I had a ton of them and I just deleted all of them, after creating a backup. I replaced the NativeAccess.xml file in the Service Center Folder. I just reinstalled 12 libraries just to test, with Add Library for MacOS. It still shows in KLU that it wants more KLU specific information, like library order, categories and subcategories, etc.

    But now KLU shows this at the bottom:

    • All your libraries appear to have NICNT files with unique SNPID numbers.
    • All your libraries appear to have NICNT files in their respective library folders.
    • All the NICNT files appear to contain valid SNPID numbers
    • All the NICNT file SNPID numbers correspond to the Service Center XML ones.
    • All the Kontakt library folders were found.
     
  7. Chastity Belt

    Chastity Belt Newbie

    Joined:
    Jul 20, 2025
    Messages:
    6
    Likes Received:
    1
    edit: //

    I solved the issue, command below.
     
    Last edited: Jul 27, 2025 at 11:13 PM

    Attached Files:

  8. belalugosi

    belalugosi Producer

    Joined:
    Jun 6, 2011
    Messages:
    238
    Likes Received:
    85
    I thing you're wrong thinking is KLU the culprit of your issues...
    Check Service Center folder permissions instead.
     
    Last edited: Jul 23, 2025 at 10:23 AM
    • Like Like x 1
    • Love it! Love it! x 1
    • List
  9. Chastity Belt

    Chastity Belt Newbie

    Joined:
    Jul 20, 2025
    Messages:
    6
    Likes Received:
    1
    Thanks guys, I've got it working again. its always the simple solution thats overlooked. Sorry for being a noob!

    Anyone having issues, make sure you run this in terminal. My permissions got cucked messing with too many things.

    Don't be a goon like me, cheers.
     
  10. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    8,852
    Likes Received:
    3,878
    all you are doing with command: sudo /Applications/Kontakt\ Library\ Utility.app/Contents/MacOS/Kontakt\ Library\ Utility

    is running the program one time as root. You should use command as this: sudo chmod +x "/Applications/Kontakt Library Utility.app/Contents/MacOS/Kontakt Library Utility" which will make it executable for all users on the Mac.

    if the permissions are actually jacked up (technical term), you want to run command: sudo chown $(whoami) "/Applications/Kontakt Library Utility.app/Contents/MacOS/Kontakt Library Utility"

    sudo whoami will always return "root" and print it to the terminal screen after you supply the password for it. I do this all the time first, when running long patches in Terminal. That way your supplying the password is not overrun by data flowing into the terminal from the output of the long script.

    Instead of digging into the .app or component the way you are with sudo /Applications/Kontakt\ Library\ Utility.app/Contents/MacOS/Kontakt\ Library\ Utility command to only fix the Mach-O binary, run it this way to fix the entire bundle permanently:
    sudo chown -R $(whoami) "/Applications/Kontakt Library Utility.app"
     
  11. FastFox

    FastFox Newbie

    Joined:
    Jun 12, 2017
    Messages:
    13
    Likes Received:
    0
    This doesnt seem to do anything....... nothing happens in terminal.
     
  12. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    8,852
    Likes Received:
    3,878
    When there is no output in Terminal that means a command like that had no errors. It doesn't print anything to the screen.

    Maybe we can avoid the Mac basics in a thread about a specific program. Google it.
     
    Last edited: Jul 24, 2025 at 6:56 PM
    • Like Like x 1
    • Dislike Dislike x 1
    • List
  13. theepotte

    theepotte Newbie

    Joined:
    Jul 1, 2025
    Messages:
    2
    Likes Received:
    1

    THANK YOU SO MUCH!!! Your command fixed the problem and i finally installed libraries. Clone's "permanent" command didn't work.
     
  14. Chastity Belt

    Chastity Belt Newbie

    Joined:
    Jul 20, 2025
    Messages:
    6
    Likes Received:
    1
    Yeah that command didn't work for me either, they are right however that you will have to run that everytime you want to use it though (I made a cheap little script to run that) , no big deal for me ~ just happy to have it working again.
     
  15. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    8,852
    Likes Received:
    3,878
    oh. I was figuring you would be typing in the command and then dragging the file to the terminal.

    See any difference here? One works and one doesn't. It is because when you use "the text here becomes a literal string". \ is not a space. When you quote it in that way, it becomes literally that character.

    lockpick@lockpicks-Mac-Pro ~ % ls -l "/Applications/Kontakt\ Library\ Utility.app"
    ls: /Applications/Kontakt\ Library\ Utility.app: No such file or directory

    lockpick@lockpicks-Mac-Pro ~ % ls -l /Applications/Kontakt\ Library\ Utility.app
    drwxr-xr-x@ 8 lockpick admin 256 Jul 12 2024 Contents
     
  16. omiac

    omiac Moderator Staff Member

    Joined:
    May 3, 2024
    Messages:
    311
    Likes Received:
    336
    Argumentative Insults cleared. Guys, chill, or move on. TY
     
Loading...
Similar Threads - (Kontakt Library Utility) Forum Date
Adding missing Kontakt artwork with KLU (Kontakt Library Utility) Kontakt Jul 20, 2025
KLU (Kontakt Library Utility) Kontakt Dec 19, 2022
Rast Sound releases Ice Element free sample library (Kontakt & Wav) Software News Dec 27, 2022
Adding 3rd Party Library's (Kontakt 7) Kontakt Oct 16, 2022
Trouble adding guitar library[(kontakt 5.8/6)mac] Software Jul 23, 2019
Loading...