Page 1 of 1

FIXED: Plugin .txt load dynamically

PostPosted: Sun Jan 19, 2020 3:54 pm
by wlangfor@uoguelph.ca
This fix loads in the alpha, but should you be able to first count the presets in your .txt file in a similar way it might be possible:

Image

before sending the plugin presets.txt file to the TextFile primitive, it's important to first count presets.
So, from a .txt loader primitive, count the presets in the above manner. Next send that count to the "names" setting in the preset Manager BEFORE trying to load the preset .txt file, then load the preset file as it should be and all of your presets will load easy.

The reason this is profound is because it allows your user to make presets to .txt dynamically, meaning multi-daw presets in a breeze.

GL all,
Robert

Re: FIXED: Plugin .txt load dynamically

PostPosted: Tue Jan 21, 2020 4:40 pm
by wlangfor@uoguelph.ca
The issue I've been confronting with this tactic is that reaper does not name the presets correctly.

I've countered this by only loading preset names from the .txt file solely, initially until once again re-saving to the .txt file. After this; names seem to update fine. It's a backwards way of doing things but it works well.

I intend to make a complete system for plugin makers which will have many options and a nice menu system.