winecfg. Where is the configurations file

Questions about Wine on Linux
Locked
Opako
Level 3
Level 3
Posts: 74
Joined: Mon Jun 08, 2020 9:23 am

winecfg. Where is the configurations file

Post by Opako »

Hello,

When we open winecfg there are all settings we need for the wineprefix there.

My question is:
Where are this settings saved? Is there anything like a <wine.cfg> or something similar, where all this settings are listed?

I ask, because I want to "import" the settings of another prefix.

So I would like to open the txt-file where wine has saved it settings from winecfg and add the settings from the other prefix.

So my question is:
In which file does winecfg save its configuration?

Thank you.
spoon0042
Level 6
Level 6
Posts: 570
Joined: Thu Dec 24, 2009 11:00 am

Re: winecfg. Where is the configurations file

Post by spoon0042 »

Any winecfg setting is stored in the registry, afaik. I'm not sure if everything is there but it looks like HKCU\Software\Wine has the things you would want. If you want per-application settings those appear to be under AppDefaults\appname there. So you can export any or all of those to a .reg file then import that in another prefix if you want. (Simply 'regedit foo.reg' should do that.)
Locked