Comments on: KSP Scripting (NI Kontakt) :: BASICS :: distributing your instruments – best update & upload practice https://blog.yummybeats.com/ksp-kontakt-scripting/ksp-scripting-ni-kontakt-basics-distributing-your-instruments-updates-best-update-upload-practice/ Kontakt Scripting Tutorials (KSP), Free Massive Presets, Mixing Tips Sun, 23 Jul 2023 19:07:19 +0000 hourly 1 https://wordpress.org/?v=7.1.3 By: YummyBeats https://blog.yummybeats.com/ksp-kontakt-scripting/ksp-scripting-ni-kontakt-basics-distributing-your-instruments-updates-best-update-upload-practice/comment-page-1/#comment-9136 Wed, 22 Dec 2021 21:57:42 +0000 https://blog.yummybeats.com/?p=114188#comment-9136 In reply to Linden.

Many thanks!

The first thing you wanna do is to lock the script-tab by password. Just open your tab and hit the “Lock with Password” button.
However this is not super save, so you can extra secure your script-tab by putting a slider on top of the “edit” button while disabling the sliders automation.
For this simply create a new slider and position it on the very left and on the very bottom. Disable the automation and add a transparent png to your slider to make it invisible. Here is an example code:

on init
	declare ui_slider $scriptlocker (0,1)
	$scriptlocker -> text := ""
	$scriptlocker -> picture := "btn_scriptlocker"
	$scriptlocker -> width  := 64
	$scriptlocker -> pos_x  := 0
	$scriptlocker -> allow_automation := 0
	$scriptlocker -> help := "you got no access"


	if(in_range($YOUR_UI_HEIGHT_IN_PX, 54, 540))
		$scriptlocker -> pos_y := $YOUR_UI_HEIGHT_IN_PX-20
		else
			$scriptlocker -> pos_y := 34
	end if
end on

In this way, however, you also lock yourself out. That’s why you should store your whole script into “Resources/scripts folder as a simple txt file.

In your script-tab hit “Apply from…” and chose “resources folder -> [your-script.txt]”

Create the resources container then. Now your-script.txt gets stored inside the resoruces.nkr file.

Of course you can edit your-script.txt inside the Resources/scripts folder at any time and create the resource container again.

Alternatively you can also load the empty factory preset to clear your script tab an make it accessible again.

Regarding distributing your instrument you can check out these websites:

]]>
By: Linden https://blog.yummybeats.com/ksp-kontakt-scripting/ksp-scripting-ni-kontakt-basics-distributing-your-instruments-updates-best-update-upload-practice/comment-page-1/#comment-9135 Wed, 22 Dec 2021 04:02:33 +0000 https://blog.yummybeats.com/?p=114188#comment-9135 Thank you for this article.
I am working on my first proper Kontakt Instruments and your articles are very helpful.
I wonder how it is possible to lock the ksp script and also do you have recommendations for really small distributers?
Are there website which are good for hosting Kontakt Instruments when you dont have a lot to offer or your own website?

]]>