Skip to content

Set up Kontakt

Grimoire puts the newest Kontakt VST3 it finds in Cubase’s plugin list on each Kontakt track: “Kontakt”, or “Kontakt” plus a version number such as “Kontakt 8”. Kontakt Player is not used.

With several, Grimoire picks the highest number. Claude’s build_session tool can pick another, for example Kontakt 7.

Populate supports Kontakt 8 only. Each Kontakt channel ends in one of these ways:

Chip What happened What to do
loaded Grimoire replayed a state it had saved for this patch. The note reads “state replayed from the learned cache” Nothing
manual No saved state, so the channel was created empty Load the .nki in VE Pro by hand, then click Populate VE Pro again. (The reason says “run build_session with populate again”, Claude’s name for the same step)
captured You loaded it by hand; Grimoire saved its state Nothing. “The next populate replays it”
reused The channel already holds a loaded Kontakt 8 and Grimoire has a saved state for this patch, so it left the channel as it is. The note reads “holds Kontakt 8 (content not verifiable)” Nothing, if it is the patch you want. Grimoire never reloads over a Kontakt channel that isn’t empty
learned Claude’s script loaded it, checked it and saved its state Nothing
failed A load was tried and did not work Read the reason under the chip

Saved states live in ~/Library/Application Support/Colophon/kontakt-states/.

Claude (through patchmcp) can load a new Kontakt patch into VE Pro without you. It runs a small script inside Kontakt 8, checks that the right instrument loaded, and saves its state. The Grimoire app itself never does this; only Claude’s build_session with populate does.

  • VE Pro Server on this Mac. A remote server won’t work.
  • Kontakt 8’s plugin developer options turned on. Ask Claude to run kontakt_enable_plugin_lua. It changes one Native Instruments preference (DeveloperFeatures-plugin) and tells you the value before and after.
  • Restart VE Pro Server afterwards. Until you do, Kontakt has no Run Lua Script menu item, and populate falls back to manual.
  • Accessibility, and Automation access to System Events, for your Claude app, then a fresh Claude session.
  • Claude has the Loaders file. See Give Claude the Loaders file.
  • An unlocked screen.
  • A US-style keyboard layout. The script’s path is typed into a file dialog.
  • No NTFS drive mounted through FSKit. Kontakt’s file browser crashes VE Pro while one is mounted.

To load a patch, populate brings VE Pro to the front, clicks Kontakt’s menu and types into a file dialog. Don’t use the mouse or keyboard until populate finishes.

The menu clicks were checked on Kontakt 8.13.1 and 8.14.0, at 100% zoom, with an empty rack.

  • A patch whose .nki isn’t on this Mac is marked manual before anything is clicked. If the file is on a drive that isn’t connected, the reason says so.
  • After some failures (a menu click that didn’t open the dialog, a Kontakt that never answered, a load in the wrong channel), the rest of that populate goes straight to manual. The next populate tries again.
  • A channel whose load couldn’t be cleared is listed in rejected.json, next to the saved states, and is never captured. Empty that channel by hand in VE Pro, then populate again.

Run this in Terminal:

Terminal window
defaults write "com.native-instruments.Kontakt 8" DeveloperFeatures-plugin -int 0

Then restart VE Pro Server.