dots/scripts/Documents/Scripts/rs.sh
2024-04-29 19:05:39 +02:00

26 lines
2.2 KiB
Bash
Executable file

#!/bin/sh
#Run game or given command in environment
cd "/mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/common/Rocksmith2014"
DEF_CMD=("/mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/common/Rocksmith2014/Rocksmith2014.exe" "-uplay_steam_mode")
PATH="/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton8-3/files/bin/:/usr/bin:/bin" \
TERM="xterm" \
WINEDEBUG="-all" \
WINEDLLPATH="/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton8-3/files/lib64//wine:/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton8-3/files/lib//wine" \
LD_LIBRARY_PATH="/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton8-3/files/lib64/:/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton8-3/files/lib/:/usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/aliases:/usr/lib/pressure-vessel/overrides/lib/i386-linux-gnu/aliases" \
WINEPREFIX="/mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/compatdata/221680/pfx/" \
WINEESYNC="1" \
WINEFSYNC="1" \
SteamGameId="221680" \
SteamAppId="221680" \
WINEDLLOVERRIDES="steam.exe=b;dotnetfx35.exe=b;dotnetfx35setup.exe=b;beclient.dll=b,n;beclient_x64.dll=b,n;d3d11=n;d3d10core=n;d3d9=n;dxgi=n;d3d12=n;d3d12core=n" \
STEAM_COMPAT_CLIENT_INSTALL_PATH="/home/zoey/.local/share/Steam" \
WINE_LARGE_ADDRESS_AWARE="1" \
GST_PLUGIN_SYSTEM_PATH_1_0="/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton8-3/files/lib64/gstreamer-1.0:/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton8-3/files/lib/gstreamer-1.0" \
WINE_GST_REGISTRY_DIR="/mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/compatdata/221680/gstreamer-1.0/" \
MEDIACONV_AUDIO_DUMP_FILE="/mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/shadercache/221680/fozmediav1/audiov2.foz" \
MEDIACONV_AUDIO_TRANSCODED_FILE="/mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/shadercache/221680/transcoded_audio.foz" \
MEDIACONV_VIDEO_DUMP_FILE="/mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/shadercache/221680/fozmediav1/video.foz" \
MEDIACONV_VIDEO_TRANSCODED_FILE="/mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/shadercache/221680/transcoded_video.foz" \
"/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton8-3/files/bin/wine64" c:\\windows\\system32\\steam.exe "${@:-${DEF_CMD[@]}}"