Plugin data folder linking
On the very first launch the plugin is informing that the Sample directory is not existing with the only option to ignore it.
I looked up the respective project folder in the
APPDATAbut there was no
LinkWindowsfile present (According to the tutorial it is supposed to be here).
AudioResources.datshould be edited instead, but I struggle to find the correct way to edit it.
I tried replacing the only
AudioFiles/NULNULNULline with something like
AudioFiles/C:\Users\Ksn\Desktop\TestPlugin\Samples\MusicBox.ch1but it didn't work out.
The AudioResources.dat file should not play a role in the tutorial (and if it does, I need to change the default project settings).
The LinkWindows file is created when you choose a sample folder. I need to check if there's something wrong with the initial detection.
The remark about it being present means that if you know where you want to store the sample data (eg. in the program folder) by default, you could include this file in your installer routine to prevent this dialogue on initial load.
How can I choose a respective sample folder? All the .wav samples are already copied in the project
Samplefolder. Is it obligatory to use an installer for compiled plugins?
The project folder has nothing to do with the final plugin - it's only used while developing. But you can of course point the plugin to the Samples subfolder (just like any other folder).
The plugin should create all app data files automatically if they don't exist and ask for a sample folder the first time. You should be able to point it to the directory and from then on you're ready to go. If this doesn't work, let me know, then I'll check this.
You don't need an installer, just copy the .dll files to the plugin directory, and the samples to an arbitrary location. However as soon as you have multiple platforms and plugin types, doing this with an installer is the only serious option.
If you want to learn more about making installers, I am using two installer solutions myself, Inno Setup on Windows and Whitebox Packages on OSX (both are free to use).
The plugin should create all app data files automatically if they don't exist and ask for a sample folder the first time. You should be able to point it to the directory and from then on you're ready to go.
This seems to be the issue, because the compiled plugin does not ask for anything during first launch and the LinkWindows file is not created.
Can you check again with the most recent build and source code? I fixed a few things regarding sample detection last week.