Load expansions in compiled plugin
-
Sorry if this question comes off ignorant. I am still a noob and I have been experimenting with HISE all day so my brain is starting to turn into mush. I'm hoping someone can save me from insanity with this question.
Just like in the referenced post I have created a VST with two expansions. I want to include both as Factory expansions.
In this post and in the documentation it is referenced to move the expansion folder to AppData folder.
I'm trying to wrap my head around the installation process of a VST with expansions.
If I understand correctly, I have to have my installer create a folder on the users AppData folder (Win) or Application Support folder (Mac) ex: 'MyCompany'. And then include the expansion files (info.hxi) in that folder.
I tried to test this (on Mac) by creating a folder with the company name in the Application Support folder. Then when the VST is opened and asks to locate samples folder I choose that folder. But no expansions show.
How do I make it so when my VST is opened for the first time it automatically finds the company folder and loads the expansions? I've been staring at the FileSystem doc for a while assuming the answer is there but can't figure out what line of code would be to do this.
-
@kameron Why not include the factory content as part of the plugin instead of expansions?
-
@d-healey I was thinking this but the reason why I have two expansions is because they both have slightly different GUIs. One is for instruments and one is for percussion
-
@kameron I'd suggest you provide them to your user as expansions that they have to install. This will also be a good on boarding exercise for them so they know how the system works.