Exemplo n.º 1
0
        public void LoadDiskTracks()
        {
            string rocksmithFolder = RocksmithLocator.Rocksmith2014Folder();

            if (rocksmithFolder.Length != 0)
            {
                OpenFile(rocksmithFolder + @"\songs.psarc");
            }
        }
Exemplo n.º 2
0
        public void LoadDLCTracks()
        {
            string rocksmithFolder = RocksmithLocator.Rocksmith2014Folder();

            if (rocksmithFolder.Length != 0)
            {
                string[] psarcs = Directory.GetFiles(rocksmithFolder + @"\dlc", "*.psarc");
                OpenFiles(psarcs);
            }
        }
Exemplo n.º 3
0
        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);
            }
        }