How to play Far Cry 5 on GNU/Linux tutorial
Please note: This tutorial will not work with uPlay as I was unable to get uPlay working, so I pirated Far Cry 5 to test.
- OS: Fedora 28 (KDE Plasma spin)
- CPU: Intel i5 4690 @ 3.5GHz
- GPU: NVIDIA GTX 1070 on proprietary drivers
- RAM: 16GB
- Wine-Staging 3.8 or higher (older versions also work, but I'm not going back to check)
- 64-bit DXVK 0.53 or higher
- Lutris (Handles DXVK, manages Wine versions, creates Wine prefixes for you, has pretty icons, blah...)
- Land and water vehicles do not steer. You need to use autodrive.
How to (manual):
Download the latest proprietary driver for Nvidia.
Set up the wine prefix with the terminal:
$ WINEPREFIX='/dir/to/wine/prefix' WINEARCH=win64 wineboot
$ WINEPREFIX='/dir/to/wine/prefix' winetricks xact
$ WINEPREFIX='/dir/to/wine/prefix' winecfg, click on the 'Libraries' tab and set xaudio2_0 to xaudio2_9 to
- Download DXVK 0.53 or higher from https://github.com/doitsujin/dxvk/releases (or compile it yourself for the absolute latest version) and extract the 'x64' folder, then run
$ WINEPREFIX='/dir/to/wine/prefix' bash '/dir/to/dxvk/setup_dxvk.sh'. As a warning, that script creates a symbolic link to 'dxgi.dll' and 'd3d11.dll', so if you delete those files, Far Cry 5 will not work. If you wish to override the old 'dxgi.dll' and 'd3d11.dll' files within your wine prefix, you may do so by copying them into your Wine prefix at the following directory
YOUR_WINE_PREFIX/drive_c/windows/system32/, then run
$ WINEPREFIX='/dir/to/wine/prefix' winecfg, go to the 'Libraries' tab and set 'dxgi' and 'd3d11' to
Play Far Cry 5!
$ WINEPREFIX='/dir/to/wine/prefix' wine '/dir/to/FarCry5.exe'
How to (Lutris):
Manage the wine runner by clicking on 'Lutris' in the top bar > 'Manage runners' > scroll down to Wine and click 'Manage versions' -> Check 'staging-3.8' or higher (please do not do anything after checking. It is downloading, even though it looks like nothing is happening) and after it's finished downloading, click 'OK'. Close the 'Manage runners' window, too.
Add the game by clicking on the '+', set the name to 'Far Cry 5' and for the runner select 'Wine (Runs Windows games)'. Go to the 'Game options' tab and set the executable to 'FarCry5.exe' (FC5/bin/FarCry5.exe), then click 'Browse...' next to Wine prefix and create a new folder inside of the Far Cry 5 directory called 'wine' (this is the name of the wine prefix, call it whatever really) and click 'OK', then set the Prefix architecture to '64-bit'. Go to the 'Runner options' tab and set the Wine version to staging-3.8 or higher, check 'Enable DXVK' and set the DXVK version to 0.53 or higher (at the time of writing, DXVK 0.53 didn't show up in the list, so you had to manually type in '0.53' in the textbox for it to download). Finally, click on 'Save'.
Right-click on the newly added Far Cry 5 tile and select 'Winetricks', then select 'Select the default wineprefix' -> 'Install a Windows DLL or component' -> Check on the 'xact' package, click 'OK', then when Winetricks shows up again, close it.
Double-click on Far Cry 5 and play.