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 17:55:09 +01:00
|
|
|
|
using PluginContracts;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Windows.Forms;
|
2019-07-16 23:35:21 +02:00
|
|
|
|
using Toolbox.Library;
|
|
|
|
|
using Toolbox.Library.Forms;
|
|
|
|
|
using Toolbox.Library.IO;
|
2019-05-15 03:43:37 +02:00
|
|
|
|
using FirstPlugin.Forms;
|
2019-07-22 21:06:49 +02:00
|
|
|
|
using FirstPlugin.LuigisMansion.DarkMoon;
|
2019-10-27 15:48:16 +01: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 17:55:09 +01: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 21:44:19 +02: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 17:55:09 +01: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-20 00:58:36 +02:00
|
|
|
|
class MenuExt : IMenuExtension
|
2019-06-06 23:57:55 +02:00
|
|
|
|
{
|
|
|
|
|
public STToolStripItem[] FileMenuExtensions => null;
|
|
|
|
|
public STToolStripItem[] ToolsMenuExtensions => toolsExt;
|
|
|
|
|
public STToolStripItem[] TitleBarExtensions => null;
|
|
|
|
|
|
2019-08-11 01:20:39 +02:00
|
|
|
|
readonly STToolStripItem[] toolsExt = new STToolStripItem[3];
|
2020-03-18 17:30:45 +01:00
|
|
|
|
|
2019-06-20 00:58:36 +02:00
|
|
|
|
public MenuExt()
|
2019-06-06 23:57:55 +02:00
|
|
|
|
{
|
2019-06-20 00:58:36 +02:00
|
|
|
|
toolsExt[0] = new STToolStripItem("Super Mario Odyssey");
|
2019-07-13 16:56:21 +02:00
|
|
|
|
toolsExt[0].DropDownItems.Add(new STToolStripItem(" Kingdom Selector", OpenKingdomSelector));
|
2019-06-20 00:58:36 +02: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 03:33:26 +02:00
|
|
|
|
|
2019-08-11 01:20:39 +02:00
|
|
|
|
toolsExt[2] = new STToolStripItem("Breath Of The Wild");
|
|
|
|
|
toolsExt[2].DropDownItems.Add(new STToolStripItem("Actor Editor", ActorEditor));
|
2019-11-27 01:54:59 +01: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 03:33:26 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private void ActorEditor(object sender, EventArgs args)
|
|
|
|
|
{
|
2019-08-11 02:52:58 +02:00
|
|
|
|
UKing.Actors.BotwActorLoader actorEditor = new UKing.Actors.BotwActorLoader();
|
2019-06-06 23:57:55 +02:00
|
|
|
|
}
|
|
|
|
|
|
2019-07-13 16:56:21 +02: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 23:57:55 +02: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 17:55:09 +01:00
|
|
|
|
|
|
|
|
|
private void OpenSelector(object sender, EventArgs args)
|
|
|
|
|
{
|
2019-05-15 03:43:37 +02: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 02:54:00 +02:00
|
|
|
|
Config.Save();
|
2019-05-15 03:43:37 +02: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 21:45:54 +02:00
|
|
|
|
|
|
|
|
|
FrameBfres();
|
2019-05-15 03:43:37 +02: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 17:55:09 +01:00
|
|
|
|
|
2019-05-15 03:43:37 +02: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 20:09:25 +02:00
|
|
|
|
|
|
|
|
|
BfresEditor bfresEditor = (BfresEditor)LibraryGUI.GetActiveContent(typeof(BfresEditor));
|
|
|
|
|
bfresEditor.DisplayAll = true;
|
2019-05-15 03:43:37 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private ObjectEditor editor;
|
2019-06-24 21:45:54 +02:00
|
|
|
|
private BFRES MainCostume = null;
|
2019-05-15 03:43:37 +02: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 03:15:23 +02:00
|
|
|
|
string ext = System.IO.Path.GetExtension(file.FileName);
|
2019-05-15 03:43:37 +02:00
|
|
|
|
if (ext == ".bfres")
|
|
|
|
|
{
|
2019-09-16 01:13:01 +02:00
|
|
|
|
bfresFiles.Add((BFRES)STFileLoader.OpenFileFormat(new System.IO.MemoryStream(file.FileData), file.FileName));
|
2019-05-15 03:43:37 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (FileFormat is BFRES)
|
|
|
|
|
bfresFiles.Add((BFRES)FileFormat);
|
|
|
|
|
|
|
|
|
|
if (editor == null)
|
|
|
|
|
{
|
|
|
|
|
editor = new ObjectEditor();
|
2019-07-11 23:22:59 +02:00
|
|
|
|
LibraryGUI.CreateMdiWindow(editor);
|
2019-05-15 03:43:37 +02:00
|
|
|
|
}
|
|
|
|
|
|
2019-06-24 21:45:54 +02:00
|
|
|
|
if (MainCostume == null && bfresFiles.Count > 0)
|
|
|
|
|
MainCostume = bfresFiles[0];
|
|
|
|
|
|
2019-05-15 03:43:37 +02:00
|
|
|
|
foreach (var bfres in bfresFiles)
|
|
|
|
|
{
|
|
|
|
|
editor.AddNode(bfres);
|
|
|
|
|
bfres.LoadEditors(null);
|
|
|
|
|
DiableLoadCheck();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2019-06-24 21:45:54 +02:00
|
|
|
|
private void FrameBfres()
|
|
|
|
|
{
|
2019-07-11 23:22:59 +02:00
|
|
|
|
BfresEditor bfresEditor = (BfresEditor)LibraryGUI.GetActiveContent(typeof(BfresEditor));
|
2019-06-24 21:45:54 +02:00
|
|
|
|
bfresEditor.FrameCamera(MainCostume.BFRESRender);
|
|
|
|
|
|
|
|
|
|
MainCostume = null;
|
|
|
|
|
}
|
|
|
|
|
|
2019-05-15 03:43:37 +02:00
|
|
|
|
private void DiableLoadCheck()
|
|
|
|
|
{
|
2019-07-11 23:22:59 +02:00
|
|
|
|
BfresEditor bfresEditor = (BfresEditor)LibraryGUI.GetActiveContent(typeof(BfresEditor));
|
2019-05-15 03:43:37 +02:00
|
|
|
|
bfresEditor.IsLoaded = false;
|
2019-06-12 21:57:24 +02: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 17:55:09 +01:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private Type[] LoadMenus()
|
|
|
|
|
{
|
|
|
|
|
List<Type> MenuItems = new List<Type>();
|
2019-08-10 03:33:26 +02: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 17:55:09 +01:00
|
|
|
|
return MenuItems.ToArray();
|
|
|
|
|
}
|
2019-07-01 21:44:19 +02: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 17:55:09 +01:00
|
|
|
|
private Type[] LoadFileFormats()
|
|
|
|
|
{
|
|
|
|
|
List<Type> Formats = new List<Type>();
|
2019-08-09 01:58:14 +02:00
|
|
|
|
Formats.Add(typeof(BFRES));
|
2020-03-18 17:30:45 +01:00
|
|
|
|
Formats.Add(typeof(BCSV));
|
2019-09-24 00:16:50 +02:00
|
|
|
|
Formats.Add(typeof(TVOL));
|
2019-08-04 15:15:34 +02: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 17:55:09 +01:00
|
|
|
|
Formats.Add(typeof(SARC));
|
|
|
|
|
Formats.Add(typeof(BNTX));
|
|
|
|
|
Formats.Add(typeof(BEA));
|
|
|
|
|
Formats.Add(typeof(BYAML));
|
|
|
|
|
Formats.Add(typeof(XTX));
|
2020-02-15 00:25:08 +01:00
|
|
|
|
Formats.Add(typeof(BXFNT));
|
2019-04-22 23:52:21 +02: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 17:55:09 +01:00
|
|
|
|
Formats.Add(typeof(BARS));
|
|
|
|
|
Formats.Add(typeof(GFPAK));
|
|
|
|
|
Formats.Add(typeof(NUTEXB));
|
2019-04-25 03:17:29 +02:00
|
|
|
|
Formats.Add(typeof(NUT));
|
2019-08-09 01:58:14 +02: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 17:55:09 +01:00
|
|
|
|
Formats.Add(typeof(GTXFile));
|
|
|
|
|
Formats.Add(typeof(AAMP));
|
|
|
|
|
Formats.Add(typeof(PTCL));
|
|
|
|
|
Formats.Add(typeof(EFF));
|
2019-04-25 03:17:29 +02:00
|
|
|
|
Formats.Add(typeof(EFCF));
|
2019-05-14 21:12:26 +02: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 17:55:09 +01: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 21:29:40 +02:00
|
|
|
|
Formats.Add(typeof(TEX3DS));
|
2019-05-18 16:06:09 +02:00
|
|
|
|
Formats.Add(typeof(NXARC));
|
2019-05-28 22:11:40 +02:00
|
|
|
|
Formats.Add(typeof(SP2));
|
2019-07-21 02:56:22 +02:00
|
|
|
|
Formats.Add(typeof(SWU));
|
2019-07-21 16:29:54 +02:00
|
|
|
|
Formats.Add(typeof(SPC));
|
2019-07-21 19:25:18 +02:00
|
|
|
|
Formats.Add(typeof(GameDataToc));
|
2019-06-01 01:08:55 +02:00
|
|
|
|
Formats.Add(typeof(NUSHDB));
|
2019-06-13 23:31:35 +02:00
|
|
|
|
Formats.Add(typeof(MKGPDX_PAC));
|
2019-06-14 23:23:02 +02:00
|
|
|
|
Formats.Add(typeof(LZARC));
|
2019-06-19 02:52:09 +02:00
|
|
|
|
Formats.Add(typeof(IGA_PAK));
|
2019-06-19 03:48:18 +02:00
|
|
|
|
Formats.Add(typeof(MKAGPDX_Model));
|
2019-06-20 23:20:06 +02:00
|
|
|
|
Formats.Add(typeof(GFBMDL));
|
2020-05-10 00:26:18 +02:00
|
|
|
|
Formats.Add(typeof(GFBANM));
|
2019-11-27 01:54:59 +01: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 17:55:09 +01:00
|
|
|
|
Formats.Add(typeof(Turbo.Course_MapCamera_bin));
|
2019-06-17 01:35:46 +02:00
|
|
|
|
Formats.Add(typeof(SDF));
|
2019-06-26 18:48:54 +02:00
|
|
|
|
Formats.Add(typeof(IStorage));
|
|
|
|
|
Formats.Add(typeof(NCA));
|
2019-06-30 17:14:51 +02:00
|
|
|
|
Formats.Add(typeof(RARC));
|
2019-07-01 02:29:00 +02:00
|
|
|
|
Formats.Add(typeof(ME01));
|
2019-10-27 15:48:16 +01:00
|
|
|
|
Formats.Add(typeof(LM3_DICT));
|
2019-07-02 23:56:56 +02:00
|
|
|
|
Formats.Add(typeof(LM2_DICT));
|
2019-07-05 03:00:59 +02:00
|
|
|
|
Formats.Add(typeof(GMX));
|
2019-07-11 23:22:59 +02:00
|
|
|
|
Formats.Add(typeof(BMD));
|
|
|
|
|
Formats.Add(typeof(GCDisk));
|
|
|
|
|
Formats.Add(typeof(TPL));
|
2019-07-18 21:58:50 +02:00
|
|
|
|
Formats.Add(typeof(BFTTF));
|
2019-08-16 23:06:34 +02:00
|
|
|
|
Formats.Add(typeof(HedgehogLibrary.PACx));
|
2019-08-03 19:33:02 +02:00
|
|
|
|
Formats.Add(typeof(GAR));
|
2019-07-25 22:49:04 +02:00
|
|
|
|
Formats.Add(typeof(CTXB));
|
2019-08-04 00:18:26 +02:00
|
|
|
|
Formats.Add(typeof(CSAB));
|
|
|
|
|
Formats.Add(typeof(CMB));
|
2019-07-29 20:40:12 +02:00
|
|
|
|
Formats.Add(typeof(G1T));
|
2020-02-07 01:47:32 +01:00
|
|
|
|
Formats.Add(typeof(HyruleWarriors.G1M.G1M));
|
2019-09-01 19:02:48 +02:00
|
|
|
|
Formats.Add(typeof(LayoutBXLYT.Cafe.BFLYT));
|
2019-08-31 00:53:45 +02:00
|
|
|
|
Formats.Add(typeof(LayoutBXLYT.BCLYT));
|
2019-08-31 23:24:05 +02:00
|
|
|
|
Formats.Add(typeof(LayoutBXLYT.BRLYT));
|
2019-09-19 00:23:27 +02:00
|
|
|
|
Formats.Add(typeof(LayoutBXLYT.BFLAN));
|
|
|
|
|
Formats.Add(typeof(LayoutBXLYT.BRLAN));
|
2020-02-12 22:56:16 +01:00
|
|
|
|
Formats.Add(typeof(LayoutBXLYT.BCLAN));
|
2019-08-03 02:08:51 +02:00
|
|
|
|
Formats.Add(typeof(ZSI));
|
2019-08-05 21:38:03 +02:00
|
|
|
|
Formats.Add(typeof(IGZ_TEX));
|
2019-08-06 23:35:18 +02:00
|
|
|
|
Formats.Add(typeof(MOD));
|
|
|
|
|
Formats.Add(typeof(U8));
|
2019-08-08 03:04:44 +02:00
|
|
|
|
Formats.Add(typeof(CTPK));
|
2019-08-10 00:21:16 +02:00
|
|
|
|
Formats.Add(typeof(LINKDATA));
|
|
|
|
|
Formats.Add(typeof(NCCH));
|
|
|
|
|
Formats.Add(typeof(NCSD));
|
|
|
|
|
Formats.Add(typeof(CTR.NCCH.RomFS));
|
2019-08-17 00:07:03 +02:00
|
|
|
|
Formats.Add(typeof(DKCTF.MSBT));
|
2019-08-20 22:52:48 +02:00
|
|
|
|
Formats.Add(typeof(DKCTF.PAK));
|
2019-08-31 03:53:00 +02:00
|
|
|
|
Formats.Add(typeof(WTB));
|
2019-09-06 03:29:43 +02:00
|
|
|
|
Formats.Add(typeof(PKZ));
|
2019-09-11 00:42:48 +02:00
|
|
|
|
Formats.Add(typeof(DARC));
|
|
|
|
|
Formats.Add(typeof(BFLIM));
|
|
|
|
|
Formats.Add(typeof(BCLIM));
|
|
|
|
|
Formats.Add(typeof(DAT_Bayonetta));
|
2019-09-16 01:13:01 +02:00
|
|
|
|
Formats.Add(typeof(XCI));
|
2019-09-22 19:18:05 +02:00
|
|
|
|
Formats.Add(typeof(VIBS));
|
2019-11-10 14:41:17 +01: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 02:16:13 +01:00
|
|
|
|
Formats.Add(typeof(PCK));
|
2019-11-10 22:24:54 +01:00
|
|
|
|
Formats.Add(typeof(NLG.StrikersSAnim));
|
2020-01-15 22:02:09 +01:00
|
|
|
|
Formats.Add(typeof(APAK));
|
2020-01-15 03:15:37 +01:00
|
|
|
|
Formats.Add(typeof(CtrLibrary.BCH));
|
2020-01-22 23:58:29 +01:00
|
|
|
|
Formats.Add(typeof(LZS));
|
2020-01-29 03:00:03 +01:00
|
|
|
|
Formats.Add(typeof(WTA));
|
2020-02-07 01:47:32 +01:00
|
|
|
|
Formats.Add(typeof(BinGzArchive));
|
2020-02-12 01:19:23 +01:00
|
|
|
|
Formats.Add(typeof(BNR));
|
2021-10-08 22:35:36 +02:00
|
|
|
|
Formats.Add(typeof(PKG));
|
|
|
|
|
Formats.Add(typeof(MTXT));
|
2021-11-02 23:47:10 +01:00
|
|
|
|
Formats.Add(typeof(NKN));
|
2021-11-20 00:03:41 +01:00
|
|
|
|
Formats.Add(typeof(MetroidDreadLibrary.BSMAT));
|
2021-10-08 22:35:36 +02:00
|
|
|
|
|
|
|
|
|
//Formats.Add(typeof(XLINK_FILE));
|
|
|
|
|
|
|
|
|
|
// Formats.Add(typeof(MPBIN));
|
|
|
|
|
// Formats.Add(typeof(HSF));
|
|
|
|
|
// Formats.Add(typeof(ATB));
|
2020-03-10 01:52:54 +01:00
|
|
|
|
|
2020-02-15 00:25:08 +01:00
|
|
|
|
// Formats.Add(typeof(LayoutBXLYT.BLO));
|
2019-11-10 14:41:17 +01:00
|
|
|
|
|
2019-08-27 22:38:06 +02:00
|
|
|
|
// Formats.Add(typeof(MSBP));
|
|
|
|
|
// Formats.Add(typeof(BFGRP));
|
2019-08-05 01:32:14 +02:00
|
|
|
|
|
2019-06-13 23:31:35 +02:00
|
|
|
|
//Unfinished wip formats not ready for use
|
|
|
|
|
if (Runtime.DEVELOPER_DEBUG_MODE)
|
|
|
|
|
{
|
2019-07-31 23:25:41 +02:00
|
|
|
|
Formats.Add(typeof(BFSAR));
|
|
|
|
|
Formats.Add(typeof(GFA));
|
2019-06-13 23:31:35 +02: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 17:55:09 +01:00
|
|
|
|
return Formats.ToArray();
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|