Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
using PluginContracts;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Windows.Forms;
|
2019-07-16 21:35:21 +00:00
|
|
|
|
using Toolbox.Library;
|
|
|
|
|
using Toolbox.Library.Forms;
|
|
|
|
|
using Toolbox.Library.IO;
|
2019-05-15 01:43:37 +00:00
|
|
|
|
using FirstPlugin.Forms;
|
2019-07-22 19:06:49 +00:00
|
|
|
|
using FirstPlugin.LuigisMansion.DarkMoon;
|
2019-10-27 14:48:16 +00:00
|
|
|
|
using FirstPlugin.LuigisMansion3;
|
Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
|
|
|
|
|
namespace FirstPlugin
|
|
|
|
|
{
|
|
|
|
|
public class FirstPlugin : IPlugin
|
|
|
|
|
{
|
|
|
|
|
private static FirstPlugin _instance;
|
|
|
|
|
public static FirstPlugin Instance { get { return _instance == null ? _instance = new FirstPlugin() : _instance; } }
|
|
|
|
|
public static string executableDir;
|
|
|
|
|
|
|
|
|
|
#region IPlugin Members
|
|
|
|
|
|
|
|
|
|
private string name;
|
|
|
|
|
public string Name
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return "First Plugin";
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
this.Name = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string author;
|
|
|
|
|
public string Author
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return "KXG";
|
|
|
|
|
}
|
|
|
|
|
set
|
|
|
|
|
{
|
|
|
|
|
this.name = value;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string Description
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return "A cool plugin";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string Version
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
return "1.0";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public Type[] Types
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
List<Type> types = new List<Type>();
|
|
|
|
|
foreach (Type T in LoadFileFormats())
|
|
|
|
|
types.Add(T);
|
2019-07-01 19:44:19 +00:00
|
|
|
|
foreach (Type T in LoadCompressionFormats())
|
|
|
|
|
types.Add(T);
|
Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
foreach (Type T in LoadMenus())
|
|
|
|
|
types.Add(T);
|
|
|
|
|
|
|
|
|
|
return types.ToArray();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
public void Load()
|
|
|
|
|
{
|
|
|
|
|
Config.StartupFromFile(Runtime.ExecutableDir + "/Lib/Plugins/config.xml");
|
|
|
|
|
}
|
|
|
|
|
public void Unload()
|
|
|
|
|
{
|
|
|
|
|
PluginRuntime.bntxContainers.Clear();
|
|
|
|
|
}
|
|
|
|
|
|
2019-06-19 22:58:36 +00:00
|
|
|
|
class MenuExt : IMenuExtension
|
2019-06-06 21:57:55 +00:00
|
|
|
|
{
|
|
|
|
|
public STToolStripItem[] FileMenuExtensions => null;
|
|
|
|
|
public STToolStripItem[] ToolsMenuExtensions => toolsExt;
|
|
|
|
|
public STToolStripItem[] TitleBarExtensions => null;
|
|
|
|
|
|
2019-08-10 23:20:39 +00:00
|
|
|
|
readonly STToolStripItem[] toolsExt = new STToolStripItem[3];
|
2020-03-18 16:30:45 +00:00
|
|
|
|
|
2019-06-19 22:58:36 +00:00
|
|
|
|
public MenuExt()
|
2019-06-06 21:57:55 +00:00
|
|
|
|
{
|
2019-06-19 22:58:36 +00:00
|
|
|
|
toolsExt[0] = new STToolStripItem("Super Mario Odyssey");
|
2019-07-13 14:56:21 +00:00
|
|
|
|
toolsExt[0].DropDownItems.Add(new STToolStripItem(" Kingdom Selector", OpenKingdomSelector));
|
2019-06-19 22:58:36 +00:00
|
|
|
|
toolsExt[0].DropDownItems.Add(new STToolStripItem(" Costume Selector", OpenSelector));
|
|
|
|
|
|
|
|
|
|
toolsExt[1] = new STToolStripItem("Mario Kart 8");
|
|
|
|
|
toolsExt[1].DropDownItems.Add(new STToolStripItem("Probe Light Converter", GenerateProbeLightBounds));
|
2019-08-10 01:33:26 +00:00
|
|
|
|
|
2019-08-10 23:20:39 +00:00
|
|
|
|
toolsExt[2] = new STToolStripItem("Breath Of The Wild");
|
|
|
|
|
toolsExt[2].DropDownItems.Add(new STToolStripItem("Actor Editor", ActorEditor));
|
2019-11-27 00:54:59 +00:00
|
|
|
|
|
|
|
|
|
toolsExt[1] = new STToolStripItem("Pokemon Sword/Shield");
|
|
|
|
|
toolsExt[1].DropDownItems.Add(new STToolStripItem("Pokemon Loader", PokemonLoaderSwSh));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void PokemonLoaderSwSh(object sender, EventArgs args)
|
|
|
|
|
{
|
|
|
|
|
if (!System.IO.Directory.Exists(Runtime.PkSwShGamePath))
|
|
|
|
|
{
|
|
|
|
|
var result = MessageBox.Show("Please set your Pokemon Sword/Shield game path!");
|
|
|
|
|
if (result == DialogResult.OK)
|
|
|
|
|
{
|
|
|
|
|
FolderSelectDialog ofd = new FolderSelectDialog();
|
|
|
|
|
if (ofd.ShowDialog() == DialogResult.OK)
|
|
|
|
|
{
|
|
|
|
|
Runtime.PkSwShGamePath = ofd.SelectedPath;
|
|
|
|
|
Config.Save();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
PokemonLoaderSwShForm form = new PokemonLoaderSwShForm();
|
|
|
|
|
if (form.ShowDialog() == DialogResult.OK) {
|
|
|
|
|
if (form.SelectedPokemon != string.Empty)
|
|
|
|
|
{
|
|
|
|
|
string path = $"{Runtime.PkSwShGamePath}/bin/archive/pokemon/{form.SelectedPokemon}";
|
|
|
|
|
if (System.IO.File.Exists(path)) {
|
|
|
|
|
var file = STFileLoader.OpenFileFormat(path);
|
|
|
|
|
|
|
|
|
|
var currentForm = Runtime.MainForm.ActiveMdiChild;
|
|
|
|
|
if (currentForm != null && currentForm is ObjectEditor &&
|
|
|
|
|
Runtime.AddFilesToActiveObjectEditor)
|
|
|
|
|
{
|
|
|
|
|
ObjectEditor editor = currentForm as ObjectEditor;
|
|
|
|
|
editor.AddIArchiveFile(file);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
ObjectEditor editor = new ObjectEditor();
|
|
|
|
|
editor.AddIArchiveFile(file);
|
|
|
|
|
LibraryGUI.CreateMdiWindow(editor);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-08-10 01:33:26 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void ActorEditor(object sender, EventArgs args)
|
|
|
|
|
{
|
2019-08-11 00:52:58 +00:00
|
|
|
|
UKing.Actors.BotwActorLoader actorEditor = new UKing.Actors.BotwActorLoader();
|
2019-06-06 21:57:55 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-07-13 14:56:21 +00:00
|
|
|
|
private void OpenKingdomSelector(object sender, EventArgs args)
|
|
|
|
|
{
|
|
|
|
|
SceneSelector sceneSelect = new SceneSelector();
|
|
|
|
|
sceneSelect.LoadDictionary(SMO_Scene.OdysseyStages);
|
|
|
|
|
if (sceneSelect.ShowDialog() == DialogResult.OK)
|
|
|
|
|
SMO_Scene.LoadStage(sceneSelect.SelectedFile);
|
|
|
|
|
}
|
|
|
|
|
|
2019-06-06 21:57:55 +00:00
|
|
|
|
private void GenerateProbeLightBounds(object sender, EventArgs args) {
|
|
|
|
|
AAMP.GenerateProbeBoundings();
|
|
|
|
|
}
|
Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
|
|
|
|
|
private void OpenSelector(object sender, EventArgs args)
|
|
|
|
|
{
|
2019-05-15 01:43:37 +00:00
|
|
|
|
if (System.IO.Directory.Exists(Runtime.SmoGamePath))
|
|
|
|
|
{
|
|
|
|
|
OpenCostumeDialog(Runtime.SmoGamePath);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
var result = MessageBox.Show("Please set your Mario Odyssey game path!");
|
|
|
|
|
if (result == DialogResult.OK)
|
|
|
|
|
{
|
|
|
|
|
FolderSelectDialog ofd = new FolderSelectDialog();
|
|
|
|
|
if (ofd.ShowDialog() == DialogResult.OK)
|
|
|
|
|
{
|
|
|
|
|
Runtime.SmoGamePath = ofd.SelectedPath;
|
2019-05-16 00:54:00 +00:00
|
|
|
|
Config.Save();
|
2019-05-15 01:43:37 +00:00
|
|
|
|
OpenCostumeDialog(Runtime.SmoGamePath);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void OpenCostumeDialog(string GamePath)
|
|
|
|
|
{
|
|
|
|
|
var costumSelector = new OdysseyCostumeSelector(GamePath);
|
|
|
|
|
if (costumSelector.ShowDialog() == DialogResult.OK)
|
|
|
|
|
{
|
|
|
|
|
LoadCostumes(costumSelector.SelectedCostumeName);
|
2019-06-24 19:45:54 +00:00
|
|
|
|
|
|
|
|
|
FrameBfres();
|
2019-05-15 01:43:37 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void LoadCostumes(string fileName)
|
|
|
|
|
{
|
|
|
|
|
editor = null;
|
|
|
|
|
|
|
|
|
|
fileName = System.IO.Path.ChangeExtension(fileName, null);
|
|
|
|
|
|
|
|
|
|
List<string> CostumeNames = new List<string>();
|
|
|
|
|
CostumeNames.Add($"{fileName}.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}Face.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}Eye.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}Head.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}HeadTexture.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}Under.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}HandL.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}HandR.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}HandTexture.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}BodyTexture.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}Shell.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}Tail.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}Hair.szs");
|
|
|
|
|
// CostumeNames.Add($"{fileName}Hakama.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}Skirt.szs");
|
|
|
|
|
// CostumeNames.Add($"{fileName}Poncho.szs");
|
|
|
|
|
CostumeNames.Add($"{fileName}Guitar.szs");
|
|
|
|
|
|
|
|
|
|
foreach (string path in CostumeNames)
|
|
|
|
|
{
|
|
|
|
|
Console.WriteLine("Path = " + path);
|
|
|
|
|
|
|
|
|
|
if (System.IO.File.Exists(path))
|
|
|
|
|
{
|
|
|
|
|
LoadCostume(path);
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
//Load default meshes unless it's these file names
|
|
|
|
|
List<string> ExcludeFileList = new List<string>(new string[] {
|
|
|
|
|
"MarioHack","MarioDot",
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
bool Exluded = ExcludeFileList.Any(path.Contains);
|
Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
|
2019-05-15 01:43:37 +00:00
|
|
|
|
if (Exluded == false)
|
|
|
|
|
{
|
|
|
|
|
string parent = System.IO.Directory.GetParent(path).FullName;
|
|
|
|
|
|
|
|
|
|
if (path.Contains($"{fileName}Face"))
|
|
|
|
|
LoadCostume($"{parent}\\MarioFace.szs");
|
|
|
|
|
else if (path.Contains($"{fileName}Eye"))
|
|
|
|
|
LoadCostume($"{parent}\\MarioEye.szs");
|
|
|
|
|
else if (path.Contains($"{fileName}HeadTexture"))
|
|
|
|
|
LoadCostume($"{parent}\\MarioHeadTexture.szs");
|
|
|
|
|
else if (path.Contains($"{fileName}Head"))
|
|
|
|
|
LoadCostume($"{parent}\\MarioHead.szs");
|
|
|
|
|
else if (path.Contains($"{fileName}HandL"))
|
|
|
|
|
LoadCostume($"{parent}\\MarioHandL.szs");
|
|
|
|
|
else if (path.Contains($"{fileName}HandR"))
|
|
|
|
|
LoadCostume($"{parent}\\MarioHandR.szs");
|
|
|
|
|
else if (path.Contains($"{fileName}HandTexture"))
|
|
|
|
|
LoadCostume($"{parent}\\MarioHandTexture.szs");
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-07-21 18:09:25 +00:00
|
|
|
|
|
|
|
|
|
BfresEditor bfresEditor = (BfresEditor)LibraryGUI.GetActiveContent(typeof(BfresEditor));
|
|
|
|
|
bfresEditor.DisplayAll = true;
|
2019-05-15 01:43:37 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private ObjectEditor editor;
|
2019-06-24 19:45:54 +00:00
|
|
|
|
private BFRES MainCostume = null;
|
2019-05-15 01:43:37 +00:00
|
|
|
|
public void LoadCostume(string fileName)
|
|
|
|
|
{
|
|
|
|
|
List<BFRES> bfresFiles = new List<BFRES>();
|
|
|
|
|
|
|
|
|
|
var FileFormat = STFileLoader.OpenFileFormat(fileName);
|
|
|
|
|
if (FileFormat is SARC)
|
|
|
|
|
{
|
|
|
|
|
foreach (var file in ((SARC)FileFormat).Files)
|
|
|
|
|
{
|
2019-06-29 01:15:23 +00:00
|
|
|
|
string ext = System.IO.Path.GetExtension(file.FileName);
|
2019-05-15 01:43:37 +00:00
|
|
|
|
if (ext == ".bfres")
|
|
|
|
|
{
|
2019-09-15 23:13:01 +00:00
|
|
|
|
bfresFiles.Add((BFRES)STFileLoader.OpenFileFormat(new System.IO.MemoryStream(file.FileData), file.FileName));
|
2019-05-15 01:43:37 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (FileFormat is BFRES)
|
|
|
|
|
bfresFiles.Add((BFRES)FileFormat);
|
|
|
|
|
|
|
|
|
|
if (editor == null)
|
|
|
|
|
{
|
|
|
|
|
editor = new ObjectEditor();
|
2019-07-11 21:22:59 +00:00
|
|
|
|
LibraryGUI.CreateMdiWindow(editor);
|
2019-05-15 01:43:37 +00:00
|
|
|
|
}
|
|
|
|
|
|
2019-06-24 19:45:54 +00:00
|
|
|
|
if (MainCostume == null && bfresFiles.Count > 0)
|
|
|
|
|
MainCostume = bfresFiles[0];
|
|
|
|
|
|
2019-05-15 01:43:37 +00:00
|
|
|
|
foreach (var bfres in bfresFiles)
|
|
|
|
|
{
|
|
|
|
|
editor.AddNode(bfres);
|
|
|
|
|
bfres.LoadEditors(null);
|
|
|
|
|
DiableLoadCheck();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-06-24 19:45:54 +00:00
|
|
|
|
private void FrameBfres()
|
|
|
|
|
{
|
2019-07-11 21:22:59 +00:00
|
|
|
|
BfresEditor bfresEditor = (BfresEditor)LibraryGUI.GetActiveContent(typeof(BfresEditor));
|
2019-06-24 19:45:54 +00:00
|
|
|
|
bfresEditor.FrameCamera(MainCostume.BFRESRender);
|
|
|
|
|
|
|
|
|
|
MainCostume = null;
|
|
|
|
|
}
|
|
|
|
|
|
2019-05-15 01:43:37 +00:00
|
|
|
|
private void DiableLoadCheck()
|
|
|
|
|
{
|
2019-07-11 21:22:59 +00:00
|
|
|
|
BfresEditor bfresEditor = (BfresEditor)LibraryGUI.GetActiveContent(typeof(BfresEditor));
|
2019-05-15 01:43:37 +00:00
|
|
|
|
bfresEditor.IsLoaded = false;
|
2019-06-12 19:57:24 +00:00
|
|
|
|
bfresEditor.DisplayAllDDrawables();
|
Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Type[] LoadMenus()
|
|
|
|
|
{
|
|
|
|
|
List<Type> MenuItems = new List<Type>();
|
2019-08-10 01:33:26 +00:00
|
|
|
|
MenuItems.Add(typeof(MenuExt));
|
Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
return MenuItems.ToArray();
|
|
|
|
|
}
|
2019-07-01 19:44:19 +00:00
|
|
|
|
|
|
|
|
|
private Type[] LoadCompressionFormats()
|
|
|
|
|
{
|
|
|
|
|
List<Type> Formats = new List<Type>();
|
|
|
|
|
return Formats.ToArray();
|
|
|
|
|
}
|
|
|
|
|
|
Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
private Type[] LoadFileFormats()
|
|
|
|
|
{
|
|
|
|
|
List<Type> Formats = new List<Type>();
|
2019-08-08 23:58:14 +00:00
|
|
|
|
Formats.Add(typeof(BFRES));
|
2022-10-08 19:48:40 +00:00
|
|
|
|
Formats.Add(typeof(MT_TEX));
|
|
|
|
|
Formats.Add(typeof(MT_Model));
|
2020-03-18 16:30:45 +00:00
|
|
|
|
Formats.Add(typeof(BCSV));
|
2019-09-23 22:16:50 +00:00
|
|
|
|
Formats.Add(typeof(TVOL));
|
2019-08-04 13:15:34 +00:00
|
|
|
|
Formats.Add(typeof(BTI));
|
|
|
|
|
Formats.Add(typeof(TXE));
|
Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
Formats.Add(typeof(SARC));
|
|
|
|
|
Formats.Add(typeof(BNTX));
|
|
|
|
|
Formats.Add(typeof(BEA));
|
|
|
|
|
Formats.Add(typeof(BYAML));
|
|
|
|
|
Formats.Add(typeof(XTX));
|
2020-02-14 23:25:08 +00:00
|
|
|
|
Formats.Add(typeof(BXFNT));
|
2019-04-22 21:52:21 +00:00
|
|
|
|
Formats.Add(typeof(MSBT));
|
Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
Formats.Add(typeof(BARS));
|
|
|
|
|
Formats.Add(typeof(GFPAK));
|
|
|
|
|
Formats.Add(typeof(NUTEXB));
|
2019-04-25 01:17:29 +00:00
|
|
|
|
Formats.Add(typeof(NUT));
|
2019-08-08 23:58:14 +00:00
|
|
|
|
Formats.Add(typeof(KCL));
|
Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
Formats.Add(typeof(GTXFile));
|
|
|
|
|
Formats.Add(typeof(AAMP));
|
|
|
|
|
Formats.Add(typeof(PTCL));
|
|
|
|
|
Formats.Add(typeof(EFF));
|
2019-04-25 01:17:29 +00:00
|
|
|
|
Formats.Add(typeof(EFCF));
|
2019-05-14 19:12:26 +00:00
|
|
|
|
Formats.Add(typeof(NSP));
|
Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
Formats.Add(typeof(BNSH));
|
|
|
|
|
Formats.Add(typeof(BFSHA));
|
|
|
|
|
Formats.Add(typeof(BFSTM));
|
|
|
|
|
Formats.Add(typeof(BCSTM));
|
|
|
|
|
Formats.Add(typeof(BRSTM));
|
|
|
|
|
Formats.Add(typeof(BFWAV));
|
|
|
|
|
Formats.Add(typeof(BCWAV));
|
|
|
|
|
Formats.Add(typeof(BRWAV));
|
|
|
|
|
Formats.Add(typeof(WAV));
|
|
|
|
|
Formats.Add(typeof(MP3));
|
|
|
|
|
Formats.Add(typeof(OGG));
|
|
|
|
|
Formats.Add(typeof(IDSP));
|
|
|
|
|
Formats.Add(typeof(HPS));
|
|
|
|
|
Formats.Add(typeof(SHARC));
|
|
|
|
|
Formats.Add(typeof(SHARCFB));
|
|
|
|
|
Formats.Add(typeof(NARC));
|
|
|
|
|
Formats.Add(typeof(TMPK));
|
2019-05-13 19:29:40 +00:00
|
|
|
|
Formats.Add(typeof(TEX3DS));
|
2019-05-18 14:06:09 +00:00
|
|
|
|
Formats.Add(typeof(NXARC));
|
2019-05-28 20:11:40 +00:00
|
|
|
|
Formats.Add(typeof(SP2));
|
2019-07-21 00:56:22 +00:00
|
|
|
|
Formats.Add(typeof(SWU));
|
2019-07-21 14:29:54 +00:00
|
|
|
|
Formats.Add(typeof(SPC));
|
2019-07-21 17:25:18 +00:00
|
|
|
|
Formats.Add(typeof(GameDataToc));
|
2019-05-31 23:08:55 +00:00
|
|
|
|
Formats.Add(typeof(NUSHDB));
|
2019-06-13 21:31:35 +00:00
|
|
|
|
Formats.Add(typeof(MKGPDX_PAC));
|
2019-06-14 21:23:02 +00:00
|
|
|
|
Formats.Add(typeof(LZARC));
|
2019-06-19 00:52:09 +00:00
|
|
|
|
Formats.Add(typeof(IGA_PAK));
|
2019-06-19 01:48:18 +00:00
|
|
|
|
Formats.Add(typeof(MKAGPDX_Model));
|
2019-06-20 21:20:06 +00:00
|
|
|
|
Formats.Add(typeof(GFBMDL));
|
2020-05-09 22:26:18 +00:00
|
|
|
|
Formats.Add(typeof(GFBANM));
|
2019-11-27 00:54:59 +00:00
|
|
|
|
Formats.Add(typeof(GFBANMCFG));
|
Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
Formats.Add(typeof(Turbo.Course_MapCamera_bin));
|
2019-06-16 23:35:46 +00:00
|
|
|
|
Formats.Add(typeof(SDF));
|
2019-06-26 16:48:54 +00:00
|
|
|
|
Formats.Add(typeof(IStorage));
|
|
|
|
|
Formats.Add(typeof(NCA));
|
2019-06-30 15:14:51 +00:00
|
|
|
|
Formats.Add(typeof(RARC));
|
2019-07-01 00:29:00 +00:00
|
|
|
|
Formats.Add(typeof(ME01));
|
2019-10-27 14:48:16 +00:00
|
|
|
|
Formats.Add(typeof(LM3_DICT));
|
2019-07-02 21:56:56 +00:00
|
|
|
|
Formats.Add(typeof(LM2_DICT));
|
2019-07-05 01:00:59 +00:00
|
|
|
|
Formats.Add(typeof(GMX));
|
2019-07-11 21:22:59 +00:00
|
|
|
|
Formats.Add(typeof(BMD));
|
|
|
|
|
Formats.Add(typeof(GCDisk));
|
|
|
|
|
Formats.Add(typeof(TPL));
|
2019-07-18 19:58:50 +00:00
|
|
|
|
Formats.Add(typeof(BFTTF));
|
2019-08-16 21:06:34 +00:00
|
|
|
|
Formats.Add(typeof(HedgehogLibrary.PACx));
|
2019-08-03 17:33:02 +00:00
|
|
|
|
Formats.Add(typeof(GAR));
|
2019-07-25 20:49:04 +00:00
|
|
|
|
Formats.Add(typeof(CTXB));
|
2019-08-03 22:18:26 +00:00
|
|
|
|
Formats.Add(typeof(CSAB));
|
|
|
|
|
Formats.Add(typeof(CMB));
|
2019-07-29 18:40:12 +00:00
|
|
|
|
Formats.Add(typeof(G1T));
|
2020-02-07 00:47:32 +00:00
|
|
|
|
Formats.Add(typeof(HyruleWarriors.G1M.G1M));
|
2019-09-01 17:02:48 +00:00
|
|
|
|
Formats.Add(typeof(LayoutBXLYT.Cafe.BFLYT));
|
2019-08-30 22:53:45 +00:00
|
|
|
|
Formats.Add(typeof(LayoutBXLYT.BCLYT));
|
2019-08-31 21:24:05 +00:00
|
|
|
|
Formats.Add(typeof(LayoutBXLYT.BRLYT));
|
2019-09-18 22:23:27 +00:00
|
|
|
|
Formats.Add(typeof(LayoutBXLYT.BFLAN));
|
|
|
|
|
Formats.Add(typeof(LayoutBXLYT.BRLAN));
|
2020-02-12 21:56:16 +00:00
|
|
|
|
Formats.Add(typeof(LayoutBXLYT.BCLAN));
|
2019-08-03 00:08:51 +00:00
|
|
|
|
Formats.Add(typeof(ZSI));
|
2019-08-05 19:38:03 +00:00
|
|
|
|
Formats.Add(typeof(IGZ_TEX));
|
2019-08-06 21:35:18 +00:00
|
|
|
|
Formats.Add(typeof(MOD));
|
|
|
|
|
Formats.Add(typeof(U8));
|
2019-08-08 01:04:44 +00:00
|
|
|
|
Formats.Add(typeof(CTPK));
|
2019-08-09 22:21:16 +00:00
|
|
|
|
Formats.Add(typeof(LINKDATA));
|
|
|
|
|
Formats.Add(typeof(NCCH));
|
|
|
|
|
Formats.Add(typeof(NCSD));
|
|
|
|
|
Formats.Add(typeof(CTR.NCCH.RomFS));
|
2019-08-16 22:07:03 +00:00
|
|
|
|
Formats.Add(typeof(DKCTF.MSBT));
|
2019-08-20 20:52:48 +00:00
|
|
|
|
Formats.Add(typeof(DKCTF.PAK));
|
2019-08-31 01:53:00 +00:00
|
|
|
|
Formats.Add(typeof(WTB));
|
2019-09-06 01:29:43 +00:00
|
|
|
|
Formats.Add(typeof(PKZ));
|
2019-09-10 22:42:48 +00:00
|
|
|
|
Formats.Add(typeof(DARC));
|
|
|
|
|
Formats.Add(typeof(BFLIM));
|
|
|
|
|
Formats.Add(typeof(BCLIM));
|
|
|
|
|
Formats.Add(typeof(DAT_Bayonetta));
|
2019-09-15 23:13:01 +00:00
|
|
|
|
Formats.Add(typeof(XCI));
|
2019-09-22 17:18:05 +00:00
|
|
|
|
Formats.Add(typeof(VIBS));
|
2019-11-10 13:41:17 +00:00
|
|
|
|
Formats.Add(typeof(NLG.StrikersRLT));
|
|
|
|
|
Formats.Add(typeof(NLG.StrikersRLG));
|
|
|
|
|
Formats.Add(typeof(PunchOutWii.PO_DICT));
|
|
|
|
|
Formats.Add(typeof(LM2_ARCADE_Model));
|
|
|
|
|
Formats.Add(typeof(NLG_NLOC));
|
2019-12-08 01:16:13 +00:00
|
|
|
|
Formats.Add(typeof(PCK));
|
2019-11-10 21:24:54 +00:00
|
|
|
|
Formats.Add(typeof(NLG.StrikersSAnim));
|
2020-01-15 21:02:09 +00:00
|
|
|
|
Formats.Add(typeof(APAK));
|
2020-01-15 02:15:37 +00:00
|
|
|
|
Formats.Add(typeof(CtrLibrary.BCH));
|
2020-01-22 22:58:29 +00:00
|
|
|
|
Formats.Add(typeof(LZS));
|
2020-01-29 02:00:03 +00:00
|
|
|
|
Formats.Add(typeof(WTA));
|
2020-02-07 00:47:32 +00:00
|
|
|
|
Formats.Add(typeof(BinGzArchive));
|
2020-02-12 00:19:23 +00:00
|
|
|
|
Formats.Add(typeof(BNR));
|
2021-10-08 20:35:36 +00:00
|
|
|
|
Formats.Add(typeof(PKG));
|
|
|
|
|
Formats.Add(typeof(MTXT));
|
2021-11-02 22:47:10 +00:00
|
|
|
|
Formats.Add(typeof(NKN));
|
2021-11-19 23:03:41 +00:00
|
|
|
|
Formats.Add(typeof(MetroidDreadLibrary.BSMAT));
|
2021-10-08 20:35:36 +00:00
|
|
|
|
|
|
|
|
|
//Formats.Add(typeof(XLINK_FILE));
|
|
|
|
|
|
|
|
|
|
// Formats.Add(typeof(MPBIN));
|
|
|
|
|
// Formats.Add(typeof(HSF));
|
|
|
|
|
// Formats.Add(typeof(ATB));
|
2020-03-10 00:52:54 +00:00
|
|
|
|
|
2020-02-14 23:25:08 +00:00
|
|
|
|
// Formats.Add(typeof(LayoutBXLYT.BLO));
|
2019-11-10 13:41:17 +00:00
|
|
|
|
|
2019-08-27 20:38:06 +00:00
|
|
|
|
// Formats.Add(typeof(MSBP));
|
|
|
|
|
// Formats.Add(typeof(BFGRP));
|
2019-08-04 23:32:14 +00:00
|
|
|
|
|
2019-06-13 21:31:35 +00:00
|
|
|
|
//Unfinished wip formats not ready for use
|
|
|
|
|
if (Runtime.DEVELOPER_DEBUG_MODE)
|
|
|
|
|
{
|
2019-07-31 21:25:41 +00:00
|
|
|
|
Formats.Add(typeof(BFSAR));
|
|
|
|
|
Formats.Add(typeof(GFA));
|
2019-06-13 21:31:35 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
Add files for the new one.
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
2019-03-23 16:55:09 +00:00
|
|
|
|
return Formats.ToArray();
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|