Contents

How to Use Protontricks

What is protontricks

Protontricks is a simple wrapper script that allows you to easily run Winetricks commands for Steam Play / Proton games. This is often useful when a game requires closed-source runtime libraries that are not included with Proton.

Winetricks is an easy way to work around problems in Wine. It has a menu of supported games / apps for which it can do all the workarounds automatically. It also allows the installation of missing DLLs and tweaking of various Wine settings.

How to install protontricks

Arch based Linux distros

  1. Open the terminal, then copy and paste these commands:
1
2
3
sudo pacman -S python-pip python-pipx python-setuptools python-virtualenv
python3 -m pip install --user pipx
python3 -m pipx ensurepath
  1. Close and reopen the terminal again.

  2. Install protontricks using this command:

1
pipx install protontricks

Debian and Ubuntu based Linux distros

  1. Open the terminal, then copy and paste these commands:
1
2
3
sudo apt install -y python3-pip python3-setuptools python3-venv
python3 -m pip install --user pipx
python3 -m pipx ensurepath
  1. Close and reopen the terminal again.

  2. Install protontricks using this command:

1
pipx install protontricks

Fedora

  1. Open the terminal, then copy and paste these commands:
1
2
3
sudo dnf install -y python3-pip python3-setuptools python3-libs
python3 -m pip install --user pipx
python3 -m pipx ensurepath
  1. Close and reopen the terminal again.

  2. Install protontricks using this command:

1
pipx install protontricks

protontricks graphical user interface

Protontricks has a graphical user interface that can easily get the App ID of your installed games, then you can use winetricks with these games.

How to use protontricks GUI

  1. Open the terminal, and type this command:
1
protontricks --gui

then choose the installed game from the list, and press OK

protontricks GUI picture1
  1. Select the default wineprefix and press OK
protontricks GUI picture2
  1. Pick Install a Windows DLL or component and press OK
protontricks GUI picture3
  1. Select all the components that you want to install, and press OK
protontricks GUI picture4

How to use protontricks

I will give you an example of a game that does not run out of the box on Proton and requires additional workarounds.

The name of this game is Her Story. The game requires some multimedia codecs to run the videos.

According to protondb.com the game requires Proton 4.11, and some closed-source runtime libraries to be installed using Protontricks.

protondb
  1. You need to change Proton version to Proton 4.11

  2. Open the game once, and close it again.

  3. Type this command in the terminal:

1
protontricks 368370 ffdshow l3codecx winxp directshow
Info
  • protontricks is the application that we installed before.

  • ffdshow - l3codecx - directshow are the closed-source runtime libraries that need to be installed using protontricks.

  • winxp is used to tell protontricks to change the Windows version of Proton to winxp.

  • 368370 is the App ID of the game

What is App ID

An Application (or App) is the main representation of a product on Steam. An App generally has its own store page, it’s own Community Hub, and is what appears in customers' libraries.

Each App is represented by a unique ID called an App ID. Generally a single product will not span multiple Applications.

How to get App ID of a game

  1. Go to this link » https://steamdb.info/apps/
  2. Search for the game by its name.
steamdb website