Fork of Nils Liberg's SublimeKSP plugin. See README for details.
Python
Clone or download
mkruselj and neblix Fixed compiling script to txt in wrong encoding (#101)
Previously, even though output file is said to be saved with Latin 1 encoding (Windows CP 1252), it resulted in UTF-8 files, which messed up display of certain symbols in Kontakt GUIs, like the degree symbol °.

It seems the trick was to read the input script file (and any URL links, as well) as UTF-8, then the exported txt file gets Latin 1 encoding, and ° symbol shows perfectly fine in Kontakt.
Latest commit 499d8b8 May 28, 2018
Permalink
Failed to load latest commit information.
ksp_compiler3 Extended iterate_macro() usage, added date/time defines (from EvilDra… Apr 30, 2018
messages Extended iterate_macro() usage, added date/time defines (from EvilDra… Apr 30, 2018
ply Remove .pyc files May 26, 2016
snippets 5.7 Update and Additional Keyword (#66) Sep 24, 2017
.gitignore Add *.pyc to gitignore May 26, 2016
Default (Linux).sublime-keymap Added Linux keymap, fixed coloring for list keyword, and removed cons… Sep 27, 2017
Default (OSX).sublime-keymap Initial commit of SublimeKSP 1.1 Mar 8, 2016
Default (Windows).sublime-keymap Initial commit of SublimeKSP 1.1 Mar 8, 2016
KSP-symbol-list.tmPreferences Initial commit of SublimeKSP 1.1 Mar 8, 2016
KSP.sublime-settings Forgot comma in messages Apr 10, 2016
KSP.sublime-syntax Extended iterate_macro() usage, added date/time defines (from EvilDra… Apr 30, 2018
KSP.tmPreferences Fix ParseException bug, general tidy up Apr 21, 2016
KScript Dark.tmTheme 5.7 Update and Additional Keyword (#66) Sep 24, 2017
KScript Light.tmTheme 5.7 Update and Additional Keyword (#66) Sep 24, 2017
LICENSE Add GPL3 license Mar 8, 2016
Main.sublime-menu Capitalise KSP tools menu options Jul 28, 2016
Monokai KSP.tmTheme New colour scheme thanks to Davide Magni Jul 24, 2016
README.md Update README.md Dec 18, 2016
bbcode.py Change plugin to use KSP.sublime-syntax May 26, 2016
ksp_plugin.py Fixed compiling script to txt in wrong encoding (#101) May 28, 2018
messages.json Update messages.json May 24, 2018

README.md

SublimeKSP

A Sublime Text 3 plugin for working with and compiling Kontakt script code (KSP code).

Changes

This fork is based on Nils' official 1.11 plugin, and likewise supports Kontakt version 5.6. However there are some additions and minor changes:

  • Additions to the preprocessor allowing for UI arrays, new macro types and more, see the added features section of the wiki
  • Now available in Package Control which supports auto updates
  • Some changes to the syntax highlighting
  • default_syntax.py has been removed since this can be set elsewhere

Installation

  • Install Package Control
  • After installing Package Control and restarting Sublime:
    • Open the Command Palette from the Tools menu or CommandShiftP (OS X) or CtrlShiftP (Windows)
    • Type “Install Package”
    • Type “KSP” or "Kontakt" and select "KSP (Kontakt Script Processor)"
    • Hit Enter to install
    • Restart Sublime

Documentation

See the Wiki on Github.

Updates

  • Updates to the plugin will be automatically installed via Package Control.
  • Pull requests are welcome for errors/updates/changes. If you aren't familiar with pull requests, just open an issue.