Feral Interactive native Linux version in 2023 (Arch)
Basic info
Deus Ex Mankind Divided has a native Linux OpenGL port released on November 3 2016 by Feral Interactive.
Although this port is slower than the Windows version (due to being OpenGL based), and there's usually no reason to choose it over Proton, someone might still want to run this version for nostalgic, historical, stability, moral (and so on) reasons.
By default, this version (as of October 2023) doesn't start on current systems.
Solution
You'll most likely hit the following error:
libfmodL.so.7 => not found
libfmodstudioL.so.7 => not found
libicui18n.so.51 => not found
libicuuc.so.51 => not found
libicudata.so.51 => not found
libCoreFoundation.so.476 => not found
libcef.so => not found
libpdf.so => not found
All these libraries are bundled with the game, they are just (for whatever reason) not loaded. The first possible way to fix this is using the following launch parameter:
LD_LIBRARY_PATH="../lib/x86_64/:$LD_LIBRARY_PATH" %command%
The second possible way is modifying the "DeusExMD.sh" file located in the game root folder:
LD_LIBRARY_PATH="${GAMEROOT}/lib/x86_64/:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH
Add this to line 19 rigth above "while [ $# -gt 0 ]; do"
So it looks like this (this is not the complete file!):
#!/bin/bash
# ====================================================================
# Generic Feral Launcher script
# If you have useful edits made for unsupported distros then please
# let us know at <[email protected]>
# 'Magic' to get the game root
GAMEROOT="$(cd "${0%/*}" && echo "$PWD")"
# Pull in game specific variables
. "${GAMEROOT}/config/game-settings.sh"
# The game's preferences directory
GAMEPREFS="$HOME/.local/share/feral-interactive/${FERAL_GAME_NAME_FULL}"
# Check for arguments
# Note: some of these can be set at a system level to override for
# all Feral games
LD_LIBRARY_PATH="${GAMEROOT}/lib/x86_64/:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH
while [ $# -gt 0 ]; do
arg=$1
case ${arg} in
--fresh-prefs) FERAL_FRESH_PREFERENCES=1 && shift ;;
--system-asound) FERAL_SYSTEM_ASOUND=1 && shift ;;
--version) FERAL_GET_VERSION=1 && shift ;;
*) break ;;
esac
done
The game should now start without errors. Please note that there's some first-run process (be it shader compilation, extracting files or whatever) that needs to be completed. If the game crashes during this process, just start it again, the process will continue. Might crash several times.
This guide was created by its original author on the Steam Community. Are you the author and want it removed? Request removal.