gvalletto wrote:Hello everyone. What silence is here ...
I want to share a little discovery that meant great benefits to me.
These days, I spent many hours obsessed designing long text preset schemes. Since the primitive "Preset String" pops up that "are restricted to 255 characters", I always worked on separating texts to save them in several separate presets, such as what I published in this topic.
What I discovered Is that when you save the text in hexadecimal format, there is no restriction on length. At least I've used presets with texts longer than 1000 characters and they work fine!
Here I leave the scheme. Thank you all for your interest and for your suggestions.
I can imagine that Flowstone doesn't use a c-string internally. There are several string formats in c/c++, the developer can choose to use.
However, always remember that VST is a defined protocol. If you don't stick to the rules, you are not 100% compatible with VST. For example, what about DAWs? A lot of them save the state of your plugin when saving a project. They use the VST protocol to do so. You might lose your text when reloading a project (without saving the preset, but only relying on the DAW state saving). That is just one example. So make sure it doesn't get you into trouble. But in general I wouldn't use anything that's beyond the definition of VST.