DISTRHO / Cardinal

Virtual modular synthesizer plugin
https://cardinal.kx.studio/
GNU General Public License v3.0
2.07k stars 141 forks source link

does CARDINAL support portable mode for clap yet #655

Closed RustoMCSpit closed 2 months ago

RustoMCSpit commented 2 months ago

Description

if you dont know what portable mode is https://github.com/surge-synthesizer/surge/issues/7607#issuecomment-2067446485

i have the resources folder beside the .clap (as it is by default) but it keeps saying: Could not load template patch, clearing rack: Unarchiver could not open archive /usr/local/share/cardinal/patches/templates/main.vcv

OS: Linux Mint 21.3 x86_64 Kernel: 5.15.0-102-generic Bitwig Studio 5.1.8

dromer commented 2 months ago

That link does not really explain what "portable mode" is. It reads like a highly specific thing for SurgeXT on Windows, what is the relation to CLAP?

washikano commented 2 months ago

The CLAP plugin is looking for its resource files at the specified directory; it won't look for them anywhere else, nor will it find them even if placed relative to the CLAP plugin; the fact that it won't read them there is probably just how the CLAP standard (support for which is a WIP for Cardinal) works by default

EDIT: Maybe OP is asking if the CLAP plugin can be made to read its resource files when placed next to it, so that it could be put on a USB like the VST2/VST3 variants?

RustoMCSpit commented 2 months ago

EDIT: Maybe OP is asking if the CLAP plugin can be made to read its resource files when placed next to it, so that it could be put on a USB like the VST2/VST3 variants?

yes exactly

RustoMCSpit commented 2 months ago

The CLAP plugin is looking for its resource files at the specified directory; it won't look for them anywhere else, nor will it find them even if placed relative to the CLAP plugin; the fact that it won't read them there is probably just how the CLAP standard (which is a WIP) works by default

okay well thats what i want fixed. should i rename the issue?

falkTX commented 2 months ago

The bug is #583 and related to clap, if you use lv2, vst2 or vst3 it already works there.

RustoMCSpit commented 2 months ago

The bug is #583 and related to clap, if you use lv2, vst2 or vst3 it already works there.

ahh i see, any idea when it'll be fixed?