brezerk / q4wine

Q4Wine is a Qt GUI for W.I.N.E. It will help you manage wine prefixes and installed applications.
http://q4wine.brezblock.org.ua/
GNU General Public License v3.0
207 stars 40 forks source link

Is it possible to see which settings have been applied to a prefix with winetricks? #111

Closed lfir closed 6 years ago

lfir commented 7 years ago

Hello, I'd like to know if one can check which apps and settings have been applied to a prefix using winetricks from q4wine? Regards.

brezerk commented 7 years ago

Hi @Asta1986 i think so. There is a request for this: #106

I have created a PoC for this but it is kinda raw yet. Will try to get it more stable soon.

lfir commented 7 years ago

I see. That would be a nice addition IMHO since some apps require quite a few tweaks and back and forth with the changes made with winetricks. Are you going to try to parse winetricks.log?

brezerk commented 7 years ago

Well... it is a bit complicated :)

There is a standard option avaliable for winetricks:

list-installed        list already-installed verbs

It works pretty well, however it does not seems to be listing the installed settings verbs:

[ himera ] brezerk@pts/3:15  ~ $
> 08/03/17 10:16:13 EEST > ~/.config/q4wine/winetricks list-installed                  
------------------------------------------------------
You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20170614-next - sha256sum: 2a3ba95fa9f98c54db825fc0db1eaf5b318eaebdfcb461a9a8783fba687a3267 with wine-2.10 (Staging) and WINEARCH=win64
corefonts
d3dx9_36
d3dx9_42
eve
vcrun2005
vcrun2008
vcrun2010
xinput

I don't really like the idea of parsing the log files, since they are not really representative. It will be nice to create feature request for Winetricks https://github.com/Winetricks/winetricks/issues

brezerk commented 6 years ago

Hi

Requested functionality has been implemented with following commit: https://github.com/brezerk/q4wine/commit/bb57dd44be99c9f3a66d9e8f327bc085d6b2e9ad

Example: image

Installed items are displayed with (application-x-ms-dos-executable) icon.

Note 1: q4wine is reusing your current system's icons, so icons could differ from the attached image.

Note 2: You will need to run 'Refresh Winetricks application list' in order to update the database.

Note 3: since winetricks currently does not report applied settings list, it is impossible to check which settings have been applied to a prefix.

Let me know if you have any questions.

Thanks.

lfir commented 6 years ago

Thanks brezerk, q4wine is awesome. I can't believe I've discovered it only a few months ago.

brezerk commented 6 years ago

You are welcome. Glad you found it useful.

Closing. Reopen if needed.

lfir commented 6 years ago

Hey, just letting you know I've opened an issue about this on the winetricks repo: https://github.com/Winetricks/winetricks/issues/936 Best regards.

brezerk commented 6 years ago

Subscribed. Thanks.