1
0
mirror of synced 2024-11-15 03:27:38 +01:00
Commit Graph

71 Commits

Author SHA1 Message Date
KillzXGaming
ae2e9f2b2f Apply bone transforms for bfres to better optmize custom bone sets 2020-02-14 18:27:18 -05:00
KillzXGaming
946fa08518 BFRES : Fix some more importing bugs
Only align buffers when using a single buffer.
2020-02-11 16:49:27 -05:00
KillzXGaming
cd56a53d0c Fix rigging issue with bfres 2020-02-10 18:45:03 -05:00
KillzXGaming
ede5c62031 More fixes.
Fix loop error for 3DW stage files when creating the string table.
Fix converting yaml so it uses the custom syntax flow/tags.
Fix AAMP version issues for v1.
Add support for loading empty byaml files so data can be added onto them.
Fix bone importing issue with assimp.
2020-02-07 15:50:52 -05:00
KillzXGaming
93aa26efcf Quick bone index fix. 2020-02-07 09:40:43 -05:00
KillzXGaming
d991a23980 Add support for G1M model files. Rewrite some bone properties. 2020-02-06 19:47:32 -05:00
KillzXGaming
c01be70a71 Add dialog to copy skeletal animations 2020-02-02 20:40:26 -05:00
KillzXGaming
86b73ea758 BFRES : Fix converting shader param types to SRT. 2020-01-28 19:04:49 -05:00
KillzXGaming
554c193a48 Some simple sharc fixes for v12 2020-01-27 19:17:05 -05:00
KillzXGaming
6e64b38a79 Check weight counter incase indices are only used for rigging 2020-01-27 19:15:49 -05:00
KillzXGaming
e399ad55f1 Some cleanup 2020-01-27 19:13:58 -05:00
KillzXGaming
4c72e33f0f Limit boneids and weight data based on vertex skin count to prevent explosions 2020-01-27 19:12:33 -05:00
KillzXGaming
056fdb3e1a Add game setting presets to BFRES importing.
These can cause signicant improvement to models with smaller sizes and potentially fix exploding and corruption (ie WWHD, SM3DW). Botw should have fixed crash issues now that the file size is signifcantly lower.
2020-01-27 18:44:03 -05:00
KillzXGaming
a251d5e216 Fix Wii U material visibily animation exporting 2020-01-27 16:18:17 -05:00
KillzXGaming
fd90dfa89d Fix build errors 2020-01-24 21:26:07 -05:00
KillzXGaming
bdf2b625e9 Start to impliment a base for custom bfres renderers 2020-01-14 21:15:37 -05:00
KillzXGaming
100cd88534 Start to add support for BCH 2020-01-14 20:26:51 -05:00
KillzXGaming
f7d674fe18 Start to impliment backend for depth/3D textures 2020-01-14 19:19:02 -05:00
KillzXGaming
65aa3598a2 BFRES : Add JSON/YAML converting with scene animations. 2020-01-12 17:39:47 -05:00
KillzXGaming
7d722ad1f3 BFRES : Fix FSCN file filters 2020-01-05 12:46:25 -05:00
KillzXGaming
e741f3a087 BFRES : Fix scene animation context menus. 2020-01-05 12:40:30 -05:00
KillzXGaming
d7b22029fd BFRES : Improve bounding box calculation 2019-12-27 12:58:27 -05:00
KillzXGaming
72636c7726 Fix old bfres calculating rigid matrices as identity instead of zero. 2019-12-12 19:58:56 -05:00
KillzXGaming
56eecea8d3 Some fixes.
Fix and cleanup repack method for archives.
Fix setting up original mip count (now is a optional setting).
Fixed format and some settings being applied for multiple selected textures.
2019-12-10 16:59:40 -05:00
KillzXGaming
e4722ed1af Alot of additions.
General
- Always allow multiple instances of the tool by default. (UseSingleInstance in config.XML)
- Yaz0 now uses a new library using c code. This improves compression times and is comparable to wzst's yaz0 compressor. Thanks to AboodXD for helping port the code.
- Add flat buffer templates for gfbmdl and gfbanm.
- Redid UV editor. Now using new 2D engine with some improvements. Should work better with mutliple file formats than just bfres.
- Auto compress bfres with .sbfres extension.

BFLYT:
-Add animation reference list to panes if they have any animations.
- Note the animation editor in it is not functional yet.

GFBMDL
- Progress on model importing. Currently crashes on many tests so saving is currently disabled till i figure out why.
- Add new texture map display with UV coordinates shown. Displays how transforms are handled.
- Add option to export materials and models entirely as .json files.

DAE
- improve bone/joint check.
2019-12-07 20:16:13 -05:00
KillzXGaming
4de9f3eca7 BFRES Wii U : Fix updating bone order from updating dictionary keys. 2019-12-06 20:31:39 -05:00
KillzXGaming
1f558dde15 Fix param types showing in yaml 2019-11-25 18:04:53 -05:00
KillzXGaming
2a62ad98ab Some fixes.
Check for all meshes to apply default bfres settings.
Expand/collapse only if tree nodes have children.
2019-11-18 19:01:40 -05:00
KillzXGaming
7d4ef5adde Add option to collapse and expand any tree node type 2019-11-16 15:14:10 -05:00
KillzXGaming
9c3ac9ae9f Improve DAE exporting.
A brand new DAE exporter is now used built off the one used by Ploaj and Crossmod devs. This replaces the old assimp exporter which was very buggy.
The DAE exporter has many improvments such as multiple materials per mesh, node tree fixes, material improvements, and lots more.
Single binded bfres (only using a bone index) will now be rigged if exported as DAE.
More progress on CMB saving. It's almost done, still needs some adjustments.
Fixed GFMDL rigging on certain models (thanks to RTB's script to reference what controlled the bone type).
2019-11-15 19:27:03 -05:00
KillzXGaming
14982b80be A few additions
Add NLG hash calculator.
Add option to swap bone transform from csv max script.
2019-11-03 10:38:17 -05:00
KillzXGaming
ed961ef10a Add support for BC4 alpha for bflim. 2019-10-29 19:08:40 -04:00
KillzXGaming
e1fd664112 Few more additions
Start to impliment a muunt editor. This plans to use the 2D engine i've been using with layouts mixed with 3d to fully edit object and path placements.
Start to add pane copying.
Brlyt improvements with window pane support.
Add bflyt texture combiner UI.
2019-10-16 20:15:36 -04:00
KillzXGaming
8153975f2e Fix the frame value for bfres texture pattern animatons in viewport. 2019-10-16 19:21:47 -04:00
KillzXGaming
04eec01042 Tons more layout editor improvements.
- The UI has been completely redone. It's far much more clean and intuitive to edit with.
- All major pane types can be created now. Part panes are not supported but will be added in a future update due to being more complex to mess with.
- Window panes can be fully customized now, with custom frame adjusting, adding, and editing materials per frame and content regions.
- Picture panes have improved UV editing, and vertex color editing (which can set by corner or all at once).
- Text boxes will have a dialog for selecting the font file. These also can be switchted in the text editor.
- Improved pane deleting signifcantly. Material references are removed, and undo/redo works perfectly fine.
- Fixed many flags for properties which didn't get set correctly if edited.
- Fixed layout saving for text boxes with using the wrong encoding. Also some padding fixes.
- Text panes now auto calculate the text length and allow restricted lengths to be edited.
- Properties can now be scrolled down, and kept at that state when refocused.
- Add a selection box for selecting multiple panes at once
- Textures can be added, removed and edited in editor. Make sure these are in the same archive!!!
 Wii U auto does it in the same archive opened, switch must have a bntx in it. Automatic creaton of these will come
 - Picture panes can be generated via textures. Drag and drop one from a list. Also keeps the original image sizes.
 - Fixed window pane rendering with 1 frame and flipping textures.
 - Materials can add textures, and have new custom blend and alpha modes.
 when i finish the new layout export dialog.
- Added an edit option for image editor to gamma fix smash ultimate bntx.
2019-10-13 21:02:39 -04:00
LockeExile
7c8f9ea1b0 Fix issues with bones that use both rigid and smooth skinning 2019-10-10 21:22:36 -07:00
KillzXGaming
83a9ae7395 A few more bug fixes.
Reset menus when an image editor instance gets reloaded from bflim.
Parent check FMAA animation files.
2019-09-27 18:28:17 -04:00
KillzXGaming
7f8183ca2f Fix updating editors for animations that are imported 2019-09-27 18:22:33 -04:00
KillzXGaming
8ed6a79b61 Adjust the way material animation types are defined and checked 2019-09-22 12:37:20 -04:00
KillzXGaming
0f19107dd2 More layout editor improvements
Window panes render near perfectly aside from materials. Update fixes the texture flip flags and other uv fixes,
Fixed UV transformation issues. Commonly when a uv is suppose to be centered but it shifts wrong.
Add basic white and black color blending.
Fix LA8 texture rendering.
Start on BRLAN support.
2019-09-18 18:23:27 -04:00
KillzXGaming
3bfbafbada Fix texture animation playback flickering 2019-09-14 20:11:08 -04:00
KillzXGaming
6076afa9d6 Update the editor properly if a material animation is replaced 2019-08-29 16:37:04 -04:00
KillzXGaming
47fc8b39cb Add latest bflyt progress and add some animation fixes 2019-08-29 15:45:32 -04:00
KillzXGaming
2ce4ff14b9 Convert switch to wii u param anims and also convert yaml 2019-08-26 20:24:14 -04:00
KillzXGaming
4ea3e5967f Quick workaround, use floats for param yaml conversion 2019-08-26 19:49:44 -04:00
KillzXGaming
372f0b3c43 Export switch shader param data as yaml 2019-08-26 17:37:12 -04:00
KillzXGaming
4c49056b81 Some cleanup and remove gl shader logs notifcations 2019-08-26 16:46:41 -04:00
KillzXGaming
71a7d06ad0 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2019-08-25 20:49:24 -04:00
KillzXGaming
cea6f264cd Some swizzle pattern fixes (Also fixes bflim issues) 2019-08-25 20:46:19 -04:00
LockeExile
a8b96185ca resolve a few warnings 2019-08-25 13:08:32 -07:00