From b794c97152db4e2bffca3ef9a717b6cc26dffd85 Mon Sep 17 00:00:00 2001 From: Joshua Navarro Date: Wed, 1 Feb 2017 14:39:23 -0800 Subject: [PATCH] Updated to include a list of cues that didn't work, because maybe they are just bad cues. --- .../MusicNameSeeker/MusicNameSeeker/Class1.cs | 6 +++++- .../MusicNameSeeker/StardewFailedCueNames.txt | 19 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 Stardew_Valley_Mods/SDVMusicNameSeeker/MusicNameSeeker/StardewFailedCueNames.txt diff --git a/Stardew_Valley_Mods/SDVMusicNameSeeker/MusicNameSeeker/MusicNameSeeker/Class1.cs b/Stardew_Valley_Mods/SDVMusicNameSeeker/MusicNameSeeker/MusicNameSeeker/Class1.cs index e15f6d59..dbcc9c16 100644 --- a/Stardew_Valley_Mods/SDVMusicNameSeeker/MusicNameSeeker/MusicNameSeeker/Class1.cs +++ b/Stardew_Valley_Mods/SDVMusicNameSeeker/MusicNameSeeker/MusicNameSeeker/Class1.cs @@ -15,7 +15,9 @@ namespace MusicNameSeeker public List charList; public static char[] name; public List successfulMusic; + public List processedMusic; + public List failedCues; public static System.Timers.Timer aTimer; @@ -29,6 +31,7 @@ namespace MusicNameSeeker StardewModdingAPI.Command.RegisterCommand("whereami", "see where the name is").CommandFired += Class1_CommandFired; processedMusic = new List(); successfulMusic = new List(); + failedCues = new List(); name = new char[16]; charList = new List(); charList.Add( Convert.ToChar(0)); @@ -163,10 +166,11 @@ namespace MusicNameSeeker catch (Exception r) { Log.AsyncC(r); + failedCues.Add(v); } } File.WriteAllLines(Path.Combine(Helper.DirectoryPath, "StardewWorkingCueNames.txt"), processedMusic); - + File.WriteAllLines(Path.Combine(Helper.DirectoryPath, "StardewFailedCueNames.txt"), failedCues); } diff --git a/Stardew_Valley_Mods/SDVMusicNameSeeker/MusicNameSeeker/StardewFailedCueNames.txt b/Stardew_Valley_Mods/SDVMusicNameSeeker/MusicNameSeeker/StardewFailedCueNames.txt new file mode 100644 index 00000000..71d97268 --- /dev/null +++ b/Stardew_Valley_Mods/SDVMusicNameSeeker/MusicNameSeeker/StardewFailedCueNames.txt @@ -0,0 +1,19 @@ +Crystal +Bells +Secret +Gnomes +Near +The +Planet +Core +Of +Dwarves +Pink +Petals +Tropical +Jam +Ghost +Synth +New +Snow +