simons-public / protonfixes

A module for applying fixes at runtime to unsupported games with Steam Proton without changing game installation files
https://simons-public.github.io/protonfixes/
Other
233 stars 114 forks source link

Implement wine registry edit #41

Closed pchome closed 6 years ago

pchome commented 6 years ago

One more useful feature. util.regedit_add('key_name', 'value_name', 'data', type=None) ? Can be used for e.g.

Describe the solution you'd like This function should call $ wine reg add $key_name$ /v $value_name$ /d $data$ /f.

Describe alternatives you've considered More complex alternative is to use $ wine regedit /S and import a fix.reg file.

Additional context $ wine reg /?

Usage:
  REG [operation] [parameters]

Supported operations:
  ADD | DELETE | IMPORT | EXPORT | QUERY

For help on a specific operation, type:
  REG [operation] /?

$ wine reg add /?

REG ADD key_name [/v value_name | /ve] [/t type] [/s separator] [/d data] [/f]

$wine reg add 'HKEY_CURRENT_USER\Software\Wine\AppDefaults\Launcher.exe\DllOverrides' /v msvcp110 /d native /f

pchome commented 6 years ago

One more alternative is to use custom verbs: winetricks /path/to/verbs/verb.