How to save wine libraries config

Questions about Wine on Linux
Locked
game12138
Level 2
Level 2
Posts: 23
Joined: Wed Oct 10, 2018 10:35 pm

How to save wine libraries config

Post by game12138 »

I use winetircks to install vcrun2019, winetricks create a lot config.
if I install vcrun2019 without winetricks, there are nothing config.
how can I install vcrun2019 without winetricks, and create those config ?
新建位图图像.jpg
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: How to save wine libraries config

Post by jkfloris »

The Dll overrides are stored in the registry
wine regedit → HKEY_CURRENT_USER → Software → Wine → DllOverrides

You can add/import/export an override with regedit or use the command line:

Code: Select all

# Add testdll as an override:
wine reg add 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v testdll /t REG_SZ /d native

# Export / save all dll overrides as overrides.reg:
wine reg export 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' overrides.reg

# Import overrides.reg
wine reg import overrides.reg
Locked