The experimantal patchset for Carla VST Host on Windows with supports loading VST plugins from Sandboxie containers.
This patchset adds feature about load VST plugins from under the Sandbox-Plus sandbox.
Base version of Carla is v2.3-RC1, and Tested Sandboxie-Plus version is v0.7.1
- docker
- git
- golang (with cross-compile supprts for windows)
- make
NOTE: I tested compiles of this project under NixOS on WSL2.
$ git clone https://github.com/nyarla/carla-sandboxie-patchset.git
$ cd carla-sandboxie-patchset
$ make
First, copy patched carla application to Windows from dist
directory in carla-sandboxie-patchset
,
and launch Carla.exe
same as non-patched Carla.
Second, setup some configuration to Sandboxie-Plus, patched Carla and Environemnt variables, and information about this configuration is on the next Restrictions section.
Last, add full path about scan plugin directory inside sandbox container to Carla's configuration, and rescan plugin by Carla like as non-patched.
Finally, you're suceed all steps, you're enable to load VST pluguins from Sandboxie-Plus's sandbox container.
this patchset features has some restrictions, see below:
CARLA_SANDBOXIE_PREFIX
is root directory about Sandboxie-plus sandboxes,
and CARLA_SANDBOXIE_START
is path to Start.exe
via Sandboxie-plus.
For example, your sandboxes root directory is C:\Sandboxie
,
CARLA_SANDBOXIE_PREFIX
is C:\Sandboxie
.
And if your installed directory of Sandboxie-Plus is C:\Sandboxie-Plus
,
CARLA_SANDBOXIE_START
is C:\Sandboxie-Plus\Start.exe
.
In sandbox container, you must set this configuration to Sandboxie.ini
for getting works fine about load VST plugin from sandbox container:
OpenPipePath=%temp%\*
OpenIpcPath=\Sessions\*\BaseNamedObjects\carla-bridge_sem_*
Last, patched carla requires to always use carla's plugin bridge feature, And you're enable to this feature by these steps:
- Launch carla application, and click
Configure Carla
button. - In
Main
, checkedEnable experimental features
inExperimantal
section - In
Experimental
, checked bothEnable plugin bridges
andRun plugins in bridge mode when possible
You should block this feature by Sandboxie-Plus,
and you're enable to block this behavior by adds this configuration to Sandboxie.ini
:
NeverDelete=y
AutoDelete=n
This problems maybe trigger by carla default behavior, but I'm not understood why triggered this behavior.
This problem has spamming SBIE2224
error to notification,
but workaround is disable SBIE2224
error notification on Sandboxie-Plus notification panel.
This is a upstream bug of Carla, See Carla's issue report #1054.
License of patch files are same as Carla, And other files are under the MIT-licensed.
OKAMURA Naoki a.k.a. nyarla nyarla@kalaclista.com