mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-29 18:34:33 +00:00
4.6 update
This commit is contained in:
81
MinecraftUSkinEditor/Forms/AddPCKPassword.Designer.cs
generated
Normal file
81
MinecraftUSkinEditor/Forms/AddPCKPassword.Designer.cs
generated
Normal file
@@ -0,0 +1,81 @@
|
||||
|
||||
namespace minekampf.Forms
|
||||
{
|
||||
partial class AddPCKPassword
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.buttonUnlocked = new System.Windows.Forms.Button();
|
||||
this.textBoxPass = new System.Windows.Forms.TextBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// buttonUnlocked
|
||||
//
|
||||
this.buttonUnlocked.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.buttonUnlocked.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.buttonUnlocked.ForeColor = System.Drawing.Color.White;
|
||||
this.buttonUnlocked.ImeMode = System.Windows.Forms.ImeMode.NoControl;
|
||||
this.buttonUnlocked.Location = new System.Drawing.Point(266, 53);
|
||||
this.buttonUnlocked.Name = "buttonUnlocked";
|
||||
this.buttonUnlocked.Size = new System.Drawing.Size(75, 23);
|
||||
this.buttonUnlocked.TabIndex = 3;
|
||||
this.buttonUnlocked.Text = "Lock!";
|
||||
this.buttonUnlocked.UseVisualStyleBackColor = true;
|
||||
this.buttonUnlocked.Click += new System.EventHandler(this.buttonUnlocked_Click);
|
||||
//
|
||||
// textBoxPass
|
||||
//
|
||||
this.textBoxPass.Location = new System.Drawing.Point(16, 55);
|
||||
this.textBoxPass.Name = "textBoxPass";
|
||||
this.textBoxPass.Size = new System.Drawing.Size(244, 20);
|
||||
this.textBoxPass.TabIndex = 2;
|
||||
this.textBoxPass.Text = "Password";
|
||||
//
|
||||
// AddPCKPassword
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(357, 129);
|
||||
this.Controls.Add(this.buttonUnlocked);
|
||||
this.Controls.Add(this.textBoxPass);
|
||||
this.Name = "AddPCKPassword";
|
||||
this.Resizable = false;
|
||||
this.Style = MetroFramework.MetroColorStyle.Silver;
|
||||
this.Text = "Add Password";
|
||||
this.TextAlign = MetroFramework.Forms.MetroFormTextAlign.Center;
|
||||
this.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.Button buttonUnlocked;
|
||||
private System.Windows.Forms.TextBox textBoxPass;
|
||||
}
|
||||
}
|
||||
46
MinecraftUSkinEditor/Forms/AddPCKPassword.cs
Normal file
46
MinecraftUSkinEditor/Forms/AddPCKPassword.cs
Normal file
@@ -0,0 +1,46 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using MetroFramework.Forms;
|
||||
|
||||
namespace minekampf.Forms
|
||||
{
|
||||
public partial class AddPCKPassword : MetroForm
|
||||
{
|
||||
MinecraftUSkinEditor.PCK currentPCK;
|
||||
MinecraftUSkinEditor.PCK.MineFile file;
|
||||
public AddPCKPassword(MinecraftUSkinEditor.PCK.MineFile fileIn, MinecraftUSkinEditor.PCK currentPCKIn)
|
||||
{
|
||||
|
||||
InitializeComponent();
|
||||
file = fileIn;
|
||||
currentPCK = currentPCKIn;
|
||||
}
|
||||
|
||||
private void buttonUnlocked_Click(object sender, EventArgs e)
|
||||
{
|
||||
object[] obj = { "LOCK", MD5(textBoxPass.Text) };
|
||||
file.entries.Add(obj);
|
||||
this.Close();
|
||||
}
|
||||
|
||||
public string MD5(string s)
|
||||
{
|
||||
using (var provider = System.Security.Cryptography.MD5.Create())
|
||||
{
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
foreach (byte b in provider.ComputeHash(Encoding.UTF8.GetBytes(s)))
|
||||
builder.Append(b.ToString("x2").ToLower());
|
||||
|
||||
return builder.ToString();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
120
MinecraftUSkinEditor/Forms/AddPCKPassword.resx
Normal file
120
MinecraftUSkinEditor/Forms/AddPCKPassword.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
531
MinecraftUSkinEditor/Forms/Form1.Designer.cs
generated
531
MinecraftUSkinEditor/Forms/Form1.Designer.cs
generated
@@ -52,6 +52,7 @@
|
||||
this.saveToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.metaToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.addPasswordToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.advancedMetaAddingToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.convertToBedrockToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
@@ -90,32 +91,6 @@
|
||||
this.directorySearcher1 = new System.DirectoryServices.DirectorySearcher();
|
||||
this.openedPCKS = new MetroFramework.Controls.MetroTabControl();
|
||||
this.tabPage1 = new MetroFramework.Controls.MetroTabPage();
|
||||
this.labelImageSize = new System.Windows.Forms.Label();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.DBGLabel = new System.Windows.Forms.Label();
|
||||
this.metroTabControl1 = new MetroFramework.Controls.MetroTabControl();
|
||||
this.metroTabPage1 = new MetroFramework.Controls.MetroTabPage();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.myTablePanelStartScreen = new minekampf.Forms.MyTablePanel();
|
||||
this.richTextBoxChangelog = new System.Windows.Forms.RichTextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.pckOpen = new System.Windows.Forms.PictureBox();
|
||||
this.myTablePanel2 = new minekampf.Forms.MyTablePanel();
|
||||
this.treeView1 = new System.Windows.Forms.TreeView();
|
||||
this.pictureBoxWithInterpolationMode1 = new MinecraftUSkinEditor.PictureBoxWithInterpolationMode();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.tabControl1 = new System.Windows.Forms.TabControl();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.myTablePanel3 = new minekampf.Forms.MyTablePanel();
|
||||
this.treeView2 = new System.Windows.Forms.TreeView();
|
||||
this.comboBox2 = new System.Windows.Forms.ComboBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.myTablePanelPckEdit = new minekampf.Forms.MyTablePanel();
|
||||
this.treeViewMain = new System.Windows.Forms.TreeView();
|
||||
this.pictureBoxImagePreview = new MinecraftUSkinEditor.PictureBoxWithInterpolationMode();
|
||||
@@ -131,26 +106,52 @@
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.labelEntryData = new System.Windows.Forms.Label();
|
||||
this.buttonEdit = new System.Windows.Forms.Button();
|
||||
this.labelImageSize = new System.Windows.Forms.Label();
|
||||
this.pictureBox2 = new System.Windows.Forms.PictureBox();
|
||||
this.DBGLabel = new System.Windows.Forms.Label();
|
||||
this.metroTabControl1 = new MetroFramework.Controls.MetroTabControl();
|
||||
this.metroTabPage1 = new MetroFramework.Controls.MetroTabPage();
|
||||
this.myTablePanel2 = new minekampf.Forms.MyTablePanel();
|
||||
this.treeView1 = new System.Windows.Forms.TreeView();
|
||||
this.pictureBoxWithInterpolationMode1 = new MinecraftUSkinEditor.PictureBoxWithInterpolationMode();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.tabControl1 = new System.Windows.Forms.TabControl();
|
||||
this.tabPage2 = new System.Windows.Forms.TabPage();
|
||||
this.myTablePanel3 = new minekampf.Forms.MyTablePanel();
|
||||
this.treeView2 = new System.Windows.Forms.TreeView();
|
||||
this.comboBox2 = new System.Windows.Forms.ComboBox();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.button1 = new System.Windows.Forms.Button();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.myTablePanelStartScreen = new minekampf.Forms.MyTablePanel();
|
||||
this.richTextBoxChangelog = new System.Windows.Forms.RichTextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.pckOpen = new System.Windows.Forms.PictureBox();
|
||||
this.contextMenuPCKEntries.SuspendLayout();
|
||||
this.menuStrip.SuspendLayout();
|
||||
this.contextMenuMetaTree.SuspendLayout();
|
||||
this.openedPCKS.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
this.metroTabControl1.SuspendLayout();
|
||||
this.metroTabPage1.SuspendLayout();
|
||||
this.myTablePanelStartScreen.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pckOpen)).BeginInit();
|
||||
this.myTablePanel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWithInterpolationMode1)).BeginInit();
|
||||
this.tabControl1.SuspendLayout();
|
||||
this.tabPage2.SuspendLayout();
|
||||
this.myTablePanel3.SuspendLayout();
|
||||
this.myTablePanelPckEdit.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxImagePreview)).BeginInit();
|
||||
this.tabDataDisplay.SuspendLayout();
|
||||
this.tabMetaDisplay.SuspendLayout();
|
||||
this.myTablePanel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
this.metroTabControl1.SuspendLayout();
|
||||
this.metroTabPage1.SuspendLayout();
|
||||
this.myTablePanel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWithInterpolationMode1)).BeginInit();
|
||||
this.tabControl1.SuspendLayout();
|
||||
this.tabPage2.SuspendLayout();
|
||||
this.myTablePanel3.SuspendLayout();
|
||||
this.myTablePanelStartScreen.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pckOpen)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// contextMenuPCKEntries
|
||||
@@ -272,7 +273,8 @@
|
||||
this.extractToolStripMenuItem1,
|
||||
this.saveToolStripMenuItem1,
|
||||
this.saveToolStripMenuItem,
|
||||
this.metaToolStripMenuItem});
|
||||
this.metaToolStripMenuItem,
|
||||
this.addPasswordToolStripMenuItem});
|
||||
this.fileToolStripMenuItem.ForeColor = System.Drawing.Color.White;
|
||||
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||
resources.ApplyResources(this.fileToolStripMenuItem, "fileToolStripMenuItem");
|
||||
@@ -313,6 +315,12 @@
|
||||
this.metaToolStripMenuItem.Name = "metaToolStripMenuItem";
|
||||
this.metaToolStripMenuItem.Click += new System.EventHandler(this.metaToolStripMenuItem_Click);
|
||||
//
|
||||
// addPasswordToolStripMenuItem
|
||||
//
|
||||
resources.ApplyResources(this.addPasswordToolStripMenuItem, "addPasswordToolStripMenuItem");
|
||||
this.addPasswordToolStripMenuItem.Name = "addPasswordToolStripMenuItem";
|
||||
this.addPasswordToolStripMenuItem.Click += new System.EventHandler(this.addPasswordToolStripMenuItem_Click);
|
||||
//
|
||||
// editToolStripMenuItem
|
||||
//
|
||||
this.editToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
@@ -596,216 +604,6 @@
|
||||
this.tabPage1.VerticalScrollbarHighlightOnWheel = false;
|
||||
this.tabPage1.VerticalScrollbarSize = 0;
|
||||
//
|
||||
// labelImageSize
|
||||
//
|
||||
resources.ApplyResources(this.labelImageSize, "labelImageSize");
|
||||
this.labelImageSize.Name = "labelImageSize";
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
resources.ApplyResources(this.pictureBox2, "pictureBox2");
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// DBGLabel
|
||||
//
|
||||
resources.ApplyResources(this.DBGLabel, "DBGLabel");
|
||||
this.DBGLabel.ForeColor = System.Drawing.Color.Red;
|
||||
this.DBGLabel.Name = "DBGLabel";
|
||||
//
|
||||
// metroTabControl1
|
||||
//
|
||||
this.metroTabControl1.Controls.Add(this.metroTabPage1);
|
||||
resources.ApplyResources(this.metroTabControl1, "metroTabControl1");
|
||||
this.metroTabControl1.Name = "metroTabControl1";
|
||||
this.metroTabControl1.SelectedIndex = 0;
|
||||
this.metroTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
|
||||
this.metroTabControl1.Style = MetroFramework.MetroColorStyle.White;
|
||||
this.metroTabControl1.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.metroTabControl1.UseSelectable = true;
|
||||
//
|
||||
// metroTabPage1
|
||||
//
|
||||
this.metroTabPage1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.metroTabPage1.Controls.Add(this.myTablePanel2);
|
||||
this.metroTabPage1.Controls.Add(this.label10);
|
||||
this.metroTabPage1.Controls.Add(this.label11);
|
||||
this.metroTabPage1.HorizontalScrollbarBarColor = true;
|
||||
this.metroTabPage1.HorizontalScrollbarHighlightOnWheel = false;
|
||||
this.metroTabPage1.HorizontalScrollbarSize = 0;
|
||||
resources.ApplyResources(this.metroTabPage1, "metroTabPage1");
|
||||
this.metroTabPage1.Name = "metroTabPage1";
|
||||
this.metroTabPage1.Style = MetroFramework.MetroColorStyle.White;
|
||||
this.metroTabPage1.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.metroTabPage1.VerticalScrollbarBarColor = true;
|
||||
this.metroTabPage1.VerticalScrollbarHighlightOnWheel = false;
|
||||
this.metroTabPage1.VerticalScrollbarSize = 0;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
resources.ApplyResources(this.label10, "label10");
|
||||
this.label10.Name = "label10";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
resources.ApplyResources(this.label11, "label11");
|
||||
this.label11.Name = "label11";
|
||||
//
|
||||
// myTablePanelStartScreen
|
||||
//
|
||||
resources.ApplyResources(this.myTablePanelStartScreen, "myTablePanelStartScreen");
|
||||
this.myTablePanelStartScreen.Controls.Add(this.richTextBoxChangelog, 1, 1);
|
||||
this.myTablePanelStartScreen.Controls.Add(this.label5, 1, 0);
|
||||
this.myTablePanelStartScreen.Controls.Add(this.pckOpen, 0, 0);
|
||||
this.myTablePanelStartScreen.Name = "myTablePanelStartScreen";
|
||||
//
|
||||
// richTextBoxChangelog
|
||||
//
|
||||
this.richTextBoxChangelog.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(28)))), ((int)(((byte)(28)))));
|
||||
this.richTextBoxChangelog.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
resources.ApplyResources(this.richTextBoxChangelog, "richTextBoxChangelog");
|
||||
this.richTextBoxChangelog.ForeColor = System.Drawing.Color.White;
|
||||
this.richTextBoxChangelog.Name = "richTextBoxChangelog";
|
||||
this.richTextBoxChangelog.ReadOnly = true;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
resources.ApplyResources(this.label5, "label5");
|
||||
this.label5.ForeColor = System.Drawing.Color.White;
|
||||
this.label5.Name = "label5";
|
||||
//
|
||||
// pckOpen
|
||||
//
|
||||
resources.ApplyResources(this.pckOpen, "pckOpen");
|
||||
this.pckOpen.Image = global::minekampf.Properties.Resources.pckClosed;
|
||||
this.pckOpen.Name = "pckOpen";
|
||||
this.myTablePanelStartScreen.SetRowSpan(this.pckOpen, 2);
|
||||
this.pckOpen.TabStop = false;
|
||||
this.pckOpen.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
|
||||
this.pckOpen.DragDrop += new System.Windows.Forms.DragEventHandler(this.OpenPck_DragDrop);
|
||||
this.pckOpen.DragEnter += new System.Windows.Forms.DragEventHandler(this.OpenPck_DragEnter);
|
||||
this.pckOpen.DragLeave += new System.EventHandler(this.OpenPck_DragLeave);
|
||||
this.pckOpen.MouseEnter += new System.EventHandler(this.OpenPck_MouseEnter);
|
||||
this.pckOpen.MouseLeave += new System.EventHandler(this.OpenPck_MouseLeave);
|
||||
//
|
||||
// myTablePanel2
|
||||
//
|
||||
resources.ApplyResources(this.myTablePanel2, "myTablePanel2");
|
||||
this.myTablePanel2.Controls.Add(this.treeView1, 0, 0);
|
||||
this.myTablePanel2.Controls.Add(this.pictureBoxWithInterpolationMode1, 1, 0);
|
||||
this.myTablePanel2.Controls.Add(this.label4, 2, 0);
|
||||
this.myTablePanel2.Controls.Add(this.tabControl1, 1, 4);
|
||||
this.myTablePanel2.Name = "myTablePanel2";
|
||||
//
|
||||
// treeView1
|
||||
//
|
||||
this.treeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.treeView1.ContextMenuStrip = this.contextMenuPCKEntries;
|
||||
resources.ApplyResources(this.treeView1, "treeView1");
|
||||
this.treeView1.ForeColor = System.Drawing.Color.White;
|
||||
this.treeView1.LabelEdit = true;
|
||||
this.treeView1.Name = "treeView1";
|
||||
this.myTablePanel2.SetRowSpan(this.treeView1, 6);
|
||||
//
|
||||
// pictureBoxWithInterpolationMode1
|
||||
//
|
||||
resources.ApplyResources(this.pictureBoxWithInterpolationMode1, "pictureBoxWithInterpolationMode1");
|
||||
this.pictureBoxWithInterpolationMode1.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.Default;
|
||||
this.pictureBoxWithInterpolationMode1.Name = "pictureBoxWithInterpolationMode1";
|
||||
this.myTablePanel2.SetRowSpan(this.pictureBoxWithInterpolationMode1, 4);
|
||||
this.pictureBoxWithInterpolationMode1.TabStop = false;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
resources.ApplyResources(this.label4, "label4");
|
||||
this.label4.ForeColor = System.Drawing.Color.White;
|
||||
this.label4.Name = "label4";
|
||||
this.label4.UseCompatibleTextRendering = true;
|
||||
//
|
||||
// tabControl1
|
||||
//
|
||||
this.myTablePanel2.SetColumnSpan(this.tabControl1, 2);
|
||||
this.tabControl1.Controls.Add(this.tabPage2);
|
||||
resources.ApplyResources(this.tabControl1, "tabControl1");
|
||||
this.tabControl1.Name = "tabControl1";
|
||||
this.myTablePanel2.SetRowSpan(this.tabControl1, 2);
|
||||
this.tabControl1.SelectedIndex = 0;
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
this.tabPage2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.tabPage2.Controls.Add(this.myTablePanel3);
|
||||
resources.ApplyResources(this.tabPage2, "tabPage2");
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
//
|
||||
// myTablePanel3
|
||||
//
|
||||
resources.ApplyResources(this.myTablePanel3, "myTablePanel3");
|
||||
this.myTablePanel3.Controls.Add(this.treeView2, 0, 0);
|
||||
this.myTablePanel3.Controls.Add(this.comboBox2, 1, 1);
|
||||
this.myTablePanel3.Controls.Add(this.label6, 1, 4);
|
||||
this.myTablePanel3.Controls.Add(this.textBox2, 1, 3);
|
||||
this.myTablePanel3.Controls.Add(this.label7, 1, 0);
|
||||
this.myTablePanel3.Controls.Add(this.label8, 1, 5);
|
||||
this.myTablePanel3.Controls.Add(this.label9, 1, 2);
|
||||
this.myTablePanel3.Controls.Add(this.button1, 0, 6);
|
||||
this.myTablePanel3.Name = "myTablePanel3";
|
||||
//
|
||||
// treeView2
|
||||
//
|
||||
this.treeView2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.treeView2.ContextMenuStrip = this.contextMenuMetaTree;
|
||||
resources.ApplyResources(this.treeView2, "treeView2");
|
||||
this.treeView2.ForeColor = System.Drawing.Color.White;
|
||||
this.treeView2.Name = "treeView2";
|
||||
this.myTablePanel3.SetRowSpan(this.treeView2, 6);
|
||||
//
|
||||
// comboBox2
|
||||
//
|
||||
resources.ApplyResources(this.comboBox2, "comboBox2");
|
||||
this.comboBox2.BackColor = System.Drawing.Color.White;
|
||||
this.comboBox2.FormattingEnabled = true;
|
||||
this.comboBox2.Name = "comboBox2";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
resources.ApplyResources(this.label6, "label6");
|
||||
this.label6.ForeColor = System.Drawing.Color.White;
|
||||
this.label6.Name = "label6";
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
resources.ApplyResources(this.textBox2, "textBox2");
|
||||
this.textBox2.BackColor = System.Drawing.Color.White;
|
||||
this.textBox2.Name = "textBox2";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
resources.ApplyResources(this.label7, "label7");
|
||||
this.label7.ForeColor = System.Drawing.Color.White;
|
||||
this.label7.Name = "label7";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
resources.ApplyResources(this.label8, "label8");
|
||||
this.label8.ForeColor = System.Drawing.Color.White;
|
||||
this.label8.Name = "label8";
|
||||
//
|
||||
// label9
|
||||
//
|
||||
resources.ApplyResources(this.label9, "label9");
|
||||
this.label9.ForeColor = System.Drawing.Color.White;
|
||||
this.label9.Name = "label9";
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.myTablePanel3.SetColumnSpan(this.button1, 2);
|
||||
resources.ApplyResources(this.button1, "button1");
|
||||
this.button1.ForeColor = System.Drawing.Color.White;
|
||||
this.button1.Name = "button1";
|
||||
this.button1.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// myTablePanelPckEdit
|
||||
//
|
||||
resources.ApplyResources(this.myTablePanelPckEdit, "myTablePanelPckEdit");
|
||||
@@ -932,6 +730,216 @@
|
||||
this.buttonEdit.UseVisualStyleBackColor = false;
|
||||
this.buttonEdit.Click += new System.EventHandler(this.buttonEditModel_Click);
|
||||
//
|
||||
// labelImageSize
|
||||
//
|
||||
resources.ApplyResources(this.labelImageSize, "labelImageSize");
|
||||
this.labelImageSize.Name = "labelImageSize";
|
||||
//
|
||||
// pictureBox2
|
||||
//
|
||||
resources.ApplyResources(this.pictureBox2, "pictureBox2");
|
||||
this.pictureBox2.Name = "pictureBox2";
|
||||
this.pictureBox2.TabStop = false;
|
||||
//
|
||||
// DBGLabel
|
||||
//
|
||||
resources.ApplyResources(this.DBGLabel, "DBGLabel");
|
||||
this.DBGLabel.ForeColor = System.Drawing.Color.Red;
|
||||
this.DBGLabel.Name = "DBGLabel";
|
||||
//
|
||||
// metroTabControl1
|
||||
//
|
||||
this.metroTabControl1.Controls.Add(this.metroTabPage1);
|
||||
resources.ApplyResources(this.metroTabControl1, "metroTabControl1");
|
||||
this.metroTabControl1.Name = "metroTabControl1";
|
||||
this.metroTabControl1.SelectedIndex = 0;
|
||||
this.metroTabControl1.SizeMode = System.Windows.Forms.TabSizeMode.Fixed;
|
||||
this.metroTabControl1.Style = MetroFramework.MetroColorStyle.White;
|
||||
this.metroTabControl1.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.metroTabControl1.UseSelectable = true;
|
||||
//
|
||||
// metroTabPage1
|
||||
//
|
||||
this.metroTabPage1.BackColor = System.Drawing.Color.Transparent;
|
||||
this.metroTabPage1.Controls.Add(this.myTablePanel2);
|
||||
this.metroTabPage1.Controls.Add(this.label10);
|
||||
this.metroTabPage1.Controls.Add(this.label11);
|
||||
this.metroTabPage1.HorizontalScrollbarBarColor = true;
|
||||
this.metroTabPage1.HorizontalScrollbarHighlightOnWheel = false;
|
||||
this.metroTabPage1.HorizontalScrollbarSize = 0;
|
||||
resources.ApplyResources(this.metroTabPage1, "metroTabPage1");
|
||||
this.metroTabPage1.Name = "metroTabPage1";
|
||||
this.metroTabPage1.Style = MetroFramework.MetroColorStyle.White;
|
||||
this.metroTabPage1.Theme = MetroFramework.MetroThemeStyle.Dark;
|
||||
this.metroTabPage1.VerticalScrollbarBarColor = true;
|
||||
this.metroTabPage1.VerticalScrollbarHighlightOnWheel = false;
|
||||
this.metroTabPage1.VerticalScrollbarSize = 0;
|
||||
//
|
||||
// myTablePanel2
|
||||
//
|
||||
resources.ApplyResources(this.myTablePanel2, "myTablePanel2");
|
||||
this.myTablePanel2.Controls.Add(this.treeView1, 0, 0);
|
||||
this.myTablePanel2.Controls.Add(this.pictureBoxWithInterpolationMode1, 1, 0);
|
||||
this.myTablePanel2.Controls.Add(this.label4, 2, 0);
|
||||
this.myTablePanel2.Controls.Add(this.tabControl1, 1, 4);
|
||||
this.myTablePanel2.Name = "myTablePanel2";
|
||||
//
|
||||
// treeView1
|
||||
//
|
||||
this.treeView1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.treeView1.ContextMenuStrip = this.contextMenuPCKEntries;
|
||||
resources.ApplyResources(this.treeView1, "treeView1");
|
||||
this.treeView1.ForeColor = System.Drawing.Color.White;
|
||||
this.treeView1.LabelEdit = true;
|
||||
this.treeView1.Name = "treeView1";
|
||||
this.myTablePanel2.SetRowSpan(this.treeView1, 6);
|
||||
//
|
||||
// pictureBoxWithInterpolationMode1
|
||||
//
|
||||
resources.ApplyResources(this.pictureBoxWithInterpolationMode1, "pictureBoxWithInterpolationMode1");
|
||||
this.pictureBoxWithInterpolationMode1.InterpolationMode = System.Drawing.Drawing2D.InterpolationMode.Default;
|
||||
this.pictureBoxWithInterpolationMode1.Name = "pictureBoxWithInterpolationMode1";
|
||||
this.myTablePanel2.SetRowSpan(this.pictureBoxWithInterpolationMode1, 4);
|
||||
this.pictureBoxWithInterpolationMode1.TabStop = false;
|
||||
//
|
||||
// label4
|
||||
//
|
||||
resources.ApplyResources(this.label4, "label4");
|
||||
this.label4.ForeColor = System.Drawing.Color.White;
|
||||
this.label4.Name = "label4";
|
||||
this.label4.UseCompatibleTextRendering = true;
|
||||
//
|
||||
// tabControl1
|
||||
//
|
||||
this.myTablePanel2.SetColumnSpan(this.tabControl1, 2);
|
||||
this.tabControl1.Controls.Add(this.tabPage2);
|
||||
resources.ApplyResources(this.tabControl1, "tabControl1");
|
||||
this.tabControl1.Name = "tabControl1";
|
||||
this.myTablePanel2.SetRowSpan(this.tabControl1, 2);
|
||||
this.tabControl1.SelectedIndex = 0;
|
||||
//
|
||||
// tabPage2
|
||||
//
|
||||
this.tabPage2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
|
||||
this.tabPage2.Controls.Add(this.myTablePanel3);
|
||||
resources.ApplyResources(this.tabPage2, "tabPage2");
|
||||
this.tabPage2.Name = "tabPage2";
|
||||
//
|
||||
// myTablePanel3
|
||||
//
|
||||
resources.ApplyResources(this.myTablePanel3, "myTablePanel3");
|
||||
this.myTablePanel3.Controls.Add(this.treeView2, 0, 0);
|
||||
this.myTablePanel3.Controls.Add(this.comboBox2, 1, 1);
|
||||
this.myTablePanel3.Controls.Add(this.label6, 1, 4);
|
||||
this.myTablePanel3.Controls.Add(this.textBox2, 1, 3);
|
||||
this.myTablePanel3.Controls.Add(this.label7, 1, 0);
|
||||
this.myTablePanel3.Controls.Add(this.label8, 1, 5);
|
||||
this.myTablePanel3.Controls.Add(this.label9, 1, 2);
|
||||
this.myTablePanel3.Controls.Add(this.button1, 0, 6);
|
||||
this.myTablePanel3.Name = "myTablePanel3";
|
||||
//
|
||||
// treeView2
|
||||
//
|
||||
this.treeView2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.treeView2.ContextMenuStrip = this.contextMenuMetaTree;
|
||||
resources.ApplyResources(this.treeView2, "treeView2");
|
||||
this.treeView2.ForeColor = System.Drawing.Color.White;
|
||||
this.treeView2.Name = "treeView2";
|
||||
this.myTablePanel3.SetRowSpan(this.treeView2, 6);
|
||||
//
|
||||
// comboBox2
|
||||
//
|
||||
resources.ApplyResources(this.comboBox2, "comboBox2");
|
||||
this.comboBox2.BackColor = System.Drawing.Color.White;
|
||||
this.comboBox2.FormattingEnabled = true;
|
||||
this.comboBox2.Name = "comboBox2";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
resources.ApplyResources(this.label6, "label6");
|
||||
this.label6.ForeColor = System.Drawing.Color.White;
|
||||
this.label6.Name = "label6";
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
resources.ApplyResources(this.textBox2, "textBox2");
|
||||
this.textBox2.BackColor = System.Drawing.Color.White;
|
||||
this.textBox2.Name = "textBox2";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
resources.ApplyResources(this.label7, "label7");
|
||||
this.label7.ForeColor = System.Drawing.Color.White;
|
||||
this.label7.Name = "label7";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
resources.ApplyResources(this.label8, "label8");
|
||||
this.label8.ForeColor = System.Drawing.Color.White;
|
||||
this.label8.Name = "label8";
|
||||
//
|
||||
// label9
|
||||
//
|
||||
resources.ApplyResources(this.label9, "label9");
|
||||
this.label9.ForeColor = System.Drawing.Color.White;
|
||||
this.label9.Name = "label9";
|
||||
//
|
||||
// button1
|
||||
//
|
||||
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
|
||||
this.myTablePanel3.SetColumnSpan(this.button1, 2);
|
||||
resources.ApplyResources(this.button1, "button1");
|
||||
this.button1.ForeColor = System.Drawing.Color.White;
|
||||
this.button1.Name = "button1";
|
||||
this.button1.UseVisualStyleBackColor = false;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
resources.ApplyResources(this.label10, "label10");
|
||||
this.label10.Name = "label10";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
resources.ApplyResources(this.label11, "label11");
|
||||
this.label11.Name = "label11";
|
||||
//
|
||||
// myTablePanelStartScreen
|
||||
//
|
||||
resources.ApplyResources(this.myTablePanelStartScreen, "myTablePanelStartScreen");
|
||||
this.myTablePanelStartScreen.Controls.Add(this.richTextBoxChangelog, 1, 1);
|
||||
this.myTablePanelStartScreen.Controls.Add(this.label5, 1, 0);
|
||||
this.myTablePanelStartScreen.Controls.Add(this.pckOpen, 0, 0);
|
||||
this.myTablePanelStartScreen.Name = "myTablePanelStartScreen";
|
||||
//
|
||||
// richTextBoxChangelog
|
||||
//
|
||||
this.richTextBoxChangelog.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(28)))), ((int)(((byte)(28)))), ((int)(((byte)(28)))));
|
||||
this.richTextBoxChangelog.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
resources.ApplyResources(this.richTextBoxChangelog, "richTextBoxChangelog");
|
||||
this.richTextBoxChangelog.ForeColor = System.Drawing.Color.White;
|
||||
this.richTextBoxChangelog.Name = "richTextBoxChangelog";
|
||||
this.richTextBoxChangelog.ReadOnly = true;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
resources.ApplyResources(this.label5, "label5");
|
||||
this.label5.ForeColor = System.Drawing.Color.White;
|
||||
this.label5.Name = "label5";
|
||||
//
|
||||
// pckOpen
|
||||
//
|
||||
resources.ApplyResources(this.pckOpen, "pckOpen");
|
||||
this.pckOpen.Image = global::minekampf.Properties.Resources.pckClosed;
|
||||
this.pckOpen.Name = "pckOpen";
|
||||
this.myTablePanelStartScreen.SetRowSpan(this.pckOpen, 2);
|
||||
this.pckOpen.TabStop = false;
|
||||
this.pckOpen.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
|
||||
this.pckOpen.DragDrop += new System.Windows.Forms.DragEventHandler(this.OpenPck_DragDrop);
|
||||
this.pckOpen.DragEnter += new System.Windows.Forms.DragEventHandler(this.OpenPck_DragEnter);
|
||||
this.pckOpen.DragLeave += new System.EventHandler(this.OpenPck_DragLeave);
|
||||
this.pckOpen.MouseEnter += new System.EventHandler(this.OpenPck_MouseEnter);
|
||||
this.pckOpen.MouseLeave += new System.EventHandler(this.OpenPck_MouseLeave);
|
||||
//
|
||||
// FormMain
|
||||
//
|
||||
this.ApplyImageInvert = true;
|
||||
@@ -958,20 +966,6 @@
|
||||
this.openedPCKS.ResumeLayout(false);
|
||||
this.tabPage1.ResumeLayout(false);
|
||||
this.tabPage1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
this.metroTabControl1.ResumeLayout(false);
|
||||
this.metroTabPage1.ResumeLayout(false);
|
||||
this.metroTabPage1.PerformLayout();
|
||||
this.myTablePanelStartScreen.ResumeLayout(false);
|
||||
this.myTablePanelStartScreen.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pckOpen)).EndInit();
|
||||
this.myTablePanel2.ResumeLayout(false);
|
||||
this.myTablePanel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWithInterpolationMode1)).EndInit();
|
||||
this.tabControl1.ResumeLayout(false);
|
||||
this.tabPage2.ResumeLayout(false);
|
||||
this.myTablePanel3.ResumeLayout(false);
|
||||
this.myTablePanel3.PerformLayout();
|
||||
this.myTablePanelPckEdit.ResumeLayout(false);
|
||||
this.myTablePanelPckEdit.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxImagePreview)).EndInit();
|
||||
@@ -979,6 +973,20 @@
|
||||
this.tabMetaDisplay.ResumeLayout(false);
|
||||
this.myTablePanel1.ResumeLayout(false);
|
||||
this.myTablePanel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
this.metroTabControl1.ResumeLayout(false);
|
||||
this.metroTabPage1.ResumeLayout(false);
|
||||
this.metroTabPage1.PerformLayout();
|
||||
this.myTablePanel2.ResumeLayout(false);
|
||||
this.myTablePanel2.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxWithInterpolationMode1)).EndInit();
|
||||
this.tabControl1.ResumeLayout(false);
|
||||
this.tabPage2.ResumeLayout(false);
|
||||
this.myTablePanel3.ResumeLayout(false);
|
||||
this.myTablePanel3.PerformLayout();
|
||||
this.myTablePanelStartScreen.ResumeLayout(false);
|
||||
this.myTablePanelStartScreen.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pckOpen)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -1087,6 +1095,7 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem VitaPCKInstallerToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem toNobledezJackToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem toPhoenixARCDeveloperToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem addPasswordToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace MinecraftUSkinEditor
|
||||
#region Variables
|
||||
string saveLocation;//Save location for pck file
|
||||
int fileCount = 0;//variable for number of minefiles
|
||||
string Version = "4.5";//template for program version
|
||||
string Version = "4.6";//template for program version
|
||||
string hosturl = File.ReadAllText(Environment.CurrentDirectory + "\\settings.ini").Split(new[] { "\r\n", "\n" }, StringSplitOptions.None)[0];
|
||||
|
||||
|
||||
@@ -108,12 +108,16 @@ namespace MinecraftUSkinEditor
|
||||
}
|
||||
foreach (object[] entry in mineFile.entries)
|
||||
{
|
||||
//if (entry[0].ToString() == "LOCK" && (new pckLocked(entry[1].ToString(), correct).ShowDialog() != DialogResult.OK || !correct))
|
||||
//{
|
||||
// return;
|
||||
//}
|
||||
if (entry[0].ToString() == "LOCK")
|
||||
{
|
||||
if((new pckLocked(entry[1].ToString(), correct).ShowDialog() != DialogResult.OK || !correct))
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
addPasswordToolStripMenuItem.Enabled = true;
|
||||
openedPCKS.SelectedTab.Text = Path.GetFileName(filePath);
|
||||
saveLocation = filePath;
|
||||
_ = treeViewMain;
|
||||
@@ -3241,6 +3245,40 @@ namespace MinecraftUSkinEditor
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void addPasswordToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
treeViewMain.SelectedNode = treeViewMain.Nodes[0];
|
||||
mf = (PCK.MineFile)treeViewMain.Nodes[0].Tag;//Sets minefile to selected node
|
||||
foreach (object[] entry in mf.entries)
|
||||
{
|
||||
if (entry[0].ToString() == "LOCK")
|
||||
{
|
||||
MessageBox.Show("Remove current LOCK before adding a new one!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
AddPCKPassword add = new AddPCKPassword(mf, currentPCK);//sets metadata adding dialog
|
||||
add.ShowDialog();//displays metadata adding dialog
|
||||
add.Dispose();//diposes generated metadata adding dialog data
|
||||
|
||||
//Sets up combobox for metadata entries from main metadatabase
|
||||
treeMeta.Nodes.Clear();
|
||||
foreach (int type in types.Keys)
|
||||
comboBox1.Items.Add(types[type]);
|
||||
|
||||
//loads all of selected minefiles metadata into metadata treeview
|
||||
foreach (object[] entry in file.entries)
|
||||
{
|
||||
object[] strings = (object[])entry; TreeNode meta = new TreeNode();
|
||||
|
||||
foreach (object[] entryy in file.entries)
|
||||
meta.Text = (string)strings[0];
|
||||
meta.Tag = entry;
|
||||
treeMeta.Nodes.Add(meta);
|
||||
}
|
||||
saved = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -367,7 +367,7 @@
|
||||
</value>
|
||||
</data>
|
||||
<data name="newToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>114, 22</value>
|
||||
<value>180, 22</value>
|
||||
</data>
|
||||
<data name="newToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>New</value>
|
||||
@@ -381,7 +381,7 @@
|
||||
</value>
|
||||
</data>
|
||||
<data name="openToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>114, 22</value>
|
||||
<value>180, 22</value>
|
||||
</data>
|
||||
<data name="openToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>Open</value>
|
||||
@@ -395,7 +395,7 @@
|
||||
</value>
|
||||
</data>
|
||||
<data name="extractToolStripMenuItem1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>114, 22</value>
|
||||
<value>180, 22</value>
|
||||
</data>
|
||||
<data name="extractToolStripMenuItem1.Text" xml:space="preserve">
|
||||
<value>Extract</value>
|
||||
@@ -414,7 +414,7 @@
|
||||
</value>
|
||||
</data>
|
||||
<data name="saveToolStripMenuItem1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>114, 22</value>
|
||||
<value>180, 22</value>
|
||||
</data>
|
||||
<data name="saveToolStripMenuItem1.Text" xml:space="preserve">
|
||||
<value>Save</value>
|
||||
@@ -433,7 +433,7 @@
|
||||
</value>
|
||||
</data>
|
||||
<data name="saveToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>114, 22</value>
|
||||
<value>180, 22</value>
|
||||
</data>
|
||||
<data name="saveToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>Save As</value>
|
||||
@@ -452,11 +452,29 @@
|
||||
</value>
|
||||
</data>
|
||||
<data name="metaToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>114, 22</value>
|
||||
<value>180, 22</value>
|
||||
</data>
|
||||
<data name="metaToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>Meta</value>
|
||||
</data>
|
||||
<data name="addPasswordToolStripMenuItem.Enabled" type="System.Boolean, mscorlib">
|
||||
<value>False</value>
|
||||
</data>
|
||||
<data name="addPasswordToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO
|
||||
wwAADsMBx2+oZAAAABl0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMC4yMfEgaZUAAACRSURBVFhH7Y45
|
||||
DoAwDATz/09DZWRF62utUIBHmgayk6xhaHBtvs5/HmBdor97/1roUEcaFGOkQTHGFpVg5WyaarB6PoSJ
|
||||
MZsHPd7NgrZiCBqJWdBWDEEjMQvaiiFoJGZBW7EMM2Y2JjqWCVbPh+xBL1o5mwIFGWlQjJEGxRhbWCH9
|
||||
3ft3DH3J0Yss5gHDF1jrBvn6/wGuM1ZgAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="addPasswordToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>180, 22</value>
|
||||
</data>
|
||||
<data name="addPasswordToolStripMenuItem.Text" xml:space="preserve">
|
||||
<value>Add Password</value>
|
||||
</data>
|
||||
<data name="fileToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>37, 20</value>
|
||||
</data>
|
||||
@@ -7932,6 +7950,12 @@
|
||||
<data name=">>metaToolStripMenuItem.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>addPasswordToolStripMenuItem.Name" xml:space="preserve">
|
||||
<value>addPasswordToolStripMenuItem</value>
|
||||
</data>
|
||||
<data name=">>addPasswordToolStripMenuItem.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>editToolStripMenuItem.Name" xml:space="preserve">
|
||||
<value>editToolStripMenuItem</value>
|
||||
</data>
|
||||
|
||||
5
MinecraftUSkinEditor/Forms/addMeta.Designer.cs
generated
5
MinecraftUSkinEditor/Forms/addMeta.Designer.cs
generated
@@ -38,14 +38,14 @@
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
resources.ApplyResources(this.textBox1, "textBox1");
|
||||
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
resources.ApplyResources(this.textBox1, "textBox1");
|
||||
this.textBox1.Name = "textBox1";
|
||||
//
|
||||
// textBox2
|
||||
//
|
||||
resources.ApplyResources(this.textBox2, "textBox2");
|
||||
this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
resources.ApplyResources(this.textBox2, "textBox2");
|
||||
this.textBox2.Name = "textBox2";
|
||||
//
|
||||
// label1
|
||||
@@ -72,6 +72,7 @@
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ControlBox = false;
|
||||
this.Controls.Add(this.button1);
|
||||
this.Controls.Add(this.label2);
|
||||
this.Controls.Add(this.label1);
|
||||
|
||||
@@ -117,20 +117,141 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="label1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="textBox1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>60, 25</value>
|
||||
</data>
|
||||
<data name="label2.Text" xml:space="preserve">
|
||||
<value>Value</value>
|
||||
<data name="textBox1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>193, 20</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="textBox1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>textBox1.Name" xml:space="preserve">
|
||||
<value>textBox1</value>
|
||||
</data>
|
||||
<data name=">>textBox1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>textBox1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>textBox1.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="textBox2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>60, 52</value>
|
||||
</data>
|
||||
<data name="textBox2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>193, 20</value>
|
||||
</data>
|
||||
<data name="textBox2.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name=">>textBox2.Name" xml:space="preserve">
|
||||
<value>textBox2</value>
|
||||
</data>
|
||||
<data name=">>textBox2.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name=">>textBox2.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>textBox2.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>12, 28</value>
|
||||
</data>
|
||||
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>31, 13</value>
|
||||
</data>
|
||||
<data name="label1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="label1.Text" xml:space="preserve">
|
||||
<value>Entry</value>
|
||||
</data>
|
||||
<data name=">>label1.Name" xml:space="preserve">
|
||||
<value>label1</value>
|
||||
</data>
|
||||
<data name=">>label1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>label1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>label1.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="label2.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>12, 55</value>
|
||||
</data>
|
||||
<data name="label2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>34, 13</value>
|
||||
</data>
|
||||
<data name="label2.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="label2.Text" xml:space="preserve">
|
||||
<value>Value</value>
|
||||
</data>
|
||||
<data name=">>label2.Name" xml:space="preserve">
|
||||
<value>label2</value>
|
||||
</data>
|
||||
<data name=">>label2.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>label2.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>label2.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="button1.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
|
||||
<value>Flat</value>
|
||||
</data>
|
||||
<data name="button1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>96, 78</value>
|
||||
</data>
|
||||
<data name="button1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>75, 23</value>
|
||||
</data>
|
||||
<data name="button1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="button1.Text" xml:space="preserve">
|
||||
<value>Create</value>
|
||||
</data>
|
||||
<data name=">>button1.Name" xml:space="preserve">
|
||||
<value>button1</value>
|
||||
</data>
|
||||
<data name=">>button1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>button1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>button1.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>6, 13</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>264, 105</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAYAEBAAAAEAIABoBAAAZgAAACAgAAABACAAqBAAAM4EAAAwMAAAAQAgAKglAAB2FQAAQEAAAAEA
|
||||
@@ -2351,137 +2472,13 @@
|
||||
vbLH9tge22N7bI/tsT22x/bYHttjC+3/B71iqRn22EDpAAAAAElFTkSuQmCC
|
||||
</value>
|
||||
</data>
|
||||
<data name="label2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>12, 55</value>
|
||||
</data>
|
||||
<data name="textBox2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>193, 20</value>
|
||||
</data>
|
||||
<data name=">>textBox2.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name="label1.Text" xml:space="preserve">
|
||||
<value>Entry</value>
|
||||
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
|
||||
<value>CenterParent</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>addMeta</value>
|
||||
</data>
|
||||
<data name=">>label2.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>textBox1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>12, 28</value>
|
||||
</data>
|
||||
<data name=">>label2.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="textBox1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>193, 20</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="button1.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
|
||||
<value>Flat</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>264, 105</value>
|
||||
</data>
|
||||
<data name=">>label1.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
|
||||
<value>CenterParent</value>
|
||||
</data>
|
||||
<data name="button1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>75, 23</value>
|
||||
</data>
|
||||
<data name=">>label1.Name" xml:space="preserve">
|
||||
<value>label1</value>
|
||||
</data>
|
||||
<data name=">>label2.Name" xml:space="preserve">
|
||||
<value>label2</value>
|
||||
</data>
|
||||
<data name="textBox1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>MetroFramework.Forms.MetroForm, MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a</value>
|
||||
</data>
|
||||
<data name="textBox1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>60, 25</value>
|
||||
</data>
|
||||
<data name=">>textBox1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>button1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>textBox2.Name" xml:space="preserve">
|
||||
<value>textBox2</value>
|
||||
</data>
|
||||
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name="label2.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>34, 13</value>
|
||||
</data>
|
||||
<data name=">>button1.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="button1.Text" xml:space="preserve">
|
||||
<value>Create</value>
|
||||
</data>
|
||||
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>31, 13</value>
|
||||
</data>
|
||||
<data name=">>label1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>textBox2.ZOrder" xml:space="preserve">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name=">>label1.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name="label2.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>3</value>
|
||||
</data>
|
||||
<data name="textBox2.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>60, 52</value>
|
||||
</data>
|
||||
<data name=">>textBox1.ZOrder" xml:space="preserve">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name="button1.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>4</value>
|
||||
</data>
|
||||
<data name=">>button1.Name" xml:space="preserve">
|
||||
<value>button1</value>
|
||||
</data>
|
||||
<data name=">>textBox1.Name" xml:space="preserve">
|
||||
<value>textBox1</value>
|
||||
</data>
|
||||
<data name="label2.AutoSize" type="System.Boolean, mscorlib">
|
||||
<value>True</value>
|
||||
</data>
|
||||
<data name=">>button1.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="button1.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>96, 78</value>
|
||||
</data>
|
||||
<data name=">>label2.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name="textBox2.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>ja</value>
|
||||
</metadata>
|
||||
</root>
|
||||
14
MinecraftUSkinEditor/Forms/pckLocked.Designer.cs
generated
14
MinecraftUSkinEditor/Forms/pckLocked.Designer.cs
generated
@@ -31,7 +31,6 @@
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(pckLocked));
|
||||
this.textBoxPass = new System.Windows.Forms.TextBox();
|
||||
this.buttonUnlocked = new System.Windows.Forms.Button();
|
||||
this.BypassButton = new System.Windows.Forms.Button();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// textBoxPass
|
||||
@@ -44,28 +43,18 @@
|
||||
//
|
||||
// buttonUnlocked
|
||||
//
|
||||
resources.ApplyResources(this.buttonUnlocked, "buttonUnlocked");
|
||||
this.buttonUnlocked.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
resources.ApplyResources(this.buttonUnlocked, "buttonUnlocked");
|
||||
this.buttonUnlocked.ForeColor = System.Drawing.Color.White;
|
||||
this.buttonUnlocked.Name = "buttonUnlocked";
|
||||
this.buttonUnlocked.UseVisualStyleBackColor = true;
|
||||
this.buttonUnlocked.Click += new System.EventHandler(this.buttonUnlocked_Click);
|
||||
//
|
||||
// BypassButton
|
||||
//
|
||||
resources.ApplyResources(this.BypassButton, "BypassButton");
|
||||
this.BypassButton.DialogResult = System.Windows.Forms.DialogResult.OK;
|
||||
this.BypassButton.ForeColor = System.Drawing.Color.White;
|
||||
this.BypassButton.Name = "BypassButton";
|
||||
this.BypassButton.UseVisualStyleBackColor = true;
|
||||
this.BypassButton.Click += new System.EventHandler(this.BypassButton_Click);
|
||||
//
|
||||
// pckLocked
|
||||
//
|
||||
resources.ApplyResources(this, "$this");
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BorderStyle = MetroFramework.Forms.MetroFormBorderStyle.FixedSingle;
|
||||
this.Controls.Add(this.BypassButton);
|
||||
this.Controls.Add(this.buttonUnlocked);
|
||||
this.Controls.Add(this.textBoxPass);
|
||||
this.MaximizeBox = false;
|
||||
@@ -85,6 +74,5 @@
|
||||
|
||||
private System.Windows.Forms.TextBox textBoxPass;
|
||||
private System.Windows.Forms.Button buttonUnlocked;
|
||||
private System.Windows.Forms.Button BypassButton;
|
||||
}
|
||||
}
|
||||
@@ -19,6 +19,7 @@ namespace minekampf.Forms
|
||||
{
|
||||
this.pass = pass;
|
||||
|
||||
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
@@ -28,7 +29,7 @@ namespace minekampf.Forms
|
||||
|
||||
private void buttonUnlocked_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (textBoxPass.Text == pass)
|
||||
if (MD5(textBoxPass.Text) == pass || MD5(textBoxPass.Text) == MD5(pass))
|
||||
{
|
||||
FormMain.correct = true;
|
||||
this.Close();
|
||||
@@ -48,9 +49,19 @@ namespace minekampf.Forms
|
||||
{
|
||||
}
|
||||
|
||||
private void BypassButton_Click(object sender, EventArgs e)
|
||||
public string MD5(string s)
|
||||
{
|
||||
FormMain.correct = true;
|
||||
using (var provider = System.Security.Cryptography.MD5.Create())
|
||||
{
|
||||
StringBuilder builder = new StringBuilder();
|
||||
|
||||
foreach (byte b in provider.ComputeHash(Encoding.UTF8.GetBytes(s)))
|
||||
builder.Append(b.ToString("x2").ToLower());
|
||||
|
||||
return builder.ToString();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -117,26 +117,68 @@
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="BypassButton.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
|
||||
<value>Flat</value>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="textBoxPass.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>23, 67</value>
|
||||
</data>
|
||||
<data name="textBoxPass.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>244, 20</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="textBoxPass.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="textBoxPass.Text" xml:space="preserve">
|
||||
<value>Password</value>
|
||||
</data>
|
||||
<data name=">>textBoxPass.Name" xml:space="preserve">
|
||||
<value>textBoxPass</value>
|
||||
</data>
|
||||
<data name=">>textBoxPass.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>textBoxPass.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>textBoxPass.ZOrder" xml:space="preserve">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="buttonUnlocked.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
|
||||
<value>Flat</value>
|
||||
</data>
|
||||
<data name=">>buttonUnlocked.ZOrder" xml:space="preserve">
|
||||
<data name="buttonUnlocked.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>273, 65</value>
|
||||
</data>
|
||||
<data name="buttonUnlocked.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>75, 23</value>
|
||||
</data>
|
||||
<data name="buttonUnlocked.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="buttonUnlocked.Text" xml:space="preserve">
|
||||
<value>Let me in!</value>
|
||||
</data>
|
||||
<data name=">>buttonUnlocked.Name" xml:space="preserve">
|
||||
<value>buttonUnlocked</value>
|
||||
</data>
|
||||
<data name=">>buttonUnlocked.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>buttonUnlocked.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name=">>buttonUnlocked.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
|
||||
<value>6, 13</value>
|
||||
</data>
|
||||
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
||||
<data name="BypassButton.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="textBoxPass.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>23, 67</value>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>357, 129</value>
|
||||
</data>
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
@@ -1863,88 +1905,16 @@
|
||||
AABJRU5ErkJggg==
|
||||
</value>
|
||||
</data>
|
||||
<data name=">>BypassButton.ZOrder" xml:space="preserve">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name="BypassButton.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>75, 23</value>
|
||||
</data>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>MetroFramework.Forms.MetroForm, MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a</value>
|
||||
</data>
|
||||
<data name="textBoxPass.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>0</value>
|
||||
</data>
|
||||
<data name=">>BypassButton.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name=">>textBoxPass.ZOrder" xml:space="preserve">
|
||||
<value>2</value>
|
||||
</data>
|
||||
<data name="buttonUnlocked.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>75, 23</value>
|
||||
</data>
|
||||
<data name=">>BypassButton.Name" xml:space="preserve">
|
||||
<value>BypassButton</value>
|
||||
</data>
|
||||
<data name="buttonUnlocked.TabIndex" type="System.Int32, mscorlib">
|
||||
<value>1</value>
|
||||
</data>
|
||||
<data name=">>buttonUnlocked.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
|
||||
<value>428, 129</value>
|
||||
</data>
|
||||
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
|
||||
<value>CenterParent</value>
|
||||
</data>
|
||||
<data name="textBoxPass.Text" xml:space="preserve">
|
||||
<value>Password</value>
|
||||
</data>
|
||||
<data name=">>buttonUnlocked.Name" xml:space="preserve">
|
||||
<value>buttonUnlocked</value>
|
||||
</data>
|
||||
<data name="BypassButton.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>345, 65</value>
|
||||
</data>
|
||||
<data name=">>textBoxPass.Type" xml:space="preserve">
|
||||
<value>System.Windows.Forms.TextBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="buttonUnlocked.Text" xml:space="preserve">
|
||||
<value>Let me in!</value>
|
||||
</data>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>pckLocked</value>
|
||||
</data>
|
||||
<data name=">>textBoxPass.Name" xml:space="preserve">
|
||||
<value>textBoxPass</value>
|
||||
</data>
|
||||
<data name=">>buttonUnlocked.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<data name="BypassButton.Text" xml:space="preserve">
|
||||
<value>Bypass!</value>
|
||||
</data>
|
||||
<data name="buttonUnlocked.Location" type="System.Drawing.Point, System.Drawing">
|
||||
<value>264, 65</value>
|
||||
</data>
|
||||
<data name="$this.Text" xml:space="preserve">
|
||||
<value>This PCK is locked!</value>
|
||||
</data>
|
||||
<data name="textBoxPass.Size" type="System.Drawing.Size, System.Drawing">
|
||||
<value>244, 20</value>
|
||||
<data name=">>$this.Name" xml:space="preserve">
|
||||
<value>pckLocked</value>
|
||||
</data>
|
||||
<data name=">>textBoxPass.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
<data name=">>$this.Type" xml:space="preserve">
|
||||
<value>MetroFramework.Forms.MetroForm, MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a</value>
|
||||
</data>
|
||||
<data name=">>BypassButton.Parent" xml:space="preserve">
|
||||
<value>$this</value>
|
||||
</data>
|
||||
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>ja</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -297,6 +297,12 @@
|
||||
<Compile Include="Forms\addnewskin.Designer.cs">
|
||||
<DependentUpon>addnewskin.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\AddPCKPassword.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Forms\AddPCKPassword.Designer.cs">
|
||||
<DependentUpon>AddPCKPassword.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Forms\AdvancedOptions.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
@@ -472,6 +478,9 @@
|
||||
<EmbeddedResource Include="Forms\addnewskin.resx">
|
||||
<DependentUpon>addnewskin.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\AddPCKPassword.resx">
|
||||
<DependentUpon>AddPCKPassword.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Forms\AdvancedOptions.ja.resx">
|
||||
<DependentUpon>AdvancedOptions.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
|
||||
Reference in New Issue
Block a user