Table of contents

How to use Protontricks

Published on Jan 4, 2021 by: Ahmed Elsayed

Updated on Mar 13, 2021

 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 & Arch based Linux distros

  1. Open the terminal, and write this command:

  2. sudo pacman -S python-pip python-pipx python-setuptools python-virtualenv
    python3 -m pip install --user pipx
    python3 -m pipx ensurepath

  3. Close and reopen the terminal again.

  4. Install protontricks using this command:

  5. pipx install protontricks

 Debian / Ubuntu & Debian / Ubuntu based Linux distros

  1. Open the terminal, and write this command:

  2. sudo apt install -y python3-pip python3-setuptools python3-venv
    python3 -m pip install --user pipx
    python3 -m pipx ensurepath

  3. Close and reopen the terminal again.

  4. Install protontricks using this command:

  5. pipx install protontricks

 Fedora

  1. Open the terminal, and write this command:

  2. sudo dnf install -y python3-pip python3-setuptools python3-libs
    python3 -m pip install --user pipx
    python3 -m pipx ensurepath

  3. Close and reopen the terminal again.

  4. Install protontricks using this command:

  5. pipx install protontricks

 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 requries 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:

  4. protontricks 368370 ffdshow l3codecx winxp directshow

  • 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

 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:

    protontricks --gui

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

  2. protontricks GUI picture1

  3. Select the default wineprefix and press OK

  4. protontricks GUI picture2

  5. Pick Install a Windows DLL or component and press OK

  6. protontricks GUI picture3

  7. Select all the components that you want to install, and press OK

  8. protontricks GUI picture4

If you want to know more about Proton check these tutorials: