Skip to content

Instantly share code, notes, and snippets.

@AndyHoang
Created November 24, 2019 04:19
Show Gist options
  • Save AndyHoang/6dede29cf96bff0ea79e11cf71e78875 to your computer and use it in GitHub Desktop.
Save AndyHoang/6dede29cf96bff0ea79e11cf71e78875 to your computer and use it in GitHub Desktop.
grim dawn sh linux internals
#!/bin/bash
#Run game or given command in environment
# export DXVK_HUD=fps
cd "/home/andyhoang/mnt/SteamLibrary/steamapps/common/Grim Dawn"
# make sure grim internals located in Grim Dawn folder, not inside x64
DEF_CMD=("/home/andyhoang/mnt/SteamLibrary/steamapps/common/Grim Dawn/GrimInternals64.exe")
PATH="/home/andyhoang/.local/share/Steam/steamapps/common/Proton 4.11/dist/bin/:/home/andyhoang/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin:/home/andyhoang/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin:/home/andyhoang/.local/share/Steam/ubuntu12_32/steam-runtime/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" \
TERM="xterm" \
WINEDEBUG="-all" \
WINEDLLPATH="/home/andyhoang/.local/share/Steam/steamapps/common/Proton 4.11/dist/lib64//wine:/home/andyhoang/.local/share/Steam/steamapps/common/Proton 4.11/dist/lib//wine" \
LD_LIBRARY_PATH="/home/andyhoang/.local/share/Steam/steamapps/common/Proton 4.11/dist/lib64/:/home/andyhoang/.local/share/Steam/steamapps/common/Proton 4.11/dist/lib/:/home/andyhoang/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32:/home/andyhoang/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib32:/usr/lib32/libva1:/usr/lib:/usr/lib/libva1:/usr/lib/libfakeroot:/home/andyhoang/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/andyhoang/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/andyhoang/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/andyhoang/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/andyhoang/.local/share/Steam/ubuntu12_32/steam-runtime/lib:/home/andyhoang/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib:" \
WINEPREFIX="/home/andyhoang/mnt/SteamLibrary/steamapps/compatdata/219990/pfx/" \
WINEESYNC="1" \
SteamGameId="219990" \
SteamAppId="219990" \
WINEDLLOVERRIDES="steam.exe=b;mfplay=n;d3d11=n;d3d10=n;d3d10core=n;d3d10_1=n;d3d9=n" \
STEAM_COMPAT_CLIENT_INSTALL_PATH="/home/andyhoang/.local/share/Steam" \
"/home/andyhoang/.local/share/Steam/steamapps/common/Proton 4.11/dist/bin/wine" steam.exe "${@:-${DEF_CMD[@]}}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment