mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-24 21:43:20 +00:00
d1f03b161f
Rework UI from scratch with proper themes and custom controls. MDI windows are now used for workspaces, comparing docs, and multiple usages. Tabs organise multiple workspaces and you can keep mdi windows maximized if you want to only use tabs. Themes currently include dark and white theme but plan to have XML files with list of color and styles Alot of things optimized. UI is very fast and snappy now Dae rigging fixed. Dae bones can be imported. Dae with textures can be imported and exported to a folder Custom sampler editor for sampler data. Texture refs, shader options, params, render info, and basically all material data can be added/removed and edited User data editor Update opengl framework by JuPaHe64 to the newest. Includes an origintation cube, multiple models in a scene, and many improvements Skeleton can be viewed GFPAK with some fixes in saving NUTEXB has proper mip map viewing PTCL Editor (Wii U and Switch). Can edit colors ( Wii U) and view textures. Also EFFN files in smash ultimate can be previewed Files can be associated with the program and opened with on clicking them ASTC textures can be viewed UVs can be viewed. Includes wrap modes and also translating and scaling for some basic edits Textures use a new editor. It includes channel viewing and some new editing options Fixed black textures on some wii u bfres Fixed saving sarcs in sarcs Shortcut keys have been added in. CTRL + S can save the active file in the currently used window Fix more issues with bfres crashing File - New includes BNTX for creating new bntx files from scatch Raw shader binaries can be extracted from bnsh and bfsha. Yuzu and Ryujinx can decompile these Sharc files can have source data previewed and shader programs in XML Aamp v1 and v2 data can be previewed. v1 can be edited and saved atm, v2 will be at a later update Byaml uses it's own editor instead of a seperate window for easy saving within sarcs Archives have a hex viewer Dae exporting greatly improved and can export rigged meshes Scene, shader param, srt, color, and texture pattern animations can all be previewed (in a list) Memory usage is greatly improved Narc (Nitro Archives) can be viewed and extracted. Fixed importing TGA images Support importing ASTC textures for bntx Added in PBR lighting for bfres from my implimentaion in forge Added gradient background for viewport. This can be edited in the settings Added skybox background option for viewport. Can load cubemaps Added grid with customizable cells for viewport. DDS decompression no longer requires Direct X tex. Zlib decompression has been improved for opening files that use it Rigid bones are properly ordered on importing a mesh. May fix some exploding issues. Endianness for KCL can be toggled for saving. Will be set to what it was using orignally Tangents can be filled with a constant value. Will allow them to not cause seams nor flat lighting however normal maps may not work as good Vertex buffers can be added and removed. Also re encoded Parameters now use drop down panels with values for easier editing Reworked the bone editor. Everything for a bone can be fully edited now besides the index, billboard index and parent index which get set automatically Fixed animation scaling for skeletal animations finally! Textures can be loaded in a tab now with thumbnail displaying for easy real time edits while previewing in the viewport Fixed support for audio files to be big endian in BARS Textures for switch now use their own folder. You can easily add textures to this and add textures to bfres that have no bntx. If there are no textures then the bfres will automatically not have one on save. Animations are split into multiple sub sections for switch's material animation for easier access Bfres for wii u has better binary exporting and is fully compatiable with Wexos Toolbox (to and from) Every section can be added in as new for both wii u and switch. Every section can be renamed properly and mostly everything can be edited. (Key frame editing and a more in depth curve editor later) Added option to copy UV channel Bone weights can be previewed Tons of fixes for the switch bfres library with more games working. Splatoon 2 (more work now), BOTW, Kirby Star Allies, and more! Fixed 3.3 Wii U bfres from not opening Wii U Sharcfb files can have shader program data previewed (XML) And possibly alot more things i missed! All this is still experimental but will improve over the next few weeks
170 lines
No EOL
8 KiB
C#
170 lines
No EOL
8 KiB
C#
namespace FirstPlugin
|
|
{
|
|
partial class UserDataParser
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.nameTB = new Switch_Toolbox.Library.Forms.STTextBox();
|
|
this.stLabel1 = new Switch_Toolbox.Library.Forms.STLabel();
|
|
this.typeCB = new Switch_Toolbox.Library.Forms.STComboBox();
|
|
this.stLabel2 = new Switch_Toolbox.Library.Forms.STLabel();
|
|
this.valueTB = new System.Windows.Forms.RichTextBox();
|
|
this.stLabel3 = new Switch_Toolbox.Library.Forms.STLabel();
|
|
this.btnCancel = new Switch_Toolbox.Library.Forms.STButton();
|
|
this.btnOk = new Switch_Toolbox.Library.Forms.STButton();
|
|
this.contentContainer.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// contentContainer
|
|
//
|
|
this.contentContainer.Controls.Add(this.btnOk);
|
|
this.contentContainer.Controls.Add(this.btnCancel);
|
|
this.contentContainer.Controls.Add(this.stLabel3);
|
|
this.contentContainer.Controls.Add(this.valueTB);
|
|
this.contentContainer.Controls.Add(this.stLabel2);
|
|
this.contentContainer.Controls.Add(this.typeCB);
|
|
this.contentContainer.Controls.Add(this.stLabel1);
|
|
this.contentContainer.Controls.Add(this.nameTB);
|
|
this.contentContainer.Size = new System.Drawing.Size(314, 411);
|
|
this.contentContainer.Paint += new System.Windows.Forms.PaintEventHandler(this.contentContainer_Paint);
|
|
this.contentContainer.Controls.SetChildIndex(this.nameTB, 0);
|
|
this.contentContainer.Controls.SetChildIndex(this.stLabel1, 0);
|
|
this.contentContainer.Controls.SetChildIndex(this.typeCB, 0);
|
|
this.contentContainer.Controls.SetChildIndex(this.stLabel2, 0);
|
|
this.contentContainer.Controls.SetChildIndex(this.valueTB, 0);
|
|
this.contentContainer.Controls.SetChildIndex(this.stLabel3, 0);
|
|
this.contentContainer.Controls.SetChildIndex(this.btnCancel, 0);
|
|
this.contentContainer.Controls.SetChildIndex(this.btnOk, 0);
|
|
//
|
|
// nameTB
|
|
//
|
|
this.nameTB.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.nameTB.Location = new System.Drawing.Point(62, 36);
|
|
this.nameTB.Name = "nameTB";
|
|
this.nameTB.Size = new System.Drawing.Size(243, 20);
|
|
this.nameTB.TabIndex = 11;
|
|
//
|
|
// stLabel1
|
|
//
|
|
this.stLabel1.AutoSize = true;
|
|
this.stLabel1.Location = new System.Drawing.Point(9, 39);
|
|
this.stLabel1.Name = "stLabel1";
|
|
this.stLabel1.Size = new System.Drawing.Size(38, 13);
|
|
this.stLabel1.TabIndex = 12;
|
|
this.stLabel1.Text = "Name:";
|
|
//
|
|
// typeCB
|
|
//
|
|
this.typeCB.DropDownStyle = Switch_Toolbox.Library.Forms.STComboBox.STDropDownStyle;
|
|
this.typeCB.FormattingEnabled = true;
|
|
this.typeCB.Location = new System.Drawing.Point(62, 78);
|
|
this.typeCB.Name = "typeCB";
|
|
this.typeCB.Size = new System.Drawing.Size(136, 21);
|
|
this.typeCB.TabIndex = 13;
|
|
//
|
|
// stLabel2
|
|
//
|
|
this.stLabel2.AutoSize = true;
|
|
this.stLabel2.Location = new System.Drawing.Point(9, 81);
|
|
this.stLabel2.Name = "stLabel2";
|
|
this.stLabel2.Size = new System.Drawing.Size(34, 13);
|
|
this.stLabel2.TabIndex = 14;
|
|
this.stLabel2.Text = "Type:";
|
|
//
|
|
// valueTB
|
|
//
|
|
this.valueTB.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
|
| System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.valueTB.BackColor = System.Drawing.Color.White;
|
|
this.valueTB.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
|
this.valueTB.Location = new System.Drawing.Point(12, 118);
|
|
this.valueTB.Name = "valueTB";
|
|
this.valueTB.Size = new System.Drawing.Size(293, 255);
|
|
this.valueTB.TabIndex = 15;
|
|
this.valueTB.Text = "";
|
|
this.valueTB.TextChanged += new System.EventHandler(this.valueTB_TextChanged);
|
|
//
|
|
// stLabel3
|
|
//
|
|
this.stLabel3.AutoSize = true;
|
|
this.stLabel3.Location = new System.Drawing.Point(9, 102);
|
|
this.stLabel3.Name = "stLabel3";
|
|
this.stLabel3.Size = new System.Drawing.Size(134, 13);
|
|
this.stLabel3.TabIndex = 16;
|
|
this.stLabel3.Text = "Values: (Enter one per line)";
|
|
//
|
|
// btnCancel
|
|
//
|
|
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnCancel.Location = new System.Drawing.Point(229, 379);
|
|
this.btnCancel.Name = "btnCancel";
|
|
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
|
this.btnCancel.TabIndex = 17;
|
|
this.btnCancel.Text = "Cancel";
|
|
this.btnCancel.UseVisualStyleBackColor = false;
|
|
//
|
|
// btnOk
|
|
//
|
|
this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.btnOk.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.btnOk.Location = new System.Drawing.Point(148, 379);
|
|
this.btnOk.Name = "btnOk";
|
|
this.btnOk.Size = new System.Drawing.Size(75, 23);
|
|
this.btnOk.TabIndex = 18;
|
|
this.btnOk.Text = "Ok";
|
|
this.btnOk.UseVisualStyleBackColor = false;
|
|
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
|
|
//
|
|
// UserDataParser
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(320, 416);
|
|
this.Name = "UserDataParser";
|
|
this.Text = "User Data";
|
|
this.contentContainer.ResumeLayout(false);
|
|
this.contentContainer.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private Switch_Toolbox.Library.Forms.STTextBox nameTB;
|
|
private Switch_Toolbox.Library.Forms.STLabel stLabel3;
|
|
private System.Windows.Forms.RichTextBox valueTB;
|
|
private Switch_Toolbox.Library.Forms.STLabel stLabel2;
|
|
private Switch_Toolbox.Library.Forms.STComboBox typeCB;
|
|
private Switch_Toolbox.Library.Forms.STLabel stLabel1;
|
|
private Switch_Toolbox.Library.Forms.STButton btnOk;
|
|
private Switch_Toolbox.Library.Forms.STButton btnCancel;
|
|
}
|
|
} |