Commit graph

2877 commits

Author SHA1 Message Date
KillzXGaming
5201a96492 A few more loading fixes for v10 materials 2023-10-22 10:40:12 -04:00
KillzXGaming
3cf7117735 Fix loading shader options with no boolean bits 2023-10-21 21:00:15 -04:00
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
KillzXGaming
7e5b80e575 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2023-10-18 19:47:28 -04:00
KillzXGaming
59fffbc42a Use higher zstd compression level 2023-10-18 19:47:14 -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
KillzXGaming
360bb640a8 Also do the same for byaml 2023-10-16 20:52:32 -04:00
KillzXGaming
230ddece6b SARC : reduce file sizes by using smaller msbt alignment 2023-10-16 20:51:10 -04:00
KillzXGaming
d11b2181ed BFRES : Quick fix for exporting v10 materials 2023-09-06 16:05:03 -04:00
KillzXGaming
c6eb7b3f06 BFRES : Fix shader assign references, fixing animation/param issues. 2023-09-06 10:46:26 -04:00
KillzXGaming
9e1d47877c BNTX : Fix certain texture formats. Allow any unsupported ones to open. 2023-09-05 21:03:56 -04:00
KillzXGaming
f1af34e903 BFRES : Skip null shader info in v10. Fixes v10 ptcl bfres 2023-09-05 20:51:05 -04:00
KillzXGaming
cb0b43fb41 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2023-09-05 20:37:00 -04:00
KillzXGaming
790a4a92f0 Finally fix BFRES V10 material parameters not working or animating. 2023-09-05 20:36:54 -04:00
MediaMoots
fe52c1cbc6
Fix extra frame added to smd animation export (#659) 2023-09-04 20:41:58 -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
KillzXGaming
deeff8e9a9 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2023-07-31 20:49:40 -04:00
KillzXGaming
53f9e0de65 Temp revert bfres fix since there are still bugs 2023-07-31 20:49:14 -04:00
MediaMoots
7343e99b67
Fix premature root node return (#653) 2023-07-31 18:53:04 -04:00
MediaMoots
d88ceb5211
Fix Replacing meshes with over 4 skin count (#649) 2023-07-31 18:52:49 -04:00
KillzXGaming
55a9c5181b Add UI to configure material animation bind 2023-07-31 18:32:36 -04:00
KillzXGaming
f567160ec8 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2023-07-31 18:32:14 -04:00
KillzXGaming
5d9f1e12f5 BFRES : Try to fix v10 bfres shader animations not playing/binding. 2023-07-31 18:31:55 -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
75974ef479 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2023-06-24 11:41:17 -04:00
KillzXGaming
51cf45510c Fix some typos 2023-06-24 11:40:52 -04:00
rollin
26bfe8b3ab
Change GenericObject.GetMaxSkinInfluenceCount() to use boneWeights instead of boneIds as the latter might not be initialized when the function is used. (#631)
Co-authored-by: mctrollin <bla@blub.bla>
2023-06-24 11:30:39 -04:00
KillzXGaming
2dc89a04d5 Another quick fix for byaml 2023-06-22 18:11:07 -04:00
KillzXGaming
932a6f3a47 Byaml : Fix saving ulong, long, and double types. Also fix converting ulong types 2023-06-22 17:59:16 -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
3718385d40 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2023-06-19 17:52:59 -04:00
KillzXGaming
13af269adb Fix animations with zero frame count saving with no animation data 2023-06-19 17:52:55 -04:00
SMG
ff40338bc0
update tegra_swizzle to 0.3.1 (#614) 2023-06-18 19:20:26 -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
78da8c0b28 Adjustments 2023-06-14 20:10:18 -04:00
KillzXGaming
2e6c30bf1e Force mesh codec save when .mc extension is used for bfres 2023-06-14 20:05:19 -04:00
KillzXGaming
e57bdfb704 Add toggles for grid and grid lines 2023-06-13 18:31:10 -04:00
KillzXGaming
9e87a5ce2a Skip hash directory for updater 2023-06-13 18:23:10 -04:00
KillzXGaming
feea29f3be Don't nag for updating every boot 2023-06-13 18:21:49 -04:00
KillzXGaming
916aeab313 Add latest SHARCFB code for switch 2023-06-07 19:00:44 -04:00
KillzXGaming
3d943e7bcb Update bfsha to the latest which fixes missing data for newer versions 2023-06-06 19:53:23 -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