remove wav pack template (replaced by content pack format)

This commit is contained in:
Jesse Plamondon-Willard 2019-01-05 02:58:04 -05:00
parent d0f485fe5e
commit 6ced146e15
No known key found for this signature in database
GPG Key ID: 7D7C8097B62033CE
5 changed files with 0 additions and 46 deletions

View File

@ -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
}

View File

@ -1 +0,0 @@
Place the .wav song files in the Songs folder, modify the MusicPackInformation.json as desired, and then run!

View File

@ -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);
}
/// <summary>USed to create a blank WAV music pack example.</summary>
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);
}
}
/// <summary>Load in WAV music packs.</summary>

View File

@ -201,12 +201,6 @@
<Content Include="Content\Graphics\MusicMenu\WeatherIcon_WeddingLetter.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Content\Music\Templates\WAV\MusicPackInformation.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Content\Music\Templates\WAV\Songs\SongsGoHere.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<None Include="manifest.json" />
<None Include="README.md" />
</ItemGroup>
@ -217,13 +211,6 @@
<Content Include="Content\Graphics\MusicMenu\MusicNote.png">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Content\Music\Templates\WAV\readme.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup>
<Folder Include="Content\Music\Wav\" />
<Folder Include="Content\Music\XACT\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\StardustCore\StardustCore.csproj">