private void cleanupCurrentCharacterToolStripMenuItem_Click(object sender, EventArgs e) { String command = String.Format("mcu CLEANUP /noconfirm \"{0}\"", resourceManager.FileSystemProxy.LoadedPath); RunMCU runner = new RunMCU(new String[] { command }, false); runner.ShowDialog(); }
private void addNewPartsToolStripMenuItem_Click(object sender, EventArgs e) { OpenFileDialog ofd = new OpenFileDialog(); ofd.Filter = String.Format("{0}|*.mcpak", LocalizationDictionary.Instance["EXT_MCPAK"]); if (ofd.ShowDialog() != System.Windows.Forms.DialogResult.Cancel) { String command = String.Format("mcu DEPLOY /update \"{0}\" \"{1}\"", ofd.FileName, resourceManager.FileSystemProxy.LoadedPath); String cleanup = String.Format("mcu CLEANUP /noconfirm \"{0}\"", resourceManager.FileSystemProxy.LoadedPath); RunMCU runner = new RunMCU(new String[] { command, cleanup }, false); runner.ShowDialog(); LoadCharacterResourcesGeneric(resourceManager.FileSystemProxy.LoadedPath); } }
private void verifyCurrentlySelectedCHaracterToolStripMenuItem_Click(object sender, EventArgs e) { String command = String.Format("mcu VERIFY /deletemissing /noconfirm \"{0}\"", resourceManager.FileSystemProxy.LoadedPath); RunMCU runner = new RunMCU(new String[] { command }, false); runner.ShowDialog(); }
private void tryLoadMCUToolStripMenuItem_Click(object sender, EventArgs e) { RunMCU runner = new RunMCU(new String[] { "mcu DEPLOY" }, true); runner.ShowDialog(); }