You can sign up to get a daily email of our articles, see the Mailing List page!
Support us on Patreon to keep GamingOnLinux alive. This ensures we have no timed articles and no paywalls. Just good, fresh content! Alternatively, you can donate through Paypal, Flattr and Liberapay!
protontricks a winetricks wrapper script for proton
chancho_zombie commented on 18 February 2019 at 4:04 pm UTC

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 commented on 18 February 2019 at 6:18 pm UTC

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:~$

chancho_zombie commented on 18 February 2019 at 7:08 pm UTC

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 commented on 19 February 2019 at 9:14 am UTC

chancho_zombie
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.

Due to spam you need to Register and Login to comment.


Or login with...

Livestreams & Videos
Community Livestreams
  • Crawl About: „StarCrawlers“
  • Date:
See more!
Popular this week
View by Category
Contact
Latest Comments
Latest Forum Posts