This commit is contained in:
Felix Miller
2021-10-07 10:09:15 -04:00
14 changed files with 2109 additions and 2430 deletions

View File

@@ -13,8 +13,8 @@ namespace PckStudio
static class Program
{
public static string baseurl = "http://www.pckstudio.tk/studio/PCK/api/";
public static string backurl = "https://phoenixarc.github.io/pckstudio.tk/studio/PCK/api/";
public static string baseurl = "https://www.pckstudio.xyz/studio/PCK/api/";
public static string backurl = "https://raw.githubusercontent.com/PhoenixARC/pckstudio.tk/main/studio/PCK/api/";
public static bool IsDev = false;
public static FormMain formMain;
/// <summary>

View File

@@ -28,7 +28,6 @@
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
this.contextMenuPCKEntries = new System.Windows.Forms.ContextMenuStrip(this.components);
@@ -95,35 +94,6 @@
this.directorySearcher1 = new System.DirectoryServices.DirectorySearcher();
this.openedPCKS = new MetroFramework.Controls.MetroTabControl();
this.tabPage1 = new MetroFramework.Controls.MetroTabPage();
this.labelImageSize = new MetroFramework.Controls.MetroLabel();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.DBGLabel = new MetroFramework.Controls.MetroLabel();
this.metroTabControl1 = new MetroFramework.Controls.MetroTabControl();
this.metroTabPage1 = new MetroFramework.Controls.MetroTabPage();
this.label10 = new MetroFramework.Controls.MetroLabel();
this.label11 = new MetroFramework.Controls.MetroLabel();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.ChangeURL = new MetroFramework.Controls.MetroLabel();
this.LittleEndianCheckBox = new MetroFramework.Controls.MetroCheckBox();
this.myTablePanelStartScreen = new PckStudio.Forms.MyTablePanel();
this.richTextBoxChangelog = new System.Windows.Forms.RichTextBox();
this.label5 = new MetroFramework.Controls.MetroLabel();
this.pckOpen = new System.Windows.Forms.PictureBox();
this.myTablePanel2 = new PckStudio.Forms.MyTablePanel();
this.treeView1 = new System.Windows.Forms.TreeView();
this.pictureBoxWithInterpolationMode1 = new PckStudio.PictureBoxWithInterpolationMode();
this.label4 = new MetroFramework.Controls.MetroLabel();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.myTablePanel3 = new PckStudio.Forms.MyTablePanel();
this.treeView2 = new System.Windows.Forms.TreeView();
this.comboBox2 = new System.Windows.Forms.ComboBox();
this.label6 = new MetroFramework.Controls.MetroLabel();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label7 = new MetroFramework.Controls.MetroLabel();
this.label8 = new MetroFramework.Controls.MetroLabel();
this.label9 = new MetroFramework.Controls.MetroLabel();
this.button1 = new System.Windows.Forms.Button();
this.myTablePanelPckEdit = new PckStudio.Forms.MyTablePanel();
this.treeViewMain = new System.Windows.Forms.TreeView();
this.pictureBoxImagePreview = new PckStudio.PictureBoxWithInterpolationMode();
@@ -139,26 +109,55 @@
this.label3 = new MetroFramework.Controls.MetroLabel();
this.labelEntryData = new MetroFramework.Controls.MetroLabel();
this.buttonEdit = new System.Windows.Forms.Button();
this.labelImageSize = new MetroFramework.Controls.MetroLabel();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.DBGLabel = new MetroFramework.Controls.MetroLabel();
this.metroTabControl1 = new MetroFramework.Controls.MetroTabControl();
this.metroTabPage1 = new MetroFramework.Controls.MetroTabPage();
this.myTablePanel2 = new PckStudio.Forms.MyTablePanel();
this.treeView1 = new System.Windows.Forms.TreeView();
this.pictureBoxWithInterpolationMode1 = new PckStudio.PictureBoxWithInterpolationMode();
this.label4 = new MetroFramework.Controls.MetroLabel();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage2 = new System.Windows.Forms.TabPage();
this.myTablePanel3 = new PckStudio.Forms.MyTablePanel();
this.treeView2 = new System.Windows.Forms.TreeView();
this.comboBox2 = new System.Windows.Forms.ComboBox();
this.label6 = new MetroFramework.Controls.MetroLabel();
this.textBox2 = new System.Windows.Forms.TextBox();
this.label7 = new MetroFramework.Controls.MetroLabel();
this.label8 = new MetroFramework.Controls.MetroLabel();
this.label9 = new MetroFramework.Controls.MetroLabel();
this.button1 = new System.Windows.Forms.Button();
this.label10 = new MetroFramework.Controls.MetroLabel();
this.label11 = new MetroFramework.Controls.MetroLabel();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.ChangeURL = new MetroFramework.Controls.MetroLabel();
this.LittleEndianCheckBox = new MetroFramework.Controls.MetroCheckBox();
this.myTablePanelStartScreen = new PckStudio.Forms.MyTablePanel();
this.richTextBoxChangelog = new System.Windows.Forms.RichTextBox();
this.label5 = new MetroFramework.Controls.MetroLabel();
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
@@ -635,236 +634,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.FontWeight = MetroFramework.MetroLabelWeight.Bold;
this.DBGLabel.ForeColor = System.Drawing.Color.Red;
this.DBGLabel.Name = "DBGLabel";
this.DBGLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// 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";
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// ChangeURL
//
resources.ApplyResources(this.ChangeURL, "ChangeURL");
this.ChangeURL.Name = "ChangeURL";
this.ChangeURL.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// LittleEndianCheckBox
//
resources.ApplyResources(this.LittleEndianCheckBox, "LittleEndianCheckBox");
this.LittleEndianCheckBox.Name = "LittleEndianCheckBox";
this.LittleEndianCheckBox.Style = MetroFramework.MetroColorStyle.White;
this.LittleEndianCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
this.LittleEndianCheckBox.UseSelectable = true;
//
// 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";
this.label5.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// pckOpen
//
resources.ApplyResources(this.pckOpen, "pckOpen");
this.pckOpen.Image = global::PckStudio.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";
//
// 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");
@@ -990,6 +759,236 @@
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.FontWeight = MetroFramework.MetroLabelWeight.Bold;
this.DBGLabel.ForeColor = System.Drawing.Color.Red;
this.DBGLabel.Name = "DBGLabel";
this.DBGLabel.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// 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";
//
// 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";
//
// timer1
//
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// ChangeURL
//
resources.ApplyResources(this.ChangeURL, "ChangeURL");
this.ChangeURL.Name = "ChangeURL";
this.ChangeURL.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// LittleEndianCheckBox
//
resources.ApplyResources(this.LittleEndianCheckBox, "LittleEndianCheckBox");
this.LittleEndianCheckBox.Name = "LittleEndianCheckBox";
this.LittleEndianCheckBox.Style = MetroFramework.MetroColorStyle.White;
this.LittleEndianCheckBox.Theme = MetroFramework.MetroThemeStyle.Dark;
this.LittleEndianCheckBox.UseSelectable = true;
//
// 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";
this.label5.Theme = MetroFramework.MetroThemeStyle.Dark;
//
// pckOpen
//
resources.ApplyResources(this.pckOpen, "pckOpen");
this.pckOpen.Image = global::PckStudio.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;
@@ -1009,6 +1008,8 @@
this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow;
this.Style = MetroFramework.MetroColorStyle.Silver;
this.Theme = MetroFramework.MetroThemeStyle.Dark;
this.Activated += new System.EventHandler(this.FormMain_Activated);
this.Deactivate += new System.EventHandler(this.FormMain_Deactivate);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormMain_FormClosing);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.FormMain_FormClosed);
this.Load += new System.EventHandler(this.Form1_Load);
@@ -1019,20 +1020,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();
@@ -1040,6 +1027,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();

View File

@@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Threading;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
using System.IO.Compression;
@@ -11,7 +10,6 @@ using System.Net;
using System.Diagnostics;
using PckStudio.Properties;
using Ohana3DS_Rebirth.Ohana;
using PckStudio;
using PckStudio.Forms;
using System.Drawing.Imaging;
using RichPresenceClient;
@@ -23,7 +21,7 @@ namespace PckStudio
#region Variables
string saveLocation;//Save location for pck file
int fileCount = 0;//variable for number of minefiles
string Version = "5.8";//template for program version
string Version = "6.1";//template for program version
string hosturl = "";
string basurl = "";
string PCKFile = "";
@@ -41,7 +39,7 @@ namespace PckStudio
bool saved = true;
string appData = System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "/PCK Studio/";
public static bool correct = false;
bool isdebug = true;
bool isdebug = false;
public class displayId
{
@@ -493,17 +491,24 @@ namespace PckStudio
#region extracts pck entry
private void extractToolStripMenuItem_Click(object sender, EventArgs e)
{
if(treeViewMain.SelectedNode.Nodes.Count > 0)
{
MessageBox.Show("Cannot extract folders!");
return;
}
if (treeViewMain.SelectedNode.Tag is PCK.MineFile)//Makes sure item being extracted is minefile and not folder or null item
{
SaveFileDialog exFile = new SaveFileDialog();//extract location
exFile.FileName = treeViewMain.SelectedNode.Text;
exFile.Filter = Path.GetExtension(treeViewMain.SelectedNode.Text).Replace(".", "") + " File|*" + Path.GetExtension(treeViewMain.SelectedNode.Text);
exFile.ShowDialog();
string appPath = exFile.FileName;//Chosen file path
string extractPath = Path.Combine(appPath, ((PCK.MineFile)treeViewMain.SelectedNode.Tag).name);//combines file path with file path & name of minefile being extracted
string extractPath = exFile.FileName;
if (!String.IsNullOrWhiteSpace(Path.GetDirectoryName(extractPath)))//Makes sure chosen directory isn't null or whitespace AKA makes sure its usable
{
Directory.CreateDirectory(Path.GetDirectoryName(extractPath));//Creates directory variable out of generated/chosen extract path
File.WriteAllBytes(extractPath, ((PCK.MineFile)treeViewMain.SelectedNode.Tag).data);//extracts minefile data to directory
//Generates metadata file in form of txt file if metadata for the file exists
@@ -1190,28 +1195,8 @@ namespace PckStudio
private void skinPackToolStripMenuItem_Click(object sender, EventArgs e)
{
//Loads skin pack template
myTablePanelStartScreen.Visible = false;
pckOpen.Visible = false;
label5.Visible = false;
labelAmount.Visible = true;
richTextBoxChangelog.Visible = false;
openedPCKS.Visible = true;
foreach (ToolStripMenuItem item in fileToolStripMenuItem.DropDownItems)
{
item.Enabled = true;
}
foreach (ToolStripMenuItem item in editToolStripMenuItem.DropDownItems)
{
item.Enabled = true;
}
openedPCKS.SelectedTab.Text = "Empty_Skin_Pack.pck";
try
{
openPck(Environment.CurrentDirectory + "\\templates\\UntitledSkinPCK.pck");
PCKFile = "UntitledSkinPCK.pck";
}
catch { }
PCKFile = Path.GetFileName(Environment.CurrentDirectory + "\\template\\UntitledSkinPCK.pck");
openPck(Environment.CurrentDirectory + "\\template\\UntitledSkinPCK.pck");
saveLocation = "";
saved = false;
}
@@ -1252,8 +1237,6 @@ namespace PckStudio
}
#endregion
#region checks for updates
private void Form1_Load(object sender, EventArgs e)
{
@@ -1295,11 +1278,37 @@ namespace PckStudio
new WebClient().DownloadString(Program.baseurl + ChangeURL.Text);
basurl = Program.baseurl;
Console.WriteLine(basurl + ChangeURL.Text);
}
catch
{
basurl = Program.backurl;
try
{
new WebClient().DownloadString(Program.backurl + ChangeURL.Text);
basurl = Program.backurl;
Console.WriteLine(basurl + ChangeURL.Text);
}
catch
{
try
{
new WebClient().DownloadString("https://google.com");
MessageBox.Show("PCK Studio Service is offline, the domain may have changed.\nOpening website");
Process.Start("https://phoenixarc.github.io/pckstudio.tk/");
}
catch
{
MessageBox.Show("Could not connect to service, internet may be offline");
}
}
}
Directory.CreateDirectory(Environment.CurrentDirectory + "\\template");
if (!File.Exists(Environment.CurrentDirectory + "\\template\\UntitledSkinPCK.pck"))
File.WriteAllBytes(Environment.CurrentDirectory + "\\template\\UntitledSkinPCK.pck", Resources.UntitledSkinPCK);
if (isdebug)
DBGLabel.Visible = true;
//runs creator spotlight once per day
@@ -1355,18 +1364,24 @@ namespace PckStudio
{
File.WriteAllText(Application.StartupPath + @"\ver.txt", Version);
}
if(float.Parse(new WebClient().DownloadString(basurl + "updatePCKStudio.txt").Replace("\n","")) > float.Parse(Version))
try
{
Console.WriteLine(new WebClient().DownloadString(basurl + "updatePCKStudio.txt").Replace("\n", "") + " != " + Version);
if(MessageBox.Show("Update avaliable!\ndo you want to update?", "UPDATE", MessageBoxButtons.YesNo) == DialogResult.Yes)
Process.Start(Environment.CurrentDirectory + "\\nobleUpdater.exe");
if (float.Parse(new WebClient().DownloadString(basurl + "updatePCKStudio.txt").Replace("\n", "")) > float.Parse(Version))
{
Console.WriteLine(new WebClient().DownloadString(basurl + "updatePCKStudio.txt").Replace("\n", "") + " != " + Version);
if (MessageBox.Show("Update avaliable!\ndo you want to update?", "UPDATE", MessageBoxButtons.YesNo) == DialogResult.Yes)
Process.Start(Environment.CurrentDirectory + "\\nobleUpdater.exe");
else
uPDATEToolStripMenuItem1.Visible = true;
}
else
uPDATEToolStripMenuItem1.Visible = true;
{
uPDATEToolStripMenuItem1.Visible = false;
}
}
else
catch
{
uPDATEToolStripMenuItem1.Visible = false;
MessageBox.Show("Could not load Version Information");
}
}
#endregion
@@ -3166,42 +3181,7 @@ namespace PckStudio
#endregion
private void buttonEditModel_Click(object sender, EventArgs e)
{
PCK.MineFile mf = (PCK.MineFile)treeViewMain.SelectedNode.Tag;
if (Path.GetExtension(mf.name) == ".png")
{
if (buttonEdit.Text == "EDIT BOXES")
editModel(mf);
else if (buttonEdit.Text == "View Skin")
{
using (var ms = new MemoryStream(mf.data))
{
SkinPreview frm = new SkinPreview(Image.FromStream(ms));
frm.Show();
}
}
}
if (Path.GetExtension(mf.name) == ".loc")
{
LOC l;
try
{
l = new LOC(mf.data);
}
catch
{
MessageBox.Show("No localization data found.", "Error", MessageBoxButtons.OK,
MessageBoxIcon.Error);
return;
}
(new LOCEditor(l)).ShowDialog();//Opens LOC Editor
mf.data = l.Rebuild();//Rebuilds loc file with locdata in grid view after closing dialog
}
}
#region Tool/MenuStrips
private void openToolStripMenuItem1_Click(object sender, EventArgs e)
{
@@ -3209,89 +3189,11 @@ namespace PckStudio
open.Show();
}
private void OpenPck_MouseEnter(object sender, EventArgs e)
{
pckOpen.Image = Resources.pckOpen;
}
private void OpenPck_MouseLeave(object sender, EventArgs e)
{
pckOpen.Image = Resources.pckClosed;
}
private void tutorialsToolStripMenuItem_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start(hosturl + "pckStudio#tutorials");
}
private void FormMain_FormClosed(object sender, FormClosedEventArgs e)
{
if (saved == false)
{
if (MessageBox.Show("Save PCK?", "Unsaved PCK", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
{
if (saveLocation == Application.StartupPath + @"\templates\UntitledSkinPCK.pck")
{
save("Save As");
}
else
{
save("Save");
}
}
}
if (needsUpdate)
{
Process UPDATE = new Process();//sets up updater
UPDATE.StartInfo.FileName = Application.StartupPath + @"\nobleUpdater.exe";//updater program path
UPDATE.Start();//starts updater
Application.Exit();//closes PCK Studio to let updatear finish the job
}
}
private void OpenPck_DragEnter(object sender, DragEventArgs e)
{
pckOpen.Image = Resources.pckDrop;
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
foreach (var file in files)
{
var ext = System.IO.Path.GetExtension(file);
if (ext.Equals(".pck", StringComparison.CurrentCultureIgnoreCase))
e.Effect = DragDropEffects.Copy;
return;
}
}
private void OpenPck_DragDrop(object sender, DragEventArgs e)
{
string[] FileList = (string[])e.Data.GetData(DataFormats.FileDrop, false);
foreach (string pck in FileList)
{
openPck(pck);
}
}
private void OpenPck_DragLeave(object sender, EventArgs e)
{
pckOpen.Image = Resources.pckClosed;
}
private void savePCK(object sender, EventArgs e)
{
save("Save");
}
private void saveAsPCK(object sender, EventArgs e)
{
save("Save As");
}
private void openPck(object sender, EventArgs e)
{
}
private void wiiUPCKInstallerToolStripMenuItem_Click(object sender, EventArgs e)
{
installWiiU install = new installWiiU(null);
@@ -3430,6 +3332,136 @@ namespace PckStudio
System.Diagnostics.Process.Start("https://discord.gg/Byh4hcq25w");
}
private void tSTToolStripMenuItem_Click(object sender, EventArgs e)
{
Testx_12 form1 = new Testx_12();
form1.Show();
}
private void convertPCTextrurePackToolStripMenuItem_Click(object sender, EventArgs e)
{
PckStudio.Forms.Utilities.TextureConverterUtility tex = new PckStudio.Forms.Utilities.TextureConverterUtility(treeViewMain, currentPCK);
tex.ShowDialog();
}
#endregion
private void buttonEditModel_Click(object sender, EventArgs e)
{
PCK.MineFile mf = (PCK.MineFile)treeViewMain.SelectedNode.Tag;
if (Path.GetExtension(mf.name) == ".png")
{
if (buttonEdit.Text == "EDIT BOXES")
editModel(mf);
else if (buttonEdit.Text == "View Skin")
{
using (var ms = new MemoryStream(mf.data))
{
SkinPreview frm = new SkinPreview(Image.FromStream(ms));
frm.Show();
}
}
}
if (Path.GetExtension(mf.name) == ".loc")
{
LOC l;
try
{
l = new LOC(mf.data);
}
catch
{
MessageBox.Show("No localization data found.", "Error", MessageBoxButtons.OK,
MessageBoxIcon.Error);
return;
}
(new LOCEditor(l)).ShowDialog();//Opens LOC Editor
mf.data = l.Rebuild();//Rebuilds loc file with locdata in grid view after closing dialog
}
}
private void OpenPck_MouseEnter(object sender, EventArgs e)
{
pckOpen.Image = Resources.pckOpen;
}
private void OpenPck_MouseLeave(object sender, EventArgs e)
{
pckOpen.Image = Resources.pckClosed;
}
private void FormMain_FormClosed(object sender, FormClosedEventArgs e)
{
if (saved == false)
{
if (MessageBox.Show("Save PCK?", "Unsaved PCK", MessageBoxButtons.YesNo, MessageBoxIcon.Warning) == DialogResult.Yes)
{
if (saveLocation == Application.StartupPath + @"\templates\UntitledSkinPCK.pck")
{
save("Save As");
}
else
{
save("Save");
}
}
}
if (needsUpdate)
{
Process UPDATE = new Process();//sets up updater
UPDATE.StartInfo.FileName = Application.StartupPath + @"\nobleUpdater.exe";//updater program path
UPDATE.Start();//starts updater
Application.Exit();//closes PCK Studio to let updatear finish the job
}
}
private void OpenPck_DragEnter(object sender, DragEventArgs e)
{
pckOpen.Image = Resources.pckDrop;
string[] files = (string[])e.Data.GetData(DataFormats.FileDrop);
foreach (var file in files)
{
var ext = System.IO.Path.GetExtension(file);
if (ext.Equals(".pck", StringComparison.CurrentCultureIgnoreCase))
e.Effect = DragDropEffects.Copy;
return;
}
}
private void OpenPck_DragDrop(object sender, DragEventArgs e)
{
string[] FileList = (string[])e.Data.GetData(DataFormats.FileDrop, false);
foreach (string pck in FileList)
{
openPck(pck);
}
}
private void OpenPck_DragLeave(object sender, EventArgs e)
{
pckOpen.Image = Resources.pckClosed;
}
private void savePCK(object sender, EventArgs e)
{
save("Save");
}
private void saveAsPCK(object sender, EventArgs e)
{
save("Save As");
}
private void openPck(object sender, EventArgs e)
{
}
private void timer1_Tick(object sender, EventArgs e)
{
if (PCKFile != PCKFileBCKUP)
@@ -3458,12 +3490,6 @@ namespace PckStudio
}
}
private void tSTToolStripMenuItem_Click(object sender, EventArgs e)
{
Testx_12 form1 = new Testx_12();
form1.Show();
}
private void FormMain_FormClosing(object sender, FormClosingEventArgs e)
{
try
@@ -3473,10 +3499,26 @@ namespace PckStudio
catch { }
}
private void convertPCTextrurePackToolStripMenuItem_Click(object sender, EventArgs e)
private void FormMain_Deactivate(object sender, EventArgs e)
{
PckStudio.Forms.Utilities.TextureConverterUtility tex = new PckStudio.Forms.Utilities.TextureConverterUtility(treeViewMain, currentPCK);
tex.ShowDialog();
try
{
RPC.CloseRPC();
timer1.Stop();
timer1.Enabled = false;
}
catch { }
}
private void FormMain_Activated(object sender, EventArgs e)
{
try
{
RPC.SetRPC("825875166574673940", "Sitting alone", "Program by PhoenixARC", "pcklgo", "PCK Studio", "pcklgo");
timer1.Start();
timer1.Enabled = true;
}
catch { }
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -46,6 +46,7 @@
this.deleteToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.exportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.PSVitaPCKCheckbox = new MetroFramework.Controls.MetroCheckBox();
this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.tableLayoutPanel2.SuspendLayout();
@@ -142,8 +143,8 @@
//
// buttonSubmit
//
resources.ApplyResources(this.buttonSubmit, "buttonSubmit");
this.buttonSubmit.FlatAppearance.BorderSize = 0;
resources.ApplyResources(this.buttonSubmit, "buttonSubmit");
this.buttonSubmit.ForeColor = System.Drawing.Color.White;
this.buttonSubmit.Name = "buttonSubmit";
this.buttonSubmit.UseVisualStyleBackColor = true;
@@ -171,9 +172,9 @@
//
// panel1
//
resources.ApplyResources(this.panel1, "panel1");
this.panel1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
this.panel1.Controls.Add(this.pckLayout);
resources.ApplyResources(this.panel1, "panel1");
this.panel1.Name = "panel1";
//
// pckLayout
@@ -187,29 +188,39 @@
//
// contextMenuStripPCK
//
resources.ApplyResources(this.contextMenuStripPCK, "contextMenuStripPCK");
this.contextMenuStripPCK.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.deleteToolStripMenuItem,
this.exportToolStripMenuItem});
this.contextMenuStripPCK.Name = "contextMenuStripPCK";
resources.ApplyResources(this.contextMenuStripPCK, "contextMenuStripPCK");
//
// deleteToolStripMenuItem
//
resources.ApplyResources(this.deleteToolStripMenuItem, "deleteToolStripMenuItem");
this.deleteToolStripMenuItem.Image = global::PckStudio.Properties.Resources.Del;
this.deleteToolStripMenuItem.Name = "deleteToolStripMenuItem";
resources.ApplyResources(this.deleteToolStripMenuItem, "deleteToolStripMenuItem");
//
// exportToolStripMenuItem
//
resources.ApplyResources(this.exportToolStripMenuItem, "exportToolStripMenuItem");
this.exportToolStripMenuItem.Image = global::PckStudio.Properties.Resources.ExportFile;
this.exportToolStripMenuItem.Name = "exportToolStripMenuItem";
resources.ApplyResources(this.exportToolStripMenuItem, "exportToolStripMenuItem");
//
// PSVitaPCKCheckbox
//
resources.ApplyResources(this.PSVitaPCKCheckbox, "PSVitaPCKCheckbox");
this.PSVitaPCKCheckbox.Name = "PSVitaPCKCheckbox";
this.PSVitaPCKCheckbox.Style = MetroFramework.MetroColorStyle.Silver;
this.PSVitaPCKCheckbox.Theme = MetroFramework.MetroThemeStyle.Dark;
this.PSVitaPCKCheckbox.UseSelectable = true;
this.PSVitaPCKCheckbox.CheckedChanged += new System.EventHandler(this.PSVitaPCKCheckbox_CheckedChanged);
//
// pckCenter
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BorderStyle = MetroFramework.Forms.MetroFormBorderStyle.FixedSingle;
this.Controls.Add(this.PSVitaPCKCheckbox);
this.Controls.Add(this.tableLayoutPanel2);
this.Name = "pckCenter";
this.ShadowType = MetroFramework.Forms.MetroFormShadowType.DropShadow;
@@ -223,6 +234,7 @@
this.contextMenuStripPCK.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
@@ -243,5 +255,6 @@
private System.Windows.Forms.ToolStripMenuItem exportToolStripMenuItem;
private System.Windows.Forms.Button buttonSubmit;
private System.Windows.Forms.RadioButton radioButtonTex;
private MetroFramework.Controls.MetroCheckBox PSVitaPCKCheckbox;
}
}

View File

@@ -27,6 +27,7 @@ namespace PckStudio.Forms
bool devPicksLoaded = true;
bool communityLoaded = true;
bool TexLoaded = true;
bool isVita = false;
public pckCenter()
@@ -40,6 +41,8 @@ namespace PckStudio.Forms
{
Directory.CreateDirectory(cacheDir);
}
if(isVita)
loadDirectory = File.ReadAllText(Environment.CurrentDirectory + "\\settings.ini").Split(new[] { "\r\n", "\n" }, StringSplitOptions.None)[1] + "/studio/PCK/api/pckCenterVitaList.txt";
}
private void reload(bool checkNeeded)
@@ -155,12 +158,14 @@ namespace PckStudio.Forms
string desc = parseDesc[2];
string direct = parseDesc[3];
string ad = parseDesc[4];
bool IsVita = (parseDesc[5] == "true" || parseDesc[5] == "True");
string Packname = parseDesc[6];
PckPreview pckPreview = new PckPreview(pckName, author, desc, direct, ad, bmp, 0, mod, null);
PckPreview pckPreview = new PckPreview(pckName, author, desc, direct, ad, bmp, 0, mod, null, IsVita, Packname);
pckLayout.Controls.Add(pckPreview);
}
}
catch { }
catch(Exception err) { Console.WriteLine(err.Message); }
}
}
}
@@ -175,7 +180,9 @@ namespace PckStudio.Forms
if (radioButtonNew.Checked == true)
{
loadDirectory = hosturl + "pckCenterNew.txt";
if (new WebClient().DownloadString(loadDirectory) != " ")
if (isVita)
loadDirectory = hosturl + "pckCenterVitaNew.txt";
if (!string.IsNullOrWhiteSpace(new WebClient().DownloadString(loadDirectory)))
{
reload(newLoaded);
newLoaded = false;
@@ -189,7 +196,9 @@ namespace PckStudio.Forms
if (radioButtonDevPicks.Checked == true)
{
loadDirectory = hosturl + "pckCenterPicks.txt";
if (new WebClient().DownloadString(loadDirectory) != " ")
if (isVita)
loadDirectory = hosturl + "pckCenterVitaPicks.txt";
if (!string.IsNullOrWhiteSpace(new WebClient().DownloadString(loadDirectory)))
{
reload(devPicksLoaded);
devPicksLoaded = false;
@@ -203,7 +212,9 @@ namespace PckStudio.Forms
if (radioButtonCommunity.Checked == true)
{
loadDirectory = hosturl + "pckCenterCommunity.txt";
if (new WebClient().DownloadString(loadDirectory) != " ")
if(isVita)
loadDirectory = hosturl + "pckCenterVitaCommunity.txt";
if (!string.IsNullOrWhiteSpace(new WebClient().DownloadString(loadDirectory)))
{
reload(communityLoaded);
communityLoaded = false;
@@ -261,7 +272,7 @@ namespace PckStudio.Forms
bmp = (Bitmap)Image.FromStream(memStream);
}
PckPreview pckPreview = new PckPreview(pckName, author, desc, direct, ad, bmp, 1, mod, loadCollectdion);
PckPreview pckPreview = new PckPreview(pckName, author, desc, direct, ad, bmp, 1, mod, loadCollectdion, PSVitaPCKCheckbox.Checked, "");
pckLayout.Controls.Add(pckPreview);
}
pckLayout.Enabled = true;
@@ -272,7 +283,9 @@ namespace PckStudio.Forms
if (radioButtonAll.Checked == true)
{
loadDirectory = hosturl + "pckCenterList.txt";
if (new WebClient().DownloadString(loadDirectory) != " ")
if (isVita)
loadDirectory = hosturl + "pckCenterVitaList.txt";
if (!string.IsNullOrWhiteSpace(new WebClient().DownloadString(loadDirectory)))
{
reload(nobleLoaded);
nobleLoaded = false;
@@ -321,7 +334,10 @@ namespace PckStudio.Forms
private void buttonSubmit_Click(object sender, EventArgs e)
{
if(!isVita)
System.Diagnostics.Process.Start("mailto:phoenixarc.canarynotifs@gmail.com?subject=PCK%20Submission&body=Pack%20name(%E3%83%91%E3%83%83%E3%82%AF%E5%90%8D)%3A%0A%0Aauthor(%E8%91%97%E8%80%85)%3A%0A%0Adescription(%E8%AA%AC%E6%98%8E)%3A%0A%0Aimage(%E7%94%BB%E5%83%8F)%3A");
if(isVita)
System.Diagnostics.Process.Start("mailto:phoenixarc.canarynotifs@gmail.com?subject=PCK%20Submission--Vita--&body=Pack%20name(%E3%83%91%E3%83%83%E3%82%AF%E5%90%8D)%3A%0A%0Aauthor(%E8%91%97%E8%80%85)%3A%0A%0Adescription(%E8%AA%AC%E6%98%8E)%3A%0A%0Aimage(%E7%94%BB%E5%83%8F)%3A%3A%0A%0APack%20To%20Replace%3A%0A%0A");
}
private void radioButtonTex_CheckedChanged(object sender, EventArgs e)
@@ -329,7 +345,9 @@ namespace PckStudio.Forms
if (radioButtonTex.Checked == true)
{
loadDirectory = hosturl + "pckCenterTex.txt";
if (new WebClient().DownloadString(loadDirectory) != " ")
if (isVita)
loadDirectory = hosturl + "pckCenterVitaTex.txt";
if (!string.IsNullOrWhiteSpace(new WebClient().DownloadString(loadDirectory)))
{
reload(TexLoaded);
TexLoaded = false;
@@ -337,6 +355,30 @@ namespace PckStudio.Forms
else { MessageBox.Show("No Packs Avaliable!"); }
}
}
private void PSVitaPCKCheckbox_CheckedChanged(object sender, EventArgs e)
{
isVita = PSVitaPCKCheckbox.Checked;
nobleLoaded = true;
newLoaded = true;
devPicksLoaded = true;
communityLoaded = true;
TexLoaded = true;
radioButtonAll.Checked = true;
loadDirectory = hosturl + "pckCenterList.txt";
if (isVita)
loadDirectory = hosturl + "pckCenterVitaList.txt";
if (!string.IsNullOrWhiteSpace(new WebClient().DownloadString(loadDirectory)))
{
reload(nobleLoaded);
nobleLoaded = false;
}
else { MessageBox.Show("No Packs Avaliable!"); }
}
}
public class PckPreview : UserControl
@@ -348,6 +390,8 @@ namespace PckStudio.Forms
string ad;
int mode;
string mod;
bool IsVita;
string Pack;
Bitmap icon;
@@ -356,7 +400,7 @@ namespace PckStudio.Forms
MyTablePanel layout = new MyTablePanel();
MethodInvoker reloader;
public PckPreview(string name, string author, string desc, string direct, string ad, Bitmap icon, int mode, string mod, MethodInvoker Reloader) : base()
public PckPreview(string name, string author, string desc, string direct, string ad, Bitmap icon, int mode, string mod, MethodInvoker Reloader, bool vita, string packName) : base()
{
this.reloader = Reloader;
nameLabel.parentPreview = this;
@@ -369,6 +413,8 @@ namespace PckStudio.Forms
this.mode = mode;
this.mod = mod;
this.icon = icon;
this.IsVita = vita;
this.Pack = packName;
layout.BackColor = Color.White;
this.Size = new Size(250, 280);
nameLabel.Dock = DockStyle.Fill;
@@ -407,9 +453,10 @@ namespace PckStudio.Forms
}
public void onClick()
{
layout.BackColor = Color.Gray;
layout.Refresh();
pckCenterOpen openPck = new pckCenterOpen(name, author, desc, direct, ad, icon, mode, mod, reloader);
pckCenterOpen openPck = new pckCenterOpen(name, author, desc, direct, ad, icon, mode, mod, reloader, IsVita, Pack);
openPck.ShowDialog();
}
public void onDoubleClick()

View File

@@ -117,50 +117,194 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="buttonSubmit.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 500</value>
</data>
<data name="radioButtonAll.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 194</value>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
<value>1</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="radioButtonAll.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="pictureBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 185</value>
</data>
<data name="radioButtonNew.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="&gt;&gt;radioButtonNew.Name" xml:space="preserve">
<value>radioButtonNew</value>
</data>
<data name="&gt;&gt;radioButtonDevPicks.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="tableLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value>
</data>
<data name="radioButtonCommunity.Appearance" type="System.Windows.Forms.Appearance, System.Windows.Forms">
<data name="radioButtonMine.Appearance" type="System.Windows.Forms.Appearance, System.Windows.Forms">
<value>Button</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="pckLayout.AutoScroll" type="System.Boolean, mscorlib">
<value>True</value>
<data name="radioButtonMine.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="&gt;&gt;panel1.Name" xml:space="preserve">
<value>panel1</value>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="radioButtonMine.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
</data>
<data name="tableLayoutPanel2.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
<data name="radioButtonMine.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 398</value>
</data>
<data name="radioButtonMine.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="radioButtonMine.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 45</value>
</data>
<data name="radioButtonMine.TabIndex" type="System.Int32, mscorlib">
<value>13</value>
</data>
<data name="radioButtonMine.Text" xml:space="preserve">
<value>My Collection</value>
</data>
<data name="&gt;&gt;radioButtonMine.Name" xml:space="preserve">
<value>radioButtonMine</value>
</data>
<data name="&gt;&gt;radioButtonMine.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;radioButtonMine.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;radioButtonMine.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="radioButtonDevPicks.Appearance" type="System.Windows.Forms.Appearance, System.Windows.Forms">
<value>Button</value>
</data>
<data name="radioButtonDevPicks.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="radioButtonDevPicks.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
</data>
<data name="radioButtonDevPicks.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 296</value>
</data>
<data name="radioButtonDevPicks.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="radioButtonDevPicks.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 45</value>
</data>
<data name="radioButtonDevPicks.TabIndex" type="System.Int32, mscorlib">
<value>12</value>
</data>
<data name="radioButtonDevPicks.Text" xml:space="preserve">
<value>Dev Picks</value>
</data>
<data name="&gt;&gt;radioButtonDevPicks.Name" xml:space="preserve">
<value>radioButtonDevPicks</value>
</data>
<data name="&gt;&gt;contextMenuStripPCK.Name" xml:space="preserve">
<value>contextMenuStripPCK</value>
<data name="&gt;&gt;radioButtonDevPicks.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;radioButtonDevPicks.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;radioButtonDevPicks.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="radioButtonNew.Appearance" type="System.Windows.Forms.Appearance, System.Windows.Forms">
<value>Button</value>
</data>
<data name="radioButtonNew.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="radioButtonNew.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
</data>
<data name="radioButtonNew.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 245</value>
</data>
<data name="radioButtonNew.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="radioButtonNew.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 45</value>
</data>
<data name="radioButtonNew.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="radioButtonNew.Text" xml:space="preserve">
<value>New</value>
</data>
<data name="&gt;&gt;radioButtonNew.Name" xml:space="preserve">
<value>radioButtonNew</value>
</data>
<data name="&gt;&gt;radioButtonNew.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;radioButtonNew.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;radioButtonNew.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="radioButtonAll.Appearance" type="System.Windows.Forms.Appearance, System.Windows.Forms">
<value>Button</value>
</data>
<data name="radioButtonAll.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="radioButtonAll.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
</data>
<data name="radioButtonAll.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 194</value>
</data>
<data name="radioButtonAll.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="radioButtonAll.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 45</value>
</data>
<data name="radioButtonAll.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
</data>
<data name="radioButtonAll.Text" xml:space="preserve">
<value>NoblePCKs</value>
</data>
<data name="&gt;&gt;radioButtonAll.Name" xml:space="preserve">
<value>radioButtonAll</value>
</data>
<data name="&gt;&gt;radioButtonAll.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;radioButtonAll.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;radioButtonAll.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="radioButtonCommunity.Appearance" type="System.Windows.Forms.Appearance, System.Windows.Forms">
<value>Button</value>
</data>
<data name="radioButtonCommunity.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="radioButtonCommunity.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
</data>
<data name="radioButtonCommunity.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 347</value>
</data>
<data name="radioButtonCommunity.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="radioButtonCommunity.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 45</value>
</data>
<data name="radioButtonCommunity.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="radioButtonCommunity.Text" xml:space="preserve">
<value>Community</value>
</data>
<data name="&gt;&gt;radioButtonCommunity.Name" xml:space="preserve">
<value>radioButtonCommunity</value>
</data>
<data name="&gt;&gt;radioButtonCommunity.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;radioButtonCommunity.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;radioButtonCommunity.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="pictureBox1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="pictureBox1.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
@@ -1997,427 +2141,313 @@
nDU2AQAAgLPGJgAAAHDW2AQAAABOevQh/w2VkWR8zwQAigAAAABJRU5ErkJggg==
</value>
</data>
<data name="radioButtonTex.TabIndex" type="System.Int32, mscorlib">
<value>15</value>
</data>
<data name="&gt;&gt;radioButtonMine.Name" xml:space="preserve">
<value>radioButtonMine</value>
</data>
<data name="&gt;&gt;radioButtonNew.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="radioButtonCommunity.Text" xml:space="preserve">
<value>Community</value>
</data>
<data name="radioButtonAll.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
</data>
<data name="radioButtonAll.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="&gt;&gt;pckLayout.Name" xml:space="preserve">
<value>pckLayout</value>
</data>
<data name="tableLayoutPanel2.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="tableLayoutPanel1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="panel1" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Absolute,200,Absolute,610" /&gt;&lt;Rows Styles="Percent,100" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="radioButtonCommunity.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>PCK Center</value>
</data>
<data name="&gt;&gt;radioButtonAll.Name" xml:space="preserve">
<value>radioButtonAll</value>
</data>
<data name="&gt;&gt;radioButtonMine.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="radioButtonTex.Text" xml:space="preserve">
<value>Texture Packs</value>
</data>
<data name="buttonSubmit.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleLeft</value>
</data>
<data name="pictureBox1.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value>
</data>
<data name="exportToolStripMenuItem.Text" xml:space="preserve">
<value>Export</value>
</data>
<data name="&gt;&gt;panel1.Type" xml:space="preserve">
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;pckLayout.Type" xml:space="preserve">
<value>System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;pictureBox1.Name" xml:space="preserve">
<value>pictureBox1</value>
</data>
<data name="tableLayoutPanel2.Location" type="System.Drawing.Point, System.Drawing">
<value>20, 60</value>
</data>
<data name="radioButtonMine.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="&gt;&gt;radioButtonCommunity.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="&gt;&gt;pictureBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="radioButtonAll.Appearance" type="System.Windows.Forms.Appearance, System.Windows.Forms">
<value>Button</value>
</data>
<data name="buttonSubmit.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
</data>
<data name="panel1.Location" type="System.Drawing.Point, System.Drawing">
<value>203, 3</value>
</data>
<data name="&gt;&gt;buttonSubmit.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="&gt;&gt;tableLayoutPanel2.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="radioButtonAll.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 45</value>
</data>
<data name="radioButtonNew.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="pckLayout.Size" type="System.Drawing.Size, System.Drawing">
<value>604, 549</value>
</data>
<data name="tableLayoutPanel1.ColumnCount" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="&gt;&gt;panel1.ZOrder" xml:space="preserve">
<value>1</value>
<data name="pictureBox1.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 185</value>
</data>
<data name="pictureBox1.SizeMode" type="System.Windows.Forms.PictureBoxSizeMode, System.Windows.Forms">
<value>Zoom</value>
</data>
<data name="pckLayout.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
<data name="pictureBox1.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
</data>
<data name="radioButtonDevPicks.TabIndex" type="System.Int32, mscorlib">
<value>12</value>
<data name="&gt;&gt;pictureBox1.Name" xml:space="preserve">
<value>pictureBox1</value>
</data>
<data name="radioButtonAll.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
<data name="&gt;&gt;pictureBox1.Type" xml:space="preserve">
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="radioButtonNew.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
<data name="&gt;&gt;pictureBox1.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;radioButtonAll.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="&gt;&gt;pictureBox1.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="radioButtonNew.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 245</value>
<data name="buttonSubmit.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="exportToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>108, 22</value>
<data name="buttonSubmit.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 12pt</value>
</data>
<data name="radioButtonMine.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 398</value>
<data name="buttonSubmit.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 500</value>
</data>
<data name="tableLayoutPanel2.Size" type="System.Drawing.Size, System.Drawing">
<value>810, 555</value>
<data name="buttonSubmit.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="tableLayoutPanel2.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
<data name="buttonSubmit.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 45</value>
</data>
<data name="radioButtonMine.Appearance" type="System.Windows.Forms.Appearance, System.Windows.Forms">
<value>Button</value>
<data name="buttonSubmit.TabIndex" type="System.Int32, mscorlib">
<value>14</value>
</data>
<data name="contextMenuStripPCK.Size" type="System.Drawing.Size, System.Drawing">
<value>109, 48</value>
<data name="buttonSubmit.Text" xml:space="preserve">
<value>Submit PCK</value>
</data>
<data name="buttonSubmit.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>MiddleLeft</value>
</data>
<data name="&gt;&gt;buttonSubmit.Name" xml:space="preserve">
<value>buttonSubmit</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>pckCenter</value>
<data name="&gt;&gt;buttonSubmit.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="radioButtonCommunity.Size" type="System.Drawing.Size, System.Drawing">
<data name="&gt;&gt;buttonSubmit.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;buttonSubmit.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="radioButtonTex.Appearance" type="System.Windows.Forms.Appearance, System.Windows.Forms">
<value>Button</value>
</data>
<data name="radioButtonTex.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="radioButtonTex.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
</data>
<data name="radioButtonTex.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 449</value>
</data>
<data name="radioButtonTex.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="radioButtonTex.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 45</value>
</data>
<data name="&gt;&gt;pckLayout.ZOrder" xml:space="preserve">
<value>0</value>
<data name="radioButtonTex.TabIndex" type="System.Int32, mscorlib">
<value>15</value>
</data>
<data name="radioButtonMine.TabIndex" type="System.Int32, mscorlib">
<value>13</value>
<data name="radioButtonTex.Text" xml:space="preserve">
<value>Texture Packs</value>
</data>
<data name="&gt;&gt;radioButtonCommunity.Parent" xml:space="preserve">
<data name="&gt;&gt;radioButtonTex.Name" xml:space="preserve">
<value>radioButtonTex</value>
</data>
<data name="&gt;&gt;radioButtonTex.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;radioButtonTex.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;radioButtonTex.ZOrder" xml:space="preserve">
<value>7</value>
</data>
<data name="&gt;&gt;radioButtonTex.Name" xml:space="preserve">
<value>radioButtonTex</value>
</data>
<data name="&gt;&gt;deleteToolStripMenuItem.Name" xml:space="preserve">
<value>deleteToolStripMenuItem</value>
</data>
<data name="$this.MinimumSize" type="System.Drawing.Size, System.Drawing">
<value>850, 588</value>
</data>
<data name="radioButtonNew.Appearance" type="System.Windows.Forms.Appearance, System.Windows.Forms">
<value>Button</value>
</data>
<data name="radioButtonCommunity.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
</data>
<data name="radioButtonMine.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Type" xml:space="preserve">
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="radioButtonNew.Text" xml:space="preserve">
<value>New</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Parent" xml:space="preserve">
<value>tableLayoutPanel2</value>
</data>
<data name="&gt;&gt;panel1.Parent" xml:space="preserve">
<value>tableLayoutPanel2</value>
</data>
<data name="tableLayoutPanel2.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
<value>GrowAndShrink</value>
</data>
<data name="&gt;&gt;pictureBox1.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="radioButtonCommunity.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="radioButtonAll.Text" xml:space="preserve">
<value>NoblePCKs</value>
</data>
<data name="&gt;&gt;tableLayoutPanel2.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="radioButtonMine.Text" xml:space="preserve">
<value>My Collection</value>
</data>
<data name="&gt;&gt;radioButtonCommunity.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
<value>604, 549</value>
</data>
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="radioButtonMine" Row="5" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonDevPicks" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonNew" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonAll" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonCommunity" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="pictureBox1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="buttonSubmit" Row="7" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonTex" Row="6" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Absolute,20" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="radioButtonTex.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 45</value>
</data>
<data name="&gt;&gt;radioButtonCommunity.Name" xml:space="preserve">
<value>radioButtonCommunity</value>
</data>
<data name="radioButtonTex.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="&gt;&gt;radioButtonDevPicks.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;radioButtonTex.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;buttonSubmit.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="radioButtonMine.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
</data>
<data name="&gt;&gt;buttonSubmit.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="radioButtonDevPicks.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 45</value>
</data>
<data name="&gt;&gt;pckLayout.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="radioButtonTex.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
</data>
<data name="&gt;&gt;tableLayoutPanel2.Name" xml:space="preserve">
<value>tableLayoutPanel2</value>
</data>
<data name="&gt;&gt;radioButtonMine.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="&gt;&gt;radioButtonNew.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="radioButtonCommunity.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="&gt;&gt;tableLayoutPanel2.Type" xml:space="preserve">
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="tableLayoutPanel2.ColumnCount" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="tableLayoutPanel2.RowCount" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="buttonSubmit.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="radioButtonDevPicks.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 296</value>
</data>
<data name="tableLayoutPanel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="&gt;&gt;exportToolStripMenuItem.Name" xml:space="preserve">
<value>exportToolStripMenuItem</value>
</data>
<data name="panel1.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="radioButtonNew.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="&gt;&gt;bindingSource1.Type" xml:space="preserve">
<value>System.Windows.Forms.BindingSource, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>MetroFramework.Forms.MetroForm, MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a</value>
</data>
<data name="&gt;&gt;deleteToolStripMenuItem.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="&gt;&gt;radioButtonNew.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="radioButtonTex.Appearance" type="System.Windows.Forms.Appearance, System.Windows.Forms">
<value>Button</value>
</data>
<data name="radioButtonTex.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 449</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
<value>194, 549</value>
</data>
<data name="radioButtonDevPicks.Text" xml:space="preserve">
<value>Dev Picks</value>
</data>
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="&gt;&gt;radioButtonAll.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="radioButtonCommunity.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 347</value>
</data>
<data name="radioButtonDevPicks.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
</data>
<data name="&gt;&gt;bindingSource1.Name" xml:space="preserve">
<value>bindingSource1</value>
</data>
<data name="&gt;&gt;pictureBox1.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="buttonSubmit.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 45</value>
</data>
<data name="radioButtonMine.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 45</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Name" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="deleteToolStripMenuItem.Text" xml:space="preserve">
<value>Delete</value>
</data>
<data name="radioButtonTex.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="&gt;&gt;contextMenuStripPCK.Type" xml:space="preserve">
<value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="radioButtonDevPicks.Appearance" type="System.Windows.Forms.Appearance, System.Windows.Forms">
<value>Button</value>
</data>
<data name="&gt;&gt;radioButtonMine.Type" xml:space="preserve">
<value>System.Windows.Forms.RadioButton, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="deleteToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>108, 22</value>
</data>
<data name="radioButtonDevPicks.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>850, 635</value>
</data>
<data name="buttonSubmit.Font" type="System.Drawing.Font, System.Drawing">
<value>Segoe UI, 12pt</value>
</data>
<data name="&gt;&gt;radioButtonDevPicks.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="buttonSubmit.Padding" type="System.Windows.Forms.Padding, System.Windows.Forms">
<value>15, 0, 0, 0</value>
</data>
<data name="pckLayout.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
<data name="tableLayoutPanel1.Location" type="System.Drawing.Point, System.Drawing">
<value>3, 3</value>
</data>
<data name="tableLayoutPanel1.RowCount" type="System.Int32, mscorlib">
<value>8</value>
</data>
<data name="pictureBox1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<data name="tableLayoutPanel1.Size" type="System.Drawing.Size, System.Drawing">
<value>194, 549</value>
</data>
<data name="tableLayoutPanel1.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Name" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Type" xml:space="preserve">
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.Parent" xml:space="preserve">
<value>tableLayoutPanel2</value>
</data>
<data name="&gt;&gt;tableLayoutPanel1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="tableLayoutPanel1.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="radioButtonMine" Row="5" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonDevPicks" Row="3" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonNew" Row="2" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonAll" Row="1" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonCommunity" Row="4" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="pictureBox1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="buttonSubmit" Row="7" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="radioButtonTex" Row="6" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Percent,100" /&gt;&lt;Rows Styles="AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,AutoSize,0,Absolute,20" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<data name="tableLayoutPanel2.AutoSizeMode" type="System.Windows.Forms.AutoSizeMode, System.Windows.Forms">
<value>GrowAndShrink</value>
</data>
<data name="tableLayoutPanel2.ColumnCount" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="pckLayout.AutoScroll" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="pckLayout.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="pckLayout.Location" type="System.Drawing.Point, System.Drawing">
<value>0, 0</value>
</data>
<data name="buttonSubmit.Text" xml:space="preserve">
<value>Submit PCK</value>
<data name="pckLayout.Size" type="System.Drawing.Size, System.Drawing">
<value>604, 549</value>
</data>
<data name="&gt;&gt;radioButtonTex.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
<data name="pckLayout.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;exportToolStripMenuItem.Type" xml:space="preserve">
<value>System.Windows.Forms.ToolStripMenuItem, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="&gt;&gt;pckLayout.Name" xml:space="preserve">
<value>pckLayout</value>
</data>
<data name="pictureBox1.TabIndex" type="System.Int32, mscorlib">
<value>3</value>
<data name="&gt;&gt;pckLayout.Type" xml:space="preserve">
<value>System.Windows.Forms.FlowLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="radioButtonNew.Size" type="System.Drawing.Size, System.Drawing">
<value>188, 45</value>
<data name="&gt;&gt;pckLayout.Parent" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;radioButtonAll.Parent" xml:space="preserve">
<value>tableLayoutPanel1</value>
</data>
<data name="radioButtonDevPicks.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
<data name="&gt;&gt;pckLayout.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="panel1.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="panel1.Location" type="System.Drawing.Point, System.Drawing">
<value>203, 3</value>
</data>
<data name="panel1.Size" type="System.Drawing.Size, System.Drawing">
<value>604, 549</value>
</data>
<data name="panel1.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="&gt;&gt;panel1.Name" xml:space="preserve">
<value>panel1</value>
</data>
<data name="&gt;&gt;panel1.Type" xml:space="preserve">
<value>System.Windows.Forms.Panel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;panel1.Parent" xml:space="preserve">
<value>tableLayoutPanel2</value>
</data>
<data name="&gt;&gt;panel1.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="tableLayoutPanel2.Dock" type="System.Windows.Forms.DockStyle, System.Windows.Forms">
<value>Fill</value>
</data>
<data name="tableLayoutPanel2.Location" type="System.Drawing.Point, System.Drawing">
<value>20, 60</value>
</data>
<data name="tableLayoutPanel2.RowCount" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="tableLayoutPanel2.Size" type="System.Drawing.Size, System.Drawing">
<value>810, 555</value>
</data>
<data name="tableLayoutPanel2.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="&gt;&gt;tableLayoutPanel2.Name" xml:space="preserve">
<value>tableLayoutPanel2</value>
</data>
<data name="&gt;&gt;tableLayoutPanel2.Type" xml:space="preserve">
<value>System.Windows.Forms.TableLayoutPanel, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;tableLayoutPanel2.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;tableLayoutPanel2.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<data name="tableLayoutPanel2.LayoutSettings" type="System.Windows.Forms.TableLayoutSettings, System.Windows.Forms">
<value>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;TableLayoutSettings&gt;&lt;Controls&gt;&lt;Control Name="tableLayoutPanel1" Row="0" RowSpan="1" Column="0" ColumnSpan="1" /&gt;&lt;Control Name="panel1" Row="0" RowSpan="1" Column="1" ColumnSpan="1" /&gt;&lt;/Controls&gt;&lt;Columns Styles="Absolute,200,Absolute,610" /&gt;&lt;Rows Styles="Percent,100" /&gt;&lt;/TableLayoutSettings&gt;</value>
</data>
<metadata name="contextMenuStripPCK.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>154, 17</value>
</metadata>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="deleteToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>108, 22</value>
</data>
<data name="deleteToolStripMenuItem.Text" xml:space="preserve">
<value>Delete</value>
</data>
<data name="exportToolStripMenuItem.Size" type="System.Drawing.Size, System.Drawing">
<value>108, 22</value>
</data>
<data name="exportToolStripMenuItem.Text" xml:space="preserve">
<value>Export</value>
</data>
<data name="contextMenuStripPCK.Size" type="System.Drawing.Size, System.Drawing">
<value>109, 48</value>
</data>
<data name="&gt;&gt;contextMenuStripPCK.Name" xml:space="preserve">
<value>contextMenuStripPCK</value>
</data>
<data name="&gt;&gt;contextMenuStripPCK.Type" xml:space="preserve">
<value>System.Windows.Forms.ContextMenuStrip, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>188, 17</value>
</metadata>
<data name="PSVitaPCKCheckbox.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="PSVitaPCKCheckbox.CheckAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>BottomLeft</value>
</data>
<data name="PSVitaPCKCheckbox.Location" type="System.Drawing.Point, System.Drawing">
<value>717, 42</value>
</data>
<data name="PSVitaPCKCheckbox.Size" type="System.Drawing.Size, System.Drawing">
<value>110, 15</value>
</data>
<data name="PSVitaPCKCheckbox.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="PSVitaPCKCheckbox.Text" xml:space="preserve">
<value>PS4/PSVita PCKs</value>
</data>
<data name="&gt;&gt;PSVitaPCKCheckbox.Name" xml:space="preserve">
<value>PSVitaPCKCheckbox</value>
</data>
<data name="&gt;&gt;PSVitaPCKCheckbox.Type" xml:space="preserve">
<value>MetroFramework.Controls.MetroCheckBox, MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a</value>
</data>
<data name="&gt;&gt;PSVitaPCKCheckbox.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;PSVitaPCKCheckbox.ZOrder" xml:space="preserve">
<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>
<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>850, 635</value>
</data>
<data name="$this.MinimumSize" type="System.Drawing.Size, System.Drawing">
<value>850, 588</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>PCK Center</value>
</data>
<data name="&gt;&gt;deleteToolStripMenuItem.Name" xml:space="preserve">
<value>deleteToolStripMenuItem</value>
</data>
<data name="&gt;&gt;deleteToolStripMenuItem.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="&gt;&gt;exportToolStripMenuItem.Name" xml:space="preserve">
<value>exportToolStripMenuItem</value>
</data>
<data name="&gt;&gt;exportToolStripMenuItem.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="&gt;&gt;bindingSource1.Name" xml:space="preserve">
<value>bindingSource1</value>
</data>
<data name="&gt;&gt;bindingSource1.Type" xml:space="preserve">
<value>System.Windows.Forms.BindingSource, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>pckCenter</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>MetroFramework.Forms.MetroForm, MetroFramework, Version=1.4.0.0, Culture=neutral, PublicKeyToken=5f91a84759bf584a</value>
</data>
</root>

View File

@@ -30,8 +30,10 @@ namespace PckStudio.Forms
string mod;
string appData = System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "/PCK Studio/";
MethodInvoker reloader;
bool IsVita;
string Pack;
public pckCenterOpen(string name, string authorIn, string descIn, string directIn, string adIn, Bitmap display, int mode, string mod, MethodInvoker reloader)
public pckCenterOpen(string name, string authorIn, string descIn, string directIn, string adIn, Bitmap display, int mode, string mod, MethodInvoker reloader, bool Vita, string PackName)
{
InitializeComponent();
pictureBoxDisplay.Image = display;
@@ -46,6 +48,8 @@ namespace PckStudio.Forms
desc = descIn;
direct = directIn;
ad = adIn;
IsVita = Vita;
Pack = PackName;
}
private void pckCenterOpen_Load(object sender, EventArgs e)
@@ -78,9 +82,22 @@ namespace PckStudio.Forms
buttonExport.Visible = true;
buttonDirect.Visible = false;
}
if (IsVita)
{
buttonBedrock.Visible = false;
buttonDelete.Visible = false;
buttonExport.Visible = false;
buttonInstallPs3.Visible = false;
buttonInstallXbox.Visible = false;
buttonInstallWiiU.Visible = false;
}
labelName.Text = name;
labelDesc.Text = desc;
if(IsVita)
labelDesc.Text += "\nPS4 / PSVita PCK";
if(IsVita)
labelDesc.Text += "\nPack: " + Pack;
labelDesc.Text += Environment.NewLine + Environment.NewLine + "Creator: " + author;
}

View File

@@ -117,21 +117,9 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="buttonBedrock.Text" xml:space="preserve">
<value>Bedrockに変換</value>
</data>
<data name="buttonDelete.Text" xml:space="preserve">
<value>削除</value>
</data>
<data name="buttonDirect.Text" xml:space="preserve">
<value>コレクションにダウンロード</value>
</data>
<data name="buttonExport.Text" xml:space="preserve">
<value>取得する</value>
</data>
<data name="labelDesc.Text" xml:space="preserve">
<value>ラベルの説明</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="labelName.Size" type="System.Drawing.Size, System.Drawing">
<value>134, 31</value>
@@ -139,4 +127,16 @@
<data name="labelName.Text" xml:space="preserve">
<value>スキンパック</value>
</data>
<data name="labelDesc.Text" xml:space="preserve">
<value>ラベルの説明</value>
</data>
<data name="buttonDelete.Text" xml:space="preserve">
<value>削除</value>
</data>
<data name="buttonExport.Text" xml:space="preserve">
<value>取得する</value>
</data>
<data name="buttonBedrock.Text" xml:space="preserve">
<value>Bedrockに変換</value>
</data>
</root>

View File

@@ -137,8 +137,8 @@
<data name="buttonDelete.Text" xml:space="preserve">
<value>Delete</value>
</data>
<data name="&gt;&gt;buttonInstallWiiU.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="&gt;&gt;pictureBoxDisplay.Name" xml:space="preserve">
<value>pictureBoxDisplay</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="buttonInstallXbox.BackgroundImageLayout" type="System.Windows.Forms.ImageLayout, System.Windows.Forms">
@@ -150,9 +150,6 @@
<data name="&gt;&gt;pictureBoxDisplay.Type" xml:space="preserve">
<value>System.Windows.Forms.PictureBox, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;buttonBedrock.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="&gt;&gt;buttonInstallPs3.Parent" xml:space="preserve">
<value>$this</value>
</data>
@@ -165,8 +162,11 @@
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>pckCenterOpen</value>
</data>
<data name="&gt;&gt;pictureBoxDisplay.Parent" xml:space="preserve">
<value>$this</value>
<data name="&gt;&gt;buttonBedrock.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="buttonInstallPs3.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="buttonBedrock.Text" xml:space="preserve">
<value>Convert to Bedrock</value>
@@ -195,8 +195,8 @@
<data name="buttonInstallWiiU.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
<data name="buttonInstallPs3.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
<data name="pictureBoxDisplay.Size" type="System.Drawing.Size, System.Drawing">
<value>341, 341</value>
</data>
<data name="labelDesc.Location" type="System.Drawing.Point, System.Drawing">
<value>384, 64</value>
@@ -210,9 +210,6 @@
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterParent</value>
</data>
<data name="pictureBoxDisplay.Size" type="System.Drawing.Size, System.Drawing">
<value>341, 341</value>
</data>
<data name="buttonExport.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
</data>
@@ -234,9 +231,6 @@
<data name="labelName.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<data name="pictureBoxDisplay.Location" type="System.Drawing.Point, System.Drawing">
<value>24, 64</value>
</data>
<data name="&gt;&gt;buttonInstallXbox.Parent" xml:space="preserve">
<value>$this</value>
</data>
@@ -246,6 +240,9 @@
<data name="&gt;&gt;buttonInstallXbox.Name" xml:space="preserve">
<value>buttonInstallXbox</value>
</data>
<data name="&gt;&gt;buttonDelete.Name" xml:space="preserve">
<value>buttonDelete</value>
</data>
<data name="buttonExport.FlatStyle" type="System.Windows.Forms.FlatStyle, System.Windows.Forms">
<value>Flat</value>
</data>
@@ -270,11 +267,14 @@
<data name="buttonDirect.Location" type="System.Drawing.Point, System.Drawing">
<value>568, 362</value>
</data>
<data name="&gt;&gt;buttonInstallWiiU.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="&gt;&gt;buttonInstallWiiU.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;buttonDelete.Name" xml:space="preserve">
<value>buttonDelete</value>
<data name="pictureBoxDisplay.Location" type="System.Drawing.Point, System.Drawing">
<value>24, 64</value>
</data>
<data name="buttonDirect.Visible" type="System.Boolean, mscorlib">
<value>False</value>
@@ -288,9 +288,6 @@
<data name="&gt;&gt;buttonInstallPs3.Name" xml:space="preserve">
<value>buttonInstallPs3</value>
</data>
<data name="&gt;&gt;pictureBoxDisplay.Name" xml:space="preserve">
<value>pictureBoxDisplay</value>
</data>
<data name="&gt;&gt;labelName.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
@@ -348,8 +345,8 @@
<data name="buttonExport.Size" type="System.Drawing.Size, System.Drawing">
<value>45, 30</value>
</data>
<data name="&gt;&gt;buttonInstallPs3.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<data name="&gt;&gt;pictureBoxDisplay.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="labelDesc.Font" type="System.Drawing.Font, System.Drawing">
<value>Microsoft Sans Serif, 12pt</value>
@@ -378,6 +375,9 @@
<data name="labelName.Location" type="System.Drawing.Point, System.Drawing">
<value>24, 24</value>
</data>
<data name="&gt;&gt;buttonInstallPs3.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="buttonInstallXbox.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
</data>
@@ -429,7 +429,4 @@
<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>

View File

@@ -60,10 +60,10 @@
<ApplicationIcon>Sin_titulo991.ico</ApplicationIcon>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
<SignAssembly>false</SignAssembly>
</PropertyGroup>
<PropertyGroup>
<AssemblyOriginatorKeyFile>CommunityKey.snk</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>PCKStudio.pfx</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup>
<SignManifests>false</SignManifests>

View File

@@ -312,7 +312,7 @@ namespace PckStudio.Properties {
/// <summary>
/// Looks up a localized string similar to http://nobledez.ga/
///http://www.pckstudio.tk/.
///http://www.pckstudio.xyz/.
/// </summary>
internal static string settings {
get {

View File

@@ -1,2 +1,2 @@
http://nobledez.ga/
http://www.pckstudio.tk/
http://www.pckstudio.xyz/

View File

@@ -86,8 +86,8 @@ namespace nobleUpdater
Application.Exit();
}
private string serverFile = "http://www.pckstudio.tk/programs/PCKSTUDIO_Update.exe";
private string ServerXML = "http://www.pckstudio.tk/studio/PCK/update.xml";
private string serverFile = "http://www.pckstudio.xyz/programs/PCKSTUDIO_Update.exe";
private string ServerXML = "http://www.pckstudio.xyz/studio/PCK/update.xml";
private string appData = Environment.GetFolderPath(Environment.SpecialFolder.Personal) + "\\PCK Studio\\";
@@ -99,7 +99,7 @@ namespace nobleUpdater
private void FormMain_Load(object sender, EventArgs e)
{
Console.WriteLine(new WebClient().DownloadString(new Uri("http://www.pckstudio.tk/studio/PCK/update.xml")));
Console.WriteLine(new WebClient().DownloadString(new Uri("http://www.pckstudio.xyz/studio/PCK/update.xml")));
downloadUpdate();
}