The Long Dark Story Mode

Finally, The Long Dark has been released with the long awaited story mode.
Unfortunately since their last pre-release update "Faithful Cartographer", they also introduced a couple of bugs which I first didn't notice (and simply thought were intended changes in their UI). Searching for other players having these issues I found about this posting in the Steam Forums. The solution suggested there didn't work for me because it's rather hard to submit command line options to the game via the GoG scripts. So I tried a different approach and wrote a small script which fixes all the issues that have been described in that Steam Forum posting:

CODE:
#!/bin/bash

GAME_DIR="${HOME}/GOG Games/The Long Dark"
PREF_FILE="${HOME}/.config/unity3d/Hinterland/TheLongDark/prefs"
if [[ -f "${PREF_FILE}" ]] ; then
        sed '/Screenmanager Is Fullscreen mode/s|1|0|' \
                -i "${PREF_FILE}"
fi

cd "${GAME_DIR}" && ./start.sh




Also I used some different commands to find out the game's dependencies on Gentoo Linux and these commands revealed some more needed packages:

CODE:
> find ${HOME}/GOG\ Games/The\ Long\ Dark -type f -print0 | xargs --null --no-run-if-empty scanelf -L -n -q -F '%n #F' | tr , '\n' | xargs --no-run-if-empty readlink -f | uniq | xargs --no-run-if-empty qfile -CSq | sort -u | grep -v "^${HOME}"
dev-libs/glib:2
dev-libs/wayland:0
media-libs/alsa-lib:0
media-libs/libsdl2:0
media-libs/mesa:0
media-libs/openal:0
media-sound/pulseaudio:0
sys-libs/glibc:2.2
sys-libs/zlib:0
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:2
x11-libs/libX11:0
x11-libs/libXScrnSaver:0
x11-libs/libXcursor:0
x11-libs/libXext:0
x11-libs/libXi:0
x11-libs/libXinerama:0
x11-libs/libXrandr:0
x11-libs/libXxf86vm:0
x11-libs/libxkbcommon:0