Commit graph

83 commits

Author SHA1 Message Date
KillzXGaming
a3be9b111d BFRES : Fix bone indices remapping for batch exported models 2020-04-18 16:07:06 -04:00
KillzXGaming
cb86773b9c Fix scene animation exporting for wii u 2020-04-11 14:47:32 -04:00
KillzXGaming
be9f7928d8 BFRES : fix loading R8 SNORM for wii u 2020-04-09 19:34:54 -04:00
KillzXGaming
e636da8d19 BFRES : Add import setting to create dummy LODs 2020-04-01 15:31:08 -04:00
KillzXGaming
f345e5ec59 BFRES : Add option to create dummy LODs that point to first level. 2020-04-01 15:23:55 -04:00
KillzXGaming
7c75bb3a47 BFRES : Create new bounding nodes for regenerated bounding boxes 2020-04-01 14:39:11 -04:00
KillzXGaming
66f429a555 BFRES : Fix clearing shape LODs from the menu 2020-04-01 13:15:51 -04:00
KillzXGaming
ed945a5f5e One more fix 2020-03-23 21:35:39 -04:00
KillzXGaming
0900170038 Fix errors 2020-03-23 21:32:57 -04:00
KillzXGaming
5240021dea Update ftex replace method 2020-03-23 21:16:55 -04:00
KillzXGaming
b11e913240 Adjust tex2 loading to prevent altered images loading from it 2020-03-16 16:15:12 -04:00
KillzXGaming
bffa623e01 Some quick bone index fixes 2020-02-15 18:24:35 -05:00
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