protontricks icon indicating copy to clipboard operation
protontricks copied to clipboard

Protontricks GUI would be nice

Open setsunati opened this issue 5 years ago • 5 comments

You can make a simple GUI wrapper that will use Winetricks GUI and add this option:

https://i.imgur.com/WihvvGO.png

I can then go ahead and select whatever dependencies i want to install using Winetricks GUI which will install it all to the typed Steam Game ID.

setsunati avatar Sep 05 '18 14:09 setsunati

I feel like I should get to addressing this, I currently would love this as a feeature for those who'd want it, perhaps a full fledged GUI written in Python. However, the question would be, what kind of API it would make use of. I personally may prefer Qt.

Sirmentio avatar Sep 19 '18 00:09 Sirmentio

Whichever one takes the least effort & looks the nicest. ;)

lucifertdark avatar Sep 19 '18 06:09 lucifertdark

Qt GUI would be amazing! You could use PyQt as you are good at Python :+1:

adojck avatar Nov 16 '18 20:11 adojck

Perhaps PyQt could work, I'm not quite knowledgeable in using it for GUI creation, it could take quite a bit of effort for me to create such a thing, not that contributions aren't welcome.

Sirmentio avatar Nov 21 '18 00:11 Sirmentio

Because of the way subprocess is called with sys.argv[2] the winetricks GUI already works if you you use protontricks APPID --gui.

Otherwise, you could just use Python subprocess to call zenity to input the Steam Game ID since zenity is what winetricks uses to display the GUI pictured above:

zenity --entry --title="Game ID" --text='Enter the Steam Game ID:'

Edit: Added zenity dialog in a pull request

simons-public avatar Nov 22 '18 06:11 simons-public