From 6ced146e15d131d6a57718211bc9f45ee04f0919 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 5 Jan 2019 02:58:04 -0500 Subject: [PATCH] remove wav pack template (replaced by content pack format) --- .../Templates/WAV/MusicPackInformation.json | 8 ------- .../Music/Templates/WAV/Songs/SongsGoHere.txt | 0 .../Content/Music/Templates/WAV/readme.txt | 1 - .../StardewSymphony.cs | 24 ------------------- .../StardewSymphonyRemastered.csproj | 13 ---------- 5 files changed, 46 deletions(-) delete mode 100644 GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/MusicPackInformation.json delete mode 100644 GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/Songs/SongsGoHere.txt delete mode 100644 GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/readme.txt diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/MusicPackInformation.json b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/MusicPackInformation.json deleted file mode 100644 index c82b910e..00000000 --- a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/MusicPackInformation.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "name": "Omegas's Music Data Example", - "author": "Omegasis", - "description": "Just a simple example of how metadata is formated for music packs. Feel free to copy and edit this one!", - "versionInfo": "1.0.0 CoolExample", - "pathToMusicPackIcon": "Icon", - "Icon": null -} \ No newline at end of file diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/Songs/SongsGoHere.txt b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/Songs/SongsGoHere.txt deleted file mode 100644 index e69de29b..00000000 diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/readme.txt b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/readme.txt deleted file mode 100644 index 4d4fbb8f..00000000 --- a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/Content/Music/Templates/WAV/readme.txt +++ /dev/null @@ -1 +0,0 @@ -Place the .wav song files in the Songs folder, modify the MusicPackInformation.json as desired, and then run! \ No newline at end of file diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/StardewSymphony.cs b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/StardewSymphony.cs index f2461f73..9d7dfe3c 100644 --- a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/StardewSymphony.cs +++ b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/StardewSymphony.cs @@ -36,7 +36,6 @@ namespace StardewSymphonyRemastered private string MusicPath; public static string WavMusicDirectory; - public static string TemplateMusicDirectory; public bool musicPacksInitialized; @@ -75,12 +74,9 @@ namespace StardewSymphonyRemastered this.MusicPath = Path.Combine(ModHelper.DirectoryPath, "Content", "Music"); WavMusicDirectory = Path.Combine(this.MusicPath, "Wav"); - TemplateMusicDirectory = Path.Combine(this.MusicPath, "Templates"); - textureManager = new TextureManager(); this.createDirectories(); - this.createBlankWAVTemplate(); this.musicPacksInitialized = false; menuChangedMusic = false; @@ -322,26 +318,6 @@ namespace StardewSymphonyRemastered Directory.CreateDirectory(this.MusicPath); Directory.CreateDirectory(WavMusicDirectory); - Directory.CreateDirectory(TemplateMusicDirectory); - } - - /// USed to create a blank WAV music pack example. - public void createBlankWAVTemplate() - { - string path = Path.Combine(TemplateMusicDirectory, "WAV"); - string pathSongs = Path.Combine(path, "Songs"); - Directory.CreateDirectory(path); - Directory.CreateDirectory(pathSongs); - if (!File.Exists(Path.Combine(path, "MusicPackInformation.json"))) - { - MusicPackMetaData blankMetaData = new MusicPackMetaData("Omegas's Music Data Example", "Omegasis", "Just a simple example of how metadata is formated for music packs. Feel free to copy and edit this one!", "1.0.0 CoolExample", "Icon"); - blankMetaData.writeToJson(Path.Combine(path, "MusicPackInformation.json")); - } - if (!File.Exists(Path.Combine(path, "readme.txt"))) - { - string info = "Place the .wav song files in the Songs folder, modify the MusicPackInformation.json as desired, and then run!"; - File.WriteAllText(Path.Combine(path, "readme.txt"), info); - } } /// Load in WAV music packs. diff --git a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/StardewSymphonyRemastered.csproj b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/StardewSymphonyRemastered.csproj index 49cb4ef9..d8edcdcb 100644 --- a/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/StardewSymphonyRemastered.csproj +++ b/GeneralMods/StardewSymphonyRemastered/StardewSymphonyRemastered/StardewSymphonyRemastered.csproj @@ -201,12 +201,6 @@ Always - - Always - - - Always - @@ -217,13 +211,6 @@ Always - - Always - - - - -