Created
August 29, 2014 03:37
-
-
Save vdaluz/611a352144c279507870 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Convert all rocksmith on-disc songs and DLC using RocksmithToTab.exe | |
# https://github.com/fholger/RocksmithToTab/wiki/MacUserGuide | |
rtt_path="/Users/vic/Downloads/RocksmithToTab/RocksmithToTab.exe" | |
rs_dir="/Users/vic/Library/Application Support/Steam/SteamApps/common/Rocksmith2014/" | |
dlc_dir="/Users/vic/Library/Application Support/Steam/SteamApps/common/Rocksmith2014/dlc/" | |
dest_dir="/Users/vic/Documents/Rocksmith/GuitarPro" | |
echo "Extracting on-disc songs..." | |
mono ${rtt_path} "${rs_dir}songs.psarc" -o "${dest_dir}" | |
echo "Extracting dlc songs..." | |
files="$(find -L "$dlc_dir"*_m.psarc -type f -exec basename {} \;)" | |
for file in $files; | |
do | |
mono ${rtt_path} "${dlc_dir}${file}" -o "${dest_dir}" | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment