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

26 lines
2.7 KiB
Bash
Executable file

#!/bin/bash
#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" "/home/zoey/.local/share/Steam/ubuntu12_32/reaper" "SteamLaunch" "AppId=221680" "--" "/home/zoey/.local/share/Steam/ubuntu12_32/steam-launch-wrapper" "--" "/mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/common/SteamLinuxRuntime_soldier/_v2-entry-point" "--verb=waitforexitandrun" "--" "/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton7-38/proton" "waitforexitandrun" "/mnt/Usagichan/Games/Steam/SteamLibrary/steamapps/common/Rocksmith2014/Rocksmith2014.exe" "-uplay_steam_mode")
PATH="/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton7-38/files/bin/:/usr/bin:/bin" \
TERM="xterm" \
WINEDEBUG="-all" \
WINEDLLPATH="/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton7-38/files/lib64//wine:/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton7-38/files/lib//wine" \
LD_LIBRARY_PATH="/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton7-38/files/lib64/:/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton7-38/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" \
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-Proton7-38/files/lib64/gstreamer-1.0:/home/zoey/.local/share/Steam/compatibilitytools.d/GE-Proton7-38/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-Proton7-38/files/bin/wine64" c:\\windows\\system32\\steam.exe "${@:-${DEF_CMD[@]}}"