Skip to content

Commit

Permalink
1.0.5 RELEASED
Browse files Browse the repository at this point in the history
+ Added new Sounds to Mod
+ Checks if a Local File of https://pastebin.com/raw/spiE5xup exist which has the name set_file_info.txt or set file info.txt
  • Loading branch information
chrisderwahre authored May 3, 2018
1 parent 44db732 commit 63da009
Show file tree
Hide file tree
Showing 2 changed files with 154 additions and 103 deletions.
201 changes: 104 additions & 97 deletions Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 50 additions & 6 deletions Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ public void ftpSelectedFileToXbox(string songname)
ftpClient.upload(XBoxJSRFGamePath.Text + "/" + songname + ".adx", textBox1.Text.Replace(@"\", "/") + "/" + songname + ".adx"); // Uploads the new file
}

//ftpClient.delete(XBoxJSRFGamePath.Text + "/" + songname + ".adx"); // Deletes the old file so the new one can be ftp'd
//ftpClient.upload(XBoxJSRFGamePath.Text + "/" + songname + ".adx", textBox1.Text.Replace(@"\", "/") + "/" + songname + ".adx"); // Uploads the new file

public void songChangingFunc(string songName) // Song Changing Function
{
if (!File.Exists(textBox1.Text + "/" + songName + ".adx")) // Checks if the Folder is Correct
Expand Down Expand Up @@ -203,6 +200,19 @@ private void button2_Click(object sender, EventArgs e)
case "Grace And Glory":
songChangingFunc("grace");
break;
// Failed (Over) Cleared Title Song(Concept of Love) DJ Demo(Ill Victory Beat)
case "Failed (Over)":
songChangingFunc("g_over");
break;
case "Cleared":
songChangingFunc("clear");
break;
case "Title Song(Concept of Love":
songChangingFunc("title");
break;
case "DJ Demo(Ill Victory Beat)":
songChangingFunc("dj_demo1");
break;
case "Set 1a":
songChangingFunc("s_set_01a");
break;
Expand Down Expand Up @@ -251,6 +261,15 @@ private void button2_Click(object sender, EventArgs e)
case "Set 9b":
songChangingFunc("s_set_09b");
break;
case "Ending (Sweet Sould Brother (Toronto Remix))":
songChangingFunc("ending");
break;
case "Ending l (Playing various tracks(Ending Screen))":
songChangingFunc("ending_l");
break;
case "Ending s (Playing various tracks(Ending Screen))":
songChangingFunc("ending_s");
break;
}
}
}
Expand Down Expand Up @@ -394,6 +413,18 @@ private void ftptoxbox_btn_Click(object sender, EventArgs e)
case "Grace And Glory":
ftpSelectedFileToXbox("grace");
break;
case "Failed (Over)":
ftpSelectedFileToXbox("g_over");
break;
case "Cleared":
ftpSelectedFileToXbox("clear");
break;
case "Title Song(Concept of Love":
ftpSelectedFileToXbox("title");
break;
case "DJ Demo(Ill Victory Beat)":
ftpSelectedFileToXbox("dj_demo1");
break;
case "Set 1a":
ftpSelectedFileToXbox("s_set_01a");
break;
Expand Down Expand Up @@ -442,10 +473,23 @@ private void ftptoxbox_btn_Click(object sender, EventArgs e)
case "Set 9b":
ftpSelectedFileToXbox("s_set_09b");
break;
}
case "Ending (Sweet Sould Brother (Toronto Remix))":
ftpSelectedFileToXbox("ending");
break;
case "Ending l (Playing various tracks(Ending Screen))":
ftpSelectedFileToXbox("ending_l");
break;
case "Ending s (Playing various tracks(Ending Screen))":
ftpSelectedFileToXbox("ending_s");
break;
// Ending (Sweet Sould Brother (Toronto Remix))
//Ending l (Playing various tracks(Ending Screen))
//Ending s (Playing various tracks(Ending Screen))
}
} else {
MessageBox.Show("XBox FTP Settings NOT correct and/or no Song Selected", "Error"); // Error reporting.
}
}
}
}

}
}

0 comments on commit 63da009

Please sign in to comment.