From 6f923be2cbac18bbb9b5d90a6f999da63fc9ad38 Mon Sep 17 00:00:00 2001 From: Szefo09 Date: Mon, 14 Jan 2019 02:31:30 +0100 Subject: [PATCH] V2.7.5 --- YgoProPatcher/Client.Designer.cs | 28 ++++++++++++++++++------ YgoProPatcher/Client.cs | 6 ++--- YgoProPatcher/Properties/AssemblyInfo.cs | 2 +- 3 files changed, 25 insertions(+), 11 deletions(-) diff --git a/YgoProPatcher/Client.Designer.cs b/YgoProPatcher/Client.Designer.cs index e100549..c66c4a4 100644 --- a/YgoProPatcher/Client.Designer.cs +++ b/YgoProPatcher/Client.Designer.cs @@ -60,6 +60,7 @@ private void InitializeComponent() this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); this.StartMinimizedCheckbox = new System.Windows.Forms.CheckBox(); this.submitFaceButton = new System.Windows.Forms.Button(); + this.label3 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.UpdateCheckerTimeNumeric)).BeginInit(); this.SuspendLayout(); // @@ -279,13 +280,12 @@ private void InitializeComponent() // // label4 // - this.label4.AutoSize = true; this.label4.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - this.label4.Location = new System.Drawing.Point(471, 333); + this.label4.Location = new System.Drawing.Point(476, 333); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(142, 36); + this.label4.Size = new System.Drawing.Size(149, 45); this.label4.TabIndex = 23; - this.label4.Text = "Please close YGOPro2\r\nbefore updating!"; + this.label4.Text = "Please close YGOPro2\r\nbefore updating!\r\n"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // backgroundWorker2 @@ -380,14 +380,26 @@ private void InitializeComponent() // submitFaceButton // this.submitFaceButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - this.submitFaceButton.Location = new System.Drawing.Point(12, 379); + this.submitFaceButton.Location = new System.Drawing.Point(10, 351); this.submitFaceButton.Name = "submitFaceButton"; - this.submitFaceButton.Size = new System.Drawing.Size(189, 62); + this.submitFaceButton.Size = new System.Drawing.Size(189, 90); this.submitFaceButton.TabIndex = 30; - this.submitFaceButton.Text = "Click this if you want to \r\nsubmit your own custom face icon for YGOPro2"; + this.submitFaceButton.Text = "Click this if you want to \r\nsubmit your own custom face icon for YGOPro2\r\n(that o" + + "ther duelists will see!)\r\n"; this.submitFaceButton.UseVisualStyleBackColor = true; this.submitFaceButton.Click += new System.EventHandler(this.FormSubmitButton_click); // + // label3 + // + this.label3.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.ForeColor = System.Drawing.Color.Red; + this.label3.Location = new System.Drawing.Point(435, 372); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(190, 45); + this.label3.TabIndex = 31; + this.label3.Text = "New Client with Room List\r\navailable! Reinstall to get it!\r\n"; + this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // YgoProPatcher // this.AcceptButton = this.UpdateButton; @@ -397,6 +409,7 @@ private void InitializeComponent() this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(670, 450); + this.Controls.Add(this.label3); this.Controls.Add(this.submitFaceButton); this.Controls.Add(this.StartMinimizedCheckbox); this.Controls.Add(this.MimimizeButton); @@ -471,5 +484,6 @@ private void InitializeComponent() private System.Windows.Forms.NotifyIcon notifyIcon1; private System.Windows.Forms.CheckBox StartMinimizedCheckbox; private System.Windows.Forms.Button submitFaceButton; + private System.Windows.Forms.Label label3; } } diff --git a/YgoProPatcher/Client.cs b/YgoProPatcher/Client.cs index a58e4ca..f704237 100644 --- a/YgoProPatcher/Client.cs +++ b/YgoProPatcher/Client.cs @@ -30,7 +30,7 @@ public YgoProPatcher() _pool.Release(throttleValue); toolTip1.SetToolTip(ReinstallCheckbox, "This will download the newest version of the YGOPro2 Client and install it.\nTHIS OPTION WILL OVERWRITE YOUR SETTINGS AND CUSTOM TEXTURES!"); toolTip1.SetToolTip(OverwriteCheckbox, "This will redownload all of the pictures in your picture folder."); - toolTip1.SetToolTip(gitHubDownloadCheckbox, "RECOMMENDED OPTION!\nThis will update your YGOPro2 with the newest cards, pictures and scripts."); + toolTip1.SetToolTip(gitHubDownloadCheckbox, "RECOMMENDED OPTION!\nThis will update your YGOPro2 with the newest cards, pictures."); toolTip1.SetToolTip(YgoPro2Path, "Please select your YGOPro2 directory which contains all the YGOPro2 files."); toolTip1.SetToolTip(YGOPRO2PathButton, "Please select your YGOPro2 directory which contains all the YGOPro2 files."); toolTip1.SetToolTip(YgoProLinksPath, "Please select your YGOPro Percy directory which contains all the YGOPro Percy files."); @@ -436,7 +436,7 @@ private void DownloadUsingCDB(List listOfDownloadedCDBS, string destinat { DataClass db = new DataClass(cdb); DataTable dt = db.SelectQuery("SELECT id FROM datas"); - Status.Invoke(new Action(() => Status.Text = "Updating pictures and scripts using " + Path.GetFileName(cdb))); + Status.Invoke(new Action(() => Status.Text = "Updating pictures using " + Path.GetFileName(cdb))); progressBar.Invoke(new Action(() => progressBar.Maximum = (dt.Rows.Count))); progressBar.Invoke(new Action(() => progressBar.Value = 0)); string dlWebsitePics = Data.GetPicWebsite(); @@ -513,7 +513,7 @@ private async Task GitHubDownload(string destinationFolder) CDBS = await DownloadCDBSFromGithub(destinationFolder); await FileDownload("lflist.conf", Path.Combine(YgoPro2Path.Text, "config"), "https://raw.githubusercontent.com/Ygoproco/Live2017Links/master/", true); await FileDownload("strings.conf", Path.Combine(YgoPro2Path.Text, "config"), Data.GetStringsWebsite(), true); - await GitDownloadFacesAsync(); + GitDownloadFacesAsync(); progressBar.Invoke(new Action(() => { progressBar.Value = progressBar.Maximum; })); DownloadUsingCDB(CDBS, destinationFolder); diff --git a/YgoProPatcher/Properties/AssemblyInfo.cs b/YgoProPatcher/Properties/AssemblyInfo.cs index a04573e..b5c2e40 100644 --- a/YgoProPatcher/Properties/AssemblyInfo.cs +++ b/YgoProPatcher/Properties/AssemblyInfo.cs @@ -33,4 +33,4 @@ // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("2.7.4.0")] +[assembly: AssemblyFileVersion("2.7.5.0")]