Serious Sam 4 Linux DXVK Wine – how to play this game on Linux.
Humanity is under siege as the full force of Mental’s hordes spread across the world, ravaging what remains of a broken and beaten civilization. The last remaining resistance to the invasion is the Earth Defence Force led by Sam “Serious” Stone and his heavily-armed squad of misfit commandos.
Croteam returns with a high-powered prequel to the Serious Sam series that scales up chaos to unprecedented levels. The classic Serious Sam formula is revamped by putting an unstoppable arsenal up against an unimaginable number of enemies that requires players to circle-strafe and backpedal-blast their way out of impossible situations.
Serious Sam 4 Linux DXVK Wine – how to play this game on Linux.
The guys from Croteam disapointed Linux gamers for Serious Sam 4 isn’t available for this operation system this time. All Serious Sam games have Linux version but Seriuos Sam 4. However, you can play it on Linux with some tweaking. let’s start.
For this game you’ll need a particular Proton version, DXVK, some config files editing and file and folders creating.
The first step is to download Proton. You’ll need Proton 4.14 GE 2 which you can download from GloriousEggroll’s GitHub page here. There are reports the game is running fine with Proton 4.15 GE 1 too and you can try it.
If you are using the Steam version of the game, create a ~/.steam/root/compatibilitytools.d
directory if it does not exist and extract the archive in compatibilitytools.d/ folder. Restart Steam and enable proton-ge-custom.
If you are using the GOG version, you have to extract the archive and use the dist folder where you’ll find bin, lib, lib64 and share folders. You should point to Proton and should export the wine prefix where you are installed the game:
export WINEPREFIX="/path/to/the/prefix/"
and
/path/to/proton/bin/wine/ /path/to/the/game/game/exe
You can create a script:
#!/bin/sh
export WINEPREFIX="/path/to/the/prefix/
/path/to/proton/bin/wine/ /path/to/the/game/game/exe
Now you can start the game with double click. But hold for now.
The next step is to install DXVK. If you don’t know how, you can learn from our easy DXVK installation tutorial.
d3dcompiler_47 is also needed for Direct3D11 or Direct3D12 modes. You can install it via:
winetricks d3dcompiler_47
Now enter the game’s root folder (where’s the game exe) and create folder UserData and put there a minimal configuration file UserData/SeriousSam4.ini with the following content:
gfx_strAPI = "Direct3D11";
sfx_strAPI = "OpenAL";
If you are using the Steam version, there’s no need to create SeriousSam4.ini. You can find the file in:
<steamroot>/userdata/<id>/257420/local/SeriousSam4.ini
Note*
When you start the game for the first time, this file will be populated with all the needed settings. Later you can change gfx_strAPI = „Direct3D11“; to gfx_strAPI = „Vulkan“; but be advised – there will be artefacts and graphical glitches.
…………………………………….
Update:
Now you can use the latest Wine and Proton with this option:
ren_bDepthPrepass=0;
It fixes the flickering.
………………………………….
In the game’s root you’ll find a file named UserCfg.lua. Delete it’s content and put the following:
gfx_strAPI = "Direct3D12";
sfx_strAPI = "OpenAL";gfx_strAPI = "Direct3D12";
sfx_strAPI = "OpenAL";
Now go to:
/Content/SeriousSam4/Config/
and edit CheckDriver.lua with the following content.
You can also use ESync for a FPS boost.
You are ready! Now you can play Serious Sam 4 on Linux!!! Enjoy!
- Wine version used in the video: Proton 4.14 GE 2 with ESync enabled.
- DXVK version: 1.7.1
Link to the official DXVK project site – here.
For any questions don’t hesitate to use the comments section bellow.