Total War: SHOGUN 2

Total War: SHOGUN 2

Not enough ratings
Fixing the Linux version
By MadMat
This guide describes step by step how to fix the Linux version on Debian-based distributions like Ubuntu.
   
Award
Favorite
Favorited
Unfavorite
Prerequisites
Install the required software.

Debian/Ubuntu:
sudo apt install git build-essential gcc-multilib
Get the repository with the fix
There is a GitHub repository with a fix: https://github.com/GitoMat/Shogun2-Linux-Fix
The following commands create a folder and download the repository contents to your computer.

Apply the fix
Switch to the directory you have cloned the repository to:

cd Shogun2-Linux-Fix

The easiest way is then to build and install the fix libraries with the following command:

sudo make clean all

This will place the fix libaraies in /opt/shogun2-fix.

Finally copy the replacement launch script to the game folder (this would have to be re-done were the game files updated e.g. by verifying the local files):

cp Shogun2.sh $(find ~/.steam -name Shogun2.sh 2>/dev/null)
2 Comments
Seseragi-san 3 Mar @ 9:06am 
Here's how I managed to fix mine on Arch. I had no /opt/shogun2-fix folder so
I manually made a folder in /opt/ and then moved everything there.
shoutout also to this comment: protondb.com/app/34330#X2XXEjK8zZ

sudo mkdir /opt/shogun2-fix
sudo mv * /opt/shogun2-fix
cd
cd /opt/shogun2-fix
sudo make clean all

and finally copied the Shogun2.sh and replaced it with the one in the game folder.

Also Shogun 2 launch option:
LD_PRELOAD=/opt/shogun2-fix/libc_mprotect.so:/opt/shogun2-fix/libc_dlopen_mode.so %command%
ssssss 19 Jan @ 2:14am 
Hi, Thankyou for posting this.

The output of the find command had spaces for me, so I manually ran the cp with quotes.