diff --git a/PCK-Studio/Classes/IO/LOC/LOCFileWriter.cs b/PCK-Studio/Classes/IO/LOC/LOCFileWriter.cs
index 64f52b32..09bb50ca 100644
--- a/PCK-Studio/Classes/IO/LOC/LOCFileWriter.cs
+++ b/PCK-Studio/Classes/IO/LOC/LOCFileWriter.cs
@@ -20,7 +20,7 @@ namespace PckStudio.Classes.IO.LOC
private void WriteToStream(Stream stream, int type)
{
- if (_locfile == null) throw new ArgumentNullException(nameof(_locfile));
+ _ = _locfile ?? throw new ArgumentNullException(nameof(_locfile));
WriteInt(stream, type);
WriteInt(stream, _locfile.Languages.Count);
if (type == 2) WriteLocKeys(stream);
diff --git a/PCK-Studio/Forms/Additional-Popups/Audio/addCategory.Designer.cs b/PCK-Studio/Forms/Additional-Popups/Audio/addCategory.Designer.cs
index cb7dbe12..0f8eb007 100644
--- a/PCK-Studio/Forms/Additional-Popups/Audio/addCategory.Designer.cs
+++ b/PCK-Studio/Forms/Additional-Popups/Audio/addCategory.Designer.cs
@@ -87,9 +87,9 @@
}
#endregion
- private System.Windows.Forms.Label label2;
- private System.Windows.Forms.Button button1;
private System.Windows.Forms.ComboBox comboBox1;
private System.Windows.Forms.Button cancelButton;
+ public System.Windows.Forms.Label label2;
+ public System.Windows.Forms.Button button1;
}
}
\ No newline at end of file
diff --git a/PCK-Studio/Forms/Editor/AudioEditor.Designer.cs b/PCK-Studio/Forms/Editor/AudioEditor.Designer.cs
index 26e1c388..1841a28c 100644
--- a/PCK-Studio/Forms/Editor/AudioEditor.Designer.cs
+++ b/PCK-Studio/Forms/Editor/AudioEditor.Designer.cs
@@ -29,55 +29,55 @@ namespace PckStudio.Forms.Editor
///
private void InitializeComponent()
{
- this.components = new System.ComponentModel.Container();
- System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AudioEditor));
- this.treeView1 = new System.Windows.Forms.TreeView();
- this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.addCategoryStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.removeCategoryStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.catImages = new System.Windows.Forms.ImageList(this.components);
- this.menuStrip = new System.Windows.Forms.MenuStrip();
- this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
- this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.creditsEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.deleteUnusedBINKAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.openDataFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.howToAddSongsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.whatIsEachCategoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.howToEditCreditsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.optimizeDataFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.bINKACompressionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.treeView2 = new System.Windows.Forms.TreeView();
- this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
- this.addEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.removeEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.verifyFileLocationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.playOverworldInCreative = new MetroFramework.Controls.MetroCheckBox();
- this.compressionUpDown = new System.Windows.Forms.NumericUpDown();
- this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
- this.contextMenuStrip1.SuspendLayout();
- this.menuStrip.SuspendLayout();
- this.contextMenuStrip2.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.compressionUpDown)).BeginInit();
- this.SuspendLayout();
- //
- // treeView1
- //
- resources.ApplyResources(this.treeView1, "treeView1");
- this.treeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.treeView1.ContextMenuStrip = this.contextMenuStrip1;
- this.treeView1.ForeColor = System.Drawing.Color.White;
- this.treeView1.ImageList = this.catImages;
- this.treeView1.LabelEdit = true;
- this.treeView1.Name = "treeView1";
- this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
- this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown);
- //
- // contextMenuStrip1
- //
- this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AudioEditor));
+ this.treeView1 = new System.Windows.Forms.TreeView();
+ this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.addCategoryStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.removeCategoryStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.catImages = new System.Windows.Forms.ImageList(this.components);
+ this.menuStrip = new System.Windows.Forms.MenuStrip();
+ this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.creditsEditorToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.deleteUnusedBINKAsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.howToAddSongsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.whatIsEachCategoryToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.howToEditCreditsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.optimizeDataFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.bINKACompressionToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.treeView2 = new System.Windows.Forms.TreeView();
+ this.contextMenuStrip2 = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.addEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.removeEntryMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.verifyFileLocationToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.playOverworldInCreative = new MetroFramework.Controls.MetroCheckBox();
+ this.compressionUpDown = new System.Windows.Forms.NumericUpDown();
+ this.metroLabel1 = new MetroFramework.Controls.MetroLabel();
+ this.openDataFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.contextMenuStrip1.SuspendLayout();
+ this.menuStrip.SuspendLayout();
+ this.contextMenuStrip2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.compressionUpDown)).BeginInit();
+ this.SuspendLayout();
+ //
+ // treeView1
+ //
+ resources.ApplyResources(this.treeView1, "treeView1");
+ this.treeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.treeView1.ContextMenuStrip = this.contextMenuStrip1;
+ this.treeView1.ForeColor = System.Drawing.Color.White;
+ this.treeView1.ImageList = this.catImages;
+ this.treeView1.LabelEdit = true;
+ this.treeView1.Name = "treeView1";
+ this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect);
+ this.treeView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView1_KeyDown);
+ //
+ // contextMenuStrip1
+ //
+ this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.addCategoryStripMenuItem,
this.removeCategoryStripMenuItem});
this.contextMenuStrip1.Name = "contextMenuStrip1";
@@ -140,174 +140,166 @@ namespace PckStudio.Forms.Editor
this.creditsEditorToolStripMenuItem,
this.deleteUnusedBINKAsToolStripMenuItem,
this.openDataFolderToolStripMenuItem});
- this.toolsToolStripMenuItem.ForeColor = System.Drawing.Color.White;
- this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
- resources.ApplyResources(this.toolsToolStripMenuItem, "toolsToolStripMenuItem");
- //
- // creditsEditorToolStripMenuItem
- //
- this.creditsEditorToolStripMenuItem.Image = global::PckStudio.Properties.Resources.ExportFile;
- this.creditsEditorToolStripMenuItem.Name = "creditsEditorToolStripMenuItem";
- resources.ApplyResources(this.creditsEditorToolStripMenuItem, "creditsEditorToolStripMenuItem");
- this.creditsEditorToolStripMenuItem.Click += new System.EventHandler(this.creditsEditorToolStripMenuItem_Click);
- //
- // deleteUnusedBINKAsToolStripMenuItem
- //
- this.deleteUnusedBINKAsToolStripMenuItem.Image = global::PckStudio.Properties.Resources.Del;
- this.deleteUnusedBINKAsToolStripMenuItem.Name = "deleteUnusedBINKAsToolStripMenuItem";
- resources.ApplyResources(this.deleteUnusedBINKAsToolStripMenuItem, "deleteUnusedBINKAsToolStripMenuItem");
- this.deleteUnusedBINKAsToolStripMenuItem.Click += new System.EventHandler(this.deleteUnusedBINKAsToolStripMenuItem_Click);
- //
- // openDataFolderToolStripMenuItem
- //
- this.openDataFolderToolStripMenuItem.Image = global::PckStudio.Properties.Resources.ZZFolder;
- this.openDataFolderToolStripMenuItem.Name = "openDataFolderToolStripMenuItem";
- resources.ApplyResources(this.openDataFolderToolStripMenuItem, "openDataFolderToolStripMenuItem");
- this.openDataFolderToolStripMenuItem.Click += new System.EventHandler(this.openDataFolderToolStripMenuItem_Click);
- //
- // helpToolStripMenuItem
- //
- this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolsToolStripMenuItem.ForeColor = System.Drawing.Color.White;
+ this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
+ resources.ApplyResources(this.toolsToolStripMenuItem, "toolsToolStripMenuItem");
+ //
+ // creditsEditorToolStripMenuItem
+ //
+ this.creditsEditorToolStripMenuItem.Image = global::PckStudio.Properties.Resources.ExportFile;
+ this.creditsEditorToolStripMenuItem.Name = "creditsEditorToolStripMenuItem";
+ resources.ApplyResources(this.creditsEditorToolStripMenuItem, "creditsEditorToolStripMenuItem");
+ this.creditsEditorToolStripMenuItem.Click += new System.EventHandler(this.creditsEditorToolStripMenuItem_Click);
+ //
+ // deleteUnusedBINKAsToolStripMenuItem
+ //
+ this.deleteUnusedBINKAsToolStripMenuItem.Image = global::PckStudio.Properties.Resources.Del;
+ this.deleteUnusedBINKAsToolStripMenuItem.Name = "deleteUnusedBINKAsToolStripMenuItem";
+ resources.ApplyResources(this.deleteUnusedBINKAsToolStripMenuItem, "deleteUnusedBINKAsToolStripMenuItem");
+ this.deleteUnusedBINKAsToolStripMenuItem.Click += new System.EventHandler(this.deleteUnusedBINKAsToolStripMenuItem_Click);
+ //
+ // helpToolStripMenuItem
+ //
+ this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.howToAddSongsToolStripMenuItem,
this.whatIsEachCategoryToolStripMenuItem,
this.howToEditCreditsToolStripMenuItem,
this.optimizeDataFolderToolStripMenuItem,
this.bINKACompressionToolStripMenuItem});
- this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.White;
- this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
- resources.ApplyResources(this.helpToolStripMenuItem, "helpToolStripMenuItem");
- //
- // howToAddSongsToolStripMenuItem
- //
- this.howToAddSongsToolStripMenuItem.Name = "howToAddSongsToolStripMenuItem";
- resources.ApplyResources(this.howToAddSongsToolStripMenuItem, "howToAddSongsToolStripMenuItem");
- this.howToAddSongsToolStripMenuItem.Click += new System.EventHandler(this.howToAddSongsToolStripMenuItem_Click);
- //
- // whatIsEachCategoryToolStripMenuItem
- //
- this.whatIsEachCategoryToolStripMenuItem.Name = "whatIsEachCategoryToolStripMenuItem";
- resources.ApplyResources(this.whatIsEachCategoryToolStripMenuItem, "whatIsEachCategoryToolStripMenuItem");
- this.whatIsEachCategoryToolStripMenuItem.Click += new System.EventHandler(this.whatIsEachCategoryToolStripMenuItem_Click);
- //
- // howToEditCreditsToolStripMenuItem
- //
- this.howToEditCreditsToolStripMenuItem.Name = "howToEditCreditsToolStripMenuItem";
- resources.ApplyResources(this.howToEditCreditsToolStripMenuItem, "howToEditCreditsToolStripMenuItem");
- this.howToEditCreditsToolStripMenuItem.Click += new System.EventHandler(this.howToEditCreditsToolStripMenuItem_Click);
- //
- // optimizeDataFolderToolStripMenuItem
- //
- this.optimizeDataFolderToolStripMenuItem.Name = "optimizeDataFolderToolStripMenuItem";
- resources.ApplyResources(this.optimizeDataFolderToolStripMenuItem, "optimizeDataFolderToolStripMenuItem");
- this.optimizeDataFolderToolStripMenuItem.Click += new System.EventHandler(this.optimizeDataFolderToolStripMenuItem_Click);
- //
- // bINKACompressionToolStripMenuItem
- //
- this.bINKACompressionToolStripMenuItem.Name = "bINKACompressionToolStripMenuItem";
- resources.ApplyResources(this.bINKACompressionToolStripMenuItem, "bINKACompressionToolStripMenuItem");
- this.bINKACompressionToolStripMenuItem.Click += new System.EventHandler(this.BINKACompressionToolStripMenuItem_Click);
- //
- // treeView2
- //
- this.treeView2.AllowDrop = true;
- resources.ApplyResources(this.treeView2, "treeView2");
- this.treeView2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.treeView2.ContextMenuStrip = this.contextMenuStrip2;
- this.treeView2.ForeColor = System.Drawing.Color.White;
- this.treeView2.Name = "treeView2";
- this.treeView2.DragDrop += new System.Windows.Forms.DragEventHandler(this.Binka_DragDrop);
- this.treeView2.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeView2_DragEnter);
- this.treeView2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView2_KeyDown);
- //
- // contextMenuStrip2
- //
- this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.helpToolStripMenuItem.ForeColor = System.Drawing.Color.White;
+ this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
+ resources.ApplyResources(this.helpToolStripMenuItem, "helpToolStripMenuItem");
+ //
+ // howToAddSongsToolStripMenuItem
+ //
+ this.howToAddSongsToolStripMenuItem.Name = "howToAddSongsToolStripMenuItem";
+ resources.ApplyResources(this.howToAddSongsToolStripMenuItem, "howToAddSongsToolStripMenuItem");
+ this.howToAddSongsToolStripMenuItem.Click += new System.EventHandler(this.howToAddSongsToolStripMenuItem_Click);
+ //
+ // whatIsEachCategoryToolStripMenuItem
+ //
+ this.whatIsEachCategoryToolStripMenuItem.Name = "whatIsEachCategoryToolStripMenuItem";
+ resources.ApplyResources(this.whatIsEachCategoryToolStripMenuItem, "whatIsEachCategoryToolStripMenuItem");
+ this.whatIsEachCategoryToolStripMenuItem.Click += new System.EventHandler(this.whatIsEachCategoryToolStripMenuItem_Click);
+ //
+ // howToEditCreditsToolStripMenuItem
+ //
+ this.howToEditCreditsToolStripMenuItem.Name = "howToEditCreditsToolStripMenuItem";
+ resources.ApplyResources(this.howToEditCreditsToolStripMenuItem, "howToEditCreditsToolStripMenuItem");
+ this.howToEditCreditsToolStripMenuItem.Click += new System.EventHandler(this.howToEditCreditsToolStripMenuItem_Click);
+ //
+ // optimizeDataFolderToolStripMenuItem
+ //
+ this.optimizeDataFolderToolStripMenuItem.Name = "optimizeDataFolderToolStripMenuItem";
+ resources.ApplyResources(this.optimizeDataFolderToolStripMenuItem, "optimizeDataFolderToolStripMenuItem");
+ this.optimizeDataFolderToolStripMenuItem.Click += new System.EventHandler(this.optimizeDataFolderToolStripMenuItem_Click);
+ //
+ // bINKACompressionToolStripMenuItem
+ //
+ this.bINKACompressionToolStripMenuItem.Name = "bINKACompressionToolStripMenuItem";
+ resources.ApplyResources(this.bINKACompressionToolStripMenuItem, "bINKACompressionToolStripMenuItem");
+ this.bINKACompressionToolStripMenuItem.Click += new System.EventHandler(this.BINKACompressionToolStripMenuItem_Click);
+ //
+ // treeView2
+ //
+ this.treeView2.AllowDrop = true;
+ resources.ApplyResources(this.treeView2, "treeView2");
+ this.treeView2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.treeView2.ContextMenuStrip = this.contextMenuStrip2;
+ this.treeView2.ForeColor = System.Drawing.Color.White;
+ this.treeView2.Name = "treeView2";
+ this.treeView2.DragDrop += new System.Windows.Forms.DragEventHandler(this.Binka_DragDrop);
+ this.treeView2.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeView2_DragEnter);
+ this.treeView2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.treeView2_KeyDown);
+ //
+ // contextMenuStrip2
+ //
+ this.contextMenuStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.addEntryMenuItem,
this.removeEntryMenuItem,
this.verifyFileLocationToolStripMenuItem});
- this.contextMenuStrip2.Name = "contextMenuStrip1";
- resources.ApplyResources(this.contextMenuStrip2, "contextMenuStrip2");
- //
- // addEntryMenuItem
- //
- resources.ApplyResources(this.addEntryMenuItem, "addEntryMenuItem");
- this.addEntryMenuItem.Name = "addEntryMenuItem";
- this.addEntryMenuItem.Click += new System.EventHandler(this.addEntryMenuItem_Click);
- //
- // removeEntryMenuItem
- //
- this.removeEntryMenuItem.Image = global::PckStudio.Properties.Resources.Del;
- this.removeEntryMenuItem.Name = "removeEntryMenuItem";
- resources.ApplyResources(this.removeEntryMenuItem, "removeEntryMenuItem");
- this.removeEntryMenuItem.Click += new System.EventHandler(this.removeEntryMenuItem_Click);
- //
- // verifyFileLocationToolStripMenuItem
- //
- this.verifyFileLocationToolStripMenuItem.Name = "verifyFileLocationToolStripMenuItem";
- resources.ApplyResources(this.verifyFileLocationToolStripMenuItem, "verifyFileLocationToolStripMenuItem");
- this.verifyFileLocationToolStripMenuItem.Click += new System.EventHandler(this.verifyFileLocationToolStripMenuItem_Click);
- //
- // playOverworldInCreative
- //
- resources.ApplyResources(this.playOverworldInCreative, "playOverworldInCreative");
- this.playOverworldInCreative.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.playOverworldInCreative.ForeColor = System.Drawing.SystemColors.Window;
- this.playOverworldInCreative.Name = "playOverworldInCreative";
- this.playOverworldInCreative.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.playOverworldInCreative.UseCustomBackColor = true;
- this.playOverworldInCreative.UseCustomForeColor = true;
- this.playOverworldInCreative.UseSelectable = true;
- //
- // compressionUpDown
- //
- this.compressionUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
- this.compressionUpDown.ForeColor = System.Drawing.SystemColors.Window;
- resources.ApplyResources(this.compressionUpDown, "compressionUpDown");
- this.compressionUpDown.Maximum = new decimal(new int[] {
+ this.contextMenuStrip2.Name = "contextMenuStrip1";
+ resources.ApplyResources(this.contextMenuStrip2, "contextMenuStrip2");
+ //
+ // addEntryMenuItem
+ //
+ resources.ApplyResources(this.addEntryMenuItem, "addEntryMenuItem");
+ this.addEntryMenuItem.Name = "addEntryMenuItem";
+ this.addEntryMenuItem.Click += new System.EventHandler(this.addEntryMenuItem_Click);
+ //
+ // removeEntryMenuItem
+ //
+ this.removeEntryMenuItem.Image = global::PckStudio.Properties.Resources.Del;
+ this.removeEntryMenuItem.Name = "removeEntryMenuItem";
+ resources.ApplyResources(this.removeEntryMenuItem, "removeEntryMenuItem");
+ this.removeEntryMenuItem.Click += new System.EventHandler(this.removeEntryMenuItem_Click);
+ //
+ // verifyFileLocationToolStripMenuItem
+ //
+ this.verifyFileLocationToolStripMenuItem.Name = "verifyFileLocationToolStripMenuItem";
+ resources.ApplyResources(this.verifyFileLocationToolStripMenuItem, "verifyFileLocationToolStripMenuItem");
+ this.verifyFileLocationToolStripMenuItem.Click += new System.EventHandler(this.verifyFileLocationToolStripMenuItem_Click);
+ //
+ // playOverworldInCreative
+ //
+ resources.ApplyResources(this.playOverworldInCreative, "playOverworldInCreative");
+ this.playOverworldInCreative.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.playOverworldInCreative.ForeColor = System.Drawing.SystemColors.Window;
+ this.playOverworldInCreative.Name = "playOverworldInCreative";
+ this.playOverworldInCreative.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.playOverworldInCreative.UseCustomBackColor = true;
+ this.playOverworldInCreative.UseCustomForeColor = true;
+ this.playOverworldInCreative.UseSelectable = true;
+ //
+ // compressionUpDown
+ //
+ this.compressionUpDown.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
+ this.compressionUpDown.ForeColor = System.Drawing.SystemColors.Window;
+ resources.ApplyResources(this.compressionUpDown, "compressionUpDown");
+ this.compressionUpDown.Maximum = new decimal(new int[] {
9,
0,
0,
0});
- this.compressionUpDown.Minimum = new decimal(new int[] {
+ this.compressionUpDown.Minimum = new decimal(new int[] {
1,
0,
0,
0});
- this.compressionUpDown.Name = "compressionUpDown";
- this.compressionUpDown.Value = new decimal(new int[] {
+ this.compressionUpDown.Name = "compressionUpDown";
+ this.compressionUpDown.Value = new decimal(new int[] {
4,
0,
0,
0});
- //
- // metroLabel1
- //
- resources.ApplyResources(this.metroLabel1, "metroLabel1");
- this.metroLabel1.Name = "metroLabel1";
- this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // AudioEditor
- //
- resources.ApplyResources(this, "$this");
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.Controls.Add(this.metroLabel1);
- this.Controls.Add(this.compressionUpDown);
- this.Controls.Add(this.playOverworldInCreative);
- this.Controls.Add(this.treeView1);
- this.Controls.Add(this.treeView2);
- this.Controls.Add(this.menuStrip);
- this.Name = "AudioEditor";
- this.Style = MetroFramework.MetroColorStyle.Silver;
- this.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.AudioEditor_FormClosed);
- this.Shown += new System.EventHandler(this.AudioEditor_Shown);
- this.contextMenuStrip1.ResumeLayout(false);
- this.menuStrip.ResumeLayout(false);
- this.menuStrip.PerformLayout();
- this.contextMenuStrip2.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.compressionUpDown)).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
+ //
+ // metroLabel1
+ //
+ resources.ApplyResources(this.metroLabel1, "metroLabel1");
+ this.metroLabel1.Name = "metroLabel1";
+ this.metroLabel1.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // openDataFolderToolStripMenuItem
+ //
+ this.openDataFolderToolStripMenuItem.Image = global::PckStudio.Properties.Resources.ZZFolder;
+ this.openDataFolderToolStripMenuItem.Name = "openDataFolderToolStripMenuItem";
+ resources.ApplyResources(this.openDataFolderToolStripMenuItem, "openDataFolderToolStripMenuItem");
+ this.openDataFolderToolStripMenuItem.Click += new System.EventHandler(this.openDataFolderToolStripMenuItem_Click);
+ //
+ // AudioEditor
+ //
+ resources.ApplyResources(this, "$this");
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.metroLabel1);
+ this.Controls.Add(this.compressionUpDown);
+ this.Controls.Add(this.playOverworldInCreative);
+ this.Controls.Add(this.treeView1);
+ this.Controls.Add(this.treeView2);
+ this.Controls.Add(this.menuStrip);
+ this.Name = "AudioEditor";
+ this.Style = MetroFramework.MetroColorStyle.Silver;
+ this.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.AudioEditor_FormClosed);
this.Shown += new System.EventHandler(this.AudioEditor_Shown);
this.contextMenuStrip1.ResumeLayout(false);
this.menuStrip.ResumeLayout(false);
@@ -339,5 +331,13 @@ namespace PckStudio.Forms.Editor
private System.Windows.Forms.ToolStripMenuItem verifyFileLocationToolStripMenuItem;
private MetroFramework.Controls.MetroCheckBox playOverworldInCreative;
private System.Windows.Forms.ToolStripMenuItem deleteUnusedBINKAsToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem howToAddSongsToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem whatIsEachCategoryToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem howToEditCreditsToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem optimizeDataFolderToolStripMenuItem;
+ private System.Windows.Forms.NumericUpDown compressionUpDown;
+ private System.Windows.Forms.ToolStripMenuItem bINKACompressionToolStripMenuItem;
+ private MetroFramework.Controls.MetroLabel metroLabel1;
+ private System.Windows.Forms.ToolStripMenuItem openDataFolderToolStripMenuItem;
}
}
\ No newline at end of file
diff --git a/PCK-Studio/Forms/Editor/AudioEditor.cs b/PCK-Studio/Forms/Editor/AudioEditor.cs
index bc5d6a43..4d9b0a2c 100644
--- a/PCK-Studio/Forms/Editor/AudioEditor.cs
+++ b/PCK-Studio/Forms/Editor/AudioEditor.cs
@@ -20,7 +20,6 @@ namespace PckStudio.Forms.Editor
public partial class AudioEditor : MetroForm
{
public string defaultType = "yes";
- private string DataDirectory = "";
string tempDir = "";
PCKAudioFile audioFile = null;
PCKFile.FileData audioPCK;
@@ -95,7 +94,6 @@ namespace PckStudio.Forms.Editor
treeNode.Tag = category;
treeView1.Nodes.Add(treeNode);
}
-
playOverworldInCreative.Enabled = audioFile.HasCategory(PCKAudioFile.AudioCategory.EAudioType.Creative);
}
@@ -115,13 +113,13 @@ namespace PckStudio.Forms.Editor
private void handleUtilFiles(bool extractFiles = true)
{
- //string asiPath = Path.Combine(tempDir, "binkawin.asi");
- //string mssPath = Path.Combine(tempDir, "mss32.dll");
+ string asiPath = Path.Combine(tempDir, "binkawin.asi");
+ string mssPath = Path.Combine(tempDir, "mss32.dll");
string encoderPath = Path.Combine(tempDir, "binka_encode.exe");
// Deletes files so that System.IO exceptions are avoided
- //if (File.Exists(asiPath)) File.Delete(asiPath);
- //if (File.Exists(mssPath)) File.Delete(mssPath);
+ if (File.Exists(asiPath)) File.Delete(asiPath);
+ if (File.Exists(mssPath)) File.Delete(mssPath);
if (File.Exists(encoderPath)) File.Delete(encoderPath);
if (Directory.Exists(tempDir)) Directory.Delete(tempDir);
@@ -129,8 +127,8 @@ namespace PckStudio.Forms.Editor
{
Directory.CreateDirectory(tempDir);
ExtractResource("binka_encode", encoderPath);
- //ExtractResource("mss32", mssPath);
- //ExtractResource("binkawin", asiPath);
+ ExtractResource("mss32", mssPath);
+ ExtractResource("binkawin", asiPath);
}
}
@@ -142,19 +140,14 @@ namespace PckStudio.Forms.Editor
private void verifyFileLocationToolStripMenuItem_Click(object sender, EventArgs e)
{
- if (treeView1.SelectedNode.Tag == null || treeView2.SelectedNode.Tag == null) return;
+ if (treeView1.SelectedNode == null || treeView2.SelectedNode == null) return;
var entry = treeView2.SelectedNode;
- if (string.IsNullOrEmpty(DataDirectory)) getDataDirectory();
- string FileName = Path.Combine(DataDirectory, entry.Text + ".binka");
- Console.WriteLine(FileName);
- if (!Directory.Exists(DataDirectory))
- {
- MessageBox.Show("There is not a \"Data\" folder present in the pack folder", "Folder missing");
- return;
- }
+ if (!parent.CreateDataFolder()) return;
+ string FileName = Path.Combine(parent.GetDataPath(), entry.Text + ".binka");
+
if (File.Exists(FileName)) MessageBox.Show("\"" + entry.Text + ".binka\" exists in the \"Data\" folder", "File found");
- else MessageBox.Show("\"" + entry.Text + ".binka\" does not exist in the \"Data\" folder", "File missing");
+ else MessageBox.Show("\"" + entry.Text + ".binka\" does not exist in the \"Data\" folder. The game will crash when attempting to load this track.", "File missing");
}
private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
@@ -191,20 +184,13 @@ namespace PckStudio.Forms.Editor
private void addEntryMenuItem_Click(object sender, EventArgs e)
{
- if (treeView1.SelectedNode is TreeNode t && t.Tag is PCKAudioFile.AudioCategory &&
- // Gets the MainForm so we can access the Save Location
- Owner.Owner is MainForm parent)
+ if (treeView1.SelectedNode is TreeNode t && t.Tag is PCKAudioFile.AudioCategory)
{
- if (string.IsNullOrEmpty(DataDirectory)) getDataDirectory();
- if (!Directory.Exists(DataDirectory))
- {
- MessageBox.Show("There is not a \"Data\" folder present in the pack folder", "Folder missing");
- return;
- }
+ if (!parent.CreateDataFolder()) return;
OpenFileDialog ofn = new OpenFileDialog();
ofn.Multiselect = true;
- ofn.Filter = "BINKA files (*.binka)|*.binka|WAV files (*.wav)|*.wav";
+ ofn.Filter = "Supported audio files (*.binka,*.wav)|*.binka;*.wav";
ofn.Title = "Please choose WAV or BINKA files to add to your pack";
ofn.ShowDialog();
ofn.Dispose();
@@ -251,7 +237,7 @@ namespace PckStudio.Forms.Editor
{
if (Path.GetExtension(file) == ".binka" || Path.GetExtension(file) == ".wav")
{
- string new_loc = Path.Combine(DataDirectory, Path.GetFileNameWithoutExtension(file) + ".binka");
+ string new_loc = Path.Combine(parent.GetDataPath(), Path.GetFileNameWithoutExtension(file) + ".binka");
bool duplicate_song = false; // To handle if a file already in the pack is dropped back in
if (File.Exists(new_loc))
{
@@ -280,7 +266,7 @@ namespace PckStudio.Forms.Editor
var process = Process.Start(new ProcessStartInfo
{
FileName = Path.Combine(tempDir, "binka_encode.exe"),
- Arguments = $"\"{file}\" \"{new_loc}\"",
+ Arguments = $"\"{file}\" \"{new_loc}\" -s -b" + compressionUpDown.Value.ToString(),
UseShellExecute = true,
CreateNoWindow = true,
WindowStyle = ProcessWindowStyle.Hidden
@@ -298,8 +284,8 @@ namespace PckStudio.Forms.Editor
else if (!duplicate_song)
{
Console.WriteLine(Path.GetFileName(file));
- File.Delete(Path.Combine(DataDirectory, Path.GetFileName(file)));
- File.Copy(file, Path.Combine(DataDirectory, Path.GetFileName(file)));
+ File.Delete(Path.Combine(parent.GetDataPath(), Path.GetFileName(file)));
+ File.Copy(file, Path.Combine(parent.GetDataPath(), Path.GetFileName(file)));
}
var songName = Path.GetFileNameWithoutExtension(file);
@@ -316,14 +302,9 @@ namespace PckStudio.Forms.Editor
{
//MessageBox.Show((Owner.Owner as MainForm).saveLocation);
// Gets the MainForm so we can access the Save Location
- if (treeView1.SelectedNode != null && Owner.Owner is MainForm parent)
+ if (treeView1.SelectedNode != null)
{
- if (string.IsNullOrEmpty(DataDirectory)) getDataDirectory();
- if (!Directory.Exists(DataDirectory))
- {
- MessageBox.Show("There is not a \"Data\" folder present in the pack folder", "Folder missing");
- return;
- }
+ if (!parent.CreateDataFolder()) return;
ProcessEntries((string[])e.Data.GetData(DataFormats.FileDrop, false));
}
@@ -407,9 +388,9 @@ namespace PckStudio.Forms.Editor
totalSongList.Add(song);
}
- if (string.IsNullOrEmpty(DataDirectory)) getDataDirectory();
+ if (!parent.CreateDataFolder()) return;
int totalDeleted = 0;
- foreach (string song in Directory.GetFiles(DataDirectory, "*.binka"))
+ foreach (string song in Directory.GetFiles(parent.GetDataPath(), "*.binka"))
{
if (!totalSongList.Contains(Path.GetFileNameWithoutExtension(song)))
{
@@ -429,8 +410,49 @@ namespace PckStudio.Forms.Editor
MessageBox.Show("Successfully deleted " + totalDeleted + " files", "Done");
}
- // For when the Data Directory variable is null, this sets the variable in the form
- private void getDataDirectory()
+ private void howToAddSongsToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show("Right click the right window and press \"Add Entry\" or drag and drop a valid WAV file into the editor's right window. You can also drop other BINKA files, either from the main game or using a tool like BinkMan. The editor will automatically put the song in the Data folder for you.", "How to add a song");
+ }
+
+ private void whatIsEachCategoryToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show("Categories are pretty self explanatory. The game controls when each category should play.\n" +
+ "\nGAMEPLAY - Plays in the specified dimensions.\n" +
+ "-Overworld: Plays in survival mode and in Creative if no songs are set\n" +
+ "-Nether: Nothing special to note.\n" +
+ "-End: Prioritizes the final track when the dragon is alive.\n" +
+ "-Creative: Does not play survival tracks unless they're included.\n" +
+ "-Menu: Plays on the title screen and only once when the pack is loading. Perfect for intro songs.\n" +
+ "\nMINI GAMES - Will only play if you change the map grf files to load your pack and set the ThemeID to 0 for Vanilla maps.\n" +
+ "-Battle: Plays in the Battle Mini Game.\n" +
+ "-Tumble: Plays in the Tumble Mini Game.\n" +
+ "-Glide: Plays in the Glide Mini Game.\n",
+ "What is each category?");
+ }
+
+ private void howToEditCreditsToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show("Click Tools -> Credits Editor. This will allow you to edit all the credits easily in the pack easily. Only supports English credits at the moment. ","How to edit credits?");
+ }
+
+ private void optimizeDataFolderToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show("Click Tools -> Delete Unused BINKA files. This will clean your folder of any unused songs.", "How to optimize the Data folder");
+ }
+
+ private void BINKACompressionToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ MessageBox.Show("The numerical up/down control is responsible for the level of compression used when converting WAV files. The default is 4, which was commonly used by 4J for the game's files.","BINKA Compression Level");
+ }
+
+ private void openDataFolderToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ if (!parent.CreateDataFolder()) return;
+ Process.Start("explorer.exe", parent.GetDataPath());
+ }
+
+ private void AudioEditor_Shown(object sender, EventArgs e)
{
if (Owner.Owner is MainForm p) parent = p;
else Close();
diff --git a/PCK-Studio/Forms/Editor/AudioEditor.resx b/PCK-Studio/Forms/Editor/AudioEditor.resx
index dfd6e031..758df299 100644
--- a/PCK-Studio/Forms/Editor/AudioEditor.resx
+++ b/PCK-Studio/Forms/Editor/AudioEditor.resx
@@ -166,7 +166,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADk
- MAAAAk1TRnQBSQFMAgEBCQEAAUgBAAFIAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
+ MAAAAk1TRnQBSQFMAgEBCQEAAVgBAAFYAQABEAEAARABAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFA
AwABMAMAAQEBAAEgBgABMBIAAzgB/wM1Af8DNQH/AzMB/wMwAf8DLwH/Ay0B/wMtAf8DJAH/AzsB/wM4
Af8DNQH/Ay0B/wMnAf8DNgH/AzIB/8AAAzgB/wN/Af8DeQH/A3kB/wN5Af8DcQH/A3EB/wN5Af8DeQH/
A3EB/wNxAf8DcQH/A3kB/wN5Af8DfwH/AzIB/8AAAzIB/wN2Af8DsAH/A7AB/wOvAf8DrwH/A68B/wOo
@@ -387,7 +387,7 @@
0
- 128, 230
+ 128, 208
12
@@ -402,7 +402,7 @@
$this
- 3
+ 5
19, 8
@@ -410,36 +410,6 @@
False
-
- 37, 20
-
-
- File
-
-
- 192, 22
-
-
- Credits Editor
-
-
- 192, 22
-
-
- Delete Unused BINKAs
-
-
- 46, 20
-
-
- Tools
-
-
- 44, 20
-
-
- Help
-
20, 60
@@ -462,7 +432,13 @@
$this
- 5
+ 7
+
+
+ 37, 20
+
+
+ File
@@ -480,6 +456,60 @@
Save
+
+ 46, 20
+
+
+ Tools
+
+
+ 192, 22
+
+
+ Credits Editor
+
+
+ 192, 22
+
+
+ Delete Unused BINKAs
+
+
+ 44, 20
+
+
+ Help
+
+
+ 245, 22
+
+
+ How to add songs
+
+
+ 245, 22
+
+
+ What is each category?
+
+
+ 245, 22
+
+
+ How to edit credits
+
+
+ 245, 22
+
+
+ How to Optimize the Data folder
+
+
+ 245, 22
+
+
+ BINKA Compression
+
Top, Bottom, Left, Right
@@ -499,7 +529,7 @@
410, 24
- 279, 230
+ 279, 208
menuStrip1
@@ -514,7 +544,7 @@
$this
- 4
+ 6
282, 8
@@ -600,8 +630,62 @@
$this
+ 4
+
+
+ 310, 298
+
+
+ 120, 20
+
+
+ 15
+
+
+ compressionUpDown
+
+
+ System.Windows.Forms.NumericUpDown, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ $this
+
+
+ 3
+
+
+ True
+
+
+ 93, 299
+
+
+ 211, 19
+
+
+ 16
+
+
+ WAV to BINKA Compression Level:
+
+
+ metroLabel1
+
+
+ MetroFramework.Controls.MetroLabel, MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a
+
+
+ $this
+
+
2
+
+ 192, 22
+
+
+ Open Data Folder
+
True
@@ -662,12 +746,48 @@
System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ deleteUnusedBINKAsToolStripMenuItem
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
helpToolStripMenuItem
System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+ howToAddSongsToolStripMenuItem
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ whatIsEachCategoryToolStripMenuItem
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ howToEditCreditsToolStripMenuItem
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ optimizeDataFolderToolStripMenuItem
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ bINKACompressionToolStripMenuItem
+
+
+ System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
addEntryMenuItem
@@ -686,10 +806,10 @@
System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
- deleteUnusedBINKAsToolStripMenuItem
+
+ openDataFolderToolStripMenuItem
-
+
System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
diff --git a/PCK-Studio/Forms/Utilities/Animation/AnimationEditor.cs b/PCK-Studio/Forms/Utilities/Animation/AnimationEditor.cs
index 09e2e4f6..654858b6 100644
--- a/PCK-Studio/Forms/Utilities/Animation/AnimationEditor.cs
+++ b/PCK-Studio/Forms/Utilities/Animation/AnimationEditor.cs
@@ -122,7 +122,7 @@ namespace PckStudio
private PCKFile.FileData CreateNewAnimationFile(Image imgageFile, string name = "")
{
- PCKFile.FileData file = new PCKFile.FileData(name, 2);
+ PCKFile.FileData file = new PCKFile.FileData(name, PCKFile.FileData.FileType.TextureFile);
file.properties.Add(("ANIM", ""));
using (var stream = new MemoryStream())
{
diff --git a/PCK-Studio/Forms/Utilities/Skins/ANIMEditor.Designer.cs b/PCK-Studio/Forms/Utilities/Skins/ANIMEditor.Designer.cs
index 0d59dd62..347f643b 100644
--- a/PCK-Studio/Forms/Utilities/Skins/ANIMEditor.Designer.cs
+++ b/PCK-Studio/Forms/Utilities/Skins/ANIMEditor.Designer.cs
@@ -28,677 +28,705 @@
///
private void InitializeComponent()
{
- this.closeButton = new MetroFramework.Controls.MetroButton();
- this.effectsGroup = new System.Windows.Forms.GroupBox();
- this.rightLegOCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.headOCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.leftLegOCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.rightArmOCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.leftArmOCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.bodyOCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.rightLegCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.slimCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.headCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.leftLegCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.rightArmCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.leftArmCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.bodyCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.classicCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.effectsGroup2 = new System.Windows.Forms.GroupBox();
- this.rightLeggingCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.helmetCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.leftLeggingCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.rightArmorCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.leftArmorCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.chestplateCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.groupBox1 = new System.Windows.Forms.GroupBox();
- this.unknownCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.crouchCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.dinnerboneCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.noArmorCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.bobbingCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.santaCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.syncLegsCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.staticArmsCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.syncArmsCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.statueCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.zombieCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.staticLegsCheckBox = new MetroFramework.Controls.MetroCheckBox();
- this.copyButton = new MetroFramework.Controls.MetroButton();
- this.importButton = new MetroFramework.Controls.MetroButton();
- this.exportButton = new MetroFramework.Controls.MetroButton();
- this.animValue = new MetroFramework.Controls.MetroLabel();
- this.uncheckButton = new MetroFramework.Controls.MetroButton();
- this.checkButton = new MetroFramework.Controls.MetroButton();
- this.toolTip = new MetroFramework.Components.MetroToolTip();
- this.effectsGroup.SuspendLayout();
- this.effectsGroup2.SuspendLayout();
- this.groupBox1.SuspendLayout();
- this.SuspendLayout();
- //
- // closeButton
- //
- this.closeButton.Location = new System.Drawing.Point(257, 527);
- this.closeButton.Name = "closeButton";
- this.closeButton.Size = new System.Drawing.Size(126, 23);
- this.closeButton.TabIndex = 1;
- this.closeButton.Text = "Save";
- this.closeButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.closeButton.UseSelectable = true;
- this.closeButton.Click += new System.EventHandler(this.closeButton_Click);
- //
- // effectsGroup
- //
- this.effectsGroup.Controls.Add(this.rightLegOCheckBox);
- this.effectsGroup.Controls.Add(this.headOCheckBox);
- this.effectsGroup.Controls.Add(this.leftLegOCheckBox);
- this.effectsGroup.Controls.Add(this.rightArmOCheckBox);
- this.effectsGroup.Controls.Add(this.leftArmOCheckBox);
- this.effectsGroup.Controls.Add(this.bodyOCheckBox);
- this.effectsGroup.Controls.Add(this.rightLegCheckBox);
- this.effectsGroup.Controls.Add(this.slimCheckBox);
- this.effectsGroup.Controls.Add(this.headCheckBox);
- this.effectsGroup.Controls.Add(this.leftLegCheckBox);
- this.effectsGroup.Controls.Add(this.rightArmCheckBox);
- this.effectsGroup.Controls.Add(this.leftArmCheckBox);
- this.effectsGroup.Controls.Add(this.bodyCheckBox);
- this.effectsGroup.Controls.Add(this.classicCheckBox);
- this.effectsGroup.ForeColor = System.Drawing.SystemColors.Window;
- this.effectsGroup.Location = new System.Drawing.Point(23, 140);
- this.effectsGroup.Name = "effectsGroup";
- this.effectsGroup.Size = new System.Drawing.Size(408, 238);
- this.effectsGroup.TabIndex = 2;
- this.effectsGroup.TabStop = false;
- this.effectsGroup.Text = "Skin Flags";
- //
- // rightLegOCheckBox
- //
- this.rightLegOCheckBox.AutoSize = true;
- this.rightLegOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.rightLegOCheckBox.Location = new System.Drawing.Point(180, 208);
- this.rightLegOCheckBox.Name = "rightLegOCheckBox";
- this.rightLegOCheckBox.Size = new System.Drawing.Size(213, 19);
- this.rightLegOCheckBox.TabIndex = 13;
- this.rightLegOCheckBox.Text = "Remove Right Leg Overlay Box";
- this.rightLegOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.rightLegOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.closeButton = new MetroFramework.Controls.MetroButton();
+ this.effectsGroup = new System.Windows.Forms.GroupBox();
+ this.rightLegOCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.headOCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.leftLegOCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.leftArmOCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.bodyOCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.rightLegCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.slimCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.headCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.leftLegCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.rightArmCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.leftArmCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.bodyCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.classicCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.rightArmOCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.effectsGroup2 = new System.Windows.Forms.GroupBox();
+ this.rightLeggingCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.helmetCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.leftLeggingCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.rightArmorCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.leftArmorCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.chestplateCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.unknownCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.crouchCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.dinnerboneCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.noArmorCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.bobbingCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.santaCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.syncLegsCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.staticArmsCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.syncArmsCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.statueCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.zombieCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.staticLegsCheckBox = new MetroFramework.Controls.MetroCheckBox();
+ this.copyButton = new MetroFramework.Controls.MetroButton();
+ this.importButton = new MetroFramework.Controls.MetroButton();
+ this.exportButton = new MetroFramework.Controls.MetroButton();
+ this.animValue = new MetroFramework.Controls.MetroLabel();
+ this.uncheckButton = new MetroFramework.Controls.MetroButton();
+ this.checkButton = new MetroFramework.Controls.MetroButton();
+ this.toolTip = new MetroFramework.Components.MetroToolTip();
+ this.resetButton = new MetroFramework.Controls.MetroButton();
+ this.templateButton = new MetroFramework.Controls.MetroButton();
+ this.effectsGroup.SuspendLayout();
+ this.effectsGroup2.SuspendLayout();
+ this.groupBox1.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // closeButton
+ //
+ this.closeButton.Location = new System.Drawing.Point(250, 514);
+ this.closeButton.Name = "closeButton";
+ this.closeButton.Size = new System.Drawing.Size(126, 23);
+ this.closeButton.TabIndex = 1;
+ this.closeButton.Text = "Save";
+ this.closeButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.closeButton.UseSelectable = true;
+ this.closeButton.Click += new System.EventHandler(this.closeButton_Click);
+ //
+ // effectsGroup
+ //
+ this.effectsGroup.Controls.Add(this.rightLegOCheckBox);
+ this.effectsGroup.Controls.Add(this.headOCheckBox);
+ this.effectsGroup.Controls.Add(this.leftLegOCheckBox);
+ this.effectsGroup.Controls.Add(this.leftArmOCheckBox);
+ this.effectsGroup.Controls.Add(this.bodyOCheckBox);
+ this.effectsGroup.Controls.Add(this.rightLegCheckBox);
+ this.effectsGroup.Controls.Add(this.slimCheckBox);
+ this.effectsGroup.Controls.Add(this.headCheckBox);
+ this.effectsGroup.Controls.Add(this.leftLegCheckBox);
+ this.effectsGroup.Controls.Add(this.rightArmCheckBox);
+ this.effectsGroup.Controls.Add(this.leftArmCheckBox);
+ this.effectsGroup.Controls.Add(this.bodyCheckBox);
+ this.effectsGroup.Controls.Add(this.classicCheckBox);
+ this.effectsGroup.Controls.Add(this.rightArmOCheckBox);
+ this.effectsGroup.ForeColor = System.Drawing.SystemColors.Window;
+ this.effectsGroup.Location = new System.Drawing.Point(22, 148);
+ this.effectsGroup.Name = "effectsGroup";
+ this.effectsGroup.Size = new System.Drawing.Size(393, 238);
+ this.effectsGroup.TabIndex = 2;
+ this.effectsGroup.TabStop = false;
+ this.effectsGroup.Text = "Skin Flags";
+ //
+ // rightLegOCheckBox
+ //
+ this.rightLegOCheckBox.AutoSize = true;
+ this.rightLegOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.rightLegOCheckBox.Location = new System.Drawing.Point(180, 208);
+ this.rightLegOCheckBox.Name = "rightLegOCheckBox";
+ this.rightLegOCheckBox.Size = new System.Drawing.Size(199, 19);
+ this.rightLegOCheckBox.TabIndex = 13;
+ this.rightLegOCheckBox.Text = "Remove Right Leg Layer Box";
+ this.rightLegOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.rightLegOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.rightLegOCheckBox.UseSelectable = true;
- //
- // headOCheckBox
- //
- this.headOCheckBox.AutoSize = true;
- this.headOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.headOCheckBox.Location = new System.Drawing.Point(180, 50);
- this.headOCheckBox.Name = "headOCheckBox";
- this.headOCheckBox.Size = new System.Drawing.Size(187, 19);
- this.headOCheckBox.TabIndex = 12;
- this.headOCheckBox.Text = "Remove Head Overlay Box";
- this.headOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.headOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.rightLegOCheckBox.UseSelectable = true;
+ //
+ // headOCheckBox
+ //
+ this.headOCheckBox.AutoSize = true;
+ this.headOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.headOCheckBox.Location = new System.Drawing.Point(180, 50);
+ this.headOCheckBox.Name = "headOCheckBox";
+ this.headOCheckBox.Size = new System.Drawing.Size(173, 19);
+ this.headOCheckBox.TabIndex = 12;
+ this.headOCheckBox.Text = "Remove Head Layer Box";
+ this.headOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.headOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.headOCheckBox.UseSelectable = true;
- //
- // leftLegOCheckBox
- //
- this.leftLegOCheckBox.AutoSize = true;
- this.leftLegOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.leftLegOCheckBox.Location = new System.Drawing.Point(180, 174);
- this.leftLegOCheckBox.Name = "leftLegOCheckBox";
- this.leftLegOCheckBox.Size = new System.Drawing.Size(204, 19);
- this.leftLegOCheckBox.TabIndex = 11;
- this.leftLegOCheckBox.Text = "Remove Left Leg Overlay Box";
- this.leftLegOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.leftLegOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.headOCheckBox.UseSelectable = true;
+ //
+ // leftLegOCheckBox
+ //
+ this.leftLegOCheckBox.AutoSize = true;
+ this.leftLegOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.leftLegOCheckBox.Location = new System.Drawing.Point(180, 174);
+ this.leftLegOCheckBox.Name = "leftLegOCheckBox";
+ this.leftLegOCheckBox.Size = new System.Drawing.Size(190, 19);
+ this.leftLegOCheckBox.TabIndex = 11;
+ this.leftLegOCheckBox.Text = "Remove Left Leg Layer Box";
+ this.leftLegOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.leftLegOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.leftLegOCheckBox.UseSelectable = true;
- //
- // rightArmOCheckBox
- //
- this.rightArmOCheckBox.AutoSize = true;
- this.rightArmOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.rightArmOCheckBox.Location = new System.Drawing.Point(178, 143);
- this.rightArmOCheckBox.Name = "rightArmOCheckBox";
- this.rightArmOCheckBox.Size = new System.Drawing.Size(217, 19);
- this.rightArmOCheckBox.TabIndex = 10;
- this.rightArmOCheckBox.Text = "Remove Right Arm Overlay Box";
- this.rightArmOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.rightArmOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.leftLegOCheckBox.UseSelectable = true;
+ //
+ // leftArmOCheckBox
+ //
+ this.leftArmOCheckBox.AutoSize = true;
+ this.leftArmOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.leftArmOCheckBox.Location = new System.Drawing.Point(180, 112);
+ this.leftArmOCheckBox.Name = "leftArmOCheckBox";
+ this.leftArmOCheckBox.Size = new System.Drawing.Size(194, 19);
+ this.leftArmOCheckBox.TabIndex = 9;
+ this.leftArmOCheckBox.Text = "Remove Left Arm Layer Box";
+ this.leftArmOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.leftArmOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.rightArmOCheckBox.UseSelectable = true;
- //
- // leftArmOCheckBox
- //
- this.leftArmOCheckBox.AutoSize = true;
- this.leftArmOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.leftArmOCheckBox.Location = new System.Drawing.Point(180, 112);
- this.leftArmOCheckBox.Name = "leftArmOCheckBox";
- this.leftArmOCheckBox.Size = new System.Drawing.Size(208, 19);
- this.leftArmOCheckBox.TabIndex = 9;
- this.leftArmOCheckBox.Text = "Remove Left Arm Overlay Box";
- this.leftArmOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.leftArmOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.leftArmOCheckBox.UseSelectable = true;
+ //
+ // bodyOCheckBox
+ //
+ this.bodyOCheckBox.AutoSize = true;
+ this.bodyOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.bodyOCheckBox.Location = new System.Drawing.Point(180, 81);
+ this.bodyOCheckBox.Name = "bodyOCheckBox";
+ this.bodyOCheckBox.Size = new System.Drawing.Size(172, 19);
+ this.bodyOCheckBox.TabIndex = 8;
+ this.bodyOCheckBox.Text = "Remove Body Layer Box";
+ this.bodyOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.bodyOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.leftArmOCheckBox.UseSelectable = true;
- //
- // bodyOCheckBox
- //
- this.bodyOCheckBox.AutoSize = true;
- this.bodyOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.bodyOCheckBox.Location = new System.Drawing.Point(180, 81);
- this.bodyOCheckBox.Name = "bodyOCheckBox";
- this.bodyOCheckBox.Size = new System.Drawing.Size(186, 19);
- this.bodyOCheckBox.TabIndex = 8;
- this.bodyOCheckBox.Text = "Remove Body Overlay Box";
- this.bodyOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.bodyOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.bodyOCheckBox.UseSelectable = true;
+ //
+ // rightLegCheckBox
+ //
+ this.rightLegCheckBox.AutoSize = true;
+ this.rightLegCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.rightLegCheckBox.Location = new System.Drawing.Point(6, 208);
+ this.rightLegCheckBox.Name = "rightLegCheckBox";
+ this.rightLegCheckBox.Size = new System.Drawing.Size(162, 19);
+ this.rightLegCheckBox.TabIndex = 7;
+ this.rightLegCheckBox.Text = "Remove Right Leg Box";
+ this.rightLegCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.rightLegCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.bodyOCheckBox.UseSelectable = true;
- //
- // rightLegCheckBox
- //
- this.rightLegCheckBox.AutoSize = true;
- this.rightLegCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.rightLegCheckBox.Location = new System.Drawing.Point(6, 208);
- this.rightLegCheckBox.Name = "rightLegCheckBox";
- this.rightLegCheckBox.Size = new System.Drawing.Size(162, 19);
- this.rightLegCheckBox.TabIndex = 7;
- this.rightLegCheckBox.Text = "Remove Right Leg Box";
- this.rightLegCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.rightLegCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
- "or this part. Armor will be disabled for this part, but can be rendered again wi" +
- "th the armor flags. ");
- this.rightLegCheckBox.UseSelectable = true;
- //
- // slimCheckBox
- //
- this.slimCheckBox.AutoSize = true;
- this.slimCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.slimCheckBox.Location = new System.Drawing.Point(180, 19);
- this.slimCheckBox.Name = "slimCheckBox";
- this.slimCheckBox.Size = new System.Drawing.Size(151, 19);
- this.slimCheckBox.TabIndex = 6;
- this.slimCheckBox.Text = "64x64 Alex/Slim Skin";
- this.slimCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.slimCheckBox, " The 1.8 style skin type with slim arms, overlays for each part, and sep" +
+ this.rightLegCheckBox.UseSelectable = true;
+ //
+ // slimCheckBox
+ //
+ this.slimCheckBox.AutoSize = true;
+ this.slimCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.slimCheckBox.Location = new System.Drawing.Point(180, 19);
+ this.slimCheckBox.Name = "slimCheckBox";
+ this.slimCheckBox.Size = new System.Drawing.Size(151, 19);
+ this.slimCheckBox.TabIndex = 6;
+ this.slimCheckBox.Text = "64x64 Alex/Slim Skin";
+ this.slimCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.slimCheckBox, " The 1.8 style skin type with slim arms, overlays for each part, and sep" +
"arate textures for right and left limbs. Resolution is also set to 64x64. " +
" ");
- this.slimCheckBox.UseSelectable = true;
- //
- // headCheckBox
- //
- this.headCheckBox.AutoSize = true;
- this.headCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.headCheckBox.Location = new System.Drawing.Point(6, 50);
- this.headCheckBox.Name = "headCheckBox";
- this.headCheckBox.Size = new System.Drawing.Size(136, 19);
- this.headCheckBox.TabIndex = 5;
- this.headCheckBox.Text = "Remove Head Box";
- this.headCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.headCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.slimCheckBox.UseSelectable = true;
+ //
+ // headCheckBox
+ //
+ this.headCheckBox.AutoSize = true;
+ this.headCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.headCheckBox.Location = new System.Drawing.Point(6, 50);
+ this.headCheckBox.Name = "headCheckBox";
+ this.headCheckBox.Size = new System.Drawing.Size(136, 19);
+ this.headCheckBox.TabIndex = 5;
+ this.headCheckBox.Text = "Remove Head Box";
+ this.headCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.headCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.headCheckBox.UseSelectable = true;
- //
- // leftLegCheckBox
- //
- this.leftLegCheckBox.AutoSize = true;
- this.leftLegCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.leftLegCheckBox.Location = new System.Drawing.Point(6, 174);
- this.leftLegCheckBox.Name = "leftLegCheckBox";
- this.leftLegCheckBox.Size = new System.Drawing.Size(153, 19);
- this.leftLegCheckBox.TabIndex = 4;
- this.leftLegCheckBox.Text = "Remove Left Leg Box";
- this.leftLegCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.leftLegCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.headCheckBox.UseSelectable = true;
+ //
+ // leftLegCheckBox
+ //
+ this.leftLegCheckBox.AutoSize = true;
+ this.leftLegCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.leftLegCheckBox.Location = new System.Drawing.Point(6, 174);
+ this.leftLegCheckBox.Name = "leftLegCheckBox";
+ this.leftLegCheckBox.Size = new System.Drawing.Size(153, 19);
+ this.leftLegCheckBox.TabIndex = 4;
+ this.leftLegCheckBox.Text = "Remove Left Leg Box";
+ this.leftLegCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.leftLegCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.leftLegCheckBox.UseSelectable = true;
- //
- // rightArmCheckBox
- //
- this.rightArmCheckBox.AutoSize = true;
- this.rightArmCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.rightArmCheckBox.Location = new System.Drawing.Point(6, 143);
- this.rightArmCheckBox.Name = "rightArmCheckBox";
- this.rightArmCheckBox.Size = new System.Drawing.Size(166, 19);
- this.rightArmCheckBox.TabIndex = 3;
- this.rightArmCheckBox.Text = "Remove Right Arm Box";
- this.rightArmCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.rightArmCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.leftLegCheckBox.UseSelectable = true;
+ //
+ // rightArmCheckBox
+ //
+ this.rightArmCheckBox.AutoSize = true;
+ this.rightArmCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.rightArmCheckBox.Location = new System.Drawing.Point(6, 143);
+ this.rightArmCheckBox.Name = "rightArmCheckBox";
+ this.rightArmCheckBox.Size = new System.Drawing.Size(166, 19);
+ this.rightArmCheckBox.TabIndex = 3;
+ this.rightArmCheckBox.Text = "Remove Right Arm Box";
+ this.rightArmCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.rightArmCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.rightArmCheckBox.UseSelectable = true;
- //
- // leftArmCheckBox
- //
- this.leftArmCheckBox.AutoSize = true;
- this.leftArmCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.leftArmCheckBox.Location = new System.Drawing.Point(6, 112);
- this.leftArmCheckBox.Name = "leftArmCheckBox";
- this.leftArmCheckBox.Size = new System.Drawing.Size(157, 19);
- this.leftArmCheckBox.TabIndex = 2;
- this.leftArmCheckBox.Text = "Remove Left Arm Box";
- this.leftArmCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.leftArmCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.rightArmCheckBox.UseSelectable = true;
+ //
+ // leftArmCheckBox
+ //
+ this.leftArmCheckBox.AutoSize = true;
+ this.leftArmCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.leftArmCheckBox.Location = new System.Drawing.Point(6, 112);
+ this.leftArmCheckBox.Name = "leftArmCheckBox";
+ this.leftArmCheckBox.Size = new System.Drawing.Size(157, 19);
+ this.leftArmCheckBox.TabIndex = 2;
+ this.leftArmCheckBox.Text = "Remove Left Arm Box";
+ this.leftArmCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.leftArmCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.leftArmCheckBox.UseSelectable = true;
- //
- // bodyCheckBox
- //
- this.bodyCheckBox.AutoSize = true;
- this.bodyCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.bodyCheckBox.Location = new System.Drawing.Point(6, 81);
- this.bodyCheckBox.Name = "bodyCheckBox";
- this.bodyCheckBox.Size = new System.Drawing.Size(135, 19);
- this.bodyCheckBox.TabIndex = 1;
- this.bodyCheckBox.Text = "Remove Body Box";
- this.bodyCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.bodyCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ this.leftArmCheckBox.UseSelectable = true;
+ //
+ // bodyCheckBox
+ //
+ this.bodyCheckBox.AutoSize = true;
+ this.bodyCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.bodyCheckBox.Location = new System.Drawing.Point(6, 81);
+ this.bodyCheckBox.Name = "bodyCheckBox";
+ this.bodyCheckBox.Size = new System.Drawing.Size(135, 19);
+ this.bodyCheckBox.TabIndex = 1;
+ this.bodyCheckBox.Text = "Remove Body Box";
+ this.bodyCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.bodyCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
"or this part. Armor will be disabled for this part, but can be rendered again wi" +
"th the armor flags. ");
- this.bodyCheckBox.UseSelectable = true;
- //
- // classicCheckBox
- //
- this.classicCheckBox.AutoSize = true;
- this.classicCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.classicCheckBox.Location = new System.Drawing.Point(6, 19);
- this.classicCheckBox.Name = "classicCheckBox";
- this.classicCheckBox.Size = new System.Drawing.Size(136, 19);
- this.classicCheckBox.TabIndex = 0;
- this.classicCheckBox.Text = "64x64 Classic Skin";
- this.classicCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.classicCheckBox, " The 1.8 style skin type with overlays for each part and separate textur" +
+ this.bodyCheckBox.UseSelectable = true;
+ //
+ // classicCheckBox
+ //
+ this.classicCheckBox.AutoSize = true;
+ this.classicCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.classicCheckBox.Location = new System.Drawing.Point(6, 19);
+ this.classicCheckBox.Name = "classicCheckBox";
+ this.classicCheckBox.Size = new System.Drawing.Size(136, 19);
+ this.classicCheckBox.TabIndex = 0;
+ this.classicCheckBox.Text = "64x64 Classic Skin";
+ this.classicCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.classicCheckBox, " The 1.8 style skin type with overlays for each part and separate textur" +
"es for right and left limbs. Resolution is also set to 64x64. ");
- this.classicCheckBox.UseSelectable = true;
- //
- // effectsGroup2
- //
- this.effectsGroup2.Controls.Add(this.rightLeggingCheckBox);
- this.effectsGroup2.Controls.Add(this.helmetCheckBox);
- this.effectsGroup2.Controls.Add(this.leftLeggingCheckBox);
- this.effectsGroup2.Controls.Add(this.rightArmorCheckBox);
- this.effectsGroup2.Controls.Add(this.leftArmorCheckBox);
- this.effectsGroup2.Controls.Add(this.chestplateCheckBox);
- this.effectsGroup2.ForeColor = System.Drawing.SystemColors.Window;
- this.effectsGroup2.Location = new System.Drawing.Point(437, 140);
- this.effectsGroup2.Name = "effectsGroup2";
- this.effectsGroup2.Size = new System.Drawing.Size(184, 238);
- this.effectsGroup2.TabIndex = 14;
- this.effectsGroup2.TabStop = false;
- this.effectsGroup2.Text = "Armor Flags";
- //
- // rightLeggingCheckBox
- //
- this.rightLeggingCheckBox.AutoSize = true;
- this.rightLeggingCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.rightLeggingCheckBox.Location = new System.Drawing.Point(6, 174);
- this.rightLeggingCheckBox.Name = "rightLeggingCheckBox";
- this.rightLeggingCheckBox.Size = new System.Drawing.Size(173, 19);
- this.rightLeggingCheckBox.TabIndex = 7;
- this.rightLeggingCheckBox.Text = "Render Right Leg Armor";
- this.rightLeggingCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.rightLeggingCheckBox, " Forcefully enables the specified armor piece.");
- this.rightLeggingCheckBox.UseSelectable = true;
- //
- // helmetCheckBox
- //
- this.helmetCheckBox.AutoSize = true;
- this.helmetCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.helmetCheckBox.Location = new System.Drawing.Point(6, 19);
- this.helmetCheckBox.Name = "helmetCheckBox";
- this.helmetCheckBox.Size = new System.Drawing.Size(147, 19);
- this.helmetCheckBox.TabIndex = 5;
- this.helmetCheckBox.Text = "Render Head Armor";
- this.helmetCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.helmetCheckBox, " Forcefully re-enables the specified armor piece.");
- this.helmetCheckBox.UseSelectable = true;
- //
- // leftLeggingCheckBox
- //
- this.leftLeggingCheckBox.AutoSize = true;
- this.leftLeggingCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.leftLeggingCheckBox.Location = new System.Drawing.Point(6, 143);
- this.leftLeggingCheckBox.Name = "leftLeggingCheckBox";
- this.leftLeggingCheckBox.Size = new System.Drawing.Size(164, 19);
- this.leftLeggingCheckBox.TabIndex = 4;
- this.leftLeggingCheckBox.Text = "Render Left Leg Armor";
- this.leftLeggingCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.leftLeggingCheckBox, " Forcefully enables the specified armor piece.");
- this.leftLeggingCheckBox.UseSelectable = true;
- //
- // rightArmorCheckBox
- //
- this.rightArmorCheckBox.AutoSize = true;
- this.rightArmorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.rightArmorCheckBox.Location = new System.Drawing.Point(6, 112);
- this.rightArmorCheckBox.Name = "rightArmorCheckBox";
- this.rightArmorCheckBox.Size = new System.Drawing.Size(177, 19);
- this.rightArmorCheckBox.TabIndex = 3;
- this.rightArmorCheckBox.Text = "Render Right Arm Armor";
- this.rightArmorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.rightArmorCheckBox, " Forcefully enables the specified armor piece.");
- this.rightArmorCheckBox.UseSelectable = true;
- //
- // leftArmorCheckBox
- //
- this.leftArmorCheckBox.AutoSize = true;
- this.leftArmorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.leftArmorCheckBox.Location = new System.Drawing.Point(6, 81);
- this.leftArmorCheckBox.Name = "leftArmorCheckBox";
- this.leftArmorCheckBox.Size = new System.Drawing.Size(168, 19);
- this.leftArmorCheckBox.TabIndex = 2;
- this.leftArmorCheckBox.Text = "Render Left Arm Armor";
- this.leftArmorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.leftArmorCheckBox, " Forcefully enables the specified armor piece.");
- this.leftArmorCheckBox.UseSelectable = true;
- //
- // chestplateCheckBox
- //
- this.chestplateCheckBox.AutoSize = true;
- this.chestplateCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.chestplateCheckBox.Location = new System.Drawing.Point(6, 50);
- this.chestplateCheckBox.Name = "chestplateCheckBox";
- this.chestplateCheckBox.Size = new System.Drawing.Size(146, 19);
- this.chestplateCheckBox.TabIndex = 1;
- this.chestplateCheckBox.Text = "Render Body Armor";
- this.chestplateCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.chestplateCheckBox, " Forcefully enables the specified armor piece for removed parent boxes. ");
- this.chestplateCheckBox.UseSelectable = true;
- //
- // groupBox1
- //
- this.groupBox1.Controls.Add(this.unknownCheckBox);
- this.groupBox1.Controls.Add(this.crouchCheckBox);
- this.groupBox1.Controls.Add(this.dinnerboneCheckBox);
- this.groupBox1.Controls.Add(this.noArmorCheckBox);
- this.groupBox1.Controls.Add(this.bobbingCheckBox);
- this.groupBox1.Controls.Add(this.santaCheckBox);
- this.groupBox1.Controls.Add(this.syncLegsCheckBox);
- this.groupBox1.Controls.Add(this.staticArmsCheckBox);
- this.groupBox1.Controls.Add(this.syncArmsCheckBox);
- this.groupBox1.Controls.Add(this.statueCheckBox);
- this.groupBox1.Controls.Add(this.zombieCheckBox);
- this.groupBox1.Controls.Add(this.staticLegsCheckBox);
- this.groupBox1.ForeColor = System.Drawing.SystemColors.Window;
- this.groupBox1.Location = new System.Drawing.Point(23, 384);
- this.groupBox1.Name = "groupBox1";
- this.groupBox1.Size = new System.Drawing.Size(598, 137);
- this.groupBox1.TabIndex = 15;
- this.groupBox1.TabStop = false;
- this.groupBox1.Text = "Special Animations";
- //
- // unknownCheckBox
- //
- this.unknownCheckBox.AutoSize = true;
- this.unknownCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.unknownCheckBox.Location = new System.Drawing.Point(126, 81);
- this.unknownCheckBox.Name = "unknownCheckBox";
- this.unknownCheckBox.Size = new System.Drawing.Size(84, 19);
- this.unknownCheckBox.TabIndex = 13;
- this.unknownCheckBox.Text = "Unknown";
- this.unknownCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.unknownCheckBox, " If you figure out what this is. Please reach out to MNL#8935 on Discord. (: " +
+ this.classicCheckBox.UseSelectable = true;
+ //
+ // rightArmOCheckBox
+ //
+ this.rightArmOCheckBox.AutoSize = true;
+ this.rightArmOCheckBox.BackColor = System.Drawing.Color.Transparent;
+ this.rightArmOCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.rightArmOCheckBox.Location = new System.Drawing.Point(180, 143);
+ this.rightArmOCheckBox.Name = "rightArmOCheckBox";
+ this.rightArmOCheckBox.Size = new System.Drawing.Size(203, 19);
+ this.rightArmOCheckBox.TabIndex = 10;
+ this.rightArmOCheckBox.Text = "Remove Right Arm Layer Box";
+ this.rightArmOCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.rightArmOCheckBox, " Removes the parent Box for this part. You can still make new boxes f" +
+ "or this part. Armor will be disabled for this part, but can be rendered again wi" +
+ "th the armor flags. ");
+ this.rightArmOCheckBox.UseSelectable = true;
+ //
+ // effectsGroup2
+ //
+ this.effectsGroup2.Controls.Add(this.rightLeggingCheckBox);
+ this.effectsGroup2.Controls.Add(this.helmetCheckBox);
+ this.effectsGroup2.Controls.Add(this.leftLeggingCheckBox);
+ this.effectsGroup2.Controls.Add(this.rightArmorCheckBox);
+ this.effectsGroup2.Controls.Add(this.leftArmorCheckBox);
+ this.effectsGroup2.Controls.Add(this.chestplateCheckBox);
+ this.effectsGroup2.ForeColor = System.Drawing.SystemColors.Window;
+ this.effectsGroup2.Location = new System.Drawing.Point(421, 183);
+ this.effectsGroup2.Name = "effectsGroup2";
+ this.effectsGroup2.Size = new System.Drawing.Size(188, 203);
+ this.effectsGroup2.TabIndex = 14;
+ this.effectsGroup2.TabStop = false;
+ this.effectsGroup2.Text = "Armor Flags";
+ //
+ // rightLeggingCheckBox
+ //
+ this.rightLeggingCheckBox.AutoSize = true;
+ this.rightLeggingCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.rightLeggingCheckBox.Location = new System.Drawing.Point(6, 174);
+ this.rightLeggingCheckBox.Name = "rightLeggingCheckBox";
+ this.rightLeggingCheckBox.Size = new System.Drawing.Size(173, 19);
+ this.rightLeggingCheckBox.TabIndex = 7;
+ this.rightLeggingCheckBox.Text = "Render Right Leg Armor";
+ this.rightLeggingCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.rightLeggingCheckBox, " Forcefully enables the specified armor piece.");
+ this.rightLeggingCheckBox.UseSelectable = true;
+ //
+ // helmetCheckBox
+ //
+ this.helmetCheckBox.AutoSize = true;
+ this.helmetCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.helmetCheckBox.Location = new System.Drawing.Point(6, 19);
+ this.helmetCheckBox.Name = "helmetCheckBox";
+ this.helmetCheckBox.Size = new System.Drawing.Size(147, 19);
+ this.helmetCheckBox.TabIndex = 5;
+ this.helmetCheckBox.Text = "Render Head Armor";
+ this.helmetCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.helmetCheckBox, " Forcefully enables the specified armor piece.");
+ this.helmetCheckBox.UseSelectable = true;
+ //
+ // leftLeggingCheckBox
+ //
+ this.leftLeggingCheckBox.AutoSize = true;
+ this.leftLeggingCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.leftLeggingCheckBox.Location = new System.Drawing.Point(6, 143);
+ this.leftLeggingCheckBox.Name = "leftLeggingCheckBox";
+ this.leftLeggingCheckBox.Size = new System.Drawing.Size(164, 19);
+ this.leftLeggingCheckBox.TabIndex = 4;
+ this.leftLeggingCheckBox.Text = "Render Left Leg Armor";
+ this.leftLeggingCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.leftLeggingCheckBox, " Forcefully enables the specified armor piece.");
+ this.leftLeggingCheckBox.UseSelectable = true;
+ //
+ // rightArmorCheckBox
+ //
+ this.rightArmorCheckBox.AutoSize = true;
+ this.rightArmorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.rightArmorCheckBox.Location = new System.Drawing.Point(6, 112);
+ this.rightArmorCheckBox.Name = "rightArmorCheckBox";
+ this.rightArmorCheckBox.Size = new System.Drawing.Size(177, 19);
+ this.rightArmorCheckBox.TabIndex = 3;
+ this.rightArmorCheckBox.Text = "Render Right Arm Armor";
+ this.rightArmorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.rightArmorCheckBox, " Forcefully enables the specified armor piece.");
+ this.rightArmorCheckBox.UseSelectable = true;
+ //
+ // leftArmorCheckBox
+ //
+ this.leftArmorCheckBox.AutoSize = true;
+ this.leftArmorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.leftArmorCheckBox.Location = new System.Drawing.Point(6, 81);
+ this.leftArmorCheckBox.Name = "leftArmorCheckBox";
+ this.leftArmorCheckBox.Size = new System.Drawing.Size(168, 19);
+ this.leftArmorCheckBox.TabIndex = 2;
+ this.leftArmorCheckBox.Text = "Render Left Arm Armor";
+ this.leftArmorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.leftArmorCheckBox, " Forcefully enables the specified armor piece.");
+ this.leftArmorCheckBox.UseSelectable = true;
+ //
+ // chestplateCheckBox
+ //
+ this.chestplateCheckBox.AutoSize = true;
+ this.chestplateCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.chestplateCheckBox.Location = new System.Drawing.Point(6, 50);
+ this.chestplateCheckBox.Name = "chestplateCheckBox";
+ this.chestplateCheckBox.Size = new System.Drawing.Size(146, 19);
+ this.chestplateCheckBox.TabIndex = 1;
+ this.chestplateCheckBox.Text = "Render Body Armor";
+ this.chestplateCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.chestplateCheckBox, " Forcefully enables the specified armor piece.");
+ this.chestplateCheckBox.UseSelectable = true;
+ //
+ // groupBox1
+ //
+ this.groupBox1.Controls.Add(this.unknownCheckBox);
+ this.groupBox1.Controls.Add(this.crouchCheckBox);
+ this.groupBox1.Controls.Add(this.dinnerboneCheckBox);
+ this.groupBox1.Controls.Add(this.noArmorCheckBox);
+ this.groupBox1.Controls.Add(this.bobbingCheckBox);
+ this.groupBox1.Controls.Add(this.santaCheckBox);
+ this.groupBox1.Controls.Add(this.syncLegsCheckBox);
+ this.groupBox1.Controls.Add(this.staticArmsCheckBox);
+ this.groupBox1.Controls.Add(this.syncArmsCheckBox);
+ this.groupBox1.Controls.Add(this.statueCheckBox);
+ this.groupBox1.Controls.Add(this.zombieCheckBox);
+ this.groupBox1.Controls.Add(this.staticLegsCheckBox);
+ this.groupBox1.ForeColor = System.Drawing.SystemColors.Window;
+ this.groupBox1.Location = new System.Drawing.Point(22, 388);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(587, 115);
+ this.groupBox1.TabIndex = 15;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "Special Animations";
+ //
+ // unknownCheckBox
+ //
+ this.unknownCheckBox.AutoSize = true;
+ this.unknownCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.unknownCheckBox.Location = new System.Drawing.Point(126, 81);
+ this.unknownCheckBox.Name = "unknownCheckBox";
+ this.unknownCheckBox.Size = new System.Drawing.Size(84, 19);
+ this.unknownCheckBox.TabIndex = 13;
+ this.unknownCheckBox.Text = "Unknown";
+ this.unknownCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.unknownCheckBox, " If you figure out what this is. Please reach out to MNL#8935 on Discord. (: " +
"");
- this.unknownCheckBox.UseSelectable = true;
- //
- // crouchCheckBox
- //
- this.crouchCheckBox.AutoSize = true;
- this.crouchCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.crouchCheckBox.Location = new System.Drawing.Point(126, 50);
- this.crouchCheckBox.Name = "crouchCheckBox";
- this.crouchCheckBox.Size = new System.Drawing.Size(137, 19);
- this.crouchCheckBox.TabIndex = 12;
- this.crouchCheckBox.Text = "Backwards Crouch";
- this.crouchCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.crouchCheckBox, " The crouch animation is reversed so that the arms and body lean back. Usefu" +
+ this.unknownCheckBox.UseSelectable = true;
+ //
+ // crouchCheckBox
+ //
+ this.crouchCheckBox.AutoSize = true;
+ this.crouchCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.crouchCheckBox.Location = new System.Drawing.Point(126, 50);
+ this.crouchCheckBox.Name = "crouchCheckBox";
+ this.crouchCheckBox.Size = new System.Drawing.Size(137, 19);
+ this.crouchCheckBox.TabIndex = 12;
+ this.crouchCheckBox.Text = "Backwards Crouch";
+ this.crouchCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.crouchCheckBox, " The crouch animation is reversed so that the arms and body lean back. Usefu" +
"l for small skins. ");
- this.crouchCheckBox.UseSelectable = true;
- //
- // dinnerboneCheckBox
- //
- this.dinnerboneCheckBox.AutoSize = true;
- this.dinnerboneCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.dinnerboneCheckBox.Location = new System.Drawing.Point(126, 19);
- this.dinnerboneCheckBox.Name = "dinnerboneCheckBox";
- this.dinnerboneCheckBox.Size = new System.Drawing.Size(97, 19);
- this.dinnerboneCheckBox.TabIndex = 11;
- this.dinnerboneCheckBox.Text = "Dinnerbone";
- this.dinnerboneCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.dinnerboneCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.dinnerboneCheckBox, " Flips the skin upside down like Dinnerbone\'s skin, a Minecraft developer. ");
- this.dinnerboneCheckBox.UseSelectable = true;
- //
- // noArmorCheckBox
- //
- this.noArmorCheckBox.AutoSize = true;
- this.noArmorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.noArmorCheckBox.Location = new System.Drawing.Point(420, 81);
- this.noArmorCheckBox.Name = "noArmorCheckBox";
- this.noArmorCheckBox.Size = new System.Drawing.Size(131, 19);
- this.noArmorCheckBox.TabIndex = 10;
- this.noArmorCheckBox.Text = "Disable All Armor";
- this.noArmorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.noArmorCheckBox, " Disables all armor desptie the armor flags. ");
- this.noArmorCheckBox.UseSelectable = true;
- //
- // bobbingCheckBox
- //
- this.bobbingCheckBox.AutoSize = true;
- this.bobbingCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.bobbingCheckBox.Location = new System.Drawing.Point(272, 50);
- this.bobbingCheckBox.Name = "bobbingCheckBox";
- this.bobbingCheckBox.Size = new System.Drawing.Size(124, 19);
- this.bobbingCheckBox.TabIndex = 9;
- this.bobbingCheckBox.Text = "Disable Bobbing";
- this.bobbingCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.bobbingCheckBox, " Disables the bobbing effect in first person.");
- this.bobbingCheckBox.UseSelectable = true;
- //
- // santaCheckBox
- //
- this.santaCheckBox.AutoSize = true;
- this.santaCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.santaCheckBox.Location = new System.Drawing.Point(420, 50);
- this.santaCheckBox.Name = "santaCheckBox";
- this.santaCheckBox.Size = new System.Drawing.Size(86, 19);
- this.santaCheckBox.TabIndex = 8;
- this.santaCheckBox.Text = "Bad Santa";
- this.santaCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.santaCheckBox, " The skin sits down after about 10 seconds of no controller input. Made for" +
+ this.crouchCheckBox.UseSelectable = true;
+ //
+ // dinnerboneCheckBox
+ //
+ this.dinnerboneCheckBox.AutoSize = true;
+ this.dinnerboneCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.dinnerboneCheckBox.Location = new System.Drawing.Point(126, 19);
+ this.dinnerboneCheckBox.Name = "dinnerboneCheckBox";
+ this.dinnerboneCheckBox.Size = new System.Drawing.Size(97, 19);
+ this.dinnerboneCheckBox.TabIndex = 11;
+ this.dinnerboneCheckBox.Text = "Dinnerbone";
+ this.dinnerboneCheckBox.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.dinnerboneCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.dinnerboneCheckBox, " Flips the skin upside down like Dinnerbone\'s skin, a Minecraft developer. ");
+ this.dinnerboneCheckBox.UseSelectable = true;
+ //
+ // noArmorCheckBox
+ //
+ this.noArmorCheckBox.AutoSize = true;
+ this.noArmorCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.noArmorCheckBox.Location = new System.Drawing.Point(420, 81);
+ this.noArmorCheckBox.Name = "noArmorCheckBox";
+ this.noArmorCheckBox.Size = new System.Drawing.Size(131, 19);
+ this.noArmorCheckBox.TabIndex = 10;
+ this.noArmorCheckBox.Text = "Disable All Armor";
+ this.noArmorCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.noArmorCheckBox, " Disables all armor desptie the armor flags. ");
+ this.noArmorCheckBox.UseSelectable = true;
+ //
+ // bobbingCheckBox
+ //
+ this.bobbingCheckBox.AutoSize = true;
+ this.bobbingCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.bobbingCheckBox.Location = new System.Drawing.Point(272, 50);
+ this.bobbingCheckBox.Name = "bobbingCheckBox";
+ this.bobbingCheckBox.Size = new System.Drawing.Size(124, 19);
+ this.bobbingCheckBox.TabIndex = 9;
+ this.bobbingCheckBox.Text = "Disable Bobbing";
+ this.bobbingCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.bobbingCheckBox, " Disables the bobbing effect in first person.");
+ this.bobbingCheckBox.UseSelectable = true;
+ //
+ // santaCheckBox
+ //
+ this.santaCheckBox.AutoSize = true;
+ this.santaCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.santaCheckBox.Location = new System.Drawing.Point(420, 50);
+ this.santaCheckBox.Name = "santaCheckBox";
+ this.santaCheckBox.Size = new System.Drawing.Size(86, 19);
+ this.santaCheckBox.TabIndex = 8;
+ this.santaCheckBox.Text = "Bad Santa";
+ this.santaCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.santaCheckBox, " The skin sits down after about 10 seconds of no controller input. Made for" +
" Bad Santa in the \"Festive\" skin pack. ");
- this.santaCheckBox.UseSelectable = true;
- //
- // syncLegsCheckBox
- //
- this.syncLegsCheckBox.AutoSize = true;
- this.syncLegsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.syncLegsCheckBox.Location = new System.Drawing.Point(272, 19);
- this.syncLegsCheckBox.Name = "syncLegsCheckBox";
- this.syncLegsCheckBox.Size = new System.Drawing.Size(136, 19);
- this.syncLegsCheckBox.TabIndex = 7;
- this.syncLegsCheckBox.Text = "Synchronous Legs";
- this.syncLegsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.syncLegsCheckBox, " These parts will move at the same time and angle as each other. ");
- this.syncLegsCheckBox.UseSelectable = true;
- //
- // staticArmsCheckBox
- //
- this.staticArmsCheckBox.AutoSize = true;
- this.staticArmsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.staticArmsCheckBox.Location = new System.Drawing.Point(6, 19);
- this.staticArmsCheckBox.Name = "staticArmsCheckBox";
- this.staticArmsCheckBox.Size = new System.Drawing.Size(94, 19);
- this.staticArmsCheckBox.TabIndex = 5;
- this.staticArmsCheckBox.Text = "Static Arms";
- this.staticArmsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.staticArmsCheckBox, " These parts will not move in most animations. ");
- this.staticArmsCheckBox.UseSelectable = true;
- //
- // syncArmsCheckBox
- //
- this.syncArmsCheckBox.AutoSize = true;
- this.syncArmsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.syncArmsCheckBox.Location = new System.Drawing.Point(420, 19);
- this.syncArmsCheckBox.Name = "syncArmsCheckBox";
- this.syncArmsCheckBox.Size = new System.Drawing.Size(140, 19);
- this.syncArmsCheckBox.TabIndex = 4;
- this.syncArmsCheckBox.Text = "Synchronous Arms";
- this.syncArmsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.syncArmsCheckBox, " These parts will move at the same time and angle as each other. ");
- this.syncArmsCheckBox.UseSelectable = true;
- //
- // statueCheckBox
- //
- this.statueCheckBox.AutoSize = true;
- this.statueCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.statueCheckBox.Location = new System.Drawing.Point(272, 81);
- this.statueCheckBox.Name = "statueCheckBox";
- this.statueCheckBox.Size = new System.Drawing.Size(126, 19);
- this.statueCheckBox.TabIndex = 3;
- this.statueCheckBox.Text = "Statue of Liberty";
- this.statueCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.statueCheckBox, " The right arm is lifted likt the Statue of Liberty. Made for Angel of Libe" +
+ this.santaCheckBox.UseSelectable = true;
+ //
+ // syncLegsCheckBox
+ //
+ this.syncLegsCheckBox.AutoSize = true;
+ this.syncLegsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.syncLegsCheckBox.Location = new System.Drawing.Point(272, 19);
+ this.syncLegsCheckBox.Name = "syncLegsCheckBox";
+ this.syncLegsCheckBox.Size = new System.Drawing.Size(136, 19);
+ this.syncLegsCheckBox.TabIndex = 7;
+ this.syncLegsCheckBox.Text = "Synchronous Legs";
+ this.syncLegsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.syncLegsCheckBox, " These parts will move at the same time and angle as each other. ");
+ this.syncLegsCheckBox.UseSelectable = true;
+ //
+ // staticArmsCheckBox
+ //
+ this.staticArmsCheckBox.AutoSize = true;
+ this.staticArmsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.staticArmsCheckBox.Location = new System.Drawing.Point(6, 19);
+ this.staticArmsCheckBox.Name = "staticArmsCheckBox";
+ this.staticArmsCheckBox.Size = new System.Drawing.Size(94, 19);
+ this.staticArmsCheckBox.TabIndex = 5;
+ this.staticArmsCheckBox.Text = "Static Arms";
+ this.staticArmsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.staticArmsCheckBox, " These parts will not move in most animations. ");
+ this.staticArmsCheckBox.UseSelectable = true;
+ //
+ // syncArmsCheckBox
+ //
+ this.syncArmsCheckBox.AutoSize = true;
+ this.syncArmsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.syncArmsCheckBox.Location = new System.Drawing.Point(420, 19);
+ this.syncArmsCheckBox.Name = "syncArmsCheckBox";
+ this.syncArmsCheckBox.Size = new System.Drawing.Size(140, 19);
+ this.syncArmsCheckBox.TabIndex = 4;
+ this.syncArmsCheckBox.Text = "Synchronous Arms";
+ this.syncArmsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.syncArmsCheckBox, " These parts will move at the same time and angle as each other. ");
+ this.syncArmsCheckBox.UseSelectable = true;
+ //
+ // statueCheckBox
+ //
+ this.statueCheckBox.AutoSize = true;
+ this.statueCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.statueCheckBox.Location = new System.Drawing.Point(272, 81);
+ this.statueCheckBox.Name = "statueCheckBox";
+ this.statueCheckBox.Size = new System.Drawing.Size(126, 19);
+ this.statueCheckBox.TabIndex = 3;
+ this.statueCheckBox.Text = "Statue of Liberty";
+ this.statueCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.statueCheckBox, " The right arm is lifted likt the Statue of Liberty. Made for Angel of Libe" +
"rty in the \"Doctor Who Volume I\" skin pack. ");
- this.statueCheckBox.UseSelectable = true;
- //
- // zombieCheckBox
- //
- this.zombieCheckBox.AutoSize = true;
- this.zombieCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.zombieCheckBox.Location = new System.Drawing.Point(6, 81);
- this.zombieCheckBox.Name = "zombieCheckBox";
- this.zombieCheckBox.Size = new System.Drawing.Size(107, 19);
- this.zombieCheckBox.TabIndex = 2;
- this.zombieCheckBox.Text = "Zombie Arms";
- this.zombieCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.zombieCheckBox, " Both arms will stick up like a Zombie. ");
- this.zombieCheckBox.UseSelectable = true;
- //
- // staticLegsCheckBox
- //
- this.staticLegsCheckBox.AutoSize = true;
- this.staticLegsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
- this.staticLegsCheckBox.Location = new System.Drawing.Point(6, 50);
- this.staticLegsCheckBox.Name = "staticLegsCheckBox";
- this.staticLegsCheckBox.Size = new System.Drawing.Size(90, 19);
- this.staticLegsCheckBox.TabIndex = 1;
- this.staticLegsCheckBox.Text = "Static Legs";
- this.staticLegsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.toolTip.SetToolTip(this.staticLegsCheckBox, " These parts will not move in most animations. ");
- this.staticLegsCheckBox.UseSelectable = true;
- //
- // copyButton
- //
- this.copyButton.Location = new System.Drawing.Point(262, 117);
- this.copyButton.Name = "copyButton";
- this.copyButton.Size = new System.Drawing.Size(126, 23);
- this.copyButton.TabIndex = 22;
- this.copyButton.Text = "Copy";
- this.copyButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.copyButton.UseSelectable = true;
- this.copyButton.Click += new System.EventHandler(this.copyButton_Click);
- //
- // importButton
- //
- this.importButton.Location = new System.Drawing.Point(394, 117);
- this.importButton.Name = "importButton";
- this.importButton.Size = new System.Drawing.Size(126, 23);
- this.importButton.TabIndex = 23;
- this.importButton.Text = "Import ANIM";
- this.importButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.importButton.UseSelectable = true;
- this.importButton.Click += new System.EventHandler(this.importButton_Click);
- //
- // exportButton
- //
- this.exportButton.Location = new System.Drawing.Point(120, 117);
- this.exportButton.Name = "exportButton";
- this.exportButton.Size = new System.Drawing.Size(136, 23);
- this.exportButton.TabIndex = 24;
- this.exportButton.Text = "Export Template Texture";
- this.exportButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.exportButton.UseSelectable = true;
- this.exportButton.Click += new System.EventHandler(this.exportButton_Click);
- //
- // animValue
- //
- this.animValue.AutoSize = true;
- this.animValue.FontSize = MetroFramework.MetroLabelSize.Tall;
- this.animValue.Location = new System.Drawing.Point(275, 58);
- this.animValue.Name = "animValue";
- this.animValue.Size = new System.Drawing.Size(101, 25);
- this.animValue.TabIndex = 25;
- this.animValue.Text = "0x00000000";
- this.animValue.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
- this.animValue.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // uncheckButton
- //
- this.uncheckButton.Location = new System.Drawing.Point(206, 88);
- this.uncheckButton.Name = "uncheckButton";
- this.uncheckButton.Size = new System.Drawing.Size(126, 23);
- this.uncheckButton.TabIndex = 26;
- this.uncheckButton.Text = "Uncheck All";
- this.uncheckButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.uncheckButton.UseSelectable = true;
- this.uncheckButton.Click += new System.EventHandler(this.uncheckButton_Click);
- //
- // checkButton
- //
- this.checkButton.Location = new System.Drawing.Point(338, 88);
- this.checkButton.Name = "checkButton";
- this.checkButton.Size = new System.Drawing.Size(126, 23);
- this.checkButton.TabIndex = 27;
- this.checkButton.Text = "Check All";
- this.checkButton.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.checkButton.UseSelectable = true;
- this.checkButton.Click += new System.EventHandler(this.checkButton_Click);
- //
- // toolTip
- //
- this.toolTip.StripAmpersands = true;
- this.toolTip.Style = MetroFramework.MetroColorStyle.Blue;
- this.toolTip.StyleManager = null;
- this.toolTip.Theme = MetroFramework.MetroThemeStyle.Dark;
- //
- // ANIMEditor
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(640, 573);
- this.Controls.Add(this.checkButton);
- this.Controls.Add(this.uncheckButton);
- this.Controls.Add(this.animValue);
- this.Controls.Add(this.exportButton);
- this.Controls.Add(this.importButton);
- this.Controls.Add(this.copyButton);
- this.Controls.Add(this.groupBox1);
- this.Controls.Add(this.effectsGroup2);
- this.Controls.Add(this.effectsGroup);
- this.Controls.Add(this.closeButton);
- this.MinimumSize = new System.Drawing.Size(640, 573);
- this.Name = "ANIMEditor";
- this.Style = MetroFramework.MetroColorStyle.Silver;
- this.Text = "ANIM Editor";
- this.Theme = MetroFramework.MetroThemeStyle.Dark;
- this.effectsGroup.ResumeLayout(false);
- this.effectsGroup.PerformLayout();
- this.effectsGroup2.ResumeLayout(false);
- this.effectsGroup2.PerformLayout();
- this.groupBox1.ResumeLayout(false);
- this.groupBox1.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
+ this.statueCheckBox.UseSelectable = true;
+ //
+ // zombieCheckBox
+ //
+ this.zombieCheckBox.AutoSize = true;
+ this.zombieCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.zombieCheckBox.Location = new System.Drawing.Point(6, 81);
+ this.zombieCheckBox.Name = "zombieCheckBox";
+ this.zombieCheckBox.Size = new System.Drawing.Size(107, 19);
+ this.zombieCheckBox.TabIndex = 2;
+ this.zombieCheckBox.Text = "Zombie Arms";
+ this.zombieCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.zombieCheckBox, " Both arms will stick up like a Zombie. ");
+ this.zombieCheckBox.UseSelectable = true;
+ //
+ // staticLegsCheckBox
+ //
+ this.staticLegsCheckBox.AutoSize = true;
+ this.staticLegsCheckBox.FontSize = MetroFramework.MetroCheckBoxSize.Medium;
+ this.staticLegsCheckBox.Location = new System.Drawing.Point(6, 50);
+ this.staticLegsCheckBox.Name = "staticLegsCheckBox";
+ this.staticLegsCheckBox.Size = new System.Drawing.Size(90, 19);
+ this.staticLegsCheckBox.TabIndex = 1;
+ this.staticLegsCheckBox.Text = "Static Legs";
+ this.staticLegsCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.toolTip.SetToolTip(this.staticLegsCheckBox, " These parts will not move in most animations. ");
+ this.staticLegsCheckBox.UseSelectable = true;
+ //
+ // copyButton
+ //
+ this.copyButton.Location = new System.Drawing.Point(425, 119);
+ this.copyButton.Name = "copyButton";
+ this.copyButton.Size = new System.Drawing.Size(173, 23);
+ this.copyButton.TabIndex = 22;
+ this.copyButton.Text = "Copy ANIM Value";
+ this.copyButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.copyButton.UseSelectable = true;
+ this.copyButton.Click += new System.EventHandler(this.copyButton_Click);
+ //
+ // importButton
+ //
+ this.importButton.Location = new System.Drawing.Point(32, 119);
+ this.importButton.Name = "importButton";
+ this.importButton.Size = new System.Drawing.Size(186, 23);
+ this.importButton.TabIndex = 23;
+ this.importButton.Text = "Import ANIM";
+ this.importButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.importButton.UseSelectable = true;
+ this.importButton.Click += new System.EventHandler(this.importButton_Click);
+ //
+ // exportButton
+ //
+ this.exportButton.Location = new System.Drawing.Point(229, 119);
+ this.exportButton.Name = "exportButton";
+ this.exportButton.Size = new System.Drawing.Size(186, 23);
+ this.exportButton.TabIndex = 24;
+ this.exportButton.Text = "Export Template Texture";
+ this.exportButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.exportButton.UseSelectable = true;
+ this.exportButton.Click += new System.EventHandler(this.exportButton_Click);
+ //
+ // animValue
+ //
+ this.animValue.AutoSize = true;
+ this.animValue.FontSize = MetroFramework.MetroLabelSize.Tall;
+ this.animValue.FontWeight = MetroFramework.MetroLabelWeight.Regular;
+ this.animValue.Location = new System.Drawing.Point(260, 60);
+ this.animValue.Name = "animValue";
+ this.animValue.Size = new System.Drawing.Size(110, 25);
+ this.animValue.TabIndex = 25;
+ this.animValue.Text = "0x00000000";
+ this.animValue.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ this.animValue.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // uncheckButton
+ //
+ this.uncheckButton.Location = new System.Drawing.Point(229, 90);
+ this.uncheckButton.Name = "uncheckButton";
+ this.uncheckButton.Size = new System.Drawing.Size(186, 23);
+ this.uncheckButton.TabIndex = 26;
+ this.uncheckButton.Text = "Uncheck All";
+ this.uncheckButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.uncheckButton.UseSelectable = true;
+ this.uncheckButton.Click += new System.EventHandler(this.uncheckButton_Click);
+ //
+ // checkButton
+ //
+ this.checkButton.Location = new System.Drawing.Point(32, 90);
+ this.checkButton.Name = "checkButton";
+ this.checkButton.Size = new System.Drawing.Size(186, 23);
+ this.checkButton.TabIndex = 27;
+ this.checkButton.Text = "Check All";
+ this.checkButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.checkButton.UseSelectable = true;
+ this.checkButton.Click += new System.EventHandler(this.checkButton_Click);
+ //
+ // toolTip
+ //
+ this.toolTip.StripAmpersands = true;
+ this.toolTip.Style = MetroFramework.MetroColorStyle.Blue;
+ this.toolTip.StyleManager = null;
+ this.toolTip.Theme = MetroFramework.MetroThemeStyle.Dark;
+ //
+ // resetButton
+ //
+ this.resetButton.Location = new System.Drawing.Point(425, 90);
+ this.resetButton.Name = "resetButton";
+ this.resetButton.Size = new System.Drawing.Size(173, 23);
+ this.resetButton.TabIndex = 28;
+ this.resetButton.Text = "Restore ANIM";
+ this.resetButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.resetButton.UseSelectable = true;
+ this.resetButton.Click += new System.EventHandler(this.resetButton_Click);
+ //
+ // templateButton
+ //
+ this.templateButton.Location = new System.Drawing.Point(425, 154);
+ this.templateButton.Name = "templateButton";
+ this.templateButton.Size = new System.Drawing.Size(173, 23);
+ this.templateButton.TabIndex = 29;
+ this.templateButton.Text = "Skin Presets";
+ this.templateButton.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.templateButton.UseSelectable = true;
+ this.templateButton.Click += new System.EventHandler(this.templateButton_Click);
+ //
+ // ANIMEditor
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(630, 554);
+ this.Controls.Add(this.templateButton);
+ this.Controls.Add(this.effectsGroup);
+ this.Controls.Add(this.resetButton);
+ this.Controls.Add(this.checkButton);
+ this.Controls.Add(this.uncheckButton);
+ this.Controls.Add(this.animValue);
+ this.Controls.Add(this.exportButton);
+ this.Controls.Add(this.importButton);
+ this.Controls.Add(this.copyButton);
+ this.Controls.Add(this.groupBox1);
+ this.Controls.Add(this.effectsGroup2);
+ this.Controls.Add(this.closeButton);
+ this.MinimumSize = new System.Drawing.Size(630, 554);
+ this.Name = "ANIMEditor";
+ this.Style = MetroFramework.MetroColorStyle.Silver;
+ this.Text = "ANIM Editor";
+ this.Theme = MetroFramework.MetroThemeStyle.Dark;
+ this.effectsGroup.ResumeLayout(false);
+ this.effectsGroup.PerformLayout();
+ this.effectsGroup2.ResumeLayout(false);
+ this.effectsGroup2.PerformLayout();
+ this.groupBox1.ResumeLayout(false);
+ this.groupBox1.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
@@ -746,5 +774,7 @@
private MetroFramework.Controls.MetroButton uncheckButton;
private MetroFramework.Controls.MetroButton checkButton;
private MetroFramework.Components.MetroToolTip toolTip;
+ private MetroFramework.Controls.MetroButton resetButton;
+ private MetroFramework.Controls.MetroButton templateButton;
}
}
\ No newline at end of file
diff --git a/PCK-Studio/Forms/Utilities/Skins/ANIMEditor.cs b/PCK-Studio/Forms/Utilities/Skins/ANIMEditor.cs
index 7f1edd25..bd1f1a8f 100644
--- a/PCK-Studio/Forms/Utilities/Skins/ANIMEditor.cs
+++ b/PCK-Studio/Forms/Utilities/Skins/ANIMEditor.cs
@@ -21,6 +21,14 @@ namespace PckStudio.Forms.Utilities.Skins
void processCheckBoxes(bool set_all = false, bool value = false)
{
+ #region processes every single checkbox with the correct ANIM flags
+ helmetCheckBox.Enabled = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.HEAD_DISABLED);
+ chestplateCheckBox.Enabled = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.BODY_DISABLED);
+ leftArmorCheckBox.Enabled = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.LEFT_ARM_DISABLED);
+ rightArmorCheckBox.Enabled = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_ARM_DISABLED);
+ leftLeggingCheckBox.Enabled = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.LEFT_LEG_DISABLED);
+ rightLeggingCheckBox.Enabled = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.RIGHT_LEG_DISABLED);
+
bobbingCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.HEAD_BOBBING_DISABLED);
bodyCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.BODY_DISABLED);
bodyOCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.BODY_OVERLAY_DISABLED);
@@ -60,6 +68,7 @@ namespace PckStudio.Forms.Utilities.Skins
syncLegsCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.SYNCED_LEGS);
unknownCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.unk_BIT4);
zombieCheckBox.Checked = set_all ? value : anim.GetANIMFlag(eANIM_EFFECTS.ZOMBIE_ARMS);
+ #endregion
}
public ANIMEditor(string ANIM)
@@ -112,6 +121,7 @@ namespace PckStudio.Forms.Utilities.Skins
syncLegsCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.SYNCED_LEGS); };
unknownCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.unk_BIT4); };
zombieCheckBox.CheckedChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.ZOMBIE_ARMS); };
+ #endregion
helmetCheckBox.EnabledChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_HEAD_ARMOR); };
chestplateCheckBox.EnabledChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_BODY_ARMOR); };
@@ -119,13 +129,13 @@ namespace PckStudio.Forms.Utilities.Skins
leftArmorCheckBox.EnabledChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_LEFT_ARM_ARMOR); };
rightLeggingCheckBox.EnabledChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_RIGHT_LEG_ARMOR); };
leftLeggingCheckBox.EnabledChanged += (sender, EventArgs) => { flagChanged(sender, EventArgs, eANIM_EFFECTS.FORCE_LEFT_LEG_ARMOR); };
- #endregion
processCheckBoxes();
}
private void closeButton_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
+
saved = true;
Close();
}
@@ -196,6 +206,7 @@ namespace PckStudio.Forms.Utilities.Skins
Image skin = isSlim ? Properties.Resources.slim_template : Properties.Resources.classic_template;
+ #region Image processing code for generating the skin templates based on the input ANIM value
Bitmap nb = new Bitmap(64, (!isSlim && !isClassic64) ? 32 : 64);
using (Graphics g = Graphics.FromImage(nb))
{
@@ -227,6 +238,7 @@ namespace PckStudio.Forms.Utilities.Skins
nb.MakeTransparent(Color.Magenta);
skin = nb;
}
+ #endregion
skin.Save(saveFileDialog.FileName);
}
diff --git a/PCK-Studio/MainForm.cs b/PCK-Studio/MainForm.cs
index f6f2e547..583cdfc1 100644
--- a/PCK-Studio/MainForm.cs
+++ b/PCK-Studio/MainForm.cs
@@ -23,7 +23,7 @@ namespace PckStudio
{
public partial class MainForm : MetroFramework.Forms.MetroForm
{
- public string saveLocation = string.Empty;
+ string saveLocation = string.Empty;
PCKFile currentPCK = null;
bool needsUpdate = false;
bool saved = true;
@@ -218,7 +218,7 @@ namespace PckStudio
node.ImageIndex = 3;
node.SelectedImageIndex = 3;
break;
- case 8:
+ case PCKFile.FileData.FileType.AudioFile:
node.ImageIndex = 1;
node.SelectedImageIndex = 1;
break;
@@ -2699,22 +2699,12 @@ namespace PckStudio
if (Path.GetFileName(file.filepath) == "audio.pck")
{
- try
- {
if (!TryGetLocFile(out LOCFile locFile))
throw new Exception("No .loc File found.");
AudioEditor diag = new AudioEditor(file, locFile, LittleEndianCheckBox.Checked);
- diag.ShowDialog(this);
- if (diag.saved) TrySetLocFile(locFile);
+ if (diag.ShowDialog(this) == DialogResult.OK) TrySetLocFile(locFile);
diag.Dispose();
}
- catch (Exception ex)
- {
- MessageBox.Show("Error", ex.Message, MessageBoxButtons.OK,
- MessageBoxIcon.Error);
- return;
- }
- }
if (file.filetype == PCKFile.FileData.FileType.LocalisationFile &&
(file.filepath == "languages.loc" || file.filepath == "localisation.loc"))