Commit graph

1137 commits

Author SHA1 Message Date
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
MediaMoots
fe52c1cbc6
Fix extra frame added to smd animation export (#659) 2023-09-04 20:41:58 -04:00
MediaMoots
7343e99b67
Fix premature root node return (#653) 2023-07-31 18:53:04 -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
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
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
78da8c0b28 Adjustments 2023-06-14 20:10:18 -04:00
KillzXGaming
e57bdfb704 Add toggles for grid and grid lines 2023-06-13 18:31:10 -04:00
KillzXGaming
ebf09c9fac Add .mc creation and editing. Fix TXTG updating in viewer. 2023-06-03 15:31:08 -04:00
KillzXGaming
a06e1fe8e0 Another quick fix 2023-05-28 16:15:19 -04:00
KillzXGaming
6470c6ef34 Adjustments to zdict transfer 2023-05-28 16:11:41 -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
DanielSvoboda
68916159c8
Fix compression header LZ77 11 wii (#608)
The compression header was incorrect and has been updated to the correct values.
2023-05-25 20:05:37 -04:00
DanielSvoboda
1306a91050
ADD - LZ77(Wii type 11) Compression (#604)
This pull request adds the ability to compress files to the .lz format of type 11 for Wii.
This functionality has been enabled in the Tools > Compressions > LZ77(Wii type 11) > Compress tab.
It has been successfully tested with the game Paper Mario: Color Splash for the Wii U.
It is important to note that this is a modified version of dsdecmp.

Also changed was the SaveFileForCompression method to remove the file extension when decompressing files with multiple extensions. Previously, the method would add a ".dec" extension to the file name when decompressing it. With this change, the method now removes the original file extension when decompressing a file with multiple extensions. These changes should improve the usability of the SaveFileForCompression method by ensuring that decompressed files with multiple extensions are saved with the correct file name.
2023-05-22 17:06:49 -04:00
KillzXGaming
8c25749c23 Add latest code 2023-05-21 13:17:25 -04:00
KillzXGaming
4d16f8e10e Fix check for decompression menu 2023-05-14 16:07:00 -04:00
KillzXGaming
e59bfe10a8 Support external zsdic files if user puts zsdic files in Lib/ZstdDictionaries 2023-05-14 15:37:14 -04:00
KillzXGaming
afe7ab3890 Update retro formats to support Metroid Prime Remastered 2023-02-16 17:25:43 -05:00
KillzXGaming
976939bec0
Typo fix 2023-01-10 17:30:32 -05:00
August
6839d90a9b
"Fix" for some Sparks of Hope textures (#548)
* i dont get it

* fix textures that dont have the extra data
2022-11-29 18:32:03 -05:00
KillzXGaming
b930e02fde Quick fix for LZSS 2022-10-27 16:05:44 -04:00
KillzXGaming
2cc2269bab Add support for DKCTF Wii U and Switch files.
Supports loading rigged models and viewing textures for both the Wii U and Switch versions of the game.
Keep in mind the Switch version lacks LZSS 3 byte compression and will be missing vertex data for certain models.
2022-10-26 19:33:56 -04:00
KillzXGaming
5f3cde8d57 Add toggle to export textures or not for batch exporting models 2022-10-22 11:13:21 -04:00
KillzXGaming
a135be0615 Adjustments to znear loading 2022-10-22 11:05:33 -04:00
KillzXGaming
4f67d2280a Set a limit to z near to fix possible config errors. 2022-10-22 11:04:24 -04:00
KillzXGaming
6e6bc02e0f Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2022-10-08 15:48:47 -04:00
KillzXGaming
02273a7501 Support Mega Man 11 and MHGU (Switch) model/texture loading. 2022-10-08 15:48:40 -04:00
KillzXGaming
86cd6c78ab
LZSS : Remove extension check to fix MM3D loading 2022-10-01 17:49:04 -04:00
SMG
efba60893a
don't pad nutexb files by default (#510) 2022-09-03 14:15:26 -04:00
KillzXGaming
b06da55530 Adjustments 2022-08-25 19:53:23 -04:00
KillzXGaming
af0869d308 BFRES : Support v0.10 bfres loading (no saving with models).
This will not support saving with models currently.
Most material data will not be loaded due to varying changes in structure.
2022-08-25 19:33:46 -04:00
KillzXGaming
cc69c7c78a Update gfmdl template 2022-05-30 20:13:55 -04:00
KillzXGaming
196a7f5525 Change the way invalid chars are checked to be less restrictive between platforms 2022-04-20 19:09:45 -04:00
KillzXGaming
c67be3b5bd Adjust file loading so error exceptions can properly be viewed. 2022-03-25 16:48:45 -04:00
firubii
488b689c27
Kirby and the Forgotten Land ZSTD support (#463) 2022-03-08 19:24:34 -05:00
KillzXGaming
6137bddb0d Adjustments 2022-02-22 20:05:54 -05:00
KillzXGaming
b9b198cccb GFPAK : Adjust how compression is checked. 2022-02-22 19:59:04 -05:00
D3fau4
55b9969a8e
Full support for Oodle compression (#440)
* Full support for Oodle descompression

* ups

* Save/Compress support

* throw exception if oo2core_6_win64 dll` dont exists

* Show a MessageBox when the dll is not present
2022-01-24 20:42:53 -05:00
KillzXGaming
849aa7f6c2 DDS : Fix saving as stand alone format. 2021-12-31 14:27:58 -05:00
KillzXGaming
54dce49fdd Archive fixes for replacing folder. 2021-12-28 15:02:38 -05:00
KillzXGaming
c6287f2631 DAE : Fix issues exporting models with only bone indices and no weights. 2021-12-10 20:53:47 -05:00
KillzXGaming
6e64dbc131 Add .zst extension. 2021-12-08 20:46:42 -05:00
Crementif
bee25c6b06
Improve file searching window (#428) 2021-11-28 12:58:17 -05:00
SMG
b161949a1f
Updated Tegra X1 swizzling and nutexb block heights (#419)
* avoid using LINQ for array slicing

* separate pitch and block linear swizzle functions

* use tegra_swizzle lib for swizzle/deswizzle for block linear

* clean up tegra swizzle and remove redundant allocation

* add an additional binary for 32 bit

* add check to force valid block heights

* fix sizes for 32 bit swizzle ffi

* simplify mipmap offsets, fix clamping blockHeightLog2

* prevent 0 values for width/height

* port updated nutexb block height function from Cross Mod

* update tegra_swizzle to include corrected block height functions
2021-11-25 18:15:17 -05:00
KillzXGaming
9a788e622a DAE : Fix incorrect weights from optimization issues. 2021-11-19 16:47:41 -05:00