mirror of
https://github.com/WB3000/nusdownloader.git
synced 2024-11-17 07:09:21 +01:00
- Added the ability to convert hex string key.bin files to the correct format
- Added the ability to download key.bin from HackMii - Added a quickly made splash screen. - Updated sln to Visual Studio 2010 Express.
This commit is contained in:
parent
1e76a7bfea
commit
ee2ab61729
@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 10.00
|
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||||
# Visual Studio 2008
|
# Visual C# Express 2010
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUS Downloader", "NUS Downloader\NUS Downloader.csproj", "{DB1289FA-BA83-408F-A576-326E5EC4CC6D}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NUS Downloader", "NUS Downloader\NUS Downloader.csproj", "{DB1289FA-BA83-408F-A576-326E5EC4CC6D}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
|
377
NUS Downloader/Form1.Designer.cs
generated
377
NUS Downloader/Form1.Designer.cs
generated
@ -95,30 +95,15 @@
|
|||||||
this.button3 = new System.Windows.Forms.Button();
|
this.button3 = new System.Windows.Forms.Button();
|
||||||
this.contentsEdit = new System.Windows.Forms.ListBox();
|
this.contentsEdit = new System.Windows.Forms.ListBox();
|
||||||
this.contentModBox = new System.Windows.Forms.GroupBox();
|
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.button15 = new System.Windows.Forms.Button();
|
||||||
this.button14 = 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.button17 = new System.Windows.Forms.Button();
|
||||||
this.extrasStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
this.extrasStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||||
this.loadInfoFromTMDToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.emulateUpdate = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.uSANTSCToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.europePALToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.japanNTSCJToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.koreaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.proxySettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.enableBETATruchaFeaturesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.loadNUSScriptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.saveaswadbox = new System.Windows.Forms.CheckBox();
|
this.saveaswadbox = new System.Windows.Forms.CheckBox();
|
||||||
this.deletecontentsbox = new System.Windows.Forms.CheckBox();
|
this.deletecontentsbox = new System.Windows.Forms.CheckBox();
|
||||||
this.proxyBox = new System.Windows.Forms.GroupBox();
|
this.proxyBox = new System.Windows.Forms.GroupBox();
|
||||||
@ -126,15 +111,32 @@
|
|||||||
this.label12 = new System.Windows.Forms.Label();
|
this.label12 = new System.Windows.Forms.Label();
|
||||||
this.ProxyUser = new System.Windows.Forms.TextBox();
|
this.ProxyUser = new System.Windows.Forms.TextBox();
|
||||||
this.SaveProxyBtn = new System.Windows.Forms.Button();
|
this.SaveProxyBtn = new System.Windows.Forms.Button();
|
||||||
this.ProxyAssistBtn = new System.Windows.Forms.Button();
|
|
||||||
this.ProxyURL = new System.Windows.Forms.TextBox();
|
this.ProxyURL = new System.Windows.Forms.TextBox();
|
||||||
this.ProxyVerifyBox = new System.Windows.Forms.GroupBox();
|
this.ProxyVerifyBox = new System.Windows.Forms.GroupBox();
|
||||||
this.SaveProxyPwdBtn = new System.Windows.Forms.Button();
|
this.SaveProxyPwdBtn = new System.Windows.Forms.Button();
|
||||||
this.label14 = new System.Windows.Forms.Label();
|
this.label14 = new System.Windows.Forms.Label();
|
||||||
this.ProxyPwdBox = new System.Windows.Forms.TextBox();
|
this.ProxyPwdBox = new System.Windows.Forms.TextBox();
|
||||||
this.dlprogress = new wyDay.Controls.Windows7ProgressBar();
|
this.dlprogress = new wyDay.Controls.Windows7ProgressBar();
|
||||||
|
this.ProxyAssistBtn = new System.Windows.Forms.Button();
|
||||||
this.radioButton1 = new System.Windows.Forms.RadioButton();
|
this.radioButton1 = new System.Windows.Forms.RadioButton();
|
||||||
this.radioButton2 = new System.Windows.Forms.RadioButton();
|
this.radioButton2 = new System.Windows.Forms.RadioButton();
|
||||||
|
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.loadInfoFromTMDToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.emulateUpdate = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.uSANTSCToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.europePALToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.japanNTSCJToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.koreaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.proxySettingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.enableBETATruchaFeaturesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.loadNUSScriptToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.getCommonKeyMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.databaseStrip.SuspendLayout();
|
this.databaseStrip.SuspendLayout();
|
||||||
this.tmdgpbox.SuspendLayout();
|
this.tmdgpbox.SuspendLayout();
|
||||||
this.ticketgpbox.SuspendLayout();
|
this.ticketgpbox.SuspendLayout();
|
||||||
@ -313,7 +315,7 @@
|
|||||||
this.updateDatabaseToolStripMenuItem});
|
this.updateDatabaseToolStripMenuItem});
|
||||||
this.databaseStrip.Name = "databaseStrip";
|
this.databaseStrip.Name = "databaseStrip";
|
||||||
this.databaseStrip.ShowItemToolTips = false;
|
this.databaseStrip.ShowItemToolTips = false;
|
||||||
this.databaseStrip.Size = new System.Drawing.Size(164, 170);
|
this.databaseStrip.Size = new System.Drawing.Size(164, 148);
|
||||||
//
|
//
|
||||||
// SystemMenuList
|
// SystemMenuList
|
||||||
//
|
//
|
||||||
@ -767,28 +769,6 @@
|
|||||||
this.contentModBox.Text = "Edit Title Contents";
|
this.contentModBox.Text = "Edit Title Contents";
|
||||||
this.contentModBox.Visible = false;
|
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
|
// button15
|
||||||
//
|
//
|
||||||
this.button15.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
this.button15.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||||
@ -811,61 +791,6 @@
|
|||||||
this.button14.UseVisualStyleBackColor = true;
|
this.button14.UseVisualStyleBackColor = true;
|
||||||
this.button14.Click += new System.EventHandler(this.button14_Click);
|
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
|
// button17
|
||||||
//
|
//
|
||||||
this.button17.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
this.button17.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
|
||||||
@ -889,98 +814,36 @@
|
|||||||
this.toolStripSeparator5,
|
this.toolStripSeparator5,
|
||||||
this.enableBETATruchaFeaturesToolStripMenuItem,
|
this.enableBETATruchaFeaturesToolStripMenuItem,
|
||||||
this.toolStripSeparator6,
|
this.toolStripSeparator6,
|
||||||
this.loadNUSScriptToolStripMenuItem});
|
this.loadNUSScriptToolStripMenuItem,
|
||||||
|
this.toolStripSeparator7,
|
||||||
|
this.getCommonKeyMenuItem});
|
||||||
this.extrasStrip.Name = "extrasStrip";
|
this.extrasStrip.Name = "extrasStrip";
|
||||||
this.extrasStrip.Size = new System.Drawing.Size(228, 138);
|
this.extrasStrip.Size = new System.Drawing.Size(242, 188);
|
||||||
//
|
|
||||||
// loadInfoFromTMDToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.loadInfoFromTMDToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.page_white_magnify;
|
|
||||||
this.loadInfoFromTMDToolStripMenuItem.Name = "loadInfoFromTMDToolStripMenuItem";
|
|
||||||
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
|
// toolStripSeparator3
|
||||||
//
|
//
|
||||||
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
this.toolStripSeparator3.Name = "toolStripSeparator3";
|
||||||
this.toolStripSeparator3.Size = new System.Drawing.Size(224, 6);
|
this.toolStripSeparator3.Size = new System.Drawing.Size(238, 6);
|
||||||
//
|
|
||||||
// emulateUpdate
|
|
||||||
//
|
|
||||||
this.emulateUpdate.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
||||||
this.uSANTSCToolStripMenuItem,
|
|
||||||
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(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(117, 22);
|
|
||||||
this.uSANTSCToolStripMenuItem.Text = "USA";
|
|
||||||
//
|
|
||||||
// europePALToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.europePALToolStripMenuItem.Name = "europePALToolStripMenuItem";
|
|
||||||
this.europePALToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
|
||||||
this.europePALToolStripMenuItem.Text = "EUROPE";
|
|
||||||
//
|
|
||||||
// japanNTSCJToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.japanNTSCJToolStripMenuItem.Name = "japanNTSCJToolStripMenuItem";
|
|
||||||
this.japanNTSCJToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
|
||||||
this.japanNTSCJToolStripMenuItem.Text = "JAPAN";
|
|
||||||
//
|
|
||||||
// koreaToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.koreaToolStripMenuItem.Name = "koreaToolStripMenuItem";
|
|
||||||
this.koreaToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
|
||||||
this.koreaToolStripMenuItem.Text = "KOREA";
|
|
||||||
//
|
//
|
||||||
// toolStripSeparator4
|
// toolStripSeparator4
|
||||||
//
|
//
|
||||||
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
this.toolStripSeparator4.Name = "toolStripSeparator4";
|
||||||
this.toolStripSeparator4.Size = new System.Drawing.Size(224, 6);
|
this.toolStripSeparator4.Size = new System.Drawing.Size(238, 6);
|
||||||
//
|
|
||||||
// proxySettingsToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.proxySettingsToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.server_link;
|
|
||||||
this.proxySettingsToolStripMenuItem.Name = "proxySettingsToolStripMenuItem";
|
|
||||||
this.proxySettingsToolStripMenuItem.Size = new System.Drawing.Size(227, 22);
|
|
||||||
this.proxySettingsToolStripMenuItem.Text = "Proxy Settings";
|
|
||||||
this.proxySettingsToolStripMenuItem.Click += new System.EventHandler(this.proxySettingsToolStripMenuItem_Click);
|
|
||||||
//
|
//
|
||||||
// toolStripSeparator5
|
// toolStripSeparator5
|
||||||
//
|
//
|
||||||
this.toolStripSeparator5.Name = "toolStripSeparator5";
|
this.toolStripSeparator5.Name = "toolStripSeparator5";
|
||||||
this.toolStripSeparator5.Size = new System.Drawing.Size(224, 6);
|
this.toolStripSeparator5.Size = new System.Drawing.Size(238, 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
|
// toolStripSeparator6
|
||||||
//
|
//
|
||||||
this.toolStripSeparator6.Name = "toolStripSeparator6";
|
this.toolStripSeparator6.Name = "toolStripSeparator6";
|
||||||
this.toolStripSeparator6.Size = new System.Drawing.Size(224, 6);
|
this.toolStripSeparator6.Size = new System.Drawing.Size(238, 6);
|
||||||
//
|
//
|
||||||
// loadNUSScriptToolStripMenuItem
|
// toolStripSeparator7
|
||||||
//
|
//
|
||||||
this.loadNUSScriptToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.script_go;
|
this.toolStripSeparator7.Name = "toolStripSeparator7";
|
||||||
this.loadNUSScriptToolStripMenuItem.Name = "loadNUSScriptToolStripMenuItem";
|
this.toolStripSeparator7.Size = new System.Drawing.Size(238, 6);
|
||||||
this.loadNUSScriptToolStripMenuItem.Size = new System.Drawing.Size(227, 22);
|
|
||||||
this.loadNUSScriptToolStripMenuItem.Text = "Load NUS Script";
|
|
||||||
this.loadNUSScriptToolStripMenuItem.Click += new System.EventHandler(this.loadNUSScriptToolStripMenuItem_Click);
|
|
||||||
//
|
//
|
||||||
// saveaswadbox
|
// saveaswadbox
|
||||||
//
|
//
|
||||||
@ -1059,17 +922,6 @@
|
|||||||
this.SaveProxyBtn.UseVisualStyleBackColor = true;
|
this.SaveProxyBtn.UseVisualStyleBackColor = true;
|
||||||
this.SaveProxyBtn.Click += new System.EventHandler(this.SaveProxyBtn_Click);
|
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
|
// ProxyURL
|
||||||
//
|
//
|
||||||
this.ProxyURL.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
this.ProxyURL.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||||
@ -1130,6 +982,17 @@
|
|||||||
this.dlprogress.Size = new System.Drawing.Size(250, 15);
|
this.dlprogress.Size = new System.Drawing.Size(250, 15);
|
||||||
this.dlprogress.TabIndex = 47;
|
this.dlprogress.TabIndex = 47;
|
||||||
//
|
//
|
||||||
|
// 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
|
// radioButton1
|
||||||
//
|
//
|
||||||
this.radioButton1.BackColor = System.Drawing.Color.Transparent;
|
this.radioButton1.BackColor = System.Drawing.Color.Transparent;
|
||||||
@ -1154,6 +1017,160 @@
|
|||||||
this.radioButton2.UseVisualStyleBackColor = true;
|
this.radioButton2.UseVisualStyleBackColor = true;
|
||||||
this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
|
this.radioButton2.CheckedChanged += new System.EventHandler(this.radioButton2_CheckedChanged);
|
||||||
//
|
//
|
||||||
|
// 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);
|
||||||
|
//
|
||||||
|
// loadInfoFromTMDToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.loadInfoFromTMDToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.page_white_magnify;
|
||||||
|
this.loadInfoFromTMDToolStripMenuItem.Name = "loadInfoFromTMDToolStripMenuItem";
|
||||||
|
this.loadInfoFromTMDToolStripMenuItem.Size = new System.Drawing.Size(241, 22);
|
||||||
|
this.loadInfoFromTMDToolStripMenuItem.Text = "Load Info from TMD";
|
||||||
|
this.loadInfoFromTMDToolStripMenuItem.Click += new System.EventHandler(this.loadInfoFromTMDToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// emulateUpdate
|
||||||
|
//
|
||||||
|
this.emulateUpdate.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.uSANTSCToolStripMenuItem,
|
||||||
|
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(241, 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(117, 22);
|
||||||
|
this.uSANTSCToolStripMenuItem.Text = "USA";
|
||||||
|
//
|
||||||
|
// europePALToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.europePALToolStripMenuItem.Name = "europePALToolStripMenuItem";
|
||||||
|
this.europePALToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
||||||
|
this.europePALToolStripMenuItem.Text = "EUROPE";
|
||||||
|
//
|
||||||
|
// japanNTSCJToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.japanNTSCJToolStripMenuItem.Name = "japanNTSCJToolStripMenuItem";
|
||||||
|
this.japanNTSCJToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
||||||
|
this.japanNTSCJToolStripMenuItem.Text = "JAPAN";
|
||||||
|
//
|
||||||
|
// koreaToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.koreaToolStripMenuItem.Name = "koreaToolStripMenuItem";
|
||||||
|
this.koreaToolStripMenuItem.Size = new System.Drawing.Size(117, 22);
|
||||||
|
this.koreaToolStripMenuItem.Text = "KOREA";
|
||||||
|
//
|
||||||
|
// proxySettingsToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.proxySettingsToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.server_link;
|
||||||
|
this.proxySettingsToolStripMenuItem.Name = "proxySettingsToolStripMenuItem";
|
||||||
|
this.proxySettingsToolStripMenuItem.Size = new System.Drawing.Size(241, 22);
|
||||||
|
this.proxySettingsToolStripMenuItem.Text = "Proxy Settings";
|
||||||
|
this.proxySettingsToolStripMenuItem.Click += new System.EventHandler(this.proxySettingsToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// enableBETATruchaFeaturesToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.enableBETATruchaFeaturesToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.bug_error;
|
||||||
|
this.enableBETATruchaFeaturesToolStripMenuItem.Name = "enableBETATruchaFeaturesToolStripMenuItem";
|
||||||
|
this.enableBETATruchaFeaturesToolStripMenuItem.Size = new System.Drawing.Size(241, 22);
|
||||||
|
this.enableBETATruchaFeaturesToolStripMenuItem.Text = "Enable BETA Trucha Features";
|
||||||
|
this.enableBETATruchaFeaturesToolStripMenuItem.Click += new System.EventHandler(this.enableBETATruchaFeaturesToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// loadNUSScriptToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.loadNUSScriptToolStripMenuItem.Image = global::NUS_Downloader.Properties.Resources.script_go;
|
||||||
|
this.loadNUSScriptToolStripMenuItem.Name = "loadNUSScriptToolStripMenuItem";
|
||||||
|
this.loadNUSScriptToolStripMenuItem.Size = new System.Drawing.Size(241, 22);
|
||||||
|
this.loadNUSScriptToolStripMenuItem.Text = "Load NUS Script";
|
||||||
|
this.loadNUSScriptToolStripMenuItem.Click += new System.EventHandler(this.loadNUSScriptToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// getCommonKeyMenuItem
|
||||||
|
//
|
||||||
|
this.getCommonKeyMenuItem.Image = global::NUS_Downloader.Properties.Resources.key;
|
||||||
|
this.getCommonKeyMenuItem.Name = "getCommonKeyMenuItem";
|
||||||
|
this.getCommonKeyMenuItem.Size = new System.Drawing.Size(241, 22);
|
||||||
|
this.getCommonKeyMenuItem.Text = "Retrieve Common Key (key.bin)";
|
||||||
|
this.getCommonKeyMenuItem.Click += new System.EventHandler(this.getCommonKeyMenuItem_Click);
|
||||||
|
//
|
||||||
// Form1
|
// Form1
|
||||||
//
|
//
|
||||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
@ -1323,6 +1340,8 @@
|
|||||||
private System.Windows.Forms.ToolStripMenuItem enableBETATruchaFeaturesToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem enableBETATruchaFeaturesToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator6;
|
||||||
private System.Windows.Forms.ToolStripMenuItem loadNUSScriptToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem loadNUSScriptToolStripMenuItem;
|
||||||
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator7;
|
||||||
|
private System.Windows.Forms.ToolStripMenuItem getCommonKeyMenuItem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -18,8 +18,9 @@ namespace NUS_Downloader
|
|||||||
{
|
{
|
||||||
const string NUSURL = "http://nus.cdn.shop.wii.com/ccs/download/";
|
const string NUSURL = "http://nus.cdn.shop.wii.com/ccs/download/";
|
||||||
const string DSiNUSURL = "http://nus.cdn.t.shop.nintendowifi.net/ccs/download/";
|
const string DSiNUSURL = "http://nus.cdn.t.shop.nintendowifi.net/ccs/download/";
|
||||||
|
|
||||||
// TODO: Always remember to change version!
|
// TODO: Always remember to change version!
|
||||||
string version = "v1.3 Beta";
|
string version = "v1.5 (Beta)";
|
||||||
WebClient generalWC = new WebClient();
|
WebClient generalWC = new WebClient();
|
||||||
static RijndaelManaged rijndaelCipher;
|
static RijndaelManaged rijndaelCipher;
|
||||||
static bool dsidecrypt = false;
|
static bool dsidecrypt = false;
|
||||||
@ -55,6 +56,7 @@ namespace NUS_Downloader
|
|||||||
|
|
||||||
// Common Key hash
|
// Common Key hash
|
||||||
byte[] wii_commonkey_sha1 = new byte[20] { 0xEB, 0xEA, 0xE6, 0xD2, 0x76, 0x2D, 0x4D, 0x3E, 0xA1, 0x60, 0xA6, 0xD8, 0x32, 0x7F, 0xAC, 0x9A, 0x25, 0xF8, 0x06, 0x2B };
|
byte[] wii_commonkey_sha1 = new byte[20] { 0xEB, 0xEA, 0xE6, 0xD2, 0x76, 0x2D, 0x4D, 0x3E, 0xA1, 0x60, 0xA6, 0xD8, 0x32, 0x7F, 0xAC, 0x9A, 0x25, 0xF8, 0x06, 0x2B };
|
||||||
|
byte[] wii_commonkey_sha1_asstring = new byte[20] { 0x56, 0xdd, 0x4e, 0xb3, 0x59, 0x75, 0xc2, 0xfd, 0x5a, 0xe8, 0xba, 0x8c, 0x7d, 0x89, 0x9a, 0xc5, 0xe6, 0x17, 0x54, 0x19 };
|
||||||
/*
|
/*
|
||||||
public struct WADHeader
|
public struct WADHeader
|
||||||
{
|
{
|
||||||
@ -85,7 +87,16 @@ namespace NUS_Downloader
|
|||||||
public Form1()
|
public Form1()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
|
Thread th = new Thread(new ThreadStart(DoSplash));
|
||||||
|
th.Start();
|
||||||
BootChecks();
|
BootChecks();
|
||||||
|
th.Abort();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void DoSplash()
|
||||||
|
{
|
||||||
|
Splash sp = new Splash();
|
||||||
|
sp.ShowDialog();
|
||||||
}
|
}
|
||||||
|
|
||||||
// CLI Mode
|
// CLI Mode
|
||||||
@ -214,13 +225,31 @@ namespace NUS_Downloader
|
|||||||
if (File.Exists(currentdir + "key.bin") == false)
|
if (File.Exists(currentdir + "key.bin") == false)
|
||||||
{
|
{
|
||||||
WriteStatus("Common Key (key.bin) missing! Decryption disabled!");
|
WriteStatus("Common Key (key.bin) missing! Decryption disabled!");
|
||||||
|
WriteStatus(" - To enable it, why not try choosing \"Retrieve Common Key\" from the Extras menu?");
|
||||||
decryptbox.Visible = false;
|
decryptbox.Visible = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
WriteStatus("Common Key detected.");
|
WriteStatus("Common Key detected.");
|
||||||
if ((Convert.ToBase64String(ComputeSHA(LoadCommonKey("key.bin")))) != (Convert.ToBase64String(wii_commonkey_sha1)))
|
if ((Convert.ToBase64String(ComputeSHA(LoadCommonKey("key.bin")))) != (Convert.ToBase64String(wii_commonkey_sha1)))
|
||||||
WriteStatus(" - (PS: Your common key isn't hashing right!");
|
{ // Hmm, seems to be a bad hash
|
||||||
|
// Let's check if it matches the hex string version...
|
||||||
|
if ((Convert.ToBase64String(ComputeSHA(LoadCommonKey("key.bin")))) != (Convert.ToBase64String(wii_commonkey_sha1_asstring)))
|
||||||
|
WriteStatus(" - (PS: Your common key isn't hashing right!)");
|
||||||
|
else
|
||||||
|
{
|
||||||
|
WriteStatus(" - Converting your key.bin file to the correct format...");
|
||||||
|
// Directory stuff
|
||||||
|
string keydir = Application.StartupPath;
|
||||||
|
if (!(keydir.EndsWith(Path.DirectorySeparatorChar.ToString())) || !(keydir.EndsWith(Path.AltDirectorySeparatorChar.ToString())))
|
||||||
|
keydir += Path.DirectorySeparatorChar.ToString();
|
||||||
|
TextReader ckreader = new StreamReader(currentdir + "key.bin");
|
||||||
|
String ckashex = ckreader.ReadLine();
|
||||||
|
ckreader.Close();
|
||||||
|
File.Delete(currentdir + "key.bin");
|
||||||
|
WriteCommonKey("key.bin", HexStringToByteArray(ckashex));
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check for Wii KOR common key bin file...
|
// Check for Wii KOR common key bin file...
|
||||||
@ -1637,7 +1666,7 @@ namespace NUS_Downloader
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Loads the common key from disc.
|
/// Loads the common key from disc.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="keyfile">The keyfile.</param>
|
/// <param name="keyfile">The keyfile filename.</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
public byte[] LoadCommonKey(string keyfile)
|
public byte[] LoadCommonKey(string keyfile)
|
||||||
{
|
{
|
||||||
@ -1655,6 +1684,38 @@ namespace NUS_Downloader
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Writes/overwrites the common key onto disc.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="keyfile">The keyfile filename.</param>
|
||||||
|
/// <param name="commonkey">The byte array of the common key.</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public bool WriteCommonKey(string keyfile, byte[] commonkey)
|
||||||
|
{
|
||||||
|
// Directory stuff
|
||||||
|
string currentdir = Application.StartupPath;
|
||||||
|
if (!(currentdir.EndsWith(Path.DirectorySeparatorChar.ToString())) || !(currentdir.EndsWith(Path.AltDirectorySeparatorChar.ToString())))
|
||||||
|
currentdir += Path.DirectorySeparatorChar.ToString();
|
||||||
|
|
||||||
|
if (File.Exists(currentdir + keyfile) == true)
|
||||||
|
{
|
||||||
|
WriteStatus("Overwriting old key.bin...");
|
||||||
|
}
|
||||||
|
try
|
||||||
|
{
|
||||||
|
FileStream fs = File.OpenWrite(currentdir + keyfile);
|
||||||
|
fs.Write(commonkey, 0, commonkey.Length);
|
||||||
|
fs.Close();
|
||||||
|
WriteStatus("key.bin written - reloading...");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
catch (IOException e)
|
||||||
|
{
|
||||||
|
WriteStatus("Error: couldn't write key.bin");
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
private void button4_Click(object sender, EventArgs e)
|
private void button4_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
// Open Database button menu...
|
// Open Database button menu...
|
||||||
@ -3995,6 +4056,86 @@ namespace NUS_Downloader
|
|||||||
WriteStatus("Script completed!");
|
WriteStatus("Script completed!");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void getCommonKeyMenuItem_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
WriteStatus("Preparing to retrieve common key...");
|
||||||
|
|
||||||
|
// Begin the epic grab for freedom
|
||||||
|
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 keyspostsource = databasedl.DownloadString("http://hackmii.com/2008/04/keys-keys-keys/");
|
||||||
|
statusbox.Refresh();
|
||||||
|
|
||||||
|
// Find our start point
|
||||||
|
string startofcommonkey = "Common key (";
|
||||||
|
keyspostsource = keyspostsource.Substring(keyspostsource.IndexOf(startofcommonkey) + startofcommonkey.Length, 32);
|
||||||
|
WriteStatus("Got the common key as: " + keyspostsource);
|
||||||
|
byte[] commonkey = HexStringToByteArray(keyspostsource);
|
||||||
|
if (WriteCommonKey("key.bin", commonkey))
|
||||||
|
{
|
||||||
|
BootChecks();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string ByteArrayToHexString(byte[] Bytes)
|
||||||
|
{
|
||||||
|
StringBuilder Result = new StringBuilder();
|
||||||
|
string HexAlphabet = "0123456789ABCDEF";
|
||||||
|
|
||||||
|
foreach (byte B in Bytes)
|
||||||
|
{
|
||||||
|
Result.Append(HexAlphabet[(int)(B >> 4)]);
|
||||||
|
Result.Append(HexAlphabet[(int)(B & 0xF)]);
|
||||||
|
}
|
||||||
|
|
||||||
|
return Result.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static byte[] HexStringToByteArray(string Hex)
|
||||||
|
{
|
||||||
|
byte[] Bytes = new byte[Hex.Length / 2];
|
||||||
|
int[] HexValue = new int[] { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09,
|
||||||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 0x0B, 0x0C, 0x0D,
|
||||||
|
0x0E, 0x0F };
|
||||||
|
|
||||||
|
for (int x = 0, i = 0; i < Hex.Length; i += 2, x += 1)
|
||||||
|
{
|
||||||
|
Bytes[x] = (byte)(HexValue[Char.ToUpper(Hex[i + 0]) - '0'] << 4 |
|
||||||
|
HexValue[Char.ToUpper(Hex[i + 1]) - '0']);
|
||||||
|
}
|
||||||
|
|
||||||
|
return Bytes;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -112,18 +112,18 @@
|
|||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<resheader name="reader">
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<metadata name="NUSDownloader.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="NUSDownloader.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>17, 17</value>
|
<value>17, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<metadata name="databaseStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="databaseStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>159, 17</value>
|
<value>159, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<data name="button12.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="button12.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m
|
||||||
@ -206,7 +206,7 @@
|
|||||||
c3rr+88Wyom3k23LfyYpTu77C4h89ngRLmtIAAAAAElFTkSuQmCC
|
c3rr+88Wyom3k23LfyYpTu77C4h89ngRLmtIAAAAAElFTkSuQmCC
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<metadata name="extrasStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="extrasStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
<value>285, 17</value>
|
<value>285, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<data name="radioButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="radioButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
@ -10,7 +10,7 @@
|
|||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>NUS_Downloader</RootNamespace>
|
<RootNamespace>NUS_Downloader</RootNamespace>
|
||||||
<AssemblyName>NUS Downloader</AssemblyName>
|
<AssemblyName>NUS Downloader</AssemblyName>
|
||||||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<ApplicationIcon>direction_down.ico</ApplicationIcon>
|
<ApplicationIcon>direction_down.ico</ApplicationIcon>
|
||||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
@ -20,6 +20,11 @@
|
|||||||
<SignManifests>false</SignManifests>
|
<SignManifests>false</SignManifests>
|
||||||
<TargetZone>LocalIntranet</TargetZone>
|
<TargetZone>LocalIntranet</TargetZone>
|
||||||
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
|
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
|
||||||
|
<FileUpgradeFlags>
|
||||||
|
</FileUpgradeFlags>
|
||||||
|
<UpgradeBackupLocation>
|
||||||
|
</UpgradeBackupLocation>
|
||||||
|
<OldToolsVersion>3.5</OldToolsVersion>
|
||||||
<PublishUrl>publish\</PublishUrl>
|
<PublishUrl>publish\</PublishUrl>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
<InstallFrom>Disk</InstallFrom>
|
<InstallFrom>Disk</InstallFrom>
|
||||||
@ -88,6 +93,9 @@
|
|||||||
<DependentUpon>Resources.resx</DependentUpon>
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<EmbeddedResource Include="Splash.resx">
|
||||||
|
<DependentUpon>Splash.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<None Include="Properties\Settings.settings">
|
<None Include="Properties\Settings.settings">
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
@ -97,6 +105,12 @@
|
|||||||
<DependentUpon>Settings.settings</DependentUpon>
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="Splash.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Splash.Designer.cs">
|
||||||
|
<DependentUpon>Splash.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="TMD.cs" />
|
<Compile Include="TMD.cs" />
|
||||||
<Compile Include="WADPacker.cs" />
|
<Compile Include="WADPacker.cs" />
|
||||||
<Compile Include="Windows7ProgressBar.cs">
|
<Compile Include="Windows7ProgressBar.cs">
|
||||||
@ -113,6 +127,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Content Include="direction_down.ico" />
|
<Content Include="direction_down.ico" />
|
||||||
|
<Content Include="Resources\key.png" />
|
||||||
<None Include="Resources\page_white_magnify.png" />
|
<None Include="Resources\page_white_magnify.png" />
|
||||||
<None Include="Resources\server_link.png" />
|
<None Include="Resources\server_link.png" />
|
||||||
<None Include="Resources\server_connect.png" />
|
<None Include="Resources\server_connect.png" />
|
||||||
@ -134,6 +149,11 @@
|
|||||||
<None Include="Resources\bullet_red.png" />
|
<None Include="Resources\bullet_red.png" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
|
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
|
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
|
||||||
@ -149,6 +169,11 @@
|
|||||||
<ProductName>.NET Framework 3.5</ProductName>
|
<ProductName>.NET Framework 3.5</ProductName>
|
||||||
<Install>false</Install>
|
<Install>false</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
18
NUS Downloader/Properties/Resources.Designer.cs
generated
18
NUS Downloader/Properties/Resources.Designer.cs
generated
@ -1,7 +1,7 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
// Runtime Version:2.0.50727.4918
|
// Runtime Version:4.0.30319.1
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
@ -19,7 +19,7 @@ namespace NUS_Downloader.Properties {
|
|||||||
// class via a tool like ResGen or Visual Studio.
|
// class via a tool like ResGen or Visual Studio.
|
||||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||||
// with the /str option, or rebuild your VS project.
|
// with the /str option, or rebuild your VS project.
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
internal class Resources {
|
internal class Resources {
|
||||||
@ -130,6 +130,13 @@ namespace NUS_Downloader.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
internal static System.Drawing.Bitmap direction_down {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("direction_down", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
internal static System.Drawing.Bitmap dsi {
|
internal static System.Drawing.Bitmap dsi {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("dsi", resourceCulture);
|
object obj = ResourceManager.GetObject("dsi", resourceCulture);
|
||||||
@ -144,6 +151,13 @@ namespace NUS_Downloader.Properties {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
internal static System.Drawing.Bitmap key {
|
||||||
|
get {
|
||||||
|
object obj = ResourceManager.GetObject("key", resourceCulture);
|
||||||
|
return ((System.Drawing.Bitmap)(obj));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
internal static System.Drawing.Bitmap link {
|
internal static System.Drawing.Bitmap link {
|
||||||
get {
|
get {
|
||||||
object obj = ResourceManager.GetObject("link", resourceCulture);
|
object obj = ResourceManager.GetObject("link", resourceCulture);
|
||||||
|
@ -112,56 +112,44 @@
|
|||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<resheader name="reader">
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||||
|
<data name="package_delete" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\package_delete.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="bug_add" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\bug_add.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="arrow_up" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\arrow_up.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
<data name="wilolgoi" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="wilolgoi" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\wilolgoi.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\wilolgoi.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="dsi" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\dsi.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="bullet_red" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\bullet_red.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="bullet_green" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\bullet_green.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="bullet_orange" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\bullet_orange.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="bullet_redorange" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\bullet_redorange.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="bullet_redgreen" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="bullet_redgreen" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\bullet_redgreen.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\bullet_redgreen.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="arrow_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="arrow_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\arrow_down.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\arrow_down.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="arrow_up" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\arrow_up.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="connect" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
|
||||||
<value>..\Resources\connect.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
|
||||||
</data>
|
|
||||||
<data name="package_add" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="package_add" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\package_add.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\package_add.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="package_delete" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="dsi" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\package_delete.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\dsi.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="bug_add" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="server_connect" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\bug_add.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\server_connect.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="link" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="bullet_red" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\link.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\bullet_red.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="help" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="bullet_green" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\help.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\bullet_green.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="bug_error" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="bug_error" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\bug_error.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\bug_error.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
@ -172,10 +160,28 @@
|
|||||||
<data name="script_go" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="script_go" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\script_go.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\script_go.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="server_connect" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="connect" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\server_connect.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\connect.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="bullet_orange" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\bullet_orange.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="server_link" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
<data name="server_link" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
<value>..\Resources\server_link.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
<value>..\Resources\server_link.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
</data>
|
</data>
|
||||||
|
<data name="key" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\key.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="bullet_redorange" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\bullet_redorange.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="link" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\link.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="help" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\Resources\help.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
|
<data name="direction_down" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||||
|
<value>..\direction_down.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||||
|
</data>
|
||||||
</root>
|
</root>
|
24
NUS Downloader/Properties/Settings.Designer.cs
generated
24
NUS Downloader/Properties/Settings.Designer.cs
generated
@ -1,28 +1,24 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
// Runtime Version:2.0.50727.3506
|
// Runtime Version:4.0.30319.1
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace NUS_Downloader.Properties
|
namespace NUS_Downloader.Properties {
|
||||||
{
|
|
||||||
|
|
||||||
|
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "9.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
|
||||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||||
{
|
|
||||||
|
|
||||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
||||||
public static Settings Default
|
public static Settings Default {
|
||||||
{
|
get {
|
||||||
get
|
|
||||||
{
|
|
||||||
return defaultInstance;
|
return defaultInstance;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
BIN
NUS Downloader/Resources/key.png
Normal file
BIN
NUS Downloader/Resources/key.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 612 B |
78
NUS Downloader/Splash.Designer.cs
generated
Normal file
78
NUS Downloader/Splash.Designer.cs
generated
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
namespace NUS_Downloader
|
||||||
|
{
|
||||||
|
partial class Splash
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Required designer variable.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Clean up any resources being used.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing && (components != null))
|
||||||
|
{
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Required method for Designer support - do not modify
|
||||||
|
/// the contents of this method with the code editor.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Splash));
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.AutoSize = true;
|
||||||
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label1.Location = new System.Drawing.Point(58, 38);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(214, 20);
|
||||||
|
this.label1.TabIndex = 0;
|
||||||
|
this.label1.Text = "NUS Downloader is loading...";
|
||||||
|
//
|
||||||
|
// pictureBox1
|
||||||
|
//
|
||||||
|
this.pictureBox1.Image = global::NUS_Downloader.Properties.Resources.direction_down;
|
||||||
|
this.pictureBox1.Location = new System.Drawing.Point(11, 38);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(41, 34);
|
||||||
|
this.pictureBox1.TabIndex = 1;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
//
|
||||||
|
// Splash
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(284, 107);
|
||||||
|
this.Controls.Add(this.pictureBox1);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
|
||||||
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
|
this.Name = "Splash";
|
||||||
|
this.Text = "NUS Downloader - Loading...";
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
|
}
|
||||||
|
}
|
19
NUS Downloader/Splash.cs
Normal file
19
NUS Downloader/Splash.cs
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace NUS_Downloader
|
||||||
|
{
|
||||||
|
public partial class Splash : Form
|
||||||
|
{
|
||||||
|
public Splash()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
1787
NUS Downloader/Splash.resx
Normal file
1787
NUS Downloader/Splash.resx
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user