From c8554da8fa0339498cc7b284ca0facb64488de4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Przemys=C5=82aw=20Adamczyk?= Date: Tue, 20 Nov 2018 23:14:03 +0100 Subject: [PATCH] V2.6.3 --- YgoProPatcher/Form1.Designer.cs | 22 ++++++++++++++++++++-- YgoProPatcher/Form1.cs | 3 +-- YgoProPatcher/Properties/AssemblyInfo.cs | 2 +- 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/YgoProPatcher/Form1.Designer.cs b/YgoProPatcher/Form1.Designer.cs index 7af8817..469e411 100644 --- a/YgoProPatcher/Form1.Designer.cs +++ b/YgoProPatcher/Form1.Designer.cs @@ -51,6 +51,7 @@ private void InitializeComponent() this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.label1 = new System.Windows.Forms.Label(); this.FinishButton = new System.Windows.Forms.Button(); + this.label3 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // YGOPRO1PathButton @@ -256,7 +257,7 @@ private void InitializeComponent() // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Calibri", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); - this.label1.Location = new System.Drawing.Point(464, 222); + this.label1.Location = new System.Drawing.Point(464, 186); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(161, 36); this.label1.TabIndex = 20; @@ -278,6 +279,21 @@ private void InitializeComponent() this.FinishButton.Visible = false; this.FinishButton.Click += new System.EventHandler(this.FinishButton_Click); // + // label3 + // + this.label3.AutoSize = true; + this.label3.BackColor = System.Drawing.Color.Transparent; + this.label3.Font = new System.Drawing.Font("Consolas", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238))); + this.label3.ForeColor = System.Drawing.Color.Red; + this.label3.ImageAlign = System.Drawing.ContentAlignment.BottomCenter; + this.label3.Location = new System.Drawing.Point(435, 235); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(223, 52); + this.label3.TabIndex = 22; + this.label3.Text = "THERE WAS A CORE UPDATE FOR \r\nYGOPRO2 CLIENT. IF YOU WISH TO PLAY \r\nONLINE, YOU N" + + "EED TO REINSTALL CLIENT\r\nUSING THE OPTION ON THE LEFT!"; + this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // // YgoProPatcher // this.AcceptButton = this.UpdateButton; @@ -297,7 +313,6 @@ private void InitializeComponent() this.Controls.Add(this.internetCheckbox); this.Controls.Add(this.cancelButton); this.Controls.Add(this.progressBar); - this.Controls.Add(this.Status); this.Controls.Add(this.YgoPro2Path); this.Controls.Add(this.YgoProLinksPath); this.Controls.Add(this.label2); @@ -306,6 +321,8 @@ private void InitializeComponent() this.Controls.Add(this.YGOPRO1PathButton); this.Controls.Add(this.UpdateButton); this.Controls.Add(this.FinishButton); + this.Controls.Add(this.label3); + this.Controls.Add(this.Status); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238))); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); @@ -343,6 +360,7 @@ private void InitializeComponent() private System.Windows.Forms.ToolTip toolTip1; private System.Windows.Forms.Label label1; private System.Windows.Forms.Button FinishButton; + private System.Windows.Forms.Label label3; } } diff --git a/YgoProPatcher/Form1.cs b/YgoProPatcher/Form1.cs index 4d485ea..e72e5c7 100644 --- a/YgoProPatcher/Form1.cs +++ b/YgoProPatcher/Form1.cs @@ -342,7 +342,7 @@ private async Task> DownloadCDBSFromGithub(string destinationFolder List listOfCDBs = GitAccess.GetAllFilesWithExtensionFromYGOPRO("/", ".cdb"); string cdbFolder = Path.Combine(destinationFolder, "cdb"); - if(!await FileDownload("cards.cdb", cdbFolder, "https://github.com/purerosefallen/ygopro-database/raw/master/locales/en-US/", true)) + if(!await FileDownload("cards.cdb", cdbFolder, "https://github.com/szefo09/cdb/raw/master/", true)) { await FileDownload("cards.cdb", cdbFolder, "https://github.com/shadowfox87/ygopro2/raw/master/cdb/", true); } @@ -353,7 +353,6 @@ private async Task> DownloadCDBSFromGithub(string destinationFolder listOfDownloadedCDBS.Add(Path.Combine(cdbFolder, "prerelease-nfw.cdb")); } List downloadList = new List(); - listOfCDBs.RemoveAll(item => item.Contains("fit"));//Remove unnecessary fit* cdb foreach (string cdb in listOfCDBs) { diff --git a/YgoProPatcher/Properties/AssemblyInfo.cs b/YgoProPatcher/Properties/AssemblyInfo.cs index 753af52..8540de9 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.6.86.0")] +[assembly: AssemblyFileVersion("2.6.103.0")]