Commit fff4ffe2 authored by piratesephiroth's avatar piratesephiroth
Browse files

fixed some little things

parent a5fe20d9
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WiiVC_Injector)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WiiVC_Injector));
this.MainTableLayout = new System.Windows.Forms.TableLayoutPanel(); this.MainTableLayout = new System.Windows.Forms.TableLayoutPanel();
this.WiiRetail = new System.Windows.Forms.RadioButton(); this.WiiRetail = new System.Windows.Forms.RadioButton();
...@@ -117,7 +118,7 @@ ...@@ -117,7 +118,7 @@
this.TitleKey = new System.Windows.Forms.TextBox(); this.TitleKey = new System.Windows.Forms.TextBox();
this.RHFKeyLabel = new System.Windows.Forms.Label(); this.RHFKeyLabel = new System.Windows.Forms.Label();
this.CommonLabel = new System.Windows.Forms.Label(); this.CommonLabel = new System.Windows.Forms.Label();
this.WiiUCommonKey = new System.Windows.Forms.TextBox(); this.WiiUCommonKey = new System.Windows.Forms.TextBox();
this.SettingsButton = new System.Windows.Forms.Button(); this.SettingsButton = new System.Windows.Forms.Button();
this.SDCardStuff = new System.Windows.Forms.Button(); this.SDCardStuff = new System.Windows.Forms.Button();
this.GCRetail = new System.Windows.Forms.RadioButton(); this.GCRetail = new System.Windows.Forms.RadioButton();
...@@ -131,6 +132,8 @@ ...@@ -131,6 +132,8 @@
this.OpenBootSound = new System.Windows.Forms.OpenFileDialog(); this.OpenBootSound = new System.Windows.Forms.OpenFileDialog();
this.OpenMainDol = new System.Windows.Forms.OpenFileDialog(); this.OpenMainDol = new System.Windows.Forms.OpenFileDialog();
this.OpenGC2 = new System.Windows.Forms.OpenFileDialog(); this.OpenGC2 = new System.Windows.Forms.OpenFileDialog();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
this.toolTip2 = new System.Windows.Forms.ToolTip(this.components);
this.MainTableLayout.SuspendLayout(); this.MainTableLayout.SuspendLayout();
this.MainTabs.SuspendLayout(); this.MainTabs.SuspendLayout();
this.SourceFilesTab.SuspendLayout(); this.SourceFilesTab.SuspendLayout();
...@@ -969,20 +972,22 @@ ...@@ -969,20 +972,22 @@
this.Force43NINTENDONT.AutoSize = true; this.Force43NINTENDONT.AutoSize = true;
this.Force43NINTENDONT.Location = new System.Drawing.Point(10, 24); this.Force43NINTENDONT.Location = new System.Drawing.Point(10, 24);
this.Force43NINTENDONT.Name = "Force43NINTENDONT"; this.Force43NINTENDONT.Name = "Force43NINTENDONT";
this.Force43NINTENDONT.Size = new System.Drawing.Size(441, 17); this.Force43NINTENDONT.Size = new System.Drawing.Size(141, 17);
this.Force43NINTENDONT.TabIndex = 14; this.Force43NINTENDONT.TabIndex = 14;
this.Force43NINTENDONT.Text = "Force 4:3 for Nintendont - (Disables \"Force Widescreen\" and \"WiiU Widescreen\" Flags)"; this.Force43NINTENDONT.Text = "Force 4:3 for Nintendont";
this.toolTip1.SetToolTip(this.Force43NINTENDONT, "Disables \"Force Widescreen\" and \"WiiU Widescreen\" Flags");
this.Force43NINTENDONT.UseVisualStyleBackColor = true; this.Force43NINTENDONT.UseVisualStyleBackColor = true;
this.Force43NINTENDONT.CheckedChanged += new System.EventHandler(this.Force43NINTENDONT_CheckedChanged); this.Force43NINTENDONT.CheckedChanged += new System.EventHandler(this.Force43NINTENDONT_CheckedChanged);
// //
// ForceInterlacedNINTENDONT // ForceInterlacedNINTENDONT
// //
this.ForceInterlacedNINTENDONT.AutoSize = true; this.ForceInterlacedNINTENDONT.AutoSize = true;
this.ForceInterlacedNINTENDONT.Location = new System.Drawing.Point(10, 24); this.ForceInterlacedNINTENDONT.Location = new System.Drawing.Point(225, 24);
this.ForceInterlacedNINTENDONT.Name = "ForceInterlacedNINTENDONT"; this.ForceInterlacedNINTENDONT.Name = "ForceInterlacedNINTENDONT";
this.ForceInterlacedNINTENDONT.Size = new System.Drawing.Size(441, 17); this.ForceInterlacedNINTENDONT.Size = new System.Drawing.Size(172, 17);
this.ForceInterlacedNINTENDONT.TabIndex = 14; this.ForceInterlacedNINTENDONT.TabIndex = 14;
this.ForceInterlacedNINTENDONT.Text = "Force interlaced for Nintendont - (Disables \"Force Progressive\" Flag)"; this.ForceInterlacedNINTENDONT.Text = "Force interlaced for Nintendont";
this.toolTip2.SetToolTip(this.ForceInterlacedNINTENDONT, "Disables \"Force Progressive\" Flag");
this.ForceInterlacedNINTENDONT.UseVisualStyleBackColor = true; this.ForceInterlacedNINTENDONT.UseVisualStyleBackColor = true;
this.ForceInterlacedNINTENDONT.CheckedChanged += new System.EventHandler(this.ForceInterlacedNINTENDONT_CheckedChanged); this.ForceInterlacedNINTENDONT.CheckedChanged += new System.EventHandler(this.ForceInterlacedNINTENDONT_CheckedChanged);
// //
...@@ -1214,7 +1219,7 @@ ...@@ -1214,7 +1219,7 @@
// //
this.SettingsButton.Location = new System.Drawing.Point(164, 28); this.SettingsButton.Location = new System.Drawing.Point(164, 28);
this.SettingsButton.Name = "SettingsButton"; this.SettingsButton.Name = "SettingsButton";
this.SettingsButton.Size = new System.Drawing.Size(157, 19); this.SettingsButton.Size = new System.Drawing.Size(155, 19);
this.SettingsButton.TabIndex = 5; this.SettingsButton.TabIndex = 5;
this.SettingsButton.Text = "Settings"; this.SettingsButton.Text = "Settings";
this.SettingsButton.UseVisualStyleBackColor = true; this.SettingsButton.UseVisualStyleBackColor = true;
...@@ -1394,7 +1399,7 @@ ...@@ -1394,7 +1399,7 @@
private System.Windows.Forms.TextBox WiiUCommonKey; private System.Windows.Forms.TextBox WiiUCommonKey;
private System.Windows.Forms.TabPage SourceFilesTab2; private System.Windows.Forms.TabPage SourceFilesTab2;
private System.Windows.Forms.CheckBox Force43NINTENDONT; private System.Windows.Forms.CheckBox Force43NINTENDONT;
rivate System.Windows.Forms.CheckBox ForceInterlacedNINTENDONT; private System.Windows.Forms.CheckBox ForceInterlacedNINTENDONT;
private System.Windows.Forms.CheckBox Force43NAND; private System.Windows.Forms.CheckBox Force43NAND;
private System.Windows.Forms.CheckBox DisablePassthrough; private System.Windows.Forms.CheckBox DisablePassthrough;
private System.Windows.Forms.Label MainDolLabel; private System.Windows.Forms.Label MainDolLabel;
...@@ -1448,6 +1453,8 @@ ...@@ -1448,6 +1453,8 @@
private System.Windows.Forms.CheckBox DisableGamePad; private System.Windows.Forms.CheckBox DisableGamePad;
private System.Windows.Forms.CheckBox LRPatch; private System.Windows.Forms.CheckBox LRPatch;
private System.Windows.Forms.CheckBox WiiVMC; private System.Windows.Forms.CheckBox WiiVMC;
private System.Windows.Forms.ToolTip toolTip1;
private System.Windows.Forms.ToolTip toolTip2;
private System.Windows.Forms.CheckBox Wiimmfi; private System.Windows.Forms.CheckBox Wiimmfi;
} }
} }
......
...@@ -1300,7 +1300,7 @@ namespace TeconMoon_s_WiiVC_Injector ...@@ -1300,7 +1300,7 @@ namespace TeconMoon_s_WiiVC_Injector
//Events for the Advanced Tab //Events for the Advanced Tab
private void Force43NINTENDONT_CheckedChanged(object sender, EventArgs e) private void Force43NINTENDONT_CheckedChanged(object sender, EventArgs e)
{ {
if (Force43NINTENDONT.Checked) if (Force43NINTENDONT.Checked || ForceInterlacedNINTENDONT.Checked)
{ {
CustomMainDol.Checked = false; CustomMainDol.Checked = false;
CustomMainDol.Enabled = false; CustomMainDol.Enabled = false;
...@@ -1313,11 +1313,11 @@ namespace TeconMoon_s_WiiVC_Injector ...@@ -1313,11 +1313,11 @@ namespace TeconMoon_s_WiiVC_Injector
DisableNintendontAutoboot.Enabled = true; DisableNintendontAutoboot.Enabled = true;
} }
} }
ForceInterlacedNINTENDONT.Checked = false; //ForceInterlacedNINTENDONT.Checked = false;
ForceInterlacedNINTENDONT.Enabled = false; //ForceInterlacedNINTENDONT.Enabled = false;
private void ForceInterlacedNINTENDONT_CheckedChanged(object sender, EventArgs e) private void ForceInterlacedNINTENDONT_CheckedChanged(object sender, EventArgs e)
{ {
if (ForceInterlacedNINTENDONT.Checked) if (ForceInterlacedNINTENDONT.Checked || Force43NINTENDONT.Checked)
{ {
CustomMainDol.Checked = false; CustomMainDol.Checked = false;
CustomMainDol.Enabled = false; CustomMainDol.Enabled = false;
...@@ -1327,7 +1327,7 @@ namespace TeconMoon_s_WiiVC_Injector ...@@ -1327,7 +1327,7 @@ namespace TeconMoon_s_WiiVC_Injector
else else
{ {
CustomMainDol.Enabled = true; CustomMainDol.Enabled = true;
DisableInterlacedNINTENDONT.Enabled = true; DisableNintendontAutoboot.Enabled = true;
} }
} }
private void CustomMainDol_CheckedChanged(object sender, EventArgs e) private void CustomMainDol_CheckedChanged(object sender, EventArgs e)
...@@ -2087,14 +2087,14 @@ namespace TeconMoon_s_WiiVC_Injector ...@@ -2087,14 +2087,14 @@ namespace TeconMoon_s_WiiVC_Injector
{ {
if (ForceInterlacedNINTENDONT.Checked) if (ForceInterlacedNINTENDONT.Checked)
{ {
File.Copy(TempToolsPath + "DOL\\nintendont_force_43_interlaced_autobooter.dol, TempSourcePath + "TEMPISOBASE\\sys\\main.dol"); File.Copy(TempToolsPath + "DOL\\nintendont_force_43_interlaced_autobooter.dol", TempSourcePath + "TEMPISOBASE\\sys\\main.dol");
} }
else else
{ {
File.Copy(TempToolsPath + "DOL\\nintendont_force_4_by_3_autobooter.dol", TempSourcePath + "TEMPISOBASE\\sys\\main.dol"); File.Copy(TempToolsPath + "DOL\\nintendont_force_4_by_3_autobooter.dol", TempSourcePath + "TEMPISOBASE\\sys\\main.dol");
} }
} }
}
else if (ForceInterlacedNINTENDONT.Checked) else if (ForceInterlacedNINTENDONT.Checked)
{ {
File.Copy(TempToolsPath + "DOL\\nintendont_force_interlaced_autobooter.dol", TempSourcePath + "TEMPISOBASE\\sys\\main.dol"); File.Copy(TempToolsPath + "DOL\\nintendont_force_interlaced_autobooter.dol", TempSourcePath + "TEMPISOBASE\\sys\\main.dol");
...@@ -2156,6 +2156,7 @@ namespace TeconMoon_s_WiiVC_Injector ...@@ -2156,6 +2156,7 @@ namespace TeconMoon_s_WiiVC_Injector
Directory.Delete(TempSourcePath + "TEMPISOBASE", true); Directory.Delete(TempSourcePath + "TEMPISOBASE", true);
OpenGame.FileName = TempSourcePath + "game.iso"; OpenGame.FileName = TempSourcePath + "game.iso";
} }
LauncherExeFile = TempToolsPath + "WIT\\wit.exe"; LauncherExeFile = TempToolsPath + "WIT\\wit.exe";
LauncherExeArgs = "extract " + OpenGame.FileName + " --psel data --psel -update --files +tmd.bin --files +ticket.bin --dest " + TempSourcePath + "TIKTEMP" + " -vv1"; LauncherExeArgs = "extract " + OpenGame.FileName + " --psel data --psel -update --files +tmd.bin --files +ticket.bin --dest " + TempSourcePath + "TIKTEMP" + " -vv1";
LaunchProgram(); LaunchProgram();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment