Commit graph

168 commits

Author SHA1 Message Date
KillzXGaming
6088d66e4a Fix v10 bfres that have more than 64 boolean bits to load. Keep original bind indices on replace if possible.
This will fully fix and support v10 bfres by loading all possible boolean bits for the shader options. Previously would only load the first 64 bits using a uint64 value rather than checking for multiple when value is larger.
2023-10-21 17:40:00 -04:00
MediaMoots
9842158c54
New Tools and Save All options (#664)
* Fix extra frame added to smd animation export

* New batch tools and save all option

* Update MainForm.cs

* Batch Rename BNTX from Filename

* Update MainForm.Designer.cs
2023-10-16 21:02:26 -04:00
MediaMoots
b1244fb019
Support changing skincount (#655) 2023-08-10 18:09:59 -04:00
KillzXGaming
4b9066ca5d Fix crash for importing skinned bfres bones 2023-08-08 17:29:13 -04:00
KillzXGaming
1e2c544fcb Quick fix. 2023-08-05 09:19:14 -04:00
KillzXGaming
396f9a9df2 Fix index out of range error from the skin count > 4 fix 2023-08-04 20:04:16 -04:00
MediaMoots
d88ceb5211
Fix Replacing meshes with over 4 skin count (#649) 2023-07-31 18:52:49 -04:00
MediaMoots
66d490679f
Fix wrong UV map being used to generate tangents on TOTK (#644)
* Fix wrong UV map being used to generate tangents on TOTK

* use o_texture2_texcoord instead
2023-07-11 18:04:40 -04:00
KillzXGaming
d7a161200d BFRES : Some fixes to skeleton searching for external files 2023-06-29 20:50:17 -04:00
KillzXGaming
765c09c8f1 BFRES : Save .mc based on gpu flags to prevent on animations 2023-06-29 20:49:49 -04:00
KillzXGaming
79b51dd7ed Attempt to fix the incorrect skeleton being exported for bfres animation exporting 2023-06-20 16:38:23 -04:00
KillzXGaming
6826fa01cf Also toggle compression 2023-06-14 20:13:13 -04:00
KillzXGaming
da87ed0d2c Check file path instead 2023-06-14 20:11:57 -04:00
KillzXGaming
2e6c30bf1e Force mesh codec save when .mc extension is used for bfres 2023-06-14 20:05:19 -04:00
KillzXGaming
ebf09c9fac Add .mc creation and editing. Fix TXTG updating in viewer. 2023-06-03 15:31:08 -04:00
KillzXGaming
d302c38563 Only update compression for uncompressed external types 2023-06-02 16:50:44 -04:00
KillzXGaming
826a96b265 Load external string file by flag 2023-06-02 16:49:01 -04:00
KillzXGaming
39f68281c8 Adjust naming 2023-05-31 16:19:57 -04:00
KillzXGaming
46162e5379 Support loading txtg into gui and exporting them 2023-05-30 20:27:57 -04:00
KillzXGaming
45d20e8f44 Add TXTG loading for loaded bfres 2023-05-28 16:59:31 -04:00
KillzXGaming
5f77578a63 Add a fix for detecting decompressed mc binary files 2023-05-28 15:29:35 -04:00
KillzXGaming
934a430e89 Add support for loading decompressed TOTK bfres files 2023-05-28 15:06:34 -04:00
KillzXGaming
2c75de1f1c Push support for V10 BFRES saving, TXTG load/saving, Anim fixes, and more. 2023-05-27 19:33:14 -04:00
KillzXGaming
15e6c1c7fd BFRES : Fix material right click menu not applying shortcuts 2023-05-27 19:27:13 -04:00
KillzXGaming
d0fc51c57d BFRES : Fix loading bone attributes from 4 byte format when 3 byte stride 2023-05-27 19:26:32 -04:00
KillzXGaming
a506fb3a74 Add check for null external data 2022-09-08 17:03:44 -04:00
KillzXGaming
7d1da60731 BFRES : Quick fix for bounding box updating for rigged models 2022-01-21 16:44:10 -05:00
KillzXGaming
918595b0fc Adjust FKSA skeleton searching. 2021-10-11 17:16:17 -04:00
KillzXGaming
efdce27d4e BFRES : Fix mesh importing placement being wrong from rigid indices. 2021-07-25 15:40:21 -04:00
KillzXGaming
137c086699 Fix bfres disappearing (bounding radius calculation) and fixes to xtx and astc support. 2021-07-18 15:17:07 -04:00
KillzXGaming
a425bd6a6e Revert GetActiveSkeleton() as it causes animation export issues.
Since bfres has no real way to actively tell what animation uses which skeleton, I will need to do a UI in another update to select which model to export with.
2021-06-12 11:12:16 -04:00
KillzXGaming
06e835fd3d Handle skinned boundings better (may improve shadows and culling performance) 2021-06-05 18:06:24 -04:00
KillzXGaming
65732387fc Improve bounding radius calculation. 2021-06-03 21:19:34 -04:00
KillzXGaming
f1da5060d0 BFRES : Cleanup how indices are checked and updated fixing some skinning bugs on import. 2021-04-26 20:35:44 -04:00
KillzXGaming
7c9d8cfd98 BFRES : Add a quick fix for swapping skeletons with regenerated indices 2021-04-18 20:16:27 -04:00
KillzXGaming
2f2bee744b BFRES : Finally add support for proper skin index generation fixing all the index errors. 2021-04-18 14:38:12 -04:00
KillzXGaming
7331a268bf BFRES : Display scaling rule for non animated skeletons. 2021-04-17 19:21:42 -04:00
KillzXGaming
8a9390cb6c BFRES : Fix bone matching for models with multiple skeletons. 2021-04-12 19:49:45 -04:00
KillzXGaming
e1e6a3941f BFRES : Quick work around for skinning indices to fix index out of range error.
Quick work around based on VelouriasMoon's fix.
2021-03-29 20:41:44 -04:00
Shuken Mondin
f2601229d3 Import User data
Import userdata when importing a WiiU animation to a Switch bfres
2020-12-25 11:14:16 +08:00
KillzXGaming
a3bfa61275 Add LOD counter option for dummy LODs 2020-10-23 19:34:00 -04:00
KillzXGaming
cf752a265d BFRES : Add vertex color menus to FSHP 2020-10-21 17:40:51 -04:00
KillzXGaming
edb3b986cd
BFRES : Improve Switch sampler handling. 2020-10-08 18:55:13 -04:00
KillzXGaming
6deffec924 BFRES : Fix rigid body transforming for model imports. 2020-09-17 16:58:06 -04:00
KillzXGaming
4e23dcf91f BFRES : Quick fix to support Rune Factory 4 samplers. 2020-09-15 14:36:05 -04:00
KillzXGaming
f227f30e04 Fixup BOTW switch samplers 2020-09-12 15:44:38 -04:00
KillzXGaming
b16d03857f Add custom extensions to save dialogs. 2020-09-10 18:07:42 -04:00
KillzXGaming
aee94a3b2b BFRES : Fix botw switch samplers 2020-09-05 20:30:41 -04:00
KillzXGaming
968ac33d09 PTCL : fix some material assignments for primitives. 2020-09-04 16:29:23 -04:00
KillzXGaming
b0f77f247a BFRES : Fix bntx files with custom file names (PMTOK missing textures fixed) 2020-08-11 16:47:01 -04:00