Commit graph

2911 commits

Author SHA1 Message Date
KillzXGaming
3fd67dd66f Update packages for zstd sharp usage 2023-05-28 15:05:06 -04:00
KillzXGaming
74c48383b3 Fix bone indices that read with Snorm16 for some reason 2023-05-27 20:51:00 -04:00
KillzXGaming
c37826de88 Another adjustment 2023-05-27 20:24:15 -04:00
KillzXGaming
32f5667ddf TXTG fix BC3 2023-05-27 20:23:23 -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
DanielSvoboda
0d33f4ead1
Updater Fix/Improvements (#606)
* Updater Fix/Improvements

In SetAccessRule():
A call to the Directory.SetAccessControl method was added to apply the changes made to the DirectorySecurity object. Additionally, the function does not handle possible exceptions that may occur during code execution. This version of the function attempts to set the access rule for the specified directory and, if an error occurs during the process, prints an error message on the screen. This helps to identify and fix possible problems that may occur during code execution.

In Install():
The function checks if the destination directory exists before attempting to delete it. Additionally, a destDir variable was created to store the path of the 'destination directory' and a destFile variable to store the path of the 'destination file'. This makes the code a little more readable.

In Application_Idle():
A MessageBox.Show was included to display a dialog box with the message "Updates are available. Do you want to update now?" and two buttons: "Yes" and "No". If the user clicks on the "Yes" button, the UpdateNotifcationClick method is called to start the update process. Otherwise, the dialog box is closed and no action is taken.

The dialog box will only be shown once for each available update, as the UsePrompt variable is set to false after the dialog box is shown for the first time.

when trying to update, updater.exe crashed and presented the following error, as shown in the print below:
unhandled exception: Unable to create a file that already exists.

* Updater Fix/Improvements
2023-05-26 17:07:09 -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
62b0de92ae Fix appveyor 2023-05-14 15:51:04 -04:00
KillzXGaming
2bc5e4a857 Create the directory on build 2023-05-14 15:38:21 -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
c9e74e0be1 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2023-04-24 19:18:07 -04:00
KillzXGaming
62d884464c Update KclLibrary.dll 2023-04-24 19:18:01 -04:00
KillzXGaming
bb59723fb0
Update README.md 2023-04-22 13:50:19 -04:00
KillzXGaming
5b80a3d0f8 Update appveyor.yml 2023-04-17 17:08:12 -04:00
KillzXGaming
ede52275da Fix GUID endianness 2023-02-16 21:14:16 -05:00
KillzXGaming
d1820ba8f0 CMDL : use the right tex coord target for dkctf 2023-02-16 17:28:58 -05: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
KillzXGaming
0ed7b91506 KCL : fix UI anchoring 2023-01-10 17:27:57 -05:00
KillzXGaming
5dfdc1539b KCL : Adjust UI defaults 2023-01-07 19:14:19 -05:00
KillzXGaming
f712c2c23e KCL : Some library adjustments 2023-01-07 19:13:31 -05:00
KillzXGaming
07692c9678 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2023-01-07 12:54:04 -05:00
KillzXGaming
2877b42310 KCL : Add cube size setting in gui for very large models 2023-01-07 12:53:58 -05:00
JelleInfinity
3d5a0a0422
Don't delete the user's hashes folder on update (#558) 2022-12-21 17:27:12 -05:00
KillzXGaming
cab002cae1 BFRES : Fix importing bones that are not labeled as joint for .dae 2022-12-10 17:50:56 -05:00
KillzXGaming
afe7ecd08e BFRES : Fix some save issues with version 8. 2022-12-09 18:52:04 -05:00
KillzXGaming
142a32f3fc Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2022-12-09 18:46:04 -05:00
KillzXGaming
f6cf997cee Add latest ALBW hashes 2022-12-09 18:43:00 -05:00
Teras
eaef6e5f0c
workaround for exporting tranm (#555) 2022-12-08 11:25:30 -05:00
Teras
022fcc61cc
Fixes for TRPAK implementation (#554)
Fix wrong detection of GFMDL files. wont be detected as Fileformat for finding File Extensions for unknown Hashes.
Don't add the detected file extension to known file names.
Added Quick Access folder for .tranm files for feature parity with GFPAK.
2022-12-07 17:01:57 -05:00
Teras
314a880213
Update to TRPAK Implementation (#546)
* Move TRPAK up the list of Fileformats
prevents false detections of some of the Archives as other File Formats

* add best guess for Paths
if all known paths are the same add that one path to all other Files

* Revert "Move TRPAK up the list of Fileformats"

This reverts commit a1c0c2d630.

* Move TRPAK up the list of Fileformats
this time dont reformat the whole Class

* Added Quick access
Added Quick access Folders in the same style as GFPAK for all Texture Files and all Model Files

* cleanup and set some ImageKeys

* Prefer BNTX Filenames that mathc the Hash
instead of relying on only getting the filenames from the file itself
2022-11-29 18:32:27 -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
Teras
d55f738297
First pass for TRPAK archive files (#544)
first seen in Pokemon Scarlet/Violet
2022-11-20 09:38:38 -05:00
KillzXGaming
8fc71d3c32 GTX : Use original channel components. 2022-10-29 12:49:31 -04:00
KillzXGaming
e063086601 Fix formatting 2022-10-29 12:48:18 -04:00
KillzXGaming
423463d082 GTX : Fix channel properties and add default mip target 2022-10-29 12:47:56 -04:00
KillzXGaming
0a9520d1f2 Skip texture maps if not present in pak 2022-10-28 20:10:42 -04:00
KillzXGaming
b6789443ce Some more pak and model fixes 2022-10-28 20:09:47 -04:00
KillzXGaming
db49432909 Adjustments 2022-10-28 20:04:27 -04:00
KillzXGaming
1a9ae89eac PAK : Only write meta data to model and texture data which require it. 2022-10-28 20:03:21 -04:00
KillzXGaming
b930e02fde Quick fix for LZSS 2022-10-27 16:05:44 -04:00
KillzXGaming
47ad72444c Adjust mesh naming 2022-10-26 19:39:32 -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