Skip to content

Instantly share code, notes, and snippets.

@vdaluz
Created August 29, 2014 03:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vdaluz/611a352144c279507870 to your computer and use it in GitHub Desktop.
Save vdaluz/611a352144c279507870 to your computer and use it in GitHub Desktop.
#!/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