Skip to content

Commit

Permalink
Voices should be prepended with ps3/
Browse files Browse the repository at this point in the history
  • Loading branch information
DoctorDiablo committed Jul 28, 2018
1 parent 42e4531 commit a10ede7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/HigurashiSuiParser/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,8 @@ static void outputLine(System.IO.StreamWriter outFile, System.IO.StreamWriter te
String[]vSplit = voiceRegion.Split('|');
for (int i=0;i< vSplit.Length;i++)
{
vSplit[i] = "ps3/" + vSplit[i];
vSplit[i] = vSplit[i].ToLower();
String se = "\tPlaySE(" + (i+4) + ", \"" + vSplit[i] + "\", 256, 64);";
outFile.WriteLine(se);
}
Expand All @@ -703,6 +705,8 @@ static void outputLine(System.IO.StreamWriter outFile, System.IO.StreamWriter te
else
{
//this is a single-voice line
voiceRegion = "ps3/" + voiceRegion;
voiceRegion = voiceRegion.ToLower();
String se = "\tPlaySE(4, \"" + voiceRegion + "\", 256, 64);";
outFile.WriteLine(se);
String output = "\tOutputLine(NULL, \"" + textRegion + "\",\n\t\t\tNULL, \"\", "+ lineStyle+"); ";
Expand Down

0 comments on commit a10ede7

Please sign in to comment.