private bool Build(ProcessStartInfo pStartInfo)
{
SetStatus("Building...");
bool splitOutput = false;
if (_saveFileName.EndsWith(".wbfs"))
{
DialogResult result = MessageBox.Show("You selected a wbfs output. Do you want to split the output into 4GB chunks for use on FAT32 filesystems? (Assuming the output is greater than 4GB)", "Split output?", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
if (result == DialogResult.Yes)
splitOutput = true;
}
pStartInfo.Arguments = "copy ssbb.d \"" + _saveFileName + "\" -ovv" + (splitOutput ? "z" : "") + (customID.Checked ? " --id=" + gameID.Text : "") + (cutomTitle.Checked ? " --name \"" + gameTitle.Text + "\"" : "");
if (!DoWit(pStartInfo, false, true))
return false;
return true;
}