Contents

How to Use Custom Wine Builds

Note
This article was last updated on 2021-07-31, the content may be out of date.

What is custom wine builds

Wine is an opensource application that anyone can build it from the source code, so you can build older version of wine, and you can build wine with additional patches that can add extra functionality or fix games that do not work on wine installed on you Linux distro. The most popular custom wine builds are wine-tkg, proton-tkg, and proton-GE which will be explained later in this tutorial.

proton-tkg, and proton-GE can be used with Steam, and outside of Steam if you want. Wine-tkg can not be used with Steam.


Why using custom wine builds

  1. Some games need a certain version of wine to work properly.
  2. DotNet from version 4.5 to 4.9 can only be installed only using wine 5.11 or below (currently broken).
  3. Custom wine builds like wine-tkg add some patches for certain games that do not exist with official wine builds.
  4. You can use Proton and Proton-GE outside of Steam to run games from other stores like: GOG and Epic Games.

How to download custom wine builds

You can download wine-tkg, and proton-tkg from this link » https://github.com/Frogging-Family/wine-tkg-git/releases

wine-tkg download page
Notes
  1. The first choice is proton-tkg which can be used the same way as proton-GE, check this tutorial to know more about proton-GE » [link]
  2. The second choice is wine-tkg which can only be installed on Arch, and Arch based Linux distros like: Manjaro, and EndeavourOS.
Tip
​ If you do not use Arch, or you do not want to install wine-tkg on your system, check this repo instead » https://github.com/Kron4ek/Wine-Builds/releases
Kron4ek download page
There are 6 options to choose from for each release:
  1. wine-devel (64bit).
  2. wine-staging (64bit).
  3. wine-staging-tkg (64bit)
  4. wine-staging-tkg (32bit)
  5. wine-staging (32bit).
  6. wine-devel build (32bit).
Notes
  • wine-staging = wine-devel + staging patches.
  • wine-staging-tkg = wine-staging + tkg patches.
  • 64bit wine builds can run 32bit applications and 64bit applications, but 32bit wine builds can run only 32bit applications.

How to extract the compressed file

To extract the compressed file that you downloaded before, right-click on the compressed file, and choose Extract archieve here, autodetect subfolder from Extract sub menu

Extract compressed file
Info
​ These steps might be different based on the desktop environment you use.

How to use the extracted custom wine build

You can use to the extracted custom wine build by pointing to its location like this example:

1
~/Downloads/wine-5.11-staging-amd64/bin/wine ~/Downloads/7z1900-x64.exe

That will open 7z1900-x64.exe using the custom wine build that you downloaded earlier.

Notes
  • Wine will use the default location of wineprefix » ~/.wine if you do not use WINEPREFIX enviornment variable which is explained in this tutorial » [link]

  • Custom wine builds has its own winecfg which can be used like this example:

1
~/Downloads/wine-5.11-staging-amd64/bin/winecfg
  • Winetricks uses the default wine installed on your Linux distro, but you can force winetricks to use custom wine build instead by using WINE enviornment variable like this example:
1
WINE=~/Downloads/wine-5.11-staging-amd64/bin/wine winetricks

Info
​ This workaround can help with installing DotNet from version 4.5 to 4.8 which is broken in wine from version 5.12

How to install DotNet on wine

  1. Download wine version 5.11 from this link » [link]

  2. Extract it as it was explained before » [link]

  3. If you want to install Microsoft .Net framework version 4.5 type this code in the terminal:

1
WINE=~/Downloads/wine-5.11-staging-amd64/bin/wine winetricks dotnet45 -q
Change dotnet45 with whatever version you want to install like:
  • dotnet452
  • dotnet46
  • dotnet461
  • dotnet462
  • dotnet471
  • dotnet472
  • dotnet48

How to use Proton GE outside of Steam

There are a few things you need to know first before we start:
  1. wine and winetricks need to be installed on you system.

  2. You need to install DXVK and VKD3D-Proton manually.

  3. VKD3D is integrated in Wine, but in order to use it, you need to set dxgi to builtin using winecfg after installing DXVK.

  4. VKD3D and VKD3D-Proton are separate projects.

  5. You can not use Proton launch options outside of Steam, but you can use Wine environment variables instead.

  6. You need to define a separate wineprefix.

  7. You need to define the location of the executable of Proton / Proton-GE.

  8. You need to set all xinput libraries to builtin using winecfg, that help using controllers outside of Steam.

    winecfg xinput

(1) To install Proton-GE, check this tutorial » [link]

(2) You can install dxvk using winetricks:

1
WINEPREFIX=~/proton-ge WINE=~/.steam/root/compatibilitytools.d/Proton-6.13-GE-1/files/bin/wine winetricks dxvk191

(3) To install VKD3D-Proton, check this link » https://github.com/HansKristian-Work/vkd3d-proton#building

You can run any game using Proton-GE like this:

1
WINEPREFIX=~/proton-ge ~/.steam/root/compatibilitytools.d/Proton-6.13-GE-1/files/bin/wine [location_of_the_executable_of_the_game]
Notes
  1. WINEPREFIX is used to define a separate wineprefix for Proton-GE, otherwise it will use the default wineprefix location » ~/.wine
  2. WINE is used to define the location of the executable of Proton.


If you have any questions, leave your question down below, and you can contact me directly using my E-mail account or our Matrix room.

You can get notified when we create a new content from our RSS feed, or from our Matrix room.