From 3edfe93999c5a17a6b285195cfd0c76df54e4572 Mon Sep 17 00:00:00 2001 From: igorseabra4 Date: Sun, 30 Jul 2023 04:08:03 -0300 Subject: [PATCH] update for release 2023.07.30 --- .../ArchiveEditor/ArchiveEditorFunctions.cs | 18 ++++++++--------- .../Dialogs/RenameLayer.Designer.cs | 20 ++++++++++++++++--- IndustrialPark/MainForm/AboutBox.resx | 2 +- IndustrialPark/Other/IPversion.cs | 2 +- IndustrialPark/Properties/AssemblyInfo.cs | 2 +- IndustrialPark/Resources/ip_version.json | 4 ++-- 6 files changed, 31 insertions(+), 17 deletions(-) diff --git a/IndustrialPark/ArchiveEditor/ArchiveEditorFunctions.cs b/IndustrialPark/ArchiveEditor/ArchiveEditorFunctions.cs index 4e72b9d0..3179b7ea 100644 --- a/IndustrialPark/ArchiveEditor/ArchiveEditorFunctions.cs +++ b/IndustrialPark/ArchiveEditor/ArchiveEditorFunctions.cs @@ -160,15 +160,15 @@ public void OpenFile(string fileName, bool displayProgressBar, Platform scoobyPl Game game; Platform platformFromFile; - //try - //{ - (hipFile, game, platformFromFile) = HipFile.FromPath(fileName); - //} - //catch (Exception e) - //{ - // progressBar.Close(); - // throw e; - //} + try + { + (hipFile, game, platformFromFile) = HipFile.FromPath(fileName); + } + catch (Exception e) + { + progressBar.Close(); + throw e; + } progressBar.SetProgressBar(0, hipFile.DICT.ATOC.AHDRList.Count, 1); diff --git a/IndustrialPark/ArchiveEditor/Dialogs/RenameLayer.Designer.cs b/IndustrialPark/ArchiveEditor/Dialogs/RenameLayer.Designer.cs index 5b209d9e..225eada2 100644 --- a/IndustrialPark/ArchiveEditor/Dialogs/RenameLayer.Designer.cs +++ b/IndustrialPark/ArchiveEditor/Dialogs/RenameLayer.Designer.cs @@ -30,12 +30,13 @@ private void InitializeComponent() { this.buttonOK = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.TextBox(); + this.label1 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // buttonOK // this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK; - this.buttonOK.Location = new System.Drawing.Point(12, 38); + this.buttonOK.Location = new System.Drawing.Point(12, 64); this.buttonOK.Name = "buttonOK"; this.buttonOK.Size = new System.Drawing.Size(289, 23); this.buttonOK.TabIndex = 5; @@ -45,18 +46,30 @@ private void InitializeComponent() // // textBox1 // - this.textBox1.Location = new System.Drawing.Point(12, 12); + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.textBox1.Location = new System.Drawing.Point(12, 38); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(289, 20); this.textBox1.TabIndex = 6; this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged); + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(12, 9); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(238, 26); + this.label1.TabIndex = 7; + this.label1.Text = "Enter a custom name for the selected layer.\r\nLeave the box empty to restore the d" + + "efault name."; // // RenameLayer // this.AcceptButton = this.buttonOK; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(313, 73); + this.ClientSize = new System.Drawing.Size(313, 95); + this.Controls.Add(this.label1); this.Controls.Add(this.textBox1); this.Controls.Add(this.buttonOK); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; @@ -73,5 +86,6 @@ private void InitializeComponent() private System.Windows.Forms.Button buttonOK; private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.Label label1; } } \ No newline at end of file diff --git a/IndustrialPark/MainForm/AboutBox.resx b/IndustrialPark/MainForm/AboutBox.resx index c6e938ee..ccf7bd54 100644 --- a/IndustrialPark/MainForm/AboutBox.resx +++ b/IndustrialPark/MainForm/AboutBox.resx @@ -121,7 +121,7 @@ iVBORw0KGgoAAAANSUhEUgAAAIMAAAEDCAIAAACZOCBdAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - vQAADr0BR/uQrQAA/7JJREFUeF6U/QV0JFmSJQx71XRPVyVKSjEmSQmCAIWYmSlTzMzMUoqZmSEUChYz + vAAADrwBlbxySQAA/7JJREFUeF6U/QV0JFmSJQx71XRPVyVKSjEmSQmCAIWYmSlTzMzMUoqZmSEUChYz K6GSmbOwu6uxuKq7d2d2Zr7Znfrv88jKzqnZ/b79z7HjxyPk7vHcrtm1a89fhKhwU7U4O71Ym1NBxkeC OUdDTOTDTJWibXViHfXinGG6cU56xJz14h114+1PRVtrRZqpRVpqhuBgzlHsRNrohHGU4mxPR1tpBhkf CDR+/z/bgUD2+0HM90MY7wezD0dYqkdZaQUzjwQzD+PNYJMj0TbHw8yVgjmHsR/MORRpoZropB9upZHs diff --git a/IndustrialPark/Other/IPversion.cs b/IndustrialPark/Other/IPversion.cs index fcecb667..bd65abaf 100644 --- a/IndustrialPark/Other/IPversion.cs +++ b/IndustrialPark/Other/IPversion.cs @@ -2,7 +2,7 @@ { public class IPversion { - public string version = "v0.1.7.9"; + public string version = "v2023.07.30"; public string versionName; } } diff --git a/IndustrialPark/Properties/AssemblyInfo.cs b/IndustrialPark/Properties/AssemblyInfo.cs index 67015e5e..0c942d2c 100644 --- a/IndustrialPark/Properties/AssemblyInfo.cs +++ b/IndustrialPark/Properties/AssemblyInfo.cs @@ -31,4 +31,4 @@ // É possível especificar todos os valores ou usar como padrão os Números de Build e da Revisão // utilizando o "*" como mostrado abaixo: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.1.7.9")] +[assembly: AssemblyVersion("2023.07.30")] diff --git a/IndustrialPark/Resources/ip_version.json b/IndustrialPark/Resources/ip_version.json index 62cd2ee3..84a6c6c9 100644 --- a/IndustrialPark/Resources/ip_version.json +++ b/IndustrialPark/Resources/ip_version.json @@ -1,4 +1,4 @@ { - "version": "v0.1.7.9", - "versionName": "NOTE: If you're on v0.1.7.6 or earlier, do not use the auto updater. Download the zip from the GitHub release page.\n\n* Asset Data Editor: new editor window for Model assets which allows accessing, creating and editing the Pipe Info, Level of Detail, Collision Model and Shadow Model entries for the model directly on the editor window.\n * Also has checkbox which will cause some templates to use the selected model by default.\n* Asset Data Editor: all asset references now have a shortcut (the [...] box) for opening the Asset Data Editor directly without having to find it in the asset list.\n* Asset Data Editor: new buttons 'Copy Transformation' which copies the position, rotation and scale of the asset to clipboard and 'Paste Transformation' which pastes them.\n* Asset Data Editor: fixes not being able to add Animation States and Animation Effects to Animation Table assets.\n* Archive Editor: adds Organize Layers (semi-legacy). This function will rebuild the layer setup and create only one Texture, Model and BSP layer instead of three of each.\n* Sounds: the Asset Data Editor now allows playing sounds from all games on all platforms. Requires redownloading vgmstream (Tools -> Download vgmstream).\n* Improved editor for Movie/Incredibles GameCube Sound Info. Doesn't break cutscene audio anymore; properly preserves when copying/pasting/importing and allows editing of loop/stream flags.\n* New templates: floating blocks.\n* Fixes the Incredibles/ROTU SoundInfo on PS2.\n* Fixes issue in which placing or renaming Script assets with zero Timed Links would break IP.\n* Fixes issue in which importing a HIP from a different game (such as BFBB into Movie) would place assets into layers of incorrect types.\n* Fixes issue in which broken textures or textures with names longer than 32 characters could break IP and leave the file unable to be edited.\n* Fixes issue in which renaming an asset whose ID was previously 0 with 'Update References on Rename/Copy/Paste' on would cause every field in every asset to point to the renamed asset." + "version": "v2023.07.30", + "versionName": "NOTE: If you're on v0.1.7.6 or earlier, do not use the auto updater. Download the zip from the GitHub release page.\n\nNote: after updating, please redownload vgmstream to update it to the latest version (Tools -> Download vgmstream).\n\n* Custom Layer Names: Use Edit -> Layers -> Rename to enter a custom name for a layer. This name is saved to the custom HIPB section which is added to the end of the HIP file.\n* Saves the platform information to custom Scooby HIPs so you do not need to select the platform every time.\n* Convert Archive: displays a report on assets which were not converted when changing an archive's game or platform.\n* Fixes copy, paste, import, export and preview of sound assets for GameCube Movie, Incredibles and ROTU (thanks EnergyDrink for help with this).\n* Fixes wiki links for all asset types." }