Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Checking for install path ?

For general discussion related FlowStone

Checking for install path ?

Postby lalalandsynth » Sun Oct 28, 2018 12:21 pm

Can I have the plugin check where it is installed ?
Say if someone does not use the default Steinberg/VStplugins folder but something else.
Can I have the plugin know where it is installed and get the folder name ?

There is the Folder primitive just not sure if it writes where I install the plugin when exporting or if it can read where it installed on any computer ?
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Checking for install path ?

Postby lalalandsynth » Sun Oct 28, 2018 12:35 pm

It appears that the folder prim can only know where it has been exported rather then know where it resides if moved or installed into a different folder then the export folder . At least that is what it looks like.

I wonder if there is a way for the plugin to check where it is installed ?
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Checking for install path ?

Postby lalalandsynth » Sun Oct 28, 2018 12:43 pm

What I need to do is have the plugin find a folder with envelope shapes regardless of the install path .
I could use the Sysfolders Prim and put the envelopes in the roaming folder but I am not sure if the Prim "gets" the folder on startup of the plugin as there is no "do it" trigger , so wondering if it only works within FS or also in an installed plugin? Or indeed if it finds the system folder specific to each user or just on my computer ?
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Checking for install path ?

Postby lalalandsynth » Sun Oct 28, 2018 1:18 pm

After some testing it seems that the systems folder prim works .
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Checking for install path ?

Postby adamszabo » Sun Oct 28, 2018 1:29 pm

check the Schematic File Path primitive. It will output the location where the .dll vst resides
adamszabo
 
Posts: 658
Joined: Sun Jul 11, 2010 7:21 am

Re: Checking for install path ?

Postby lalalandsynth » Sun Oct 28, 2018 2:43 pm

Does that not just show me where the schematic itself is located rather then the vst itself ?
Does so in FS at least.
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Checking for install path ?

Postby lalalandsynth » Sun Oct 28, 2018 3:29 pm

I think this is solved by using the System folder prim and then install presets and Envelope shapes into a folder at Appdata/roaming.
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Checking for install path ?

Postby adamszabo » Sun Oct 28, 2018 6:28 pm

lalalandsynth wrote:Does that not just show me where the schematic itself is located rather then the vst itself ?
Does so in FS at least.


If you export it to vst, it will output the location of the vst dll files
adamszabo
 
Posts: 658
Joined: Sun Jul 11, 2010 7:21 am

Re: Checking for install path ?

Postby lalalandsynth » Sun Oct 28, 2018 7:21 pm

Cool, trying it out.
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm


Return to General

Who is online

Users browsing this forum: No registered users and 22 guests