Where is "Libraries" stored?

Questions about Wine on Linux
Locked
LMLM
Level 3
Level 3
Posts: 66
Joined: Thu Feb 26, 2015 8:13 pm

Where is "Libraries" stored?

Post by LMLM »

I installed a bunch of things with winetricks then made changes to the "Libraries" tab, and things got worse.

I have a backup of my .wine directory. Where is "Libraries" stored, so I can restore from backup?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Where is "Libraries" stored?

Post by jkfloris »

The entries in the winecfg Libraries tab are stored in the registry in

Code: Select all

HKEY_CURRENT_USER\Software\Wine\DllOverrides
You can also edit this list in the user.reg file. Search for DllOverrides

Code: Select all

$ ls -l
drwxr-xr-x 2 floris floris    4096 16 jan 15:48 dosdevices
drwxr-xr-x 8 floris floris    4096 16 jan 11:04 drive_c
-rw-r--r-- 1 floris floris 3253375 16 jan 15:49 system.reg
-rw-r--r-- 1 floris floris    4078 16 jan 15:48 userdef.reg
-rw-r--r-- 1 floris floris   65340 16 jan 15:48 user.reg

$ grep -A7 -i dlloverrides user.reg 
[Software\\Wine\\DllOverrides] 1673873564
#time=1d929a96d2d4f90
"*api-ms-win-crt-conio-l1-1-0"="native,builtin"
"*api-ms-win-crt-heap-l1-1-0"="native,builtin"
"*api-ms-win-crt-locale-l1-1-0"="native,builtin"
"*api-ms-win-crt-math-l1-1-0"="native,builtin"
"*api-ms-win-crt-private-l1-1-0"="native,builtin"
Locked