Page 2 of 3

Re: Synth1 I lost the presets

Posted: Wed Mar 11, 2015 7:34 pm
by Gps
slipstick wrote:I just tried saving one of my projects as .mmp (note:you can't just rename the file, you need to do Save As then change name there to .mmp). That gave me a text file.

But I still couldn't find the Synth1 preset names I was using in there anywhere.

(But that's LMMS 1.0.3 on Windows 7)

Steve
That´s right, its not stored in the lmms file, like caLRo said.
caLRo wrote:Synth1 stores the presets in a temp folder
So it's synth1 which remembers the preset used, not LMMS.

I do not know the exact path but both windows and Linux have a temp folder.
And you might have to tell on both os, that you want to see the hidden files.

On Linux its prob a temp folder in wine, but on windows it should be easier to find.

You could try to search for synth1 and see if windows finds a file in the temp folder.

To everyone, do not clean up you're temp folder, I once made that mistake on windows NT. :P

Re: Synth1 I lost the presets

Posted: Thu Mar 12, 2015 11:30 am
by musikbear
Gps wrote: To everyone, do not clean up you're temp folder, I once made that mistake on windows NT. :P
i kill my temp on regular intervals, and i have never had any issues with synth1 presets at all (winxp). Frankly, im puzzled about this, and i cant imagine that it is a temp folder deletion that is the reason. Something else, most likely a config of some kind, must be lost.
Did you install synth1 the proper way (- eg, running that tiny 'setup' thing?
I fear your 'spring-cleaning' (because i suspect you have removed stuf not en TEMP ..right?) somehow has broken that connection, and you will have grief from this herafter..

What i would do was to find all synth1 related banks, or single-presets (depending on how have you chosen to organize your synth1 instruments)
synth1 'banks' are just folders, but inside are files named *.sy1
That should help you find those
Single presets -does not look like synth handle those.. So unless i am -wrong- (!) All synth1 presets are asociated with banks
Find all banks, and safe-copy them.
De-install synth1 and reinstall properly, then you should be able to insert the old banks in proper paths
-At least i hope so.....

Re: Synth1 I lost the presets

Posted: Thu Mar 12, 2015 12:50 pm
by Gps
I once on windows NT deleted all temp files from the temp folder. This did not break anything, but it took awhile before windows nt, recovered from this ( worked at normal speed again) This was not LMMS related.

My vst folder on Linux, was a total mess. So I cleaned that folder out. Now every vst has its own folder.
After this I did run that synth1 exe file, because if I don't, synth1 wont find the external zip banks.

Let me make clear, that it was entirely my own fault, not an issue with synth1, nor LMMS.
But because I have so many external zipbanks for Synth1, finding that one preset I used, if I don't have a clue from which zipbank it came, is a challenge to say the least.

Because of this, I was hoping lmms would remember, which preset I used, but from this topic I learned it does not.
Looking back, I know what I should have done.
Write down the names of the synth1 presets I used. Then clean out that folder.
Then run that exe file again.

About two months ago, I reinstalled openSUSE. I then copied back, that messy vst folder and my projects. ( I had backed everything up)
After running that exe file, every thing worked fine again.

The shit only hit the fan, after I cleaned things up. So most likely I deleted a file, I should not have deleted.
(or should not have moved)

Re: Synth1 I lost the presets

Posted: Thu Mar 12, 2015 3:21 pm
by Gps
This is another older project, and the error I get when loading it. Synth1 does not work in this one.
Its not important, because I already fixed the important (to me ) files.
This message is caused by my cleaning up.

The plugin "dummy" wasn't found or could not be loaded!
Reason: "Cannot load library /home/guus/lmms2/lmms/lmms2/bin/../lib/lmms/dummy: (/home/guus/lmms2/lmms/lmms2/bin/../lib/lmms/libdummy.so: kan gedeeld objectbestand niet openen: Bestand of map bestaat niet)

Re: Synth1 I lost the presets

Posted: Thu Mar 12, 2015 9:38 pm
by Sti-Jay
Gps wrote:Can I look into the mppz file and see the name of the synth1 preset it tries to load ?
Yes, if LMMS loads the correct preset it must have saved it. Computers doesn't perform magic :p Where in the mmpz it is stored and how it is written or you could decode it I have no clue :(

Re: Synth1 I lost the presets

Posted: Fri Mar 13, 2015 1:38 am
by Gps
Well now I am starting to become confused.

But you don't have to decode it, if you use the right text editor. For me on linux some pdf viewer did the trick.

But caLRo said, its not stored in the lmms file.

Re: Synth1 I lost the presets

Posted: Fri Mar 13, 2015 7:52 am
by caLRo
Gps wrote:Well now I am starting to become confused.

But you don't have to decode it, if you use the right text editor. For me on linux some pdf viewer did the trick.

But caLRo said, its not stored in the lmms file.
What I meant was that Synth1 extracts the presets from the zipbanks to a temp folder, and uses them from there. It cannot manipulate the preset without extracting, just like you cannot edit a file that is stored in a compression format (zip, rar, etc.) without extracting it first.

But I have no idea how Synth1 or LMMS stores path information that points to the presets used. Either Synth1 or LMMS should have given an error message if a preset wasn't found. That message should inlcude the path in which it was searching for the preset. I believe this is how some DAWs like FL Studio work.

Re: Synth1 I lost the presets

Posted: Fri Mar 13, 2015 10:35 am
by musikbear
i looked at a mmp with synth1, and it apears as if the 'preset' name is embedded in the vst-chunk, a 170k char binary part of a project, with vst.
I am trying to get head & tail in that, but..

Re: Synth1 I lost the presets

Posted: Fri Mar 13, 2015 3:08 pm
by Gps
caLRo wrote:
Gps wrote:Well now I am starting to become confused.

But you don't have to decode it, if you use the right text editor. For me on linux some pdf viewer did the trick.

But caLRo said, its not stored in the lmms file.
What I meant was that Synth1 extracts the presets from the zipbanks to a temp folder, and uses them from there. It cannot manipulate the preset without extracting, just like you cannot edit a file that is stored in a compression format (zip, rar, etc.) without extracting it first.

But I have no idea how Synth1 or LMMS stores path information that points to the presets used. Either Synth1 or LMMS should have given an error message if a preset wasn't found. That message should inlcude the path in which it was searching for the preset. I believe this is how some DAWs like FL Studio work.
When I first opened the old project, I did get an error, that it could not load the vst, with a path, but the path was not complete, and had points .... in it
I assume this was because the path was too long, for the space it had, to display the path.

Re: Synth1 I lost the presets

Posted: Fri Mar 13, 2015 3:32 pm
by Gps
musikbear wrote:i looked at a mmp with synth1, and it apears as if the 'preset' name is embedded in the vst-chunk, a 170k char binary part of a project, with vst.
I am trying to get head & tail in that, but..
There are 10 types of people. Those who understand binary, and those who don't ;)

Serious though, of course thank you for your help. And if its binary, I might be screwed.

That will take far more time to decipher then any of us is willing to put into it.

I will however give it a try myself, now I understand its in there some were.

Although that was on windows, I did managed to read whats inside an .dll file with the right text editor, so maybe I can find something, that can make that binary part readable.
If I remember right, notepad did not do the trick, that gave a lot of not readable stuff, but some hex editor did.

For those confused about the 10 types of people, its an old computer ( binary) related joke.
Binary 10 = 2 :P