try only directstorage dlls

This commit is contained in:
Emmet
2025-04-04 18:50:34 -05:00
parent 9e01aa06ec
commit 0bb0532c42

19
install-only-dlls.sh Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh
HOSTNAME=$(hostname)
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
STEAMAPPS_DIR="/home/deck/.steam/steam/steamapps";
if [ "$HOSTNAME" == "snowfire" ]; then
STEAMAPPS_DIR="/opt/Steam/steamapps";
fi
mkdir -p $STEAMAPPS_DIR/common/MonsterHunterWilds
cp -f $SCRIPT_DIR/new/dstorage.dll $STEAMAPPS_DIR/common/MonsterHunterWilds
cp -f $SCRIPT_DIR/new/dstoragecore.dll $STEAMAPPS_DIR/common/MonsterHunterWilds
mkdir -p $STEAMAPPS_DIR/compatdata/2246340/pfx/drive_c/windows/system32
cp -f $SCRIPT_DIR/original/dstorage.dll $STEAMAPPS_DIR/compatdata/2246340/pfx/drive_c/windows/system32
cp -f $SCRIPT_DIR/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"