Files
linux-scripts/rocksmith.sh
2023-07-18 20:55:12 -05:00

26 lines
1.4 KiB
Bash
Executable File

STEAMLIBRARY=/home/allen/.local/share/Steam
PROTON=/usr/share/steam/compatibilitytools.d/proton-ge-custom/files
#echo "Note: CLDC doesn't seem to be working sadly and was only able to get this working via 'previous_version' beta"
#echo "To enable the hidden beta, type in 'JustInCaseWeNeedIt'"
#echo "Previous Version Beta must be set in Steam -> Rocksmith 2014 -> Settings -> Betas"
#echo "Also check this note: https://www.reddit.com/r/rocksmith/comments/xa49mq/important_update_coming_to_rocksmith_2014/"
#echo "Also note that if outputs/inputs are incorrect, disable all but Speakers and Audio Adapter in pavucontrol"
#echo
#echo "'cd'ing into the steam game directory solves the missing CDLC issue!"
#echo "Only remaining problem really is that you cannot purchases CLDCs from this launch method, so must start game through steam"
#echo
echo "Note: look into a way to use predefined audio devices so I don't have to disable everything in pavucontrol"
echo "View all commented out notes in this shell file"
/usr/local/bin/rocksmith_updateCDLC.sh
echo
echo "Waiting 5 seconds..."
echo
sleep 5
#Important that all last 3 variables lines ran at same time (PIPEWIRE_LATENCY + WINEPREFIX + wine executable)
cd /home/allen/.local/share/Steam/steamapps/common/Rocksmith2014
PIPEWIRE_LATENCY=256/48000 WINEPREFIX=$STEAMLIBRARY/steamapps/compatdata/221680/pfx "$PROTON/bin/wine" $STEAMLIBRARY/steamapps/common/Rocksmith2014/Rocksmith2014.exe