public void LoadDiskTracks() { string rocksmithFolder = RocksmithLocator.Rocksmith2014Folder(); if (rocksmithFolder.Length != 0) { OpenFile(rocksmithFolder + @"\songs.psarc"); } }
public void LoadDLCTracks() { string rocksmithFolder = RocksmithLocator.Rocksmith2014Folder(); if (rocksmithFolder.Length != 0) { string[] psarcs = Directory.GetFiles(rocksmithFolder + @"\dlc", "*.psarc"); OpenFiles(psarcs); } }
private void LoadFromSteam(Action <string> loadAction) { string rocksmithFolder = RocksmithLocator.Rocksmith2014Folder(); if (rocksmithFolder != null && rocksmithFolder.Length > 0) { loadAction(rocksmithFolder); } else { MessageBox.Show("Can't find Rocksmith 2014 in Steam Library folders\nTry opening psarc files directly", "Error loading songs", MessageBoxButton.OK, MessageBoxImage.Error); } }