Including *module* presets with a module

Post Reply
boingy
Posts: 11
Joined: Sun Jun 05, 2022 12:21 pm

Including *module* presets with a module

Post by boingy »

I know you can make a bundle of VM presets to accompany a module or set of modules and put it in the shop but is there any way to supply module presets with a module such that they are automatically available to anyone who downloads the module?

I'm talking about the presets you access with a right-click on each module that get saved as *.modpreset files in:
PC: %appdata%\Voltage\Presets\ModulePresets
Mac: Users\ <username>\Library\Application Support\Voltage\Presets\ModulePresets
jclounge
Posts: 14
Joined: Fri Aug 06, 2021 5:19 am

Re: Including *module* presets with a module

Post by jclounge »

I don't know if there's a proper way (since I'm yet to publish). But maybe you could include the preset files into your module resources and then write them out to the presets folder when the module is first run. VM's GetLibraryPath() method helps to locate where to put the presets in a cross-platform way.
User avatar
Waverley Instruments
Posts: 147
Joined: Thu May 05, 2022 2:10 pm

Re: Including *module* presets with a module

Post by Waverley Instruments »

Anyone prepared to share their idea of the "correct" way to do this?

I'm kinda scratching around (as per!) for the best approach...

Thanks guys! -Rob
User avatar
Captain
Posts: 103
Joined: Sat Aug 25, 2018 11:12 am

Re: Including *module* presets with a module

Post by Captain »

I just ended up having the module presets as a separate download with installation instructions, but agreed, it would be cool if they got downloaded & installed with the module itself.
jclounge wrote: Sat Jul 02, 2022 6:36 am But maybe you could include the preset files into your module resources and then write them out to the presets folder when the module is first run. VM's GetLibraryPath() method helps to locate where to put the presets in a cross-platform way.
That's an interesting idea! Something about this feels slightly risky, but could be worth trying...
User avatar
Waverley Instruments
Posts: 147
Joined: Thu May 05, 2022 2:10 pm

Re: Including *module* presets with a module

Post by Waverley Instruments »

Yep, part of the risk is having to hardcode the extra path to __Module_Presets__ and your module uri. I reached out to CA about this and they acknowledged that was risky so I think they've filed it as a feature request for now - something like a GetModulePresetsPath() helper function.
Post Reply

Return to “Module Designer”