return(false,"1.1 data.win does not meet MD5 checksum! Mod packaging aborted.\n1.1 MD5: "+originalMD5+"\nYour MD5: "+newMD5);
}
}
catch(FileNotFoundException)
{
return(false,"data.win not found! Are you sure you selected AM2R 1.1? Mod packaging aborted.");
}
// Create AM2R.exe and data.win patches
if(profile.OperatingSystem=="Windows")
switch(profile.OperatingSystem)
{
if(!File.Exists(tempModPath+"/AM2R.exe"))
{//TODO: put this onto the outer method
/*
// Create AM2R.exe and data.win patches
case"Windows":
{
if(!File.Exists(tempModPath+"/AM2R.exe"))
{//TODO: put this onto the outer method
/*
varresult=MessageBox.Show("Modded game not found, make sure it's not placed in any subfolders.\nCreated profile will likely not be installable, are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxType.Warning);
if(result!=DialogResult.Yes)
{
AbortPatch();
return(false,"");
}*/
}
}
if(File.Exists(tempModPath+"profile.xml"))
{
//TODO: put this onto the outer method
/*varresult=MessageBox.Show("profile.xml found. This file is used by the AM2RLauncher to determine profile stats and its inclusion may make the profile uninstallable. Are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxType.Warning);
if(File.Exists(tempModPath+"profile.xml"))
{
//TODO: put this onto the outer method
/*varresult=MessageBox.Show("profile.xml found. This file is used by the AM2RLauncher to determine profile stats and its inclusion may make the profile uninstallable. Are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxType.Warning);
varresult=MessageBox.Show("Modded Linux game not found, make sure it's not placed in any subfolders.\nCreated profile will likely not be installable, are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxType.Warning);
if(result!=DialogResult.Yes)
{
AbortPatch();
return(false,"");
}*/
}
}
if(File.Exists(tempModPath+"profile.xml"))
{
//TODO: put this onto the outer method
/*varresult=MessageBox.Show("profile.xml found. This file is used by the AM2RLauncher to determine profile stats and its inclusion may make the profile uninstallable. Are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxType.Warning);
if(File.Exists(tempModPath+"profile.xml"))
{
//TODO: put this onto the outer method
/*varresult=MessageBox.Show("profile.xml found. This file is used by the AM2RLauncher to determine profile stats and its inclusion may make the profile uninstallable. Are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxType.Warning);
/*varresult=MessageBox.Show("Modded Mac game not found, make sure it's not placed in any subfolders.\nCreated profile will likely not be installable, are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxIcon.Warning);
/*varresult=MessageBox.Show("Modded Mac game not found, make sure it's not placed in any subfolders.\nCreated profile will likely not be installable, are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxIcon.Warning);
if(result!=DialogResult.Yes)
AbortPatch();*/
}
}
if(File.Exists(tempModPath+"profile.xml"))
{
/*varresult=MessageBox.Show("profile.xml found. This file is used by the AM2RLauncher to determine profile stats and its inclusion may make the profile uninstallable. Are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxIcon.Warning);
if(File.Exists(tempModPath+"profile.xml"))
{
/*varresult=MessageBox.Show("profile.xml found. This file is used by the AM2RLauncher to determine profile stats and its inclusion may make the profile uninstallable. Are you sure you want to continue?","WARNING",MessageBoxButtons.YesNo,MessageBoxIcon.Warning);