public void Initalize(SA_Tools.Game game, string projectName, string projectFolder, string modFolder, Dictionary <string, AssemblyType> assemblies) { this.projectFolder = projectFolder; this.modFolder = modFolder; this.assemblies = assemblies; LoadingLabel.Visible = true; }
public string GetExecutableForGame(SA_Tools.Game game) { switch (game) { case Game.SA1: case Game.SA2: throw new System.NotSupportedException(); case Game.SADX: return("sonic.exe"); case Game.SA2B: return("sonic2App.exe"); default: throw new System.NotSupportedException(); } }
public string GetGamePath(SA_Tools.Game game) { switch (game) { case Game.SA1: case Game.SA2: throw new System.NotSupportedException(); case Game.SADX: return(SADXPCPath); case Game.SA2B: return(SA2PCPath); default: throw new System.NotSupportedException(); } }
public string GetModPathForGame(SA_Tools.Game game) { switch (game) { case Game.SA1: case Game.SA2: throw new System.NotSupportedException(); case Game.SADX: return(Path.Combine(SADXPCPath, "mods")); case Game.SA2B: return(Path.Combine(SA2PCPath, "mods")); default: throw new System.NotSupportedException(); } }