This should be fixed now. I’ve also added a new option in the settings to bundle resources into the plugin folder. Let me know if you can now export Ok. New build should be ready shortly.
I tried to export to VST with version 1.0.33 using the “button” example, and the instrument causes a crash in the DAW (Nuendo, Ableton). Studio One doesn’t crash, but I can’t see the user interface, it seems something is wrong.
I’m not clear on this point from the documentation: “Bundle Resources Tells Cabbage to bundle all resources into the plugin folder, otherwise, all resources, including the .csd file, will be placed into the CabbageAdio resources directory.” That’s why I’m unsure whether I should bundle the resources before or after exporting the synthesizer as a VST3. Also, I don’t see any .csd file inside the folder, I only see a .vst3 file and a .pdb file.
Oh I just added that today, it’s probably best to disable that option for now. Your resources will appear in the c:/ program data / cabbage audio folder. I tested this today before pushing and it was working ok. But I’ll take a look.
I’m away from home currently, thought I had a windows laptop here but I can’t seem find it… I’ll look some more, but otherwise I will test it when I get back in a week
Testing now with newest build (1.0.34-alpha), but I’m still having some trouble exporting. When I export either synth or effect, there is no error message anymore, but the exported vst3-file never shows up in the folder.
This is where I’m trying to export to: C:\Users\Dale\Documents\Work\Cabbage 3
I think you have the js source path set to a previous version, but you’re now using a more recent version so that path is no longer valid. If you update your jsSourcePath to the new install location it should work. You shouldn’t really have to do this at all, but I can’t work out why this path is automatically set for some people.
So I figured out why it did not export at all, I tried exporting when I was in the compiled instrument tab in vscode, switching to the .csd allowed me to export
If you have avalue set, it will persist. The idea here is to not have any value set, and let the extension select the correct path based on the version, but for some reason that’s not working. I’m in the process of rewriting the back-end again, it should make these things a lot easier to debug.