Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Problem: Ca'nt make the EXE save a preset after export

For general discussion related FlowStone

Problem: Ca'nt make the EXE save a preset after export

Postby kortezzzz » Wed May 22, 2013 5:37 pm

HI everybody,
I'm new to this forum and to FS, and I'm still learning the basics of this program.
First, I must say that after reading few posts, i see that the forum is great, and you guys are fantastic. :D

Well, my problem is very basic, i guest. I just don't have the knowledge to solve it :oops:
I'v just made my first project and tried to test it and i see that the exported EXE project
doesn't save my "after export" edits. its just loading the "pre-export" presets, now matter
what i do...
i"ll be glad to get some help
thanks in advance, and sorry for my bad english...
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Problem: Ca'nt make the EXE save a preset after export

Postby MyCo » Wed May 22, 2013 5:47 pm

The preset manager is made for VST export. In VST, preset changes are written to the VST host. The VST Host then has to somehow store that preset changes. Flowstone doesn't care about how the host actually stores it.
To save your preset changes in exported EXEs, you have to provide a storage mechanism. Eg. you can save your presets as TXT file (the preset manager has this function). But you'll have to reload that text file after the next start of your EXE to get your last control states.
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: Problem: Ca'nt make the EXE save a preset after export

Postby kortezzzz » Wed May 22, 2013 7:09 pm

Thanks for the the fast reply, MyCo. got the point.
so, lets say that the presets are already stored as txt files
on my hard-drive; what should i do to load the last edits?
should i store first the new edits as a new bank and reload them manually?

i would like to make an automatic mechanism that can load the "defalt bank"
with my last edits every time i open the exported exe project. i wonder if there is
a way to "force" my project to go to a specific folder and read my "defalt bank"
or the "re-made presets" (last used) from there, right after the project get loaded.

thanks again, man.
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Problem: Ca'nt make the EXE save a preset after export

Postby trogluddite » Wed May 22, 2013 10:21 pm

Hi there, kortezzz,

What you want to do can be achieved in a rather round-about kind of way....

When you save a preset, the file path is constructed inside the preset manager as a string.
The trick is to get hold of this file path string, and save it in a separate text file that will always be in the same place - the exe's own folder is a good choice, as there is a "plugin folder" primitive that can reliably find it.
At load time, you can use an "After Load" primitive to trigger loading of the text file, extract the preset path, and pass it to the manager for loading.
I've used a similar system in the past for VST plugins where I want the plugin to override the settings stored inside the host - I'll see if I can dig up anything useful from my old schematics, as the system I used should be easy to adapt for putting into an exe.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Problem: Ca'nt make the EXE save a preset after export

Postby kortezzzz » Thu May 23, 2013 5:47 am

thank you, trog :)
Using the "after load" primitive sounds as the right way
to do the trick, but i still can't find a way to trigger my
project to open my last edited presets from the project's folder
automatically (without any dialog pop-ups, this is important. "clean job"... 8-) ).

a good schematic example would be great, man.
i also want to know if there are any other special rules
when using a "preset folder", like putting both EXE file and
preset folder in the same "parent folder" and act.

i also would like to say that the EXE exporting option is JUST AMAZING!!
one of the reasons why i love FS very much. it lets you make lovely
live tools that can be used without any daw. LOVE IT :D

thank you again, and i hope you will find the lost schematic... :)
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Problem: Ca'nt make the EXE save a preset after export

Postby RJHollins » Mon Sep 02, 2013 4:57 am

Thanks TROG for explaining a procedure to do this. I never thought we'd have to do a 'work-around', but after both your's and MyCo's explanation, the technique you describe is the 'path' I'll try 8-)
Thanks!
RJHollins
 
Posts: 1571
Joined: Thu Mar 08, 2012 7:58 pm

Re: Problem: Ca'nt make the EXE save a preset after export

Postby kortezzzz » Mon Sep 02, 2013 5:20 am

Hi RJHollins,
Thanks for trying. hope you'll find a way to do that. I tried some methods but without a success so far :roll:
wondering why its so difficult to perform. Have been thinking about using a combination of preset manager+save\load
file+custom folder primitive, but its not working for me. :x
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: Problem: Ca'nt make the EXE save a preset after export

Postby billv » Mon Sep 02, 2013 6:59 am

trogluddite wrote:The trick is to get hold of this file path string, and save it in a separate text file.

So it is possible ....???...So 'alt preset' systems not needed.....
Interesting.
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia


Return to General

Who is online

Users browsing this forum: Google [Bot] and 69 guests