Every article tag can be clicked to get a list of all articles in that category. Every article tag also has an RSS feed! You can customize an RSS feed too!
protontricks a winetricks wrapper script for proton
Koopacabras Feb 18, 2019
I just found this works really well and you don't have to worry about wine version mismatch, and also you don't need to input WINEPREFIX .

installation

sudo python3 -m pip install git+https://github.com/Matoking/protontricks.git


usage

protontricks APPID command

ie

protontricks 292030 winecfg

for winetricks zenity gui

protontricks 292030 --gui

you can search APPID with
 protontricks -s NAME


it is a fork of this https://github.com/Sirmentio/protontricks , but that project is abandoned.
Sputnik_tr_02 Feb 18, 2019
How can we use this for external libraries? I have 3 steam libraries on different partitions, when i search for a game it finds it however when i try to launch winecfg it displays an error.

Like so:

user@user-pc:~$ protontricks -s stalker
Found the following games:
S.T.A.L.K.E.R.: Call of Pripyat (41700)
S.T.A.L.K.E.R.: Clear Sky (20510)
S.T.A.L.K.E.R.: Shadow of Chernobyl (4500)

To run protontricks for the chosen game, run:
$ protontricks APPID COMMAND

NOTE: A game must be launched at least once before protontricks can find the game.
user@user-pc:~$ protontricks 41700 winecfg
Traceback (most recent call last):
  File "/usr/local/bin/protontricks", line 11, in <module>
    load_entry_point('protontricks==1.1.1+3.g06c86eb', 'console_scripts', 'protontricks')()
  File "/usr/local/lib/python3.6/dist-packages/protontricks/cli.py", line 137, in main
    steam_path=steam_path, steam_apps=steam_apps, appid=args.appid)
  File "/usr/local/lib/python3.6/dist-packages/protontricks/steam.py", line 293, in find_proton_app
    steam_path=steam_path, steam_apps=steam_apps, appid=appid)
  File "/usr/local/lib/python3.6/dist-packages/protontricks/steam.py", line 254, in find_steam_proton_app
    proton_appid = re.search(appid_regex, appinfo).group(2)
AttributeError: 'NoneType' object has no attribute 'group'
user@user-pc:~$
Koopacabras Feb 18, 2019
Quoting: Sputnik_tr_02How can we use this for external libraries? I have 3 steam libraries on different partitions, when i search for a game it finds it however when i try to launch winecfg it displays an error.

Like so:

user@user-pc:~$ protontricks -s stalker
Found the following games:
S.T.A.L.K.E.R.: Call of Pripyat (41700)
S.T.A.L.K.E.R.: Clear Sky (20510)
S.T.A.L.K.E.R.: Shadow of Chernobyl (4500)

To run protontricks for the chosen game, run:
$ protontricks APPID COMMAND

NOTE: A game must be launched at least once before protontricks can find the game.
user@user-pc:~$ protontricks 41700 winecfg
Traceback (most recent call last):
  File "/usr/local/bin/protontricks", line 11, in <module>
    load_entry_point('protontricks==1.1.1+3.g06c86eb', 'console_scripts', 'protontricks')()
  File "/usr/local/lib/python3.6/dist-packages/protontricks/cli.py", line 137, in main
    steam_path=steam_path, steam_apps=steam_apps, appid=args.appid)
  File "/usr/local/lib/python3.6/dist-packages/protontricks/steam.py", line 293, in find_proton_app
    steam_path=steam_path, steam_apps=steam_apps, appid=appid)
  File "/usr/local/lib/python3.6/dist-packages/protontricks/steam.py", line 254, in find_steam_proton_app
    proton_appid = re.search(appid_regex, appinfo).group(2)
AttributeError: 'NoneType' object has no attribute 'group'
user@user-pc:~$

do you have winetricks installed?? maybe you should file a bug, everything works for me. It found games on a secondary disk (and winecfg works) not the usual $HOME/.local/steam .
Sputnik_tr_02 Feb 19, 2019
Quoting: chancho_zombie
Quoting: Sputnik_tr_02How can we use this for external libraries? I have 3 steam libraries on different partitions, when i search for a game it finds it however when i try to launch winecfg it displays an error.

Like so:

user@user-pc:~$ protontricks -s stalker
Found the following games:
S.T.A.L.K.E.R.: Call of Pripyat (41700)
S.T.A.L.K.E.R.: Clear Sky (20510)
S.T.A.L.K.E.R.: Shadow of Chernobyl (4500)

To run protontricks for the chosen game, run:
$ protontricks APPID COMMAND

NOTE: A game must be launched at least once before protontricks can find the game.
user@user-pc:~$ protontricks 41700 winecfg
Traceback (most recent call last):
  File "/usr/local/bin/protontricks", line 11, in <module>
    load_entry_point('protontricks==1.1.1+3.g06c86eb', 'console_scripts', 'protontricks')()
  File "/usr/local/lib/python3.6/dist-packages/protontricks/cli.py", line 137, in main
    steam_path=steam_path, steam_apps=steam_apps, appid=args.appid)
  File "/usr/local/lib/python3.6/dist-packages/protontricks/steam.py", line 293, in find_proton_app
    steam_path=steam_path, steam_apps=steam_apps, appid=appid)
  File "/usr/local/lib/python3.6/dist-packages/protontricks/steam.py", line 254, in find_steam_proton_app
    proton_appid = re.search(appid_regex, appinfo).group(2)
AttributeError: 'NoneType' object has no attribute 'group'
user@user-pc:~$

do you have winetricks installed?? maybe you should file a bug, everything works for me. It found games on a secondary disk (and winecfg works) not the usual $HOME/.local/steam .

Yes, winetricks is installed on my system. I'll open a bug report on github.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.