forked from mirrors/NBTExplorer
Tag deletion and saving
This commit is contained in:
parent
fb1fbf1580
commit
a71833d2cb
3 changed files with 528 additions and 289 deletions
386
Form1.Designer.cs
generated
386
Form1.Designer.cs
generated
|
@ -30,6 +30,9 @@
|
||||||
this.components = new System.ComponentModel.Container();
|
this.components = new System.ComponentModel.Container();
|
||||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
|
||||||
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
this.menuStrip1 = new System.Windows.Forms.MenuStrip();
|
||||||
|
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.openFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.editToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.searchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.searchToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
@ -38,26 +41,23 @@
|
||||||
this._nodeTree = new System.Windows.Forms.TreeView();
|
this._nodeTree = new System.Windows.Forms.TreeView();
|
||||||
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
|
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
|
||||||
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
|
||||||
|
this._buttonOpen = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this._buttonSave = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
|
this._buttonRename = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this._buttonEdit = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this._buttonDelete = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
|
this._buttonAddTagByte = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
|
this._buttonAddTagShort = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
|
this._buttonAddTagInt = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripButton4 = new System.Windows.Forms.ToolStripButton();
|
this._buttonAddTagLong = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
|
this._buttonAddTagFloat = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripButton6 = new System.Windows.Forms.ToolStripButton();
|
this._buttonAddTagDouble = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripButton7 = new System.Windows.Forms.ToolStripButton();
|
this._buttonAddTagByteArray = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripButton8 = new System.Windows.Forms.ToolStripButton();
|
this._buttonAddTagString = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripButton9 = new System.Windows.Forms.ToolStripButton();
|
this._buttonAddTagList = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripButton10 = new System.Windows.Forms.ToolStripButton();
|
this._buttonAddTagCompound = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripButton11 = new System.Windows.Forms.ToolStripButton();
|
|
||||||
this.toolStripButton12 = new System.Windows.Forms.ToolStripButton();
|
|
||||||
this.toolStripButton15 = new System.Windows.Forms.ToolStripButton();
|
|
||||||
this.toolStripButton13 = new System.Windows.Forms.ToolStripButton();
|
|
||||||
this.toolStripButton14 = new System.Windows.Forms.ToolStripButton();
|
|
||||||
this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.openFolderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.menuStrip1.SuspendLayout();
|
this.menuStrip1.SuspendLayout();
|
||||||
this.toolStripContainer1.ContentPanel.SuspendLayout();
|
this.toolStripContainer1.ContentPanel.SuspendLayout();
|
||||||
this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
|
this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
|
||||||
|
@ -78,6 +78,34 @@
|
||||||
this.menuStrip1.TabIndex = 0;
|
this.menuStrip1.TabIndex = 0;
|
||||||
this.menuStrip1.Text = "menuStrip1";
|
this.menuStrip1.Text = "menuStrip1";
|
||||||
//
|
//
|
||||||
|
// fileToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
|
this.openToolStripMenuItem,
|
||||||
|
this.openFolderToolStripMenuItem});
|
||||||
|
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
||||||
|
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
||||||
|
this.fileToolStripMenuItem.Text = "&File";
|
||||||
|
//
|
||||||
|
// openToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.openToolStripMenuItem.Image = global::NBTPlus.Properties.Resources.folder_open_document;
|
||||||
|
this.openToolStripMenuItem.Name = "openToolStripMenuItem";
|
||||||
|
this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
|
||||||
|
this.openToolStripMenuItem.Size = new System.Drawing.Size(223, 22);
|
||||||
|
this.openToolStripMenuItem.Text = "&Open...";
|
||||||
|
this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
|
// openFolderToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.openFolderToolStripMenuItem.Image = global::NBTPlus.Properties.Resources.folder_open;
|
||||||
|
this.openFolderToolStripMenuItem.Name = "openFolderToolStripMenuItem";
|
||||||
|
this.openFolderToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
||||||
|
| System.Windows.Forms.Keys.O)));
|
||||||
|
this.openFolderToolStripMenuItem.Size = new System.Drawing.Size(223, 22);
|
||||||
|
this.openFolderToolStripMenuItem.Text = "Open Folder...";
|
||||||
|
this.openFolderToolStripMenuItem.Click += new System.EventHandler(this.openFolderToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
// editToolStripMenuItem
|
// editToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
|
this.editToolStripMenuItem.Name = "editToolStripMenuItem";
|
||||||
|
@ -157,202 +185,176 @@
|
||||||
//
|
//
|
||||||
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
|
this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
|
||||||
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
this.toolStripButton1,
|
this._buttonOpen,
|
||||||
this.toolStripButton2,
|
this._buttonSave,
|
||||||
this.toolStripSeparator1,
|
this.toolStripSeparator1,
|
||||||
this.toolStripButton3,
|
this._buttonRename,
|
||||||
this.toolStripButton4,
|
this._buttonEdit,
|
||||||
this.toolStripButton5,
|
this._buttonDelete,
|
||||||
this.toolStripSeparator2,
|
this.toolStripSeparator2,
|
||||||
this.toolStripButton6,
|
this._buttonAddTagByte,
|
||||||
this.toolStripButton7,
|
this._buttonAddTagShort,
|
||||||
this.toolStripButton8,
|
this._buttonAddTagInt,
|
||||||
this.toolStripButton9,
|
this._buttonAddTagLong,
|
||||||
this.toolStripButton10,
|
this._buttonAddTagFloat,
|
||||||
this.toolStripButton11,
|
this._buttonAddTagDouble,
|
||||||
this.toolStripButton12,
|
this._buttonAddTagByteArray,
|
||||||
this.toolStripButton15,
|
this._buttonAddTagString,
|
||||||
this.toolStripButton13,
|
this._buttonAddTagList,
|
||||||
this.toolStripButton14});
|
this._buttonAddTagCompound});
|
||||||
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
|
||||||
this.toolStrip1.Name = "toolStrip1";
|
this.toolStrip1.Name = "toolStrip1";
|
||||||
this.toolStrip1.Size = new System.Drawing.Size(562, 25);
|
this.toolStrip1.Size = new System.Drawing.Size(562, 25);
|
||||||
this.toolStrip1.Stretch = true;
|
this.toolStrip1.Stretch = true;
|
||||||
this.toolStrip1.TabIndex = 0;
|
this.toolStrip1.TabIndex = 0;
|
||||||
//
|
//
|
||||||
|
// _buttonOpen
|
||||||
|
//
|
||||||
|
this._buttonOpen.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this._buttonOpen.Image = ((System.Drawing.Image)(resources.GetObject("_buttonOpen.Image")));
|
||||||
|
this._buttonOpen.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
|
this._buttonOpen.Name = "_buttonOpen";
|
||||||
|
this._buttonOpen.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this._buttonOpen.Text = "Open NBT Data Source";
|
||||||
|
this._buttonOpen.Click += new System.EventHandler(this.toolStripButton1_Click);
|
||||||
|
//
|
||||||
|
// _buttonSave
|
||||||
|
//
|
||||||
|
this._buttonSave.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this._buttonSave.Image = ((System.Drawing.Image)(resources.GetObject("_buttonSave.Image")));
|
||||||
|
this._buttonSave.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
|
this._buttonSave.Name = "_buttonSave";
|
||||||
|
this._buttonSave.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this._buttonSave.Text = "Save All Modified Tags";
|
||||||
|
this._buttonSave.Click += new System.EventHandler(this._buttonSave_Click);
|
||||||
|
//
|
||||||
// toolStripSeparator1
|
// toolStripSeparator1
|
||||||
//
|
//
|
||||||
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
this.toolStripSeparator1.Name = "toolStripSeparator1";
|
||||||
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
|
||||||
//
|
//
|
||||||
|
// _buttonRename
|
||||||
|
//
|
||||||
|
this._buttonRename.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this._buttonRename.Image = ((System.Drawing.Image)(resources.GetObject("_buttonRename.Image")));
|
||||||
|
this._buttonRename.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
|
this._buttonRename.Name = "_buttonRename";
|
||||||
|
this._buttonRename.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this._buttonRename.Text = "Rename Tag";
|
||||||
|
//
|
||||||
|
// _buttonEdit
|
||||||
|
//
|
||||||
|
this._buttonEdit.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this._buttonEdit.Image = ((System.Drawing.Image)(resources.GetObject("_buttonEdit.Image")));
|
||||||
|
this._buttonEdit.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
|
this._buttonEdit.Name = "_buttonEdit";
|
||||||
|
this._buttonEdit.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this._buttonEdit.Text = "Edit Tag Value";
|
||||||
|
//
|
||||||
|
// _buttonDelete
|
||||||
|
//
|
||||||
|
this._buttonDelete.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this._buttonDelete.Image = ((System.Drawing.Image)(resources.GetObject("_buttonDelete.Image")));
|
||||||
|
this._buttonDelete.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
|
this._buttonDelete.Name = "_buttonDelete";
|
||||||
|
this._buttonDelete.Size = new System.Drawing.Size(23, 22);
|
||||||
|
this._buttonDelete.Text = "Delete Tag";
|
||||||
|
this._buttonDelete.Click += new System.EventHandler(this.toolStripButton5_Click);
|
||||||
|
//
|
||||||
// toolStripSeparator2
|
// toolStripSeparator2
|
||||||
//
|
//
|
||||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
|
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
|
||||||
//
|
//
|
||||||
// toolStripButton1
|
// _buttonAddTagByte
|
||||||
//
|
//
|
||||||
this.toolStripButton1.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this._buttonAddTagByte.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.toolStripButton1.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton1.Image")));
|
this._buttonAddTagByte.Image = ((System.Drawing.Image)(resources.GetObject("_buttonAddTagByte.Image")));
|
||||||
this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this._buttonAddTagByte.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.toolStripButton1.Name = "toolStripButton1";
|
this._buttonAddTagByte.Name = "_buttonAddTagByte";
|
||||||
this.toolStripButton1.Size = new System.Drawing.Size(23, 22);
|
this._buttonAddTagByte.Size = new System.Drawing.Size(23, 22);
|
||||||
this.toolStripButton1.Text = "toolStripButton1";
|
this._buttonAddTagByte.Text = "Add Byte Tag";
|
||||||
this.toolStripButton1.Click += new System.EventHandler(this.toolStripButton1_Click);
|
|
||||||
//
|
//
|
||||||
// toolStripButton2
|
// _buttonAddTagShort
|
||||||
//
|
//
|
||||||
this.toolStripButton2.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this._buttonAddTagShort.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.toolStripButton2.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton2.Image")));
|
this._buttonAddTagShort.Image = ((System.Drawing.Image)(resources.GetObject("_buttonAddTagShort.Image")));
|
||||||
this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this._buttonAddTagShort.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.toolStripButton2.Name = "toolStripButton2";
|
this._buttonAddTagShort.Name = "_buttonAddTagShort";
|
||||||
this.toolStripButton2.Size = new System.Drawing.Size(23, 22);
|
this._buttonAddTagShort.Size = new System.Drawing.Size(23, 22);
|
||||||
this.toolStripButton2.Text = "toolStripButton2";
|
this._buttonAddTagShort.Text = "Add Short Tag";
|
||||||
//
|
//
|
||||||
// toolStripButton3
|
// _buttonAddTagInt
|
||||||
//
|
//
|
||||||
this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this._buttonAddTagInt.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.toolStripButton3.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton3.Image")));
|
this._buttonAddTagInt.Image = ((System.Drawing.Image)(resources.GetObject("_buttonAddTagInt.Image")));
|
||||||
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this._buttonAddTagInt.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.toolStripButton3.Name = "toolStripButton3";
|
this._buttonAddTagInt.Name = "_buttonAddTagInt";
|
||||||
this.toolStripButton3.Size = new System.Drawing.Size(23, 22);
|
this._buttonAddTagInt.Size = new System.Drawing.Size(23, 22);
|
||||||
this.toolStripButton3.Text = "toolStripButton3";
|
this._buttonAddTagInt.Text = "Add Int Tag";
|
||||||
//
|
//
|
||||||
// toolStripButton4
|
// _buttonAddTagLong
|
||||||
//
|
//
|
||||||
this.toolStripButton4.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this._buttonAddTagLong.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.toolStripButton4.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton4.Image")));
|
this._buttonAddTagLong.Image = ((System.Drawing.Image)(resources.GetObject("_buttonAddTagLong.Image")));
|
||||||
this.toolStripButton4.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this._buttonAddTagLong.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.toolStripButton4.Name = "toolStripButton4";
|
this._buttonAddTagLong.Name = "_buttonAddTagLong";
|
||||||
this.toolStripButton4.Size = new System.Drawing.Size(23, 22);
|
this._buttonAddTagLong.Size = new System.Drawing.Size(23, 22);
|
||||||
this.toolStripButton4.Text = "toolStripButton4";
|
this._buttonAddTagLong.Text = "Add Long Tag";
|
||||||
//
|
//
|
||||||
// toolStripButton5
|
// _buttonAddTagFloat
|
||||||
//
|
//
|
||||||
this.toolStripButton5.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this._buttonAddTagFloat.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.toolStripButton5.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton5.Image")));
|
this._buttonAddTagFloat.Image = ((System.Drawing.Image)(resources.GetObject("_buttonAddTagFloat.Image")));
|
||||||
this.toolStripButton5.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this._buttonAddTagFloat.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.toolStripButton5.Name = "toolStripButton5";
|
this._buttonAddTagFloat.Name = "_buttonAddTagFloat";
|
||||||
this.toolStripButton5.Size = new System.Drawing.Size(23, 22);
|
this._buttonAddTagFloat.Size = new System.Drawing.Size(23, 22);
|
||||||
this.toolStripButton5.Text = "toolStripButton5";
|
this._buttonAddTagFloat.Text = "Add Float Tag";
|
||||||
//
|
//
|
||||||
// toolStripButton6
|
// _buttonAddTagDouble
|
||||||
//
|
//
|
||||||
this.toolStripButton6.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this._buttonAddTagDouble.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.toolStripButton6.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton6.Image")));
|
this._buttonAddTagDouble.Image = ((System.Drawing.Image)(resources.GetObject("_buttonAddTagDouble.Image")));
|
||||||
this.toolStripButton6.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this._buttonAddTagDouble.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.toolStripButton6.Name = "toolStripButton6";
|
this._buttonAddTagDouble.Name = "_buttonAddTagDouble";
|
||||||
this.toolStripButton6.Size = new System.Drawing.Size(23, 22);
|
this._buttonAddTagDouble.Size = new System.Drawing.Size(23, 22);
|
||||||
this.toolStripButton6.Text = "toolStripButton6";
|
this._buttonAddTagDouble.Text = "Add Double Tag";
|
||||||
//
|
//
|
||||||
// toolStripButton7
|
// _buttonAddTagByteArray
|
||||||
//
|
//
|
||||||
this.toolStripButton7.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this._buttonAddTagByteArray.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image")));
|
this._buttonAddTagByteArray.Image = ((System.Drawing.Image)(resources.GetObject("_buttonAddTagByteArray.Image")));
|
||||||
this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this._buttonAddTagByteArray.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.toolStripButton7.Name = "toolStripButton7";
|
this._buttonAddTagByteArray.Name = "_buttonAddTagByteArray";
|
||||||
this.toolStripButton7.Size = new System.Drawing.Size(23, 22);
|
this._buttonAddTagByteArray.Size = new System.Drawing.Size(23, 22);
|
||||||
this.toolStripButton7.Text = "toolStripButton7";
|
this._buttonAddTagByteArray.Text = "Add Byte Array Tag";
|
||||||
//
|
//
|
||||||
// toolStripButton8
|
// _buttonAddTagString
|
||||||
//
|
//
|
||||||
this.toolStripButton8.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this._buttonAddTagString.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.toolStripButton8.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton8.Image")));
|
this._buttonAddTagString.Image = ((System.Drawing.Image)(resources.GetObject("_buttonAddTagString.Image")));
|
||||||
this.toolStripButton8.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this._buttonAddTagString.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.toolStripButton8.Name = "toolStripButton8";
|
this._buttonAddTagString.Name = "_buttonAddTagString";
|
||||||
this.toolStripButton8.Size = new System.Drawing.Size(23, 22);
|
this._buttonAddTagString.Size = new System.Drawing.Size(23, 22);
|
||||||
this.toolStripButton8.Text = "toolStripButton8";
|
this._buttonAddTagString.Text = "Add String Tag";
|
||||||
//
|
//
|
||||||
// toolStripButton9
|
// _buttonAddTagList
|
||||||
//
|
//
|
||||||
this.toolStripButton9.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this._buttonAddTagList.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.toolStripButton9.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton9.Image")));
|
this._buttonAddTagList.Image = ((System.Drawing.Image)(resources.GetObject("_buttonAddTagList.Image")));
|
||||||
this.toolStripButton9.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this._buttonAddTagList.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.toolStripButton9.Name = "toolStripButton9";
|
this._buttonAddTagList.Name = "_buttonAddTagList";
|
||||||
this.toolStripButton9.Size = new System.Drawing.Size(23, 22);
|
this._buttonAddTagList.Size = new System.Drawing.Size(23, 22);
|
||||||
this.toolStripButton9.Text = "toolStripButton9";
|
this._buttonAddTagList.Text = "Add List Tag";
|
||||||
//
|
//
|
||||||
// toolStripButton10
|
// _buttonAddTagCompound
|
||||||
//
|
//
|
||||||
this.toolStripButton10.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this._buttonAddTagCompound.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
this.toolStripButton10.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton10.Image")));
|
this._buttonAddTagCompound.Image = ((System.Drawing.Image)(resources.GetObject("_buttonAddTagCompound.Image")));
|
||||||
this.toolStripButton10.ImageTransparentColor = System.Drawing.Color.Magenta;
|
this._buttonAddTagCompound.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
this.toolStripButton10.Name = "toolStripButton10";
|
this._buttonAddTagCompound.Name = "_buttonAddTagCompound";
|
||||||
this.toolStripButton10.Size = new System.Drawing.Size(23, 22);
|
this._buttonAddTagCompound.Size = new System.Drawing.Size(23, 22);
|
||||||
this.toolStripButton10.Text = "toolStripButton10";
|
this._buttonAddTagCompound.Text = "Add Compound Tag";
|
||||||
//
|
|
||||||
// toolStripButton11
|
|
||||||
//
|
|
||||||
this.toolStripButton11.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
||||||
this.toolStripButton11.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton11.Image")));
|
|
||||||
this.toolStripButton11.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
||||||
this.toolStripButton11.Name = "toolStripButton11";
|
|
||||||
this.toolStripButton11.Size = new System.Drawing.Size(23, 22);
|
|
||||||
this.toolStripButton11.Text = "toolStripButton11";
|
|
||||||
//
|
|
||||||
// toolStripButton12
|
|
||||||
//
|
|
||||||
this.toolStripButton12.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
||||||
this.toolStripButton12.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton12.Image")));
|
|
||||||
this.toolStripButton12.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
||||||
this.toolStripButton12.Name = "toolStripButton12";
|
|
||||||
this.toolStripButton12.Size = new System.Drawing.Size(23, 22);
|
|
||||||
this.toolStripButton12.Text = "toolStripButton12";
|
|
||||||
//
|
|
||||||
// toolStripButton15
|
|
||||||
//
|
|
||||||
this.toolStripButton15.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
||||||
this.toolStripButton15.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton15.Image")));
|
|
||||||
this.toolStripButton15.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
||||||
this.toolStripButton15.Name = "toolStripButton15";
|
|
||||||
this.toolStripButton15.Size = new System.Drawing.Size(23, 22);
|
|
||||||
this.toolStripButton15.Text = "toolStripButton15";
|
|
||||||
//
|
|
||||||
// toolStripButton13
|
|
||||||
//
|
|
||||||
this.toolStripButton13.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
||||||
this.toolStripButton13.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton13.Image")));
|
|
||||||
this.toolStripButton13.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
||||||
this.toolStripButton13.Name = "toolStripButton13";
|
|
||||||
this.toolStripButton13.Size = new System.Drawing.Size(23, 22);
|
|
||||||
this.toolStripButton13.Text = "toolStripButton13";
|
|
||||||
//
|
|
||||||
// toolStripButton14
|
|
||||||
//
|
|
||||||
this.toolStripButton14.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
||||||
this.toolStripButton14.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton14.Image")));
|
|
||||||
this.toolStripButton14.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
||||||
this.toolStripButton14.Name = "toolStripButton14";
|
|
||||||
this.toolStripButton14.Size = new System.Drawing.Size(23, 22);
|
|
||||||
this.toolStripButton14.Text = "toolStripButton14";
|
|
||||||
//
|
|
||||||
// fileToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
|
||||||
this.openToolStripMenuItem,
|
|
||||||
this.openFolderToolStripMenuItem});
|
|
||||||
this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
|
|
||||||
this.fileToolStripMenuItem.Size = new System.Drawing.Size(37, 20);
|
|
||||||
this.fileToolStripMenuItem.Text = "&File";
|
|
||||||
//
|
|
||||||
// openToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.openToolStripMenuItem.Image = global::NBTPlus.Properties.Resources.folder_open_document;
|
|
||||||
this.openToolStripMenuItem.Name = "openToolStripMenuItem";
|
|
||||||
this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
|
|
||||||
this.openToolStripMenuItem.Size = new System.Drawing.Size(223, 22);
|
|
||||||
this.openToolStripMenuItem.Text = "&Open...";
|
|
||||||
this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// openFolderToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.openFolderToolStripMenuItem.Image = global::NBTPlus.Properties.Resources.folder_open;
|
|
||||||
this.openFolderToolStripMenuItem.Name = "openFolderToolStripMenuItem";
|
|
||||||
this.openFolderToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
|
|
||||||
| System.Windows.Forms.Keys.O)));
|
|
||||||
this.openFolderToolStripMenuItem.Size = new System.Drawing.Size(223, 22);
|
|
||||||
this.openFolderToolStripMenuItem.Text = "Open Folder...";
|
|
||||||
this.openFolderToolStripMenuItem.Click += new System.EventHandler(this.openFolderToolStripMenuItem_Click);
|
|
||||||
//
|
//
|
||||||
// Form1
|
// Form1
|
||||||
//
|
//
|
||||||
|
@ -388,24 +390,24 @@
|
||||||
private System.Windows.Forms.ToolStripContainer toolStripContainer1;
|
private System.Windows.Forms.ToolStripContainer toolStripContainer1;
|
||||||
private System.Windows.Forms.TreeView _nodeTree;
|
private System.Windows.Forms.TreeView _nodeTree;
|
||||||
private System.Windows.Forms.ToolStrip toolStrip1;
|
private System.Windows.Forms.ToolStrip toolStrip1;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton1;
|
private System.Windows.Forms.ToolStripButton _buttonOpen;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton2;
|
private System.Windows.Forms.ToolStripButton _buttonSave;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton3;
|
private System.Windows.Forms.ToolStripButton _buttonRename;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton4;
|
private System.Windows.Forms.ToolStripButton _buttonEdit;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton5;
|
private System.Windows.Forms.ToolStripButton _buttonDelete;
|
||||||
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton6;
|
private System.Windows.Forms.ToolStripButton _buttonAddTagByte;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton7;
|
private System.Windows.Forms.ToolStripButton _buttonAddTagShort;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton8;
|
private System.Windows.Forms.ToolStripButton _buttonAddTagInt;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton9;
|
private System.Windows.Forms.ToolStripButton _buttonAddTagLong;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton10;
|
private System.Windows.Forms.ToolStripButton _buttonAddTagFloat;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton11;
|
private System.Windows.Forms.ToolStripButton _buttonAddTagDouble;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton12;
|
private System.Windows.Forms.ToolStripButton _buttonAddTagByteArray;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton13;
|
private System.Windows.Forms.ToolStripButton _buttonAddTagList;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton14;
|
private System.Windows.Forms.ToolStripButton _buttonAddTagCompound;
|
||||||
private System.Windows.Forms.ImageList imageList1;
|
private System.Windows.Forms.ImageList imageList1;
|
||||||
private System.Windows.Forms.ToolStripButton toolStripButton15;
|
private System.Windows.Forms.ToolStripButton _buttonAddTagString;
|
||||||
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
|
||||||
private System.Windows.Forms.ToolStripMenuItem openFolderToolStripMenuItem;
|
private System.Windows.Forms.ToolStripMenuItem openFolderToolStripMenuItem;
|
||||||
|
|
367
Form1.cs
367
Form1.cs
|
@ -22,18 +22,18 @@ namespace NBTPlus
|
||||||
|
|
||||||
_nodeTree.BeforeExpand += NodeExpand;
|
_nodeTree.BeforeExpand += NodeExpand;
|
||||||
_nodeTree.AfterCollapse += NodeCollapse;
|
_nodeTree.AfterCollapse += NodeCollapse;
|
||||||
|
_nodeTree.AfterSelect += NodeSelected;
|
||||||
|
|
||||||
//LoadRegion(@"C:\Users\Justin\AppData\Roaming\.minecraft\saves\Creative1.8\region\r.0.0.mcr");
|
string path = Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData);
|
||||||
|
path = Path.Combine(path, ".minecraft");
|
||||||
|
path = Path.Combine(path, "saves");
|
||||||
|
|
||||||
LoadDirectory(@"C:\Users\Justin\AppData\Roaming\.minecraft\saves\Creative1.8");
|
if (!Directory.Exists(path)) {
|
||||||
}
|
path = Environment.GetFolderPath(Environment.SpecialFolder.MyComputer);
|
||||||
|
|
||||||
public void LoadFile (string path) {
|
|
||||||
NBTFile nbtstr = new NBTFile(path);
|
|
||||||
|
|
||||||
using (Stream fs = nbtstr.GetDataInputStream()) {
|
|
||||||
//LoadNbtStream(fs);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LoadDirectory(path);
|
||||||
|
_nodeTree.Nodes[0].Expand();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void LoadNbtStream (TreeNodeCollection parent, Stream stream)
|
public void LoadNbtStream (TreeNodeCollection parent, Stream stream)
|
||||||
|
@ -58,6 +58,10 @@ namespace NBTPlus
|
||||||
NbtTree tree = new NbtTree();
|
NbtTree tree = new NbtTree();
|
||||||
tree.ReadFrom(stream);
|
tree.ReadFrom(stream);
|
||||||
|
|
||||||
|
if (node.Tag != null && node.Tag is NbtDataNode) {
|
||||||
|
(node.Tag as NbtDataNode).Tree = tree;
|
||||||
|
}
|
||||||
|
|
||||||
PopulateNodeFromTag(node, tree.Root);
|
PopulateNodeFromTag(node, tree.Root);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -73,6 +77,7 @@ namespace NBTPlus
|
||||||
TreeNode node = new TreeNode();
|
TreeNode node = new TreeNode();
|
||||||
node.ImageIndex = _tagIconIndex[tag.GetTagType()];
|
node.ImageIndex = _tagIconIndex[tag.GetTagType()];
|
||||||
node.SelectedImageIndex = _tagIconIndex[tag.GetTagType()];
|
node.SelectedImageIndex = _tagIconIndex[tag.GetTagType()];
|
||||||
|
node.Tag = tag;
|
||||||
|
|
||||||
switch (tag.GetTagType()) {
|
switch (tag.GetTagType()) {
|
||||||
case TagType.TAG_BYTE:
|
case TagType.TAG_BYTE:
|
||||||
|
@ -205,30 +210,48 @@ namespace NBTPlus
|
||||||
return node;
|
return node;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public TreeNode CreateLazyDirectory (string path, TreeNode parent)
|
||||||
|
{
|
||||||
|
TreeNode node = CreateLazyDirectory(path);
|
||||||
|
LinkDataNodeParent(node, parent);
|
||||||
|
|
||||||
|
return node;
|
||||||
|
}
|
||||||
|
|
||||||
|
public TreeNode CreateLazyNbt (string path, CompressionType cztype, TreeNode parent)
|
||||||
|
{
|
||||||
|
TreeNode node = CreateLazyNbt(path, cztype);
|
||||||
|
LinkDataNodeParent(node, parent);
|
||||||
|
|
||||||
|
return node;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void LinkDataNodeParent (TreeNode node, TreeNode parent)
|
||||||
|
{
|
||||||
|
if (node != null && parent != null && node.Tag != null && parent.Tag != null) {
|
||||||
|
DataNode nodeDn = node.Tag as DataNode;
|
||||||
|
DataNode parentDn = parent.Tag as DataNode;
|
||||||
|
|
||||||
|
if (nodeDn != null && parentDn != null) {
|
||||||
|
nodeDn.Parent = parentDn;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void LoadLazyChunk (TreeNode node)
|
public void LoadLazyChunk (TreeNode node)
|
||||||
{
|
{
|
||||||
RegionChunkData data = node.Tag as RegionChunkData;
|
RegionChunkData data = node.Tag as RegionChunkData;
|
||||||
if (data == null)
|
if (data == null || data.Modified)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
node.Nodes.Clear();
|
node.Nodes.Clear();
|
||||||
LoadNbtStream(node, data.Region.GetChunkDataInputStream(data.X, data.Z));
|
LoadNbtStream(node, data.Region.GetChunkDataInputStream(data.X, data.Z));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UnloadLazyChunk (TreeNode node)
|
|
||||||
{
|
|
||||||
RegionChunkData data = node.Tag as RegionChunkData;
|
|
||||||
if (data == null)
|
|
||||||
return;
|
|
||||||
|
|
||||||
node.Nodes.Clear();
|
|
||||||
node.Nodes.Add(new TreeNode());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void LoadLazyNbt (TreeNode node)
|
public void LoadLazyNbt (TreeNode node)
|
||||||
{
|
{
|
||||||
NbtFileData data = node.Tag as NbtFileData;
|
NbtFileData data = node.Tag as NbtFileData;
|
||||||
if (data == null)
|
if (data == null || data.Modified)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
node.Nodes.Clear();
|
node.Nodes.Clear();
|
||||||
|
@ -237,26 +260,16 @@ namespace NBTPlus
|
||||||
LoadNbtStream(node, file.GetDataInputStream(data.CompressionType));
|
LoadNbtStream(node, file.GetDataInputStream(data.CompressionType));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UnloadLazyNbt (TreeNode node)
|
|
||||||
{
|
|
||||||
NbtFileData data = node.Tag as NbtFileData;
|
|
||||||
if (data == null)
|
|
||||||
return;
|
|
||||||
|
|
||||||
node.Nodes.Clear();
|
|
||||||
node.Nodes.Add(new TreeNode());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void LoadLazyDirectory (TreeNode node)
|
public void LoadLazyDirectory (TreeNode node)
|
||||||
{
|
{
|
||||||
DirectoryData data = node.Tag as DirectoryData;
|
DirectoryData data = node.Tag as DirectoryData;
|
||||||
if (data == null)
|
if (data == null || data.Modified)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
node.Nodes.Clear();
|
node.Nodes.Clear();
|
||||||
|
|
||||||
foreach (string dirpath in Directory.EnumerateDirectories(data.Path)) {
|
foreach (string dirpath in Directory.EnumerateDirectories(data.Path)) {
|
||||||
node.Nodes.Add(CreateLazyDirectory(dirpath));
|
node.Nodes.Add(CreateLazyDirectory(dirpath, node));
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (string filepath in Directory.EnumerateFiles(data.Path)) {
|
foreach (string filepath in Directory.EnumerateFiles(data.Path)) {
|
||||||
|
@ -264,30 +277,20 @@ namespace NBTPlus
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UnloadLazyDirectory (TreeNode node)
|
|
||||||
{
|
|
||||||
DirectoryData data = node.Tag as DirectoryData;
|
|
||||||
if (data == null)
|
|
||||||
return;
|
|
||||||
|
|
||||||
node.Nodes.Clear();
|
|
||||||
node.Nodes.Add(new TreeNode());
|
|
||||||
}
|
|
||||||
|
|
||||||
public void LoadLazyRegion (TreeNode node)
|
public void LoadLazyRegion (TreeNode node)
|
||||||
{
|
{
|
||||||
RegionData data = node.Tag as RegionData;
|
RegionData data = node.Tag as RegionData;
|
||||||
if (data == null)
|
if (data == null || data.Modified)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
node.Nodes.Clear();
|
node.Nodes.Clear();
|
||||||
LoadRegion(node, data.Path);
|
LoadRegion(node, data.Path);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void UnloadLazyRegion (TreeNode node)
|
public void UnloadLazyDataNode (TreeNode node)
|
||||||
{
|
{
|
||||||
RegionData data = node.Tag as RegionData;
|
DataNode data = node.Tag as DataNode;
|
||||||
if (data == null)
|
if (data == null || data.Modified)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
node.Nodes.Clear();
|
node.Nodes.Clear();
|
||||||
|
@ -318,20 +321,84 @@ namespace NBTPlus
|
||||||
if (e.Node.Tag == null)
|
if (e.Node.Tag == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (e.Node.Tag is RegionChunkData) {
|
if (e.Node.Tag is DataNode) {
|
||||||
UnloadLazyChunk(e.Node);
|
UnloadLazyDataNode(e.Node);
|
||||||
}
|
}
|
||||||
else if (e.Node.Tag is NbtFileData) {
|
}
|
||||||
UnloadLazyNbt(e.Node);
|
|
||||||
}
|
private void NodeSelected (object sender, TreeViewEventArgs e)
|
||||||
else if (e.Node.Tag is DirectoryData) {
|
{
|
||||||
UnloadLazyDirectory(e.Node);
|
UpdateToolbar();
|
||||||
}
|
}
|
||||||
else if (e.Node.Tag is RegionData) {
|
|
||||||
UnloadLazyRegion(e.Node);
|
private void UpdateToolbar ()
|
||||||
|
{
|
||||||
|
TreeNode node = _nodeTree.SelectedNode;
|
||||||
|
TagNode tag = node.Tag as TagNode;
|
||||||
|
|
||||||
|
_buttonRename.Enabled = tag != null;
|
||||||
|
_buttonDelete.Enabled = tag != null;
|
||||||
|
_buttonEdit.Enabled = tag != null
|
||||||
|
&& tag.GetTagType() != TagType.TAG_COMPOUND
|
||||||
|
&& tag.GetTagType() != TagType.TAG_LIST;
|
||||||
|
|
||||||
|
if (tag == null || tag.GetTagType() != TagType.TAG_COMPOUND)
|
||||||
|
SetTagButtons(false);
|
||||||
|
if (tag != null && tag.GetTagType() == TagType.TAG_COMPOUND)
|
||||||
|
SetTagButtons(true);
|
||||||
|
if (tag != null && tag.GetTagType() == TagType.TAG_LIST && tag.ToTagList().Count == 0)
|
||||||
|
SetTagButtons(true);
|
||||||
|
|
||||||
|
if (tag != null && tag.GetTagType() == TagType.TAG_LIST) {
|
||||||
|
switch (tag.ToTagList().ValueType) {
|
||||||
|
case TagType.TAG_BYTE:
|
||||||
|
_buttonAddTagByte.Enabled = true;
|
||||||
|
break;
|
||||||
|
case TagType.TAG_SHORT:
|
||||||
|
_buttonAddTagShort.Enabled = true;
|
||||||
|
break;
|
||||||
|
case TagType.TAG_INT:
|
||||||
|
_buttonAddTagInt.Enabled = true;
|
||||||
|
break;
|
||||||
|
case TagType.TAG_LONG:
|
||||||
|
_buttonAddTagLong.Enabled = true;
|
||||||
|
break;
|
||||||
|
case TagType.TAG_FLOAT:
|
||||||
|
_buttonAddTagFloat.Enabled = true;
|
||||||
|
break;
|
||||||
|
case TagType.TAG_DOUBLE:
|
||||||
|
_buttonAddTagDouble.Enabled = true;
|
||||||
|
break;
|
||||||
|
case TagType.TAG_BYTE_ARRAY:
|
||||||
|
_buttonAddTagByteArray.Enabled = true;
|
||||||
|
break;
|
||||||
|
case TagType.TAG_STRING:
|
||||||
|
_buttonAddTagString.Enabled = true;
|
||||||
|
break;
|
||||||
|
case TagType.TAG_LIST:
|
||||||
|
_buttonAddTagList.Enabled = true;
|
||||||
|
break;
|
||||||
|
case TagType.TAG_COMPOUND:
|
||||||
|
_buttonAddTagCompound.Enabled = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void SetTagButtons (bool state)
|
||||||
|
{
|
||||||
|
_buttonAddTagByte.Enabled = state;
|
||||||
|
_buttonAddTagShort.Enabled = state;
|
||||||
|
_buttonAddTagInt.Enabled = state;
|
||||||
|
_buttonAddTagLong.Enabled = state;
|
||||||
|
_buttonAddTagFloat.Enabled = state;
|
||||||
|
_buttonAddTagDouble.Enabled = state;
|
||||||
|
_buttonAddTagByteArray.Enabled = state;
|
||||||
|
_buttonAddTagString.Enabled = state;
|
||||||
|
_buttonAddTagList.Enabled = state;
|
||||||
|
_buttonAddTagCompound.Enabled = state;
|
||||||
|
}
|
||||||
|
|
||||||
public void LoadDirectory (string path)
|
public void LoadDirectory (string path)
|
||||||
{
|
{
|
||||||
LoadDirectory(path, _nodeTree.Nodes);
|
LoadDirectory(path, _nodeTree.Nodes);
|
||||||
|
@ -347,8 +414,7 @@ namespace NBTPlus
|
||||||
TreeNode root = new TreeNode(name, 10, 10);
|
TreeNode root = new TreeNode(name, 10, 10);
|
||||||
|
|
||||||
foreach (string dirpath in Directory.EnumerateDirectories(path)) {
|
foreach (string dirpath in Directory.EnumerateDirectories(path)) {
|
||||||
root.Nodes.Add(CreateLazyDirectory(dirpath));
|
root.Nodes.Add(CreateLazyDirectory(dirpath, root));
|
||||||
//LoadDirectory(dirpath, root.Nodes, Path.GetFileName(dirpath));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (string filepath in Directory.EnumerateFiles(path)) {
|
foreach (string filepath in Directory.EnumerateFiles(path)) {
|
||||||
|
@ -370,7 +436,9 @@ namespace NBTPlus
|
||||||
NBTFile file = new NBTFile(path);
|
NBTFile file = new NBTFile(path);
|
||||||
NbtTree tree = new NbtTree();
|
NbtTree tree = new NbtTree();
|
||||||
tree.ReadFrom(file.GetDataInputStream());
|
tree.ReadFrom(file.GetDataInputStream());
|
||||||
parent.Add(CreateLazyNbt(path, CompressionType.GZip));
|
TreeNode node = CreateLazyNbt(path, CompressionType.GZip);
|
||||||
|
parent.Add(node);
|
||||||
|
LinkDataNodeParent(node, node.Parent);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
|
@ -379,7 +447,9 @@ namespace NBTPlus
|
||||||
NBTFile file = new NBTFile(path);
|
NBTFile file = new NBTFile(path);
|
||||||
NbtTree tree = new NbtTree();
|
NbtTree tree = new NbtTree();
|
||||||
tree.ReadFrom(file.GetDataInputStream(CompressionType.None));
|
tree.ReadFrom(file.GetDataInputStream(CompressionType.None));
|
||||||
parent.Add(CreateLazyNbt(path, CompressionType.None));
|
TreeNode node = CreateLazyNbt(path, CompressionType.None);
|
||||||
|
parent.Add(node);
|
||||||
|
LinkDataNodeParent(node, node.Parent);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
catch { }
|
catch { }
|
||||||
|
@ -413,6 +483,39 @@ namespace NBTPlus
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void SaveAll ()
|
||||||
|
{
|
||||||
|
if (_nodeTree.Nodes.Count > 0) {
|
||||||
|
SaveNode(_nodeTree.Nodes[0]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void SaveNode (TreeNode node)
|
||||||
|
{
|
||||||
|
foreach (TreeNode sub in node.Nodes) {
|
||||||
|
if (sub.Tag != null && sub.Tag is DataNode) {
|
||||||
|
SaveNode(sub);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (node.Tag is NbtFileData) {
|
||||||
|
SaveNbtFileNode(node);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void SaveNbtFileNode (TreeNode node)
|
||||||
|
{
|
||||||
|
NbtFileData data = node.Tag as NbtFileData;
|
||||||
|
if (data == null || !data.Modified)
|
||||||
|
return;
|
||||||
|
|
||||||
|
NBTFile file = new NBTFile(data.Path);
|
||||||
|
using (Stream str = file.GetDataOutputStream(data.CompressionType)) {
|
||||||
|
data.Tree.WriteTo(str);
|
||||||
|
}
|
||||||
|
data.Modified = false;
|
||||||
|
}
|
||||||
|
|
||||||
private void aboutToolStripMenuItem_Click (object sender, EventArgs e)
|
private void aboutToolStripMenuItem_Click (object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
new About().Show();
|
new About().Show();
|
||||||
|
@ -436,6 +539,75 @@ namespace NBTPlus
|
||||||
{
|
{
|
||||||
OpenFile();
|
OpenFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void toolStripButton5_Click (object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (_nodeTree.SelectedNode == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
TreeNode baseNode = _nodeTree.SelectedNode;
|
||||||
|
while (baseNode.Tag == null || !(baseNode.Tag is DataNode)) {
|
||||||
|
baseNode = baseNode.Parent;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Can only delete internal NBT nodes
|
||||||
|
if (baseNode == null || baseNode == _nodeTree.SelectedNode)
|
||||||
|
return;
|
||||||
|
|
||||||
|
(baseNode.Tag as DataNode).Modified = true;
|
||||||
|
|
||||||
|
DeleteNodeNbtTag(_nodeTree.SelectedNode);
|
||||||
|
|
||||||
|
_nodeTree.SelectedNode.Remove();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DeleteNodeNbtTag (TreeNode node)
|
||||||
|
{
|
||||||
|
TagNode tag = node.Tag as TagNode;
|
||||||
|
if (tag == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
TagNode parentTag = node.Parent.Tag as TagNode;
|
||||||
|
if (parentTag == null) {
|
||||||
|
NbtDataNode parentData = node.Parent.Tag as NbtDataNode;
|
||||||
|
if (parentData == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
parentTag = parentData.Tree.Root;
|
||||||
|
if (parentTag == null)
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
switch (parentTag.GetTagType()) {
|
||||||
|
case TagType.TAG_LIST:
|
||||||
|
parentTag.ToTagList().Remove(tag);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case TagType.TAG_COMPOUND:
|
||||||
|
DeleteTagFromCompound(parentTag.ToTagCompound(), tag);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DeleteTagFromCompound (TagNodeCompound parent, TagNode target)
|
||||||
|
{
|
||||||
|
string match = "";
|
||||||
|
foreach (KeyValuePair<string, TagNode> kv in parent) {
|
||||||
|
if (kv.Value == target) {
|
||||||
|
match = kv.Key;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (match != null) {
|
||||||
|
parent.Remove(match);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void _buttonSave_Click (object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
SaveAll();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public class TagKey : IComparable<TagKey>
|
public class TagKey : IComparable<TagKey>
|
||||||
|
@ -472,9 +644,56 @@ namespace NBTPlus
|
||||||
#endregion
|
#endregion
|
||||||
}
|
}
|
||||||
|
|
||||||
public class RegionChunkData
|
public class DataNode
|
||||||
|
{
|
||||||
|
public DataNode ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public DataNode (DataNode parent)
|
||||||
|
{
|
||||||
|
Parent = parent;
|
||||||
|
}
|
||||||
|
|
||||||
|
public DataNode Parent { get; set; }
|
||||||
|
|
||||||
|
private bool _modified;
|
||||||
|
public bool Modified
|
||||||
|
{
|
||||||
|
get { return _modified; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
if (value && Parent != null) {
|
||||||
|
Parent.Modified = value;
|
||||||
|
}
|
||||||
|
_modified = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public class NbtDataNode : DataNode
|
||||||
|
{
|
||||||
|
public NbtDataNode ()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public NbtDataNode (DataNode parent)
|
||||||
|
: base(parent)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public NbtTree Tree { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class RegionChunkData : NbtDataNode
|
||||||
{
|
{
|
||||||
public RegionChunkData (RegionFile file, int x, int z)
|
public RegionChunkData (RegionFile file, int x, int z)
|
||||||
|
: this(null, file, x, z)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public RegionChunkData (DataNode parent, RegionFile file, int x, int z)
|
||||||
|
: base(parent)
|
||||||
{
|
{
|
||||||
Region = file;
|
Region = file;
|
||||||
X = x;
|
X = x;
|
||||||
|
@ -486,9 +705,15 @@ namespace NBTPlus
|
||||||
public int Z { get; private set; }
|
public int Z { get; private set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class RegionData
|
public class RegionData : DataNode
|
||||||
{
|
{
|
||||||
public RegionData (string path)
|
public RegionData (string path)
|
||||||
|
: this(null, path)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public RegionData (DataNode parent, string path)
|
||||||
|
: base(parent)
|
||||||
{
|
{
|
||||||
Path = path;
|
Path = path;
|
||||||
}
|
}
|
||||||
|
@ -496,9 +721,15 @@ namespace NBTPlus
|
||||||
public string Path { get; private set; }
|
public string Path { get; private set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class NbtFileData
|
public class NbtFileData : NbtDataNode
|
||||||
{
|
{
|
||||||
public NbtFileData (string path, CompressionType cztype)
|
public NbtFileData (string path, CompressionType cztype)
|
||||||
|
: this(null, path, cztype)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public NbtFileData (DataNode parent, string path, CompressionType cztype)
|
||||||
|
: base(parent)
|
||||||
{
|
{
|
||||||
Path = path;
|
Path = path;
|
||||||
CompressionType = cztype;
|
CompressionType = cztype;
|
||||||
|
@ -508,9 +739,15 @@ namespace NBTPlus
|
||||||
public CompressionType CompressionType { get; private set; }
|
public CompressionType CompressionType { get; private set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
public class DirectoryData
|
public class DirectoryData : DataNode
|
||||||
{
|
{
|
||||||
public DirectoryData (string path)
|
public DirectoryData (string path)
|
||||||
|
: this(null, path)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public DirectoryData (DataNode parent, string path)
|
||||||
|
: base(parent)
|
||||||
{
|
{
|
||||||
Path = path;
|
Path = path;
|
||||||
}
|
}
|
||||||
|
|
64
Form1.resx
64
Form1.resx
|
@ -128,7 +128,7 @@
|
||||||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADW
|
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADW
|
||||||
LgAAAk1TRnQBSQFMAgEBDgEAASABAAEgAQABEAEAARABAAT/ARkBAAj/AUIBTQE2BwABNgMAASgDAAFA
|
LgAAAk1TRnQBSQFMAgEBDgEAASgBAAEoAQABEAEAARABAAT/ARkBAAj/AUIBTQE2BwABNgMAASgDAAFA
|
||||||
AwABQAMAAQEBAAEYBgABMBIAA/wD+SH4A/kD/AMAA/0D+SH4A/kD/WMAAZYBqQG8AVwBhAGuAVwBhAGu
|
AwABQAMAAQEBAAEYBgABMBIAA/wD+SH4A/kD/AMAA/0D+SH4A/kD/WMAAZYBqQG8AVwBhAGuAVwBhAGu
|
||||||
AVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGu
|
AVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGuAVwBhAGu
|
||||||
AVwBhAGuAZYBqQG8AwACzwHLArkBsAK5AbACuQGwArkBsAK5AbACuQGwArkBsAK5AbACuQGwArkBsAK5
|
AVwBhAGuAZYBqQG8AwACzwHLArkBsAK5AbACuQGwArkBsAK5AbACuQGwArkBsAK5AbACuQGwArkBsAK5
|
||||||
|
@ -334,24 +334,24 @@
|
||||||
<value>132, 17</value>
|
<value>132, 17</value>
|
||||||
</metadata>
|
</metadata>
|
||||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<data name="toolStripButton1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonOpen.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ4SURBVDhPjdNdSFNhHMfx56Kb3i7s0i66mTeSkDddSBBh
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAJ4SURBVDhPjdNNSBRhHMfx59Clt4Md7dBlvUhCXjpIEGGs
|
||||||
zC6iiUHtQrAGCYZJSgyUmfm+HKmoOYdmVNOsDE3ETAVrBKViCopZc669+Tbn5jybe/XX8zzkgZMEHfhy
|
HSLFoPYgWAsJhklKLChr5utuSipqrotmVKtZGZqFmQrWEpSKJii2teq2b76t++I67vv663kecmCSoIEv
|
||||||
/s/hnA/PgXMI+XNMa8nNKS0p/5/YvfvPiefJGlIpmLVY/3QDG+M5EOYeIO7oAFaeS9voBrv3APClilRj
|
83+GmQ/PwAwhf45pLbk+pSUV/xO7d+858TxZS6oEsxbrn65hYzwXwtw9xO2dwMpTaRs9YPfuA75Ukxps
|
||||||
+y32vG8QsrfA87UAH/TpGHlfL2l0rBn9VSdbDwCfq0htfOsVYutGXtz7GtN9d+D0eLAqCHDQbH4/3plM
|
vcau9xVCtla4vxbigy4dI+8bJI2OtWCg+njbPuBzNdHEPS8QWzfw4t6XmO6/BYfbjVVBgJ1m9fvxxmhE
|
||||||
qC6TD2dpNEkSxFRO6mLubkRXnvHYPNGjwrzZjJnFRVjcbiysrqJraAjsyCwuzpMg4/fJo+jaC4QdT3hs
|
Tbl8OFutTpIgxgpSF3P1ILryhMfmiV4l5s1mfDOZsORyYWF1Fd1DQ2BHVklJvgQZv0seRNeeIWx/xGOz
|
||||||
Nj1V4vvSEkdWfD6ONBuNYkkZGRpxF6OlpDHs6kTQ2sZj83jHNfxYXubIJn2FfYTthL2OvLAwXwSGS0jL
|
8bEC3xcXObLi83GkxWAQS8rIUIu7GC0jTWFnFwKWdh6bxzuv4MfyMkc26SvsIWwn7HXkRUUFIjBcSlqD
|
||||||
rq0dgrmFx+YxQxbMVitHvIGABHHs7CA9P79ABAbVRB9c1sO/2Mhj83CrAhabjSPbu7sSZC0YxPnc3Lsi
|
1g4I5lYem8f02TBbLBzx7uxIEPv2NtILCgpF4J2K6ALLOvhNTTw2D7dlYslq5chWMChB1gIBnM3Luy0C
|
||||||
0K8m7cLPJvjmdTw2DzVdhpUCDBFCIQmyRdfnVKoiEegtIp3+hXp4Zmt5bB5ouASb3c6RYCQiQfx0fTY7
|
AyrSIfxshm++nsfmoeaLsFCAIUIoJEE8dH1GqSwWgb5i0uVfaIB7VsNj82DjBVhtNo4EIhEJ4qfr0zk5
|
||||||
+54IdBcQo2+uDu7pCh6b+3Ry2B0OjoSiUQkiUCBVqVQz4DDthOEWGfDO0k95soznpbvofXgRTqeTI9FY
|
d0Sgp5AYfHN1cE1X8tjcXy+HzW7nSCgalSACBVIVChUDDtKO6W+QQe8s/ZQny3leuou+++fhcDg4Eo3F
|
||||||
TIIEKHhaoShlQAJNlicnbSONqX7LYF5kc6oCW9+q0VNzAS6XC05afG8PMVokHkeYYmE6J6alaSVfoyGX
|
JMgOBU9mZpYxIIEmy5eT9pGmVP/S2/zI5lQlPDM16K09B6fTCQctvruLGC0SjyNMsTCdE9PStJKvUZ9H
|
||||||
ZOpVxPCyJPHjRNeVX+qrh+xHZLLmo8nJdcdTUmr/7phMdvvAP8EuNOSQM7psoqm8Th7T5Sla4j9K+A2s
|
snRKon9emvhxovvSL9XlA7ZDMlnL4eTkuqMpKZq/OyKT3dz3T7ALjbnkVH0OUVddJQ/p8gQt8R8l/Aar
|
||||||
V10KzrJmywAAAABJRU5ErkJggg==
|
pl0JhgWsGAAAAABJRU5ErkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton2.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonSave.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGqSURBVDhPrY3dK0NxHIfPcf4Al8qFK9du1K65kt0oGi0v
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGqSURBVDhPrY3dK0NxHIfPcf4Al8qFK9du1K65kt0oGi0v
|
||||||
|
@ -364,7 +364,7 @@
|
||||||
igo5RXMJp90SBMH8Hbj7TDGndIseXC5XJE8k/4/Ayf0AQu4lRh6dpg8AAAAASUVORK5CYII=
|
igo5RXMJp90SBMH8Hbj7TDGndIseXC5XJE8k/4/Ayf0AQu4lRh6dpg8AAAAASUVORK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton3.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonRename.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAClSURBVDhPY2CgBmBkZGwE4jUgs0A0kexGuN1ADetIdQg5
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAClSURBVDhPY2CgBmBkZGwE4jUgs0A0kexGuN1ADetIdQg5
|
||||||
|
@ -373,7 +373,7 @@
|
||||||
PxCLA7EUiRikhx8A/a8lPHxgyaMAAAAASUVORK5CYII=
|
PxCLA7EUiRikhx8A/a8lPHxgyaMAAAAASUVORK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton4.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonEdit.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGtSURBVDhPY2AgETxkYNB+wMg49xIDgz2JWhkYgoKC5PeI
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGtSURBVDhPY2AgETxkYNB+wMg49xIDgz2JWhkYgoKC5PeI
|
||||||
|
@ -381,12 +381,12 @@
|
||||||
3717938zK+vWeQwMRgQNAGlePZVx+/93Hf93rzIGaxYXF282ZGPTJEnzn9fN/++dDfvfU8mxgYuLS58k
|
3717938zK+vWeQwMRgQNAGlePZVx+/93Hf93rzIGaxYXF282ZGPTJEnzn9fN/++dDfvfU8mxgYuLS58k
|
||||||
zT+e1/1/cD7q/5rJTAfWz2AmHHDIzv7yuOL/40ux/5f0MB1aMYnZhSSb398r/P/kcsL/2a1Mhxd1MLuS
|
zT+e1/1/cD7q/5rJTAfWz2AmHHDIzv7yuOL/40ux/5f0MB1aMYnZhSSb398r/P/kcsL/2a1Mhxd1MLuS
|
||||||
pPn1rUyw5kk1TEenN5Ko+dnVZKDm+P+dxYzHJ1QyELZ5cQ2D+vJexmWgqHp0Mfb/wwvR/+uzGU+0FTC4
|
pPn1rUyw5kk1TEenN5Ko+dnVZKDm+P+dxYzHJ1QyELZ5cQ2D+vJexmWgqHp0Mfb/wwvR/+uzGU+0FTC4
|
||||||
EXT2qnoGtumFDDkfnxx4f2a3y//75yL+VyYxnqrNYHAnqBmkoD+bwXL34qQDn54d+n/z3IKv+eGMh8sS
|
EXT2qnoGtumFDDkfnxx4f2a3y//75yL+VyYxnqrNYHAnqBmkoD+bwXL34qQDn54d+n/j3IKv+eGMh8sS
|
||||||
iNQMMqAqlrEVpHnxxNCLyT6Ms+z1GQKAwqJALAzEgkDMD8S8QMwFxBxAzAbELEDMDMSMIDP+J3sxzrLW
|
iNQMMqAqlrEVpHnxxNCLyT6Ms+z1GQKAwqJALAzEgkDMD8S8QMwFxBxAzAbELEDMDMSMIDP+J3sxzrLW
|
||||||
Y0jm42QwBfJ1gVgLiNWAWBGIZYFYEohFgFgAiLmhBrECaSYAoFHTxdTbRbsAAAAASUVORK5CYII=
|
Y0jm42QwBfJ1gVgLiNWAWBGIZYFYEohFgFgAiLmhBrECaSYAn5vTxDvxqyMAAAAASUVORK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton5.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonDelete.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFYSURBVDhPzZG9SwNBEMXnL1BOc4KoAcFoF4houpSBFIEU
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFYSURBVDhPzZG9SwNBEMXnL1BOc4KoAcFoF4houpSBFIEU
|
||||||
|
@ -398,7 +398,7 @@
|
||||||
uL/0VNBPfNVEww/s+bJaSKBvAQAAAABJRU5ErkJggg==
|
uL/0VNBPfNVEww/s+bJaSKBvAQAAAABJRU5ErkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton6.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonAddTagByte.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHTSURBVDhPjZI5S0NBFIVTKnYWWgumCAgWggSxUjApFMU1
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHTSURBVDhPjZI5S0NBFIVTKnYWWgumCAgWggSxUjApFMU1
|
||||||
|
@ -412,7 +412,7 @@
|
||||||
S8tSg063/p+CFj3o/QGV+z7QMPhyMQAAAABJRU5ErkJggg==
|
S8tSg063/p+CFj3o/QGV+z7QMPhyMQAAAABJRU5ErkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton7.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonAddTagShort.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHDSURBVDhPjZK7S4JhFMYdi7aGmoMchKAhCImmgmxIiLQw
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHDSURBVDhPjZK7S4JhFMYdi7aGmoMchKAhCImmgmxIiLQw
|
||||||
|
@ -426,7 +426,7 @@
|
||||||
RpkLgwRoAAAAAElFTkSuQmCC
|
RpkLgwRoAAAAAElFTkSuQmCC
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton8.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonAddTagInt.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG9SURBVDhPjZLNSwJRFMVdFu1a1DrIhRC0CCKiVUG5KIi0
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG9SURBVDhPjZLNSwJRFMVdFu1a1DrIhRC0CCKiVUG5KIi0
|
||||||
|
@ -440,7 +440,7 @@
|
||||||
AAAAAElFTkSuQmCC
|
AAAAAElFTkSuQmCC
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton9.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonAddTagLong.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGzSURBVDhPjZK9S4JRFMYdi7aGmoUchKAhCImmgnRIiuzD
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGzSURBVDhPjZK9S4JRFMYdi7aGmoUchKAhCImmgnRIiuzD
|
||||||
|
@ -454,7 +454,7 @@
|
||||||
YII=
|
YII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton10.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonAddTagFloat.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG1SURBVDhPjZK9S4JRFMYdi7aGmoUchKAhCImmgnRIirRy
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG1SURBVDhPjZK9S4JRFMYdi7aGmoUchKAhCImmgnRIirRy
|
||||||
|
@ -468,7 +468,7 @@
|
||||||
rkJggg==
|
rkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton11.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonAddTagDouble.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHPSURBVDhPjZLLK4RhFMZnSXYWrJVZTCkLJcmKYhYmcl8o
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAHPSURBVDhPjZLLK4RhFMZnSXYWrJVZTCkLJcmKYhYmcl8o
|
||||||
|
@ -482,7 +482,7 @@
|
||||||
Gs32fwJa5CD3C+PNRA3m0ZBNAAAAAElFTkSuQmCC
|
Gs32fwJa5CD3C+PNRA3m0ZBNAAAAAElFTkSuQmCC
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton12.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonAddTagByteArray.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACuSURBVDhPY2AYtiCMkZFxGsx3UHYYsb6NAGqYCVQshqRB
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAACuSURBVDhPY2AYtiCMkZFxGsx3UHYYsb6NAGqYCVQshqRB
|
||||||
|
@ -491,7 +491,7 @@
|
||||||
DIBsACgcRJAMEIZ6C68BhLw2SOUBc1IVYVaWXdcAAAAASUVORK5CYII=
|
DIBsACgcRJAMEIZ6C68BhLw2SOUBc1IVYVaWXdcAAAAASUVORK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton15.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonAddTagString.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADBSURBVDhPY2AYBRghwMjIOB2EyQ0aeaDmiUC8HmiAPDmG
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADBSURBVDhPY2AYBRghwMjIOB2EyQ0aeaDmiUC8HmiAPDmG
|
||||||
|
@ -500,7 +500,7 @@
|
||||||
aXcoHyYG4m8F4n4gBsnD1NuCDAEZwAfEolBJkAJCGKQWpAekd6gDAOMVIZFrkI0gAAAAAElFTkSuQmCC
|
aXcoHyYG4m8F4n4gBsnD1NuCDAEZwAfEolBJkAJCGKQWpAekd6gDAOMVIZFrkI0gAAAAAElFTkSuQmCC
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton13.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonAddTagList.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAC/SURBVDhPzZA9CsJAEIWzN4itB1vSpEgVUllY7Bm8i/+i
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAC/SURBVDhPzZA9CsJAEIWzN4itB1vSpEgVUllY7Bm8i/+i
|
||||||
|
@ -509,16 +509,16 @@
|
||||||
uHgbhBju4QgnOMOVtxvc4QEy8EbVsM3hCbLLCqH5BR8DbfLfdS/FrCnFMPcqzwAAAABJRU5ErkJggg==
|
uHgbhBju4QgnOMOVtxvc4QEy8EbVsM3hCbLLCqH5BR8DbfLfdS/FrCnFMPcqzwAAAABJRU5ErkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButton14.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="_buttonAddTagCompound.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFySURBVDhPY2CgBthfz8CyP4kl40AiczcM19sxnEHGyHIg
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFySURBVDhPY2CgBthfz8CyP4kl40AiczcM19sxnEHGyHIg
|
||||||
tSA9cLv3xrErn6rWXPp+T+f/d7s7wHh2hikKhomD1IDUgvTADdiVwOx+c4r3EWQDlpc4/ofhJYV2cINB
|
tSA9cLv3xrErn6rWXPp+T+f/d7s7wHh2hikKhomD1IDUgvTADdiVwOx+c4r3EWQDlpc4/ofhJYV2cINB
|
||||||
akBqQXrgBuyIZ8m9vyz7wbPNDf9heEuj338YXlftARcHyYPUgvTADdgawzz11/Xlf//fXfUfhu+uKgcy
|
akBqQXrgBuyIZ8m9vyz7wbPNDf9heEuj338YXlftARcHyYPUgvTADdgawzz157Xlf//fXfUfhu+uKgcy
|
||||||
IfjMzDS4OEgepBakB27A5ijmGT8vzf//+cRUON7dEfofhjc3+KLIgdSC9MAN2BDFPPvbudn/PxyZCMcg
|
IfjMzDS4OEgepBakB27A5ijmGT8vzf//+cRUON7dEfofhjc3+KLIgdSC9MAN2BDFPPvbudn/PxyZCMcg
|
||||||
zavKXcCGLCt2QJEDqQXpgRuwOoJ5/qeT0/6/2d8DxyDNID6MRpYDqQXpgRuwPIx58btD/f9f7monCoPU
|
zavKXcCGLCt2QJEDqQXpgRuwOoJ5/qeT0/6/2d8DxyDNID6MRpYDqQXpgRuwPIx58btD/f9f7monCoPU
|
||||||
gvTADVgSwrjsFTDun25tIgqD1IL0wA2YH8C4+smWxv8PN9QShUFqQXrgBkzxZNzxYF31//trq4jCILUg
|
gvTADVgSwrjsFTDun25tIgqD1IL0wA2YH8C4+smWxv8PN9QShUFqQXrgBkzxZNzxYF31//trq4jCILUg
|
||||||
PTAD5FKNGee1uTAeJQWD9AANkAMZwg/E4kAsRSIG6QHppQwAAI8j3axyxmTGAAAAAElFTkSuQmCC
|
PTAD5FKNGee1uTAeJQWD9AANkAMZwg/E4kAsRSIG6QHppQwAAIR13ahrUo3PAAAAAElFTkSuQmCC
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
</root>
|
</root>
|
Loading…
Reference in a new issue