#!/bin/bash GAME_PATH=${GAME_PATH:=~/.steam/steam} export LC_ALL=C export LD_LIBRARY_PATH="/usr/lib:/usr/local/lib" export LD_PRELOAD="$(printf "%s " $GAME_PATH/steamapps/common/WormsWMD/lib/libQt5*.so* \ ~/.steam/steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libdbus-1.so.3 \ ~/.steam/steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libdbus-1.so.3.5.8)" export MESA_GL_VERSION_OVERRIDE=2.0COMPAT export MESA_GLSL_VERSION_OVERRIDE=410 chmod a+x ./Worms\ W.M.Dx64 #gdb ./Worms\ W.M.Dx64 -batch -ex run -ex bt ./Worms\ W.M.Dx64
GAME_PATH=foo DISCARD=%command% ./RunModified.sh