Easy way to find/add KONTAKT libraries with no .nicnt file (VBScript/Windows)

Discussion in 'Software' started by pedu, Apr 12, 2020.

  1. pedu

    pedu Member

    Joined:
    Sep 13, 2019
    Messages:
    21
    Likes Received:
    17
    Hi guys

    I am using the portable version (v6.2.2 as of April 12th 2020) of Kontakt 6 PORTABLE and the Kontakt 6 PORTABLE - Library Manager to manage my libraries. And KLC.exe (Kontakt Library Creator) to create missing .nicnt files/wallpapers.

    Dealing with many KONTAKT libraries with no .nicnt files is a real pita. So i wrote a small VBScript (vbs) file that will find those libraries for you. You will have to edit the script to suit your KONTAKT library location(s) but it's very simple to do. Just edit this paragraph in the top of the script starting at line 6 (only change the lines in bold).

    6 ' USER CONFIG BEGIN
    7 oKontaktDirs.Add "G:\VSTi Patches\KONTAKT"
    8 oKontaktDirs.Add "G:\VSTi Patches\KONTAKT6"
    9' USER CONFIG END


    In my case I have libraries pre V6 installed in
    "G:\VSTi Patches\KONTAKT"

    and V6 libraries installed in
    "G:\VSTi Patches\KONTAKT6"

    These are referred to as "root library folders" from now on...


    You must add at least 1 root library folder - or the script will do absolutely nothing. By root library folder I mean the name of the folder - or drive letter - containing your individual libraries. You should NOT add each and every one of your individual libraries. Just the root folder(s)! You can add as many as you like though - if your libraries are spread across several drives or folders.

    Example 1:
    D:\Kontakt <- * THIS IS THE ROOT FOLDER - ONLY ADD THIS
    D:\Kontakt\Library1
    D:\Kontakt\Library2
    D:\Kontakt\........
    D:\Kontakt\LibraryX


    * oKontaktDirs.Add "D:\Kontakt"


    Example 2:
    D:\Library1
    D:\Library2
    D:\..........
    D:\LibraryX

    In this case D:\ is the root library folder so you must add
    oKontaktDirs.Add "D:\"

    Btw VBScript is NOT case sensitive!

    When running the script it will create a file on your desktop called kontakt_no_nicnt.log and the file will open in notepad automatically. Please note that there is no visual progress indicator. Just let the script do it's thing and don't panic (like starting several instances)!

    The content of the file will look something like this

    KONTAKT Libraries with no .nicnt file:
    --------------------------------------
    Searching in: G:\VSTi Patches\KONTAKT
    G:\VSTi Patches\KONTAKT\Digital.Sound.Factory.Ensoniq.ZR.KONTAKT
    G:\VSTi Patches\KONTAKT\Orchestral.Tools_The.Orchestral.Grand
    Searching in: G:\VSTi Patches\KONTAKT6
    G:\VSTi Patches\KONTAKT6\Invasion
    G:\VSTi Patches\KONTAKT6\NK STAGE
    G:\VSTi Patches\KONTAKT6\Rigid.Audio.Felicity
    A total of 5 Libraries found


    The script will find all libraries with no .nicnt file. Even those that are nested in several subfolders like G:\VSTi Patches\KONTAKT\NI\Action Strikes\Action Strikes Library

    Now you can use KLC.exe to create the missing .nicnt and wallpaper files for you. When you click [Browse] just copy and paste the path from the .log file. You do NOT have to navigate to the correct location. Just paste in the path at the button of the Browse dialog. Pretty easy.

    When you add libraries in Kontakt 6 PORTABLE - Library Manager select the first option Add encoded libraries (auto detection) and select a "root library folder" at a time. It will import all libraries for you. Do a sort & save and you're done. No more manual and time consuming finding and importing of libraries :no:

    Take care out there and happy Easter to you all

    PS VBScript are designed for Microsoft Windows. It may (or may not) run in a virtual machine on OS X

    UPDATE!
    To avoid a potential memory leak you can change the script as follows (starting at line 38):

    ' Clean up
    set oFSO = nothing
    set outFSO = nothing

    set oKontaktDirs = nothing <- just add this line
     
    Last edited: Apr 12, 2020
    • Like Like x 4
    • Useful Useful x 3
    • Love it! Love it! x 2
    • List

    Attached Files:

  2.  
  3. Olymoon

    Olymoon Moderator

    Joined:
    Jan 31, 2012
    Messages:
    5,811
    Likes Received:
    4,465
    Great idea!!! Thank you :wink:
     
    • Like Like x 1
    • Agree Agree x 1
    • List
  4. pedu

    pedu Member

    Joined:
    Sep 13, 2019
    Messages:
    21
    Likes Received:
    17
    You're welcome Olymoon :bow:
     
  5. lovebeats

    lovebeats Ultrasonic

    Joined:
    Nov 14, 2015
    Messages:
    122
    Likes Received:
    30
    question , i have to copy the script in my kontakt library folder ?

    i see it have found 32 librarys now



    when i start the KLC exe
    i have to browse each library seperate
    that the script found on the desktob
    in the kontakt_no_nicnt files file ?
     
    Last edited: Apr 12, 2020
  6. pedu

    pedu Member

    Joined:
    Sep 13, 2019
    Messages:
    21
    Likes Received:
    17
    You can place the script anywhere you like. But edit the line(s) in the script as I mentioned
    6 ' USER CONFIG BEGIN
    7 oKontaktDirs.Add "G:\VSTi Patches\KONTAKT"
    8 oKontaktDirs.Add "G:\VSTi Patches\KONTAKT6"

    9' USER CONFIG END

    to something like

    6 ' USER CONFIG BEGIN
    7 oKontaktDirs.Add "PATH-TO-YOUR-KONTAKT-LIBS-ROOT-FOLDER"
    8' USER CONFIG END

    Remember to save the changes you make!

    Yes. Afaik KLC.exe has no command line interface. But you can copy library name and path from the file kontakt_no_nicnt.log created by the script into KLC
     
    Last edited: Apr 12, 2020
  7. WarpenN1

    WarpenN1 Member

    Joined:
    Dec 19, 2016
    Messages:
    58
    Likes Received:
    17
    Thank you:)
     
  8. lovebeats

    lovebeats Ultrasonic

    Joined:
    Nov 14, 2015
    Messages:
    122
    Likes Received:
    30
    hhmm ok, i have see the script found 132 librarys, i was always asking whyy they dont show up in my kontakt, so i stop to use them, would be nice if this step can be done automatically one day


    another question i have, why so many libraarys don have the no-nicnt file included ? some libs have it some not, why?
     
  9. pedu

    pedu Member

    Joined:
    Sep 13, 2019
    Messages:
    21
    Likes Received:
    17
    Oh man... If only KLC.exe had a commandline interface like this:

    KLC.exe "Library Name" "Path-to-library"

    example
    KLC.exe "Ensoniq TS10" "G:\VSTi Patches\KONTAKT\Ensoniq TS10"

    That would be so awesome!

    Anyone know the person that made Kontakt Library Creator?
     
  10. pedu

    pedu Member

    Joined:
    Sep 13, 2019
    Messages:
    21
    Likes Received:
    17
    Hopefully sooner than later :) But keep in mind that you only have to do this once. And they will always show up when you scan for libraries. I had about 30 libs without a .nicnt file. It did not take long to create them using KLC

    I believe it's a licensing thing/issue with Native Instruments (the makers of KONTAKT)
     
    Last edited: Apr 12, 2020
  11. zero-frag

    zero-frag Producer

    Joined:
    Feb 2, 2014
    Messages:
    348
    Likes Received:
    109
    Really cool ! Will give it a try! Thanks for the hard work
     
    • Like Like x 1
    • Agree Agree x 1
    • List
  12. kooper

    kooper Platinum Record

    Joined:
    Jun 6, 2011
    Messages:
    562
    Likes Received:
    173
    I got both of the attachments! Will read a bit on how to make this work. It's new to me but I will follow directions, and give it a try. TY!
     
  13. Lou Ulfark

    Lou Ulfark Producer

    Joined:
    May 30, 2018
    Messages:
    152
    Likes Received:
    75
    I will try it. Thanks a lot ! :wink:
     
  14. pedu

    pedu Member

    Joined:
    Sep 13, 2019
    Messages:
    21
    Likes Received:
    17
    You're welcome :bow:
     
  15. pedu

    pedu Member

    Joined:
    Sep 13, 2019
    Messages:
    21
    Likes Received:
    17
    You're welcome :bow:
     
  16. pedu

    pedu Member

    Joined:
    Sep 13, 2019
    Messages:
    21
    Likes Received:
    17
    You're welcome :bow:
     
  17. angelus_

    angelus_ Noisemaker

    Joined:
    Jun 2, 2019
    Messages:
    9
    Likes Received:
    6
    Very appreciated! Thanks :wink:
     
  18. pedu

    pedu Member

    Joined:
    Sep 13, 2019
    Messages:
    21
    Likes Received:
    17
    You're welcome :bow:
     
  19. lovebeats

    lovebeats Ultrasonic

    Joined:
    Nov 14, 2015
    Messages:
    122
    Likes Received:
    30
    maybe there is someone who has created all nicnt files for all libs that was shared in past and share them so i can save time
     
  20. pedu

    pedu Member

    Joined:
    Sep 13, 2019
    Messages:
    21
    Likes Received:
    17
    I seriously doubt that. You would however still have to manually locate and copy the .nicnt and wallpaper files into the correct locations :) And you might not know what libs were missing these files after all
     
  21. josenacha

    josenacha Producer

    Joined:
    Dec 17, 2016
    Messages:
    145
    Likes Received:
    75
    Do not hesitate, there are those who do it and are doing it, and with the wallpaper embedded inside the .nicnt file
     
Loading...
Loading...