I have a VST2 plugin which has original ID “X111” (JucePlugin_PluginCode), but it dynamically set its ID using SetUniqueID (stored in external file).
So, theoretically i can copy this plugin file to another, with different name and different ID.
This works perfect with Reaper for example, but it doesn’t work with Cubendo and Studio One - second plugin is not detected.
I’ve analyzed plugin .dll file and found there is original ID (“X111”) hard-coded at the several places in the binary - sometimes even in reversed order (“111X”). When i patch all these values to the new, different ID, problem dissapears - all programs work.
Now the actual question:
Isn’t it enough for VST2 plugin to have different ID and different name to be recognized by any host? What are these hard-coded values all arround the .dll, how do they come there?
Any ideas what should i look for? Can somebody enlighten me about some VST2 rules which i dont know.