Commit graph

46 commits

Author SHA1 Message Date
KillzXGaming
8823f54ff6 Fix SP2 sometimes not maping diffuse maps 2019-06-25 17:19:44 -04:00
KillzXGaming
d664a47426 Add big speed and memory improvements to bfres, bntx, and other formats 2019-06-25 14:56:19 -04:00
KillzXGaming
dcfeb6e619 More fixes for bone importing 2019-06-23 09:10:24 -04:00
KillzXGaming
ad3cd6654b Ignore rigid indices for now to fix transform issues 2019-06-14 21:35:09 -04:00
KillzXGaming
74dc1c132c More bone transform fixes 2019-06-12 19:21:05 -04:00
KillzXGaming
c86a7b23ca Ignore rigid indices on rigid bodies, only check if rigiid skinning. 2019-06-12 19:15:54 -04:00
KillzXGaming
18120fa028 Some sampler fixes for odyssey 2019-06-12 16:18:30 -04:00
KillzXGaming
60e77f3dd1 Seperate option to reset color params on import to prevent param data loss when being swapped 2019-06-05 16:15:18 -04:00
KillzXGaming
13b346ddde Display emblem on karts properly 2019-06-04 20:17:19 -04:00
KillzXGaming
f9df905cbc Quick fix for nsmbudx not mapping textures right 2019-05-22 17:37:42 -04:00
KillzXGaming
576da8c6e4 Fix some diffuse colors from pbr 2019-05-16 19:10:01 -04:00
KillzXGaming
df961b511c Mistake fix 2019-05-16 17:41:01 -04:00
KillzXGaming
fbb90ebdfa Improve splatoon 2 texture mapping 2019-05-16 17:40:35 -04:00
KillzXGaming
dbf12e5fdc Load shrink/expand filter modes for switch bfres 2019-05-14 21:56:15 -04:00
KillzXGaming
0b2dd29bae Fix sampler saving and lod options for wii u samplers 2019-05-12 11:26:05 -04:00
KillzXGaming
3c32da00a2 More fixes with switch bones 2019-05-11 11:48:54 -04:00
KillzXGaming
5e50805a94 Generate smooth/rigid index list. Add toggle for the types 2019-05-10 21:08:10 -04:00
KillzXGaming
827e02892a Keep the same depend index for shader params (Fix WWHD crashing) 2019-05-10 17:51:59 -04:00
KillzXGaming
e160f4cdc1 Fix dupe name checking on bones and shapes 2019-05-06 17:32:26 -04:00
KillzXGaming
72579451b8 Fix bone names on import and some import errors 2019-05-06 17:19:07 -04:00
KillzXGaming
e3284f0a84 More fixes with wii u bone importing and updating matricies for custom bones 2019-05-05 18:16:41 -04:00
KillzXGaming
67e96d966a Also reset the bones in the rendered skeleton 2019-04-23 18:24:45 -04:00
KillzXGaming
c5ad630eaa More fixes to bfres proeprties and editor 2019-04-23 15:23:51 -04:00
KillzXGaming
1ec2c26c35 Fix skeleton replacing on wii u 2019-04-01 15:13:30 -04:00
KillzXGaming
01fda68f93 Fix bone issues and skeleton importing 2019-03-27 14:50:33 -04:00
KillzXGaming
cc1f05c1f0 Fix duplicate skeleton folders 2019-03-26 17:14:20 -04:00
KillzXGaming
ddcd0285b3 More fixes
Fixed samplers for switch not mapping properly.
Fixed DDS files exporting mip maps wrong. Would cause them to not import back with size errors.
Fixed bntx alignment causing corrupted textures.
Fixed bfres not opening from null bone indices/unrigged meshes.
2019-03-26 15:24:20 -04:00
KillzXGaming
b00a3805f1 Fix index out of range issue for importing models 2019-03-25 19:07:22 -04:00
KillzXGaming
5edb6d4174 Fix mip map number displaying in properties for bntx textures 2019-03-25 10:17:10 -04:00
KillzXGaming
5264ec4f5d Fix bone indices not saving and bounding radius. 2019-03-25 10:06:12 -04:00
KillzXGaming
233b11a022 Fix bugs related to bones.
Fixed bones not displaying when creating new skeletons.
Fixed importing dae bones not displaying properly in the tree.
Fixed bones not clearing when a model is removed
2019-03-24 11:24:40 -04:00
KillzXGaming
cda5329779 Fix kcl generation from not saving 2019-03-23 17:19:32 -04:00
KillzXGaming
0a53c287b3 Option to reset to T pose, and fix wii u bones 2019-03-23 15:13:54 -04:00
KillzXGaming
792341cfce Fix more issues 2019-03-23 14:41:59 -04:00
KillzXGaming
d1f03b161f 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 12:55:09 -04:00
KillzXGaming
00875d5aec Thanos the old tool. 2019-03-23 12:52:50 -04:00
KillzXGaming
e82d065255 Fix skeletal animation importing/exporting for wii u bfres, 2018-12-10 19:52:58 -05:00
KillzXGaming
716d1c4520 More clean up and additions
- Starting to make all texture classes use STGenericTexture. This will make all functions usable between each one and converting through other classes much easier.
- Many bug fixes to the texture importer like duped texture importing, dds opening the window, index out of range issues, etc.
- Start on titlebar information.
- Start on ASTC texture format support.
- Support TGA images.
- Support FTEX importing and saving properly.
- Export models properly along with textures (with generic classes). Todo, support rigs and bones.
2018-12-10 18:48:51 -05:00
KillzXGaming
d96f4dec43 Cleanup with new open/save methods. Also add gtx rebuilding. 2018-12-04 21:40:03 -05:00
KillzXGaming
307a8832c5 Alot of clean up. 2018-12-02 17:30:46 -05:00
KillzXGaming
f51dd17f94 Many improvements and new formats.
Add in nutexb file format. While not finished, it can preview and export them.
Batch exporting for nuteb (tools menu).
Rework GTX code. This is WIP and not finished.
Add XTX code. Unifnished atm.
Add saving for wii u and include fmat exporting.
Proper error handling for assimp and texture swizzling.
2018-11-27 21:21:31 -05:00
KillzXGaming
b5ba944b69 Cleanup and some optimizations 2018-11-23 15:39:16 -05:00
KillzXGaming
4e1c4a5266 Update library and clean up some things 2018-11-22 19:40:36 -05:00
KillzXGaming
50ea4183ef Tons of stuff!
- Compress BC1 with alpha.
- Add GFPAK rebuilding.
- Fix some lag issues with bntx textures loading
- Fix saving multiple files.
- Support DDS cubemap importing
- Support rigged DAE/FBX files.
- Support animation playing thanks to smash forge.
- Some minor stuff to prepare custom animations.
- Many bug fixes.
2018-11-22 10:20:12 -05:00
KillzXGaming
98bb2c07be Add BFRES cide 2018-11-16 21:08:58 -05:00
KillzXGaming
5b888b98c7 Add file format plugin 2018-11-11 20:51:12 -05:00