Add override verbosity

This commit is contained in:
Kurt
2015-02-01 09:57:23 -08:00
parent 4922211e2d
commit bea0479d82

View File

@@ -29,7 +29,7 @@ public Main()
if (File.Exists("config.ini"))
{
string path = File.ReadAllText("config.ini");
if (path.Length > 0) openQuick(path);
if (path.Length > 0) openQuick(path);
}
}
public static bool oras = false;
@@ -102,7 +102,7 @@ private bool checkIfRomFS(string path)
oras = false;
else // Allow Override
{
DialogResult dr = Util.Prompt(MessageBoxButtons.YesNoCancel, "Loading Override Options:", "Yes - OR/AS" + Environment.NewLine + "No - X/Y" + Environment.NewLine + "Cancel - Abort");
DialogResult dr = Util.Prompt(MessageBoxButtons.YesNoCancel, "Loading Override Options:", "Yes - OR/AS" + Environment.NewLine + "No - X/Y" + Environment.NewLine + "Cancel - Abort", "Path:" + Environment.NewLine + path);
if (dr == DialogResult.Yes) { oras = true; }
else if (dr == DialogResult.No) { oras = false; }
else { RomFS = null; oras = false; return false; }
@@ -591,12 +591,13 @@ private void rebuildExeFS(object sender, EventArgs e)
sfd.Filter = "Binary File|*.*";
if (sfd.ShowDialog() == DialogResult.OK)
{
new Thread(() => {
threads++;
new blz.BLZCoder(new string[] { "-en", files[file] }, pBar1);
new Thread(() =>
{
threads++;
new blz.BLZCoder(new string[] { "-en", files[file] }, pBar1);
Util.Alert("Compressed!");
ExeFSTool.set(Directory.GetFiles(ExeFS), sfd.FileName);
threads--;
threads--;
}).Start();
}
}