#!/bin/sh HOSTNAME=$(hostname) STEAMAPPS_DIR="/home/deck/.steam/steam/steamapps"; if [ "$HOSTNAME" == "snowfire" ]; then STEAMAPPS_DIR="/opt/Steam/steamapps"; fi cp -f new/dinput8.dll $STEAMAPPS_DIR/common/MonsterHunterWilds/ cp -f new/dstorage.dll $STEAMAPPS_DIR/common/MonsterHunterWilds/ cp -f new/dstoragecore.dll $STEAMAPPS_DIR/common/MonsterHunterWilds/ cp -f new/re2_fw_config.txt $STEAMAPPS_DIR/common/MonsterHunterWilds/ cp -f original/dstorage.dll $STEAMAPPS_DIR/compatdata/2246340/pfx/drive_c/windows/system32 cp -f original/dstoragecore.dll $STEAMAPPS_DIR/compatdata/2246340/pfx/drive_c/windows/system32 echo "Use the following for the launch options:" echo "_GL_SHADER_DISK_CACHE_SKIP_CLEANUP=1 MESA_GLSL_CACHE_MAX_SIZE=4GB PROTON_ENABLE_NVAPI=1 WINEDLLOVERRIDES=\"dstorage,dstoragecore=n,b\" gamemoderun \%command"