Notifications
Clear all

thread about favourites lost the TE delete and i can not read answer from Shane. can you please answer again ?

17 Posts
4 Users
1 Likes
753 Views
user476565
(@user476565)
Estimable Member
Joined: 3 years ago
Posts: 97
Topic starter  

I have the problem too, that after the install_unify my favourites are all lost. And Shane answer me but i can not read it because the thread opener delete the thread. I am not sure if a full install_unify overwrite this always. I remember now i have my data directory not  on drive C. so thisfavortite fle is on drive G. it is no the the first time i lost my favourites. i think  post was also usefull for others to avoid favorites loss. not good that thread opener delete it. I install the guru.dat with drag to unify

This topic was modified 7 months ago 2 times by user476565

   
Quote
Erik van Wees
(@erik-van-wees)
Eminent Member
Joined: 3 years ago
Posts: 44
 

I deleted that thread because it was misunderstood:

All my favourited PRESETS are all still there ... So no worry there on my side


   
ReplyQuote
getdunne
(@getdunne)
Illustrious Member Admin
Joined: 3 years ago
Posts: 3670
 

@user476565

Erik's new thread is here: https://forums.pluginguru.com/postid/13212/

 


   
ReplyQuote
user476565
(@user476565)
Estimable Member
Joined: 3 years ago
Posts: 97
Topic starter  

@getdunne 

its strange. when i click on the 1.8 on the heart to list favourites nothing is show. but i have the file favourites.xml and the 1.8 have the correct path to G:\pluginguru\unify . or did 1.8 read this file from otherplace ? there is also a dffrence between my own user files and your library. your library use 2 lines user library 1 line

<?xml version="1.0" encoding="UTF-8"?>

<Favorites>
<Patch Library="Unify Standard Library" Name="BASS - Airwave Dance 02"
Rating="1"/>
<Patch Library="User Library" Name="LP guitar L1" Rating="1"/>
<Patch Library="User Library" Name="LP guitar double" Rating="1"/>
</Favorites>

 

 

 


   
ReplyQuote
getdunne
(@getdunne)
Illustrious Member Admin
Joined: 3 years ago
Posts: 3670
 
Posted by: @user476565

@getdunne 

its strange. when i click on the 1.8 on the heart to list favourites nothing is show. but i have the file favourites.xml and the 1.8 have the correct path to G:\pluginguru\unify . or did 1.8 read this file from otherplace ? there is also a dffrence between my own user files and your library. your library use 2 lines user library 1 line

<?xml version="1.0" encoding="UTF-8"?>

<Favorites>
<Patch Library="Unify Standard Library" Name="BASS - Airwave Dance 02"
Rating="1"/>
<Patch Library="User Library" Name="LP guitar L1" Rating="1"/>
<Patch Library="User Library" Name="LP guitar double" Rating="1"/>
</Favorites>

Clicking the heart icon in Unify's patch browser selects patches which you had marked as "favorites" by clicking on the heart icon beside each patch name. @erik-van-wees was talking about something completely different.

Please zip your favorites.xml file together with your Presets.db file, post the .zip file here, and I will try to restore your favorite patches for you.


   
ReplyQuote
user476565
(@user476565)
Estimable Member
Joined: 3 years ago
Posts: 97
Topic starter  

@getdunne 

 

the presets.db file is new create from 1.8. when you not see in my few lines i post, then it is maybe not so easy. i can read the names and create it new then. then see whats diffrent. or maybe the file is new create on a diffrent place


   
ReplyQuote
user476565
(@user476565)
Estimable Member
Joined: 3 years ago
Posts: 97
Topic starter  

@getdunne 

its really strange i create new fovorites to test and quit standalone and restart. I delete the favorites.xml but i find no new create standalone. i search in whole c and find only a old used one. see in screenshot. here can see also unify is with 100% setting correct scaled(to 175% ) on my win 4k screen.


   
ReplyQuote
getdunne
(@getdunne)
Illustrious Member Admin
Joined: 3 years ago
Posts: 3670
 

@user476565

I'm busy answering questions in the YouTube livestream chat right now. Will answer later.


   
ReplyQuote
user476565
(@user476565)
Estimable Member
Joined: 3 years ago
Posts: 97
Topic starter  

@getdunne I still have the problem. I did not find the used favorites.xml  (i delete the unused in c too), but i can set new favourites and show. so how it is stored ?

 

This post was modified 7 months ago by user476565

   
ReplyQuote
user476565
(@user476565)
Estimable Member
Joined: 3 years ago
Posts: 97
Topic starter  

@getdunne please can you answer how unify store the favorites ?. I notice favorite.xml is not used and when i chane a favorite it change the file time of presets.db . so it seem on newer unify the favorites are store only in presets.db . and what can i do to prevent on a later update the loss of favorites ?


   
ReplyQuote
getdunne
(@getdunne)
Illustrious Member Admin
Joined: 3 years ago
Posts: 3670
 

@user476565

Whether or not a patch is marked as a "favorite" is stored as a number in a field in the patch database (Presets.db) called "rating". The default value 0 means the patch is NOT a favorite; anything else means it IS a favorite.

The file favorites.xml is only created when you trigger a FULL database-rebuild in Unify. The file contains an entry for all patches in the database with a nonzero rating value. Then the Presets.db file is deleted and re-created by reading metadata from every patch in every library; the rating field will be assigned the default value of zero. Finally, the favorites.xml file is read, and the rating field for each listed patch is set to 1.

If you never trigger a FULL database rebuild (by holding down Option/ALT when clicking the lightning-bolt icon), the values in the rating column should be left unchanged. I am still trying to understand why this does not always work as intended, so detailed reports of cases where favorites seem to get lost are very useful.


   
ReplyQuote
user476565
(@user476565)
Estimable Member
Joined: 3 years ago
Posts: 97
Topic starter  

@getdunne 

my favorite get lost after the full 1.8 install. I do drag the .guru file to unify. I also get favorites loss after many months ago. i was not the only that lost it month ago. what was the problem month ago ?. maybe it happen now only when the libraries are not on C: ?. The favorite.xml i had on G: outdate. maybe problem is when do build a full database sometimes and later add favorites and then favorites.xml is not upto date. to avoud favorite loss during update

I do some drag and drop tests of the unify 1.8 2.5 GB .guru file. i notice there is no new presets.db create on G. It need over 40 sec and later come message that new content is create. but no update presets.db file. i use studio one. maybe i should try other DAW.

Only alt and lightning-bolt icon create new presets.db and favorites.xml

 

so seem the guru file  drag and drop miss the create of a full database rebuild

 

 


   
ReplyQuote
getdunne
(@getdunne)
Illustrious Member Admin
Joined: 3 years ago
Posts: 3670
 
Posted by: @user476565

my favorite get lost after the full 1.8 install...

...maybe it happen now only when the libraries are not on C: ?.

If you performed a FULL install of Unify v1.8, and specified a new location for the main Unify folder (e.g., on drive G: instead of C:), then Unify would create a new Presets.db file in the new location. This new Presets.db file (Unify patch database) would not have any of your favorites marked.

The procedure for moving Unify's main data folder to a new location is described on this page in the Unify manual. You must copy the Presets.db file from the old location to the new one. From what you have written, it sounds like you did not do that.

I also get favorites loss after many months ago. i was not the only that lost it month ago. what was the problem month ago ?

The favorite.xml i had on G: outdate...

That is a temporary file. You should ignore it.

I do some drag and drop tests of the unify 1.8 2.5 GB .guru file. i notice there is no new presets.db create on G

Only alt and lightning-bolt icon create new presets.db and favorites.xml

so seem the guru file  drag and drop miss the create of a full database rebuild

Correct. In older versions of Unify, using a .guru file used to trigger a FULL rebuild of the patch database, and hence favorites could be lost. In recent versions, the database is only updated, not rebuilt, so favorites should be preserved.

i use studio one. maybe i should try other DAW

This might be DAW-related, but I would be surprised. A bigger problem is that you might not have write-privileges in the folder where you have put Unify's main data folder. That will cause all sorts of problems.

If you don't know how to check and update folder permissions in Windows 10, I recommend that you search the web for instructions in your language and locale.


   
ReplyQuote
user476565
(@user476565)
Estimable Member
Joined: 3 years ago
Posts: 97
Topic starter  

@getdunne I did not change the data folder later. I choose it for the first install of unify to G. I use windows defender ransomware protect and put studio one on white list.  so i can access all folders. and if unify can not write to the folder does there not come a error message ?. best is when come a error message requester with a retry button. this i see on near all programs.

It is important to know that the favorites are store in the presets.db. so when create a zip file before update nothing can lost. i do not backup prests.db before because i thought it is create from the favorites.xml and preset files in the folders

This post was modified 7 months ago 2 times by user476565

   
ReplyQuote
RooneyTunes
(@rooneytunes)
New Member
Joined: 9 months ago
Posts: 3
 

I have added favorites and have done a FULL rebuild of the patch database and both the favorites.xml and the presets.db were unaffected. The files were not touched at all. Their modified date show last modified at 11/4/2021. i am running the latest version of Unify 1.8.0 on Windows and running it in standalone.

Where are the favorites stored so I can backup this file?

This post was modified 6 months ago by RooneyTunes

   
ReplyQuote
getdunne
(@getdunne)
Illustrious Member Admin
Joined: 3 years ago
Posts: 3670
 

@rooneytunes

Favorites are stored as entries in the patch database Presets.db. Every row in that database (which you can open with DB Browser for SQLite) has an integer column called rating, whose default value is 0, but will be set to 1 for patches marked as favorites. All other columns consist of data from the patch files, so they can be completely rebuilt by reading and parsing the patch files; this is what happens when you perform a Full rebuild. The nonzero rating values cannot be rebuilt this way, because they were added by you, when you clicked the "heart" icon. So, before deleting Presets.db, Unify first creates a temporary favorites.xml file, listing all the presets you had marked as favorites. After rebuilding the presets database from scratch, all the rating values will be 0 again, so Unify reads back the favorites.xml file to re-mark them with a 1 in the rating column.

If you didn't see a change to the "data modified" for those two files after performing a full rebuild, then EITHER:

  • You're not looking at the current files, which are in the Libraries folder under Unify's current main data folder, OR
  • You have a folder-permissions problem, and Unify is not able to update the files correctly.

To locate Unify's current main data folder, go to Settings and click the "Open..." button (the folder path is displayed just to the right of it). Go one level down, into the Libraries sub-folder, and check there for Presets.db and favorites.xml.

If you have patches marked as favorites now, and you want to be sure to preserve them, make a safe copy of Presets.db first. If necessary you can zip and post it here, and I can help you re-apply favorites to the replacement Presets.db if necessary.

As I said above, favorites.xml is a temporary file. You will not normally need to preserve that one, but go ahead and do so anyway if you wish. In case you have a folder-permissions issue, it might prove useful.


   
ReplyQuote
RooneyTunes
(@rooneytunes)
New Member
Joined: 9 months ago
Posts: 3
 

Thank you, Shane, for a thorough answer. I was looking on my C:\ drive and not my E:\ drive where I have my Unify content stored and now I see the presets.db file and it shows newly modified when I select a favorite in Unify.

 

Thank you.

James


   
getdunne reacted
ReplyQuote
Share: