From 51b148aaabc95b5bf44ddb4d00979aba47578d77 Mon Sep 17 00:00:00 2001 From: givememystuffplease Date: Thu, 27 Aug 2009 22:52:11 +0000 Subject: [PATCH] NUS Script loading via Extras Menu. Very basic... --- NUS Downloader/Form1.Designer.cs | 316 +++++++------ NUS Downloader/Form1.cs | 145 +++++- NUS Downloader/Form1.resx | 414 +++++++++--------- NUS Downloader/NUS Downloader.csproj | 7 + NUS Downloader/NUS.cs | 21 + .../Properties/Resources.Designer.cs | 35 ++ NUS Downloader/Properties/Resources.resx | 15 + NUS Downloader/Resources/bug_error.png | Bin 0 -> 841 bytes .../Resources/page_white_magnify.png | Bin 0 -> 554 bytes NUS Downloader/Resources/script_go.png | Bin 0 -> 839 bytes NUS Downloader/Resources/server_connect.png | Bin 0 -> 755 bytes NUS Downloader/Resources/server_link.png | Bin 0 -> 706 bytes NUS Downloader/TMD.cs | 56 +++ 13 files changed, 659 insertions(+), 350 deletions(-) create mode 100644 NUS Downloader/NUS.cs create mode 100644 NUS Downloader/Resources/bug_error.png create mode 100644 NUS Downloader/Resources/page_white_magnify.png create mode 100644 NUS Downloader/Resources/script_go.png create mode 100644 NUS Downloader/Resources/server_connect.png create mode 100644 NUS Downloader/Resources/server_link.png create mode 100644 NUS Downloader/TMD.cs diff --git a/NUS Downloader/Form1.Designer.cs b/NUS Downloader/Form1.Designer.cs index 2076d72..13991c4 100644 --- a/NUS Downloader/Form1.Designer.cs +++ b/NUS Downloader/Form1.Designer.cs @@ -95,15 +95,8 @@ this.button3 = new System.Windows.Forms.Button(); this.contentsEdit = new System.Windows.Forms.ListBox(); this.contentModBox = new System.Windows.Forms.GroupBox(); - this.button16 = new System.Windows.Forms.Button(); - this.button13 = new System.Windows.Forms.Button(); this.button15 = new System.Windows.Forms.Button(); this.button14 = new System.Windows.Forms.Button(); - this.button12 = new System.Windows.Forms.Button(); - this.button8 = new System.Windows.Forms.Button(); - this.button11 = new System.Windows.Forms.Button(); - this.button9 = new System.Windows.Forms.Button(); - this.button10 = new System.Windows.Forms.Button(); this.button17 = new System.Windows.Forms.Button(); this.extrasStrip = new System.Windows.Forms.ContextMenuStrip(this.components); this.loadInfoFromTMDToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -115,6 +108,9 @@ this.koreaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); this.proxySettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator(); + this.enableBETATruchaFeaturesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator(); this.saveaswadbox = new System.Windows.Forms.CheckBox(); this.deletecontentsbox = new System.Windows.Forms.CheckBox(); this.proxyBox = new System.Windows.Forms.GroupBox(); @@ -122,15 +118,23 @@ this.label12 = new System.Windows.Forms.Label(); this.ProxyUser = new System.Windows.Forms.TextBox(); this.SaveProxyBtn = new System.Windows.Forms.Button(); - this.ProxyAssistBtn = new System.Windows.Forms.Button(); this.ProxyURL = new System.Windows.Forms.TextBox(); - this.radioButton1 = new System.Windows.Forms.RadioButton(); - this.radioButton2 = new System.Windows.Forms.RadioButton(); this.ProxyVerifyBox = new System.Windows.Forms.GroupBox(); this.SaveProxyPwdBtn = new System.Windows.Forms.Button(); this.label14 = new System.Windows.Forms.Label(); this.ProxyPwdBox = new System.Windows.Forms.TextBox(); + this.loadNUSScriptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.dlprogress = new wyDay.Controls.Windows7ProgressBar(); + this.button16 = new System.Windows.Forms.Button(); + this.button13 = new System.Windows.Forms.Button(); + this.button12 = new System.Windows.Forms.Button(); + this.button8 = new System.Windows.Forms.Button(); + this.button11 = new System.Windows.Forms.Button(); + this.button9 = new System.Windows.Forms.Button(); + this.button10 = new System.Windows.Forms.Button(); + this.ProxyAssistBtn = new System.Windows.Forms.Button(); + this.radioButton1 = new System.Windows.Forms.RadioButton(); + this.radioButton2 = new System.Windows.Forms.RadioButton(); this.databaseStrip.SuspendLayout(); this.tmdgpbox.SuspendLayout(); this.ticketgpbox.SuspendLayout(); @@ -447,6 +451,7 @@ this.truchabox.TabIndex = 21; this.truchabox.Text = "Trucha"; this.truchabox.UseVisualStyleBackColor = true; + this.truchabox.Visible = false; // // tmdgpbox // @@ -762,28 +767,6 @@ this.contentModBox.Text = "Edit Title Contents"; this.contentModBox.Visible = false; // - // button16 - // - this.button16.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.button16.Image = global::NUS_Downloader.Properties.Resources.bug_add; - this.button16.Location = new System.Drawing.Point(136, 198); - this.button16.Name = "button16"; - this.button16.Size = new System.Drawing.Size(26, 26); - this.button16.TabIndex = 44; - this.button16.UseVisualStyleBackColor = true; - this.button16.Click += new System.EventHandler(this.button16_Click); - // - // button13 - // - this.button13.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.button13.Image = global::NUS_Downloader.Properties.Resources.link; - this.button13.Location = new System.Drawing.Point(104, 198); - this.button13.Name = "button13"; - this.button13.Size = new System.Drawing.Size(26, 26); - this.button13.TabIndex = 43; - this.button13.UseVisualStyleBackColor = true; - this.button13.Click += new System.EventHandler(this.button13_Click); - // // button15 // this.button15.FlatStyle = System.Windows.Forms.FlatStyle.Popup; @@ -806,61 +789,6 @@ this.button14.UseVisualStyleBackColor = true; this.button14.Click += new System.EventHandler(this.button14_Click); // - // button12 - // - this.button12.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.button12.Image = ((System.Drawing.Image)(resources.GetObject("button12.Image"))); - this.button12.Location = new System.Drawing.Point(72, 198); - this.button12.Name = "button12"; - this.button12.Size = new System.Drawing.Size(26, 26); - this.button12.TabIndex = 40; - this.button12.UseVisualStyleBackColor = true; - this.button12.Click += new System.EventHandler(this.button12_Click); - // - // button8 - // - this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.button8.Image = ((System.Drawing.Image)(resources.GetObject("button8.Image"))); - this.button8.Location = new System.Drawing.Point(213, 19); - this.button8.Name = "button8"; - this.button8.Size = new System.Drawing.Size(26, 26); - this.button8.TabIndex = 33; - this.button8.UseVisualStyleBackColor = true; - this.button8.Click += new System.EventHandler(this.button8_Click); - // - // button11 - // - this.button11.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.button11.Image = ((System.Drawing.Image)(resources.GetObject("button11.Image"))); - this.button11.Location = new System.Drawing.Point(9, 198); - this.button11.Name = "button11"; - this.button11.Size = new System.Drawing.Size(26, 26); - this.button11.TabIndex = 36; - this.button11.UseVisualStyleBackColor = true; - this.button11.Click += new System.EventHandler(this.button11_Click); - // - // button9 - // - this.button9.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.button9.Image = ((System.Drawing.Image)(resources.GetObject("button9.Image"))); - this.button9.Location = new System.Drawing.Point(213, 53); - this.button9.Name = "button9"; - this.button9.Size = new System.Drawing.Size(26, 26); - this.button9.TabIndex = 34; - this.button9.UseVisualStyleBackColor = true; - this.button9.Click += new System.EventHandler(this.button9_Click); - // - // button10 - // - this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.button10.Image = ((System.Drawing.Image)(resources.GetObject("button10.Image"))); - this.button10.Location = new System.Drawing.Point(41, 198); - this.button10.Name = "button10"; - this.button10.Size = new System.Drawing.Size(26, 26); - this.button10.TabIndex = 35; - this.button10.UseVisualStyleBackColor = true; - this.button10.Click += new System.EventHandler(this.button10_Click); - // // button17 // this.button17.FlatStyle = System.Windows.Forms.FlatStyle.Popup; @@ -880,21 +808,26 @@ this.toolStripSeparator3, this.emulateUpdate, this.toolStripSeparator4, - this.proxySettingsToolStripMenuItem}); + this.proxySettingsToolStripMenuItem, + this.toolStripSeparator5, + this.enableBETATruchaFeaturesToolStripMenuItem, + this.toolStripSeparator6, + this.loadNUSScriptToolStripMenuItem}); this.extrasStrip.Name = "extrasStrip"; - this.extrasStrip.Size = new System.Drawing.Size(220, 82); + this.extrasStrip.Size = new System.Drawing.Size(228, 160); // // loadInfoFromTMDToolStripMenuItem // + this.loadInfoFromTMDToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.page_white_magnify; this.loadInfoFromTMDToolStripMenuItem.Name = "loadInfoFromTMDToolStripMenuItem"; - this.loadInfoFromTMDToolStripMenuItem.Size = new System.Drawing.Size(219, 22); + this.loadInfoFromTMDToolStripMenuItem.Size = new System.Drawing.Size(227, 22); this.loadInfoFromTMDToolStripMenuItem.Text = "Load Info from TMD"; this.loadInfoFromTMDToolStripMenuItem.Click += new System.EventHandler(this.loadInfoFromTMDToolStripMenuItem_Click); // // toolStripSeparator3 // this.toolStripSeparator3.Name = "toolStripSeparator3"; - this.toolStripSeparator3.Size = new System.Drawing.Size(216, 6); + this.toolStripSeparator3.Size = new System.Drawing.Size(224, 6); // // emulateUpdate // @@ -903,47 +836,67 @@ this.europePALToolStripMenuItem, this.japanNTSCJToolStripMenuItem, this.koreaToolStripMenuItem}); + this.emulateUpdate.Image = global::NUS_Downloader.Properties.Resources.server_connect; this.emulateUpdate.Name = "emulateUpdate"; - this.emulateUpdate.Size = new System.Drawing.Size(219, 22); + this.emulateUpdate.Size = new System.Drawing.Size(227, 22); this.emulateUpdate.Text = "Emulate Wii System Update"; this.emulateUpdate.DropDownItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.emulateUpdate_DropDownItemClicked); // // uSANTSCToolStripMenuItem // this.uSANTSCToolStripMenuItem.Name = "uSANTSCToolStripMenuItem"; - this.uSANTSCToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.uSANTSCToolStripMenuItem.Text = "USA (NTSC)"; + this.uSANTSCToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.uSANTSCToolStripMenuItem.Text = "USA"; // // europePALToolStripMenuItem // this.europePALToolStripMenuItem.Name = "europePALToolStripMenuItem"; - this.europePALToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.europePALToolStripMenuItem.Text = "Europe (PAL)"; + this.europePALToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.europePALToolStripMenuItem.Text = "EUROPE"; // // japanNTSCJToolStripMenuItem // this.japanNTSCJToolStripMenuItem.Name = "japanNTSCJToolStripMenuItem"; - this.japanNTSCJToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.japanNTSCJToolStripMenuItem.Text = "Japan (NTSC-J)"; + this.japanNTSCJToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.japanNTSCJToolStripMenuItem.Text = "JAPAN"; // // koreaToolStripMenuItem // this.koreaToolStripMenuItem.Name = "koreaToolStripMenuItem"; - this.koreaToolStripMenuItem.Size = new System.Drawing.Size(154, 22); - this.koreaToolStripMenuItem.Text = "Korea"; + this.koreaToolStripMenuItem.Size = new System.Drawing.Size(152, 22); + this.koreaToolStripMenuItem.Text = "KOREA"; // // toolStripSeparator4 // this.toolStripSeparator4.Name = "toolStripSeparator4"; - this.toolStripSeparator4.Size = new System.Drawing.Size(216, 6); + this.toolStripSeparator4.Size = new System.Drawing.Size(224, 6); // // proxySettingsToolStripMenuItem // + this.proxySettingsToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.server_link; this.proxySettingsToolStripMenuItem.Name = "proxySettingsToolStripMenuItem"; - this.proxySettingsToolStripMenuItem.Size = new System.Drawing.Size(219, 22); + this.proxySettingsToolStripMenuItem.Size = new System.Drawing.Size(227, 22); this.proxySettingsToolStripMenuItem.Text = "Proxy Settings"; this.proxySettingsToolStripMenuItem.Click += new System.EventHandler(this.proxySettingsToolStripMenuItem_Click); // + // toolStripSeparator5 + // + this.toolStripSeparator5.Name = "toolStripSeparator5"; + this.toolStripSeparator5.Size = new System.Drawing.Size(224, 6); + // + // enableBETATruchaFeaturesToolStripMenuItem + // + this.enableBETATruchaFeaturesToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.bug_error; + this.enableBETATruchaFeaturesToolStripMenuItem.Name = "enableBETATruchaFeaturesToolStripMenuItem"; + this.enableBETATruchaFeaturesToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.enableBETATruchaFeaturesToolStripMenuItem.Text = "Enable BETA Trucha Features"; + this.enableBETATruchaFeaturesToolStripMenuItem.Click += new System.EventHandler(this.enableBETATruchaFeaturesToolStripMenuItem_Click); + // + // toolStripSeparator6 + // + this.toolStripSeparator6.Name = "toolStripSeparator6"; + this.toolStripSeparator6.Size = new System.Drawing.Size(224, 6); + // // saveaswadbox // this.saveaswadbox.AutoSize = true; @@ -1021,17 +974,6 @@ this.SaveProxyBtn.UseVisualStyleBackColor = true; this.SaveProxyBtn.Click += new System.EventHandler(this.SaveProxyBtn_Click); // - // ProxyAssistBtn - // - this.ProxyAssistBtn.FlatStyle = System.Windows.Forms.FlatStyle.Popup; - this.ProxyAssistBtn.Image = global::NUS_Downloader.Properties.Resources.help; - this.ProxyAssistBtn.Location = new System.Drawing.Point(177, 79); - this.ProxyAssistBtn.Name = "ProxyAssistBtn"; - this.ProxyAssistBtn.Size = new System.Drawing.Size(29, 26); - this.ProxyAssistBtn.TabIndex = 28; - this.ProxyAssistBtn.UseVisualStyleBackColor = true; - this.ProxyAssistBtn.Click += new System.EventHandler(this.ProxyAssistBtn_Click); - // // ProxyURL // this.ProxyURL.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -1040,30 +982,6 @@ this.ProxyURL.Size = new System.Drawing.Size(151, 20); this.ProxyURL.TabIndex = 0; // - // radioButton1 - // - this.radioButton1.BackColor = System.Drawing.Color.Transparent; - this.radioButton1.Checked = true; - this.radioButton1.Image = ((System.Drawing.Image)(resources.GetObject("radioButton1.Image"))); - this.radioButton1.Location = new System.Drawing.Point(12, 385); - this.radioButton1.Name = "radioButton1"; - this.radioButton1.Size = new System.Drawing.Size(60, 31); - this.radioButton1.TabIndex = 12; - this.radioButton1.TabStop = true; - this.radioButton1.UseVisualStyleBackColor = false; - this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); - // - // radioButton2 - // - this.radioButton2.Image = ((System.Drawing.Image)(resources.GetObject("radioButton2.Image"))); - this.radioButton2.ImageAlign = System.Drawing.ContentAlignment.TopCenter; - this.radioButton2.Location = new System.Drawing.Point(78, 385); - this.radioButton2.Name = "radioButton2"; - this.radioButton2.Size = new System.Drawing.Size(74, 30); - this.radioButton2.TabIndex = 13; - this.radioButton2.UseVisualStyleBackColor = true; - this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged); - // // ProxyVerifyBox // this.ProxyVerifyBox.BackColor = System.Drawing.SystemColors.Control; @@ -1108,6 +1026,14 @@ this.ProxyPwdBox.UseSystemPasswordChar = true; this.ProxyPwdBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.ProxyPwdBox_KeyPress); // + // loadNUSScriptToolStripMenuItem + // + this.loadNUSScriptToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.script_go; + this.loadNUSScriptToolStripMenuItem.Name = "loadNUSScriptToolStripMenuItem"; + this.loadNUSScriptToolStripMenuItem.Size = new System.Drawing.Size(227, 22); + this.loadNUSScriptToolStripMenuItem.Text = "Load NUS Script"; + this.loadNUSScriptToolStripMenuItem.Click += new System.EventHandler(this.loadNUSScriptToolStripMenuItem_Click); + // // dlprogress // this.dlprogress.ContainerControl = this; @@ -1116,6 +1042,118 @@ this.dlprogress.Size = new System.Drawing.Size(250, 15); this.dlprogress.TabIndex = 47; // + // button16 + // + this.button16.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button16.Image = global::NUS_Downloader.Properties.Resources.bug_add; + this.button16.Location = new System.Drawing.Point(136, 198); + this.button16.Name = "button16"; + this.button16.Size = new System.Drawing.Size(26, 26); + this.button16.TabIndex = 44; + this.button16.UseVisualStyleBackColor = true; + this.button16.Click += new System.EventHandler(this.button16_Click); + // + // button13 + // + this.button13.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button13.Image = global::NUS_Downloader.Properties.Resources.link; + this.button13.Location = new System.Drawing.Point(104, 198); + this.button13.Name = "button13"; + this.button13.Size = new System.Drawing.Size(26, 26); + this.button13.TabIndex = 43; + this.button13.UseVisualStyleBackColor = true; + this.button13.Click += new System.EventHandler(this.button13_Click); + // + // button12 + // + this.button12.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button12.Image = ((System.Drawing.Image)(resources.GetObject("button12.Image"))); + this.button12.Location = new System.Drawing.Point(72, 198); + this.button12.Name = "button12"; + this.button12.Size = new System.Drawing.Size(26, 26); + this.button12.TabIndex = 40; + this.button12.UseVisualStyleBackColor = true; + this.button12.Click += new System.EventHandler(this.button12_Click); + // + // button8 + // + this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button8.Image = ((System.Drawing.Image)(resources.GetObject("button8.Image"))); + this.button8.Location = new System.Drawing.Point(213, 19); + this.button8.Name = "button8"; + this.button8.Size = new System.Drawing.Size(26, 26); + this.button8.TabIndex = 33; + this.button8.UseVisualStyleBackColor = true; + this.button8.Click += new System.EventHandler(this.button8_Click); + // + // button11 + // + this.button11.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button11.Image = ((System.Drawing.Image)(resources.GetObject("button11.Image"))); + this.button11.Location = new System.Drawing.Point(9, 198); + this.button11.Name = "button11"; + this.button11.Size = new System.Drawing.Size(26, 26); + this.button11.TabIndex = 36; + this.button11.UseVisualStyleBackColor = true; + this.button11.Click += new System.EventHandler(this.button11_Click); + // + // button9 + // + this.button9.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button9.Image = ((System.Drawing.Image)(resources.GetObject("button9.Image"))); + this.button9.Location = new System.Drawing.Point(213, 53); + this.button9.Name = "button9"; + this.button9.Size = new System.Drawing.Size(26, 26); + this.button9.TabIndex = 34; + this.button9.UseVisualStyleBackColor = true; + this.button9.Click += new System.EventHandler(this.button9_Click); + // + // button10 + // + this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.button10.Image = ((System.Drawing.Image)(resources.GetObject("button10.Image"))); + this.button10.Location = new System.Drawing.Point(41, 198); + this.button10.Name = "button10"; + this.button10.Size = new System.Drawing.Size(26, 26); + this.button10.TabIndex = 35; + this.button10.UseVisualStyleBackColor = true; + this.button10.Click += new System.EventHandler(this.button10_Click); + // + // ProxyAssistBtn + // + this.ProxyAssistBtn.FlatStyle = System.Windows.Forms.FlatStyle.Popup; + this.ProxyAssistBtn.Image = global::NUS_Downloader.Properties.Resources.help; + this.ProxyAssistBtn.Location = new System.Drawing.Point(177, 79); + this.ProxyAssistBtn.Name = "ProxyAssistBtn"; + this.ProxyAssistBtn.Size = new System.Drawing.Size(29, 26); + this.ProxyAssistBtn.TabIndex = 28; + this.ProxyAssistBtn.UseVisualStyleBackColor = true; + this.ProxyAssistBtn.Click += new System.EventHandler(this.ProxyAssistBtn_Click); + // + // radioButton1 + // + this.radioButton1.BackColor = System.Drawing.Color.Transparent; + this.radioButton1.Checked = true; + this.radioButton1.Image = ((System.Drawing.Image)(resources.GetObject("radioButton1.Image"))); + this.radioButton1.Location = new System.Drawing.Point(12, 385); + this.radioButton1.Name = "radioButton1"; + this.radioButton1.Size = new System.Drawing.Size(60, 31); + this.radioButton1.TabIndex = 12; + this.radioButton1.TabStop = true; + this.radioButton1.UseVisualStyleBackColor = false; + this.radioButton1.CheckedChanged += new System.EventHandler(this.radioButton1_CheckedChanged); + // + // radioButton2 + // + this.radioButton2.Image = ((System.Drawing.Image)(resources.GetObject("radioButton2.Image"))); + this.radioButton2.ImageAlign = System.Drawing.ContentAlignment.TopCenter; + this.radioButton2.Location = new System.Drawing.Point(78, 385); + this.radioButton2.Name = "radioButton2"; + this.radioButton2.Size = new System.Drawing.Size(74, 30); + this.radioButton2.TabIndex = 13; + this.radioButton2.UseVisualStyleBackColor = true; + this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged); + // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -1281,6 +1319,10 @@ private System.Windows.Forms.Label label14; private System.Windows.Forms.TextBox ProxyPwdBox; private wyDay.Controls.Windows7ProgressBar dlprogress; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator5; + private System.Windows.Forms.ToolStripMenuItem enableBETATruchaFeaturesToolStripMenuItem; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator6; + private System.Windows.Forms.ToolStripMenuItem loadNUSScriptToolStripMenuItem; } } diff --git a/NUS Downloader/Form1.cs b/NUS Downloader/Form1.cs index 0e9b84e..b2ce7ba 100644 --- a/NUS Downloader/Form1.cs +++ b/NUS Downloader/Form1.cs @@ -44,6 +44,9 @@ namespace NUS_Downloader string WAD_Saveas_Filename; + // TODO: OOP scripting + string script_filename; + // Proxy stuff... string proxy_url; string proxy_usr; @@ -3367,6 +3370,33 @@ namespace NUS_Downloader // Retrieve Wiibrew database page source code WebClient databasedl = new WebClient(); statusbox.Refresh(); + + // Proxy + if (!(String.IsNullOrEmpty(proxy_url))) + { + WebProxy customproxy = new WebProxy(); + customproxy.Address = new Uri(proxy_url); + if (String.IsNullOrEmpty(proxy_usr)) + customproxy.UseDefaultCredentials = true; + else + { + NetworkCredential cred = new NetworkCredential(); + cred.UserName = proxy_usr; + + if (!(String.IsNullOrEmpty(proxy_pwd))) + cred.Password = proxy_pwd; + + customproxy.Credentials = cred; + } + databasedl.Proxy = customproxy; + WriteStatus(" - Custom proxy settings applied!"); + } + else + { + databasedl.Proxy = WebRequest.GetSystemWebProxy(); + databasedl.UseDefaultCredentials = true; + } + string wiibrewsource = databasedl.DownloadString("http://www.wiibrew.org/wiki/NUS_Downloader/database"); statusbox.Refresh(); @@ -3435,6 +3465,33 @@ namespace NUS_Downloader req.Method = "POST"; req.UserAgent = "wii libnup/1.0"; req.Headers.Add("SOAPAction", '"' + "urn:nus.wsapi.broadon.com/" + '"'); + + // Proxy + if (!(String.IsNullOrEmpty(proxy_url))) + { + WebProxy customproxy = new WebProxy(); + customproxy.Address = new Uri(proxy_url); + if (String.IsNullOrEmpty(proxy_usr)) + customproxy.UseDefaultCredentials = true; + else + { + NetworkCredential cred = new NetworkCredential(); + cred.UserName = proxy_usr; + + if (!(String.IsNullOrEmpty(proxy_pwd))) + cred.Password = proxy_pwd; + + customproxy.Credentials = cred; + } + req.Proxy = customproxy; + WriteStatus(" - Custom proxy settings applied!"); + } + else + { + req.Proxy = WebRequest.GetSystemWebProxy(); + req.UseDefaultCredentials = true; + } + Stream writeStream = req.GetRequestStream(); UTF8Encoding encoding = new UTF8Encoding(); @@ -3472,17 +3529,25 @@ namespace NUS_Downloader private void emulateUpdate_DropDownItemClicked(object sender, ToolStripItemClickedEventArgs e) { // Begin Wii System Update + statusbox.Text = ""; WriteStatus("Starting Wii System Update..."); - extrasStrip.Close(); + extrasStrip.Close(); string deviceID = "4362227770"; string messageID = "13198105123219138"; string attr = "2"; - string RegionID = "USA"; - string CountryCode = "US"; - // TODO: Specific region/ccodes + string RegionID = e.ClickedItem.Text.Substring(0, 3); + if (RegionID == "JAP") // Japan fix, only region not w/ 1st 3 letters same as ID. + RegionID = "JPN"; + + string CountryCode = RegionID.Substring(0, 2); + + /* [14:26] RegionID: USA, Country: US; + RegionID: JPN, Country: JP; + RegionID: EUR, Country: EU; + RegionID: KOR, Country: KO; */ string soap_req = "\n\n"; WriteStatus(" - Sending SOAP Request to NUS..."); + WriteStatus(" - Region: " + RegionID); string update_xml = SendSOAPRequest(soap_req); if (update_xml != null) WriteStatus(" - Recieved Update Info!"); @@ -3528,7 +3594,10 @@ namespace NUS_Downloader break; } } - WriteStatus(String.Format("{0}v{1}", TitleID, Version)); + WriteStatus(String.Format(" - {0} [v{1}]", TitleID, Version)); + + if ((File.Exists("database.xml") == true) && ((!(String.IsNullOrEmpty(NameFromDatabase(TitleID)))))) + statusbox.Text += String.Format(" [{0}]", NameFromDatabase(TitleID)); } } @@ -3629,6 +3698,13 @@ namespace NUS_Downloader /// Existing name; else null private string NameFromDatabase(string titleid) { + // DANGER: BAD h4x HERE!! + // Fix MIOS/BC naming + if (titleid == "0000000100000101") + return "MIOS"; + else if (titleid == "0000000100000100") + return "BC"; + XmlDocument xDoc = new XmlDocument(); xDoc.Load("database.xml"); @@ -3640,7 +3716,7 @@ namespace NUS_Downloader { XmlNodeList XMLSpecificNodeTypeList = xDoc.GetElementsByTagName(XMLNodeTypes[i]); - for (int x = 0; x < XMLSpecificNodeTypeList.Count; x++) // FOR THE LIST OF A TYPE OF NODE + for (int x = 0; x < XMLSpecificNodeTypeList.Count; x++) // FOR EACH ITEM IN THE LIST OF A NODE TYPE { bool found_it = false; @@ -3789,5 +3865,62 @@ namespace NUS_Downloader " If you have an alternate port for accessing your proxy, add ':' followed by the port." + " You will be prompted for your password each time you run NUSD, for privacy purposes."); } + + private void enableBETATruchaFeaturesToolStripMenuItem_Click(object sender, EventArgs e) + { + truchabox.Visible = true; + } + + private void loadNUSScriptToolStripMenuItem_Click(object sender, EventArgs e) + { + // Current directory... + string currentdir = Application.StartupPath; + if (!(currentdir.EndsWith(@"\")) || !(currentdir.EndsWith(@"/"))) + currentdir += @"\"; + + // Open a NUS script. + OpenFileDialog ofd = new OpenFileDialog(); + ofd.Multiselect = false; + ofd.Filter = "NUS Scripts|*.nus|All Files|*.*"; + if (Directory.Exists(currentdir + "scripts")) + ofd.InitialDirectory = currentdir + "scripts"; + ofd.Title = "Load a NUS/Wiimpersonator script."; + + if (ofd.ShowDialog() != DialogResult.Cancel) + { + script_filename = ofd.FileName; + BackgroundWorker scripter = new BackgroundWorker(); + scripter.DoWork += new DoWorkEventHandler(RunScript); + scripter.RunWorkerAsync(); + } + } + + private void RunScript(object sender, System.ComponentModel.DoWorkEventArgs e) + { + Control.CheckForIllegalCrossThreadCalls = false; + WriteStatus("Starting script download. Please be patient!"); + string[] NUS_Entries = File.ReadAllLines(script_filename); + WriteStatus(String.Format(" - Script loaded ({0} Titles)", NUS_Entries.Length)); + + for (int a = 0; a < NUS_Entries.Length; a++) + { + // Download the title + string[] title_info = NUS_Entries[a].Split(' '); + titleidbox.Text = title_info[0]; + titleversion.Text = Convert.ToString(256*(byte.Parse(title_info[1].Substring(0, 2), System.Globalization.NumberStyles.HexNumber))); + titleversion.Text = Convert.ToString(Convert.ToInt32(titleversion.Text) + byte.Parse(title_info[1].Substring(2, 2), System.Globalization.NumberStyles.HexNumber)); + + button3_Click("Scripter", EventArgs.Empty); + + Thread.Sleep(1000); + + while (NUSDownloader.IsBusy) + { + Thread.Sleep(1000); + } + } + + WriteStatus("Script completed!"); + } } } diff --git a/NUS Downloader/Form1.resx b/NUS Downloader/Form1.resx index f8d0234..6fb44d3 100644 --- a/NUS Downloader/Form1.resx +++ b/NUS Downloader/Form1.resx @@ -123,216 +123,10 @@ 159, 17 - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m - dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKgSURBVDhPlZPdT5JhGMY58MS/oDMO+zDXsuWSrVSm - K3WLrIOYbs5lztTFEDN0ipEmJMJ4FSHfXhUUSJyggMo08QPzIz8IdX6jZZnYah27JbarF1oumrZ58Jw9 - 92/X/XuuhwGAcZIj6diMFbUu+Quo+b2cupmk/w63ur6HNTm/MNUOH0vetcWpMK2rK01rkFtWUWVaxF3J - 6N6xAN3wt3Cyf3eyvvczlPYtyMxeKDq9IB2bqLWuoqjRjcSSvv1jARqHT9g8sAPz+C6Mw9toev0B9d3r - EBsWIGlbwG2xE7H5XXFHAkjnxmlpz8RPAz1I9W1B2r6M8tZ5PKJm8VTvQZZ8BFdzzZqAuxBAIDbVv2tV - dQ/8qJwoRoXNAZVtDUTXKvgN08ghxiBsnEKKwI4r6XpOCEA79DWsoc/n1Tl3EDiStpYD8agQ6YTtgP/i - Lcq0s0iTDOKhagxx99sQlUqxQgCqXh+TsH/8vfPINpSdaxCo2/e5NebipBLjQUaVE3mEC/dqBhF9pwmR - iXXMEEB153uWzLwB/dAnPO9YgbpnHaU6DzJlGr9okIfr/HrcemwDO8uI8wmE9yxbHhYCEOlXOE8MS8Fn -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vDH+0eqk6iKjzT6K8x9ib8G3pPIf5i62eYpA0TWAAAAAElFTkSuQmCC \ No newline at end of file diff --git a/NUS Downloader/NUS Downloader.csproj b/NUS Downloader/NUS Downloader.csproj index 1e4db03..e32c882 100644 --- a/NUS Downloader/NUS Downloader.csproj +++ b/NUS Downloader/NUS Downloader.csproj @@ -70,6 +70,7 @@ Form1.cs PreserveNewest + @@ -96,6 +97,7 @@ Settings.settings True + Component @@ -111,6 +113,11 @@ + + + + + diff --git a/NUS Downloader/NUS.cs b/NUS Downloader/NUS.cs new file mode 100644 index 0000000..6d5aa5f --- /dev/null +++ b/NUS Downloader/NUS.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace NUS_Downloader +{ + class NUS + { + // NUS Urls + const string NUS_Wii = "http://nus.cdn.shop.wii.com/ccs/download/"; + const string NUS_DSi = "http://nus.cdn.t.shop.nintendowifi.net/ccs/download/"; + + // NUS Files + const string Ticket = "cetk"; + const string TMD = "tmd"; + + // Report Status back in EventHandler + public delegate void StatusChangedEventHandler(string status); + public event StatusChangedEventHandler StatusChanged; + } +} diff --git a/NUS Downloader/Properties/Resources.Designer.cs b/NUS Downloader/Properties/Resources.Designer.cs index 658f8b1..f6c2070 100644 --- a/NUS Downloader/Properties/Resources.Designer.cs +++ b/NUS Downloader/Properties/Resources.Designer.cs @@ -81,6 +81,13 @@ namespace NUS_Downloader.Properties { } } + internal static System.Drawing.Bitmap bug_error { + get { + object obj = ResourceManager.GetObject("bug_error", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + internal static System.Drawing.Bitmap bullet_green { get { object obj = ResourceManager.GetObject("bullet_green", resourceCulture); @@ -158,6 +165,34 @@ namespace NUS_Downloader.Properties { } } + internal static System.Drawing.Bitmap page_white_magnify { + get { + object obj = ResourceManager.GetObject("page_white_magnify", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap script_go { + get { + object obj = ResourceManager.GetObject("script_go", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap server_connect { + get { + object obj = ResourceManager.GetObject("server_connect", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + internal static System.Drawing.Bitmap server_link { + get { + object obj = ResourceManager.GetObject("server_link", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + internal static System.Drawing.Bitmap wilolgoi { get { object obj = ResourceManager.GetObject("wilolgoi", resourceCulture); diff --git a/NUS Downloader/Properties/Resources.resx b/NUS Downloader/Properties/Resources.resx index d79d56f..e0c9c78 100644 --- a/NUS Downloader/Properties/Resources.resx +++ b/NUS Downloader/Properties/Resources.resx @@ -163,4 +163,19 @@ ..\Resources\help.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\bug_error.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\page_white_magnify.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\script_go.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\server_connect.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\server_link.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/NUS Downloader/Resources/bug_error.png b/NUS Downloader/Resources/bug_error.png new file mode 100644 index 0000000000000000000000000000000000000000..c4e8c28096ae0acb84b63a7b51ed824b8d3fc62d GIT binary patch literal 841 zcmV-P1GfB$P)^i)=%W9=Qq(u(JWYNwrWtb6iNXdC)5JnjzyOGW5U1t#% zyK2%*!%WOH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VXLfI5V|PfiT%fBo4p0I*utLu+L{wAhW4WyNw4-MqKr+v}@`aXbg8 zLl__INxC)-4u+D!g5xjY3*8c5nkB_#-a)4M>BO7~Cs|BmwC`}VNvWzq%lgJWkByq`w8;dT_ zcII<{SeD~M{h7{suvRqEw2`HxF_EQY8d-)Wb7!e=>g?Z3IFx592OOQh-%CUC4Pnu9e!`IV? zHFZ$dK^cQBn;y1vVz1@ys{8A&=G{=VxxbP_EQ<|!yGNdqrHNQ4LR~ui*vn#5i*;0M z%y;HIF?qmBx$e^JPn}(Frz82n<7Y;3V$UO6-Ck z`Rh}6%iu^JtLo_&5AEuI>!p1F;OObXC%?R>tV`Wc+A;d5eLIf0cx%eJKYm^+r3U6{oTe5J$idmy?N@HcLyYCzv&ylY2Q6|YUcC@ zS0JxL_+skfwaKZA*S29ZHe(YuVW_XC)#~eO>5Nu>`140Y|GY7ihq12!{s-FVb;8HC R$Nc~R002ovPDHLkV1iD+kv;$b literal 0 HcmV?d00001 diff --git a/NUS Downloader/Resources/server_connect.png b/NUS Downloader/Resources/server_connect.png new file mode 100644 index 0000000000000000000000000000000000000000..49b269145afbb97ddd03fcfa844ea832c947fdd5 GIT binary patch literal 755 zcmVwYT0AgCL27sE1k% zB#Vk*Q+6?;e9+Vt!L4!K*`1ktXYNe*UVlWT^w7ZN+<|kx?>px^H{km|{^wKwm9Vg| zaNl*^8;;|sJc37gD5WAk3LK@NP$bk5Y$CIXlI%=4cd(q9B*cVPIfT zN-yMdJTl47IAHqHm0t=ttI8)@h=c;2s@8%}%bVy(RAhosz?g^LzLS!DUxmLngP`ow zrfn8+J7Zx$33yPOy6}EAf^^3q=H^}@`{F5>9HNI({R$?_cfm&~2_!((r0s!M>3g`lJ{4?wIwATQp;6yHt2^& zKYuq+Eb5L^v&R{AmzYgUE~OhIXUe@VXP)2T#eMsaNyJ@y*%#F`%&V0x=ZR~P^R7jY l<)&}aKbCWipX^bu^(V1WxGAiK0S5p8002ovPDHLkV1nEbSAPHi literal 0 HcmV?d00001 diff --git a/NUS Downloader/Resources/server_link.png b/NUS Downloader/Resources/server_link.png new file mode 100644 index 0000000000000000000000000000000000000000..e8821dfd88a4a178df1581e12832925c401a78c5 GIT binary patch literal 706 zcmV;z0zLhSP)?mgenukSf$Ow%;{&(Qz*V`F0@b#ij@ zxZm&VX$7rf9v>g``Z^Q}JsL?+C={#&cxkiQLb7}jJpw^hA^ed`yWNI#dL>L>e-q^M z`Fjj@I2>0@CKGnPR>A73szKFMBGRA`S+Ca{9f68h+-|q{(d{0gPvFmm91*Ce^UmFA z5o06)XEYcLXt&z~WkrF1>Y7m3eyMY_&vn4e3W2zY4~4B4@}Fo`ggWoJX72yn!Jt=~ zC}x7Gz;&TMbfKNo1KrTUkU)^IvNFituckW41Kdc8hGB^|5P zDhq;WG2$IrNz43AeK;CB`x^az|5dNo zn+^tpmuW~wqY?Fb9i>u9WcPSHn3$O0UhR>XE|bZ8|Bb-s^GTFBK#I#m;3Sa5N8M~T opRypm6;{4LkrnDigB(5h2_j2`gUi>R_y7O^07*qoM6N<$f)SrU?*IS* literal 0 HcmV?d00001 diff --git a/NUS Downloader/TMD.cs b/NUS Downloader/TMD.cs new file mode 100644 index 0000000..b49339c --- /dev/null +++ b/NUS Downloader/TMD.cs @@ -0,0 +1,56 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace NUS_Downloader +{ + class TMD + { + /* + * Title metadata is a format used to store information about a title (a single standalone game, channel, etc.) and all its installed contents, including which contents they consist of and their SHA1 hashes. + +Many operations are done in terms of 64-byte blocks, which means you will often see padding out to the nearest 64-byte boundary at the end of a field. +Contents + +Structure +Header +Start Length Description +0x000 4 Signature type +0x004 256 Signature +0x104 60 Padding modulo 64 +0x140 64 Issuer +0x180 1 Version +0x181 1 ca_crl_version +0x182 1 signer_crl_version +0x183 1 Padding modulo 64 +0x184 8 System Version (the ios that the title need) +0x18C 8 Title ID +0x194 4 Title type +0x198 2 Group ID +0x19A 62 reserved +0x1D8 4 Access rights (flags for DVD-video access and full PPC hardware access) +0x1DC 2 Title version +0x1DE 2 Number of contents (nbr_cont) +0x1E0 2 boot index +0x1E2 2 Padding modulo 64 +0x1E4 36*nbr_cont Contents +Content +Start Length Description +0x00 4 Content ID +0x04 2 Index +0x06 2 Type +0x08 8 Size +0x10 20 SHA1 hash +Certificates +Start Length Description +0x000 4 Signature type +0x004 256 Signature +0x104 32 Issuer +0x124 4 Tag +0x128 64 Name +0x168 Key +*/ + + + } +}