Commit graph

2825 commits

Author SHA1 Message Date
KillzXGaming
39f68281c8 Adjust naming 2023-05-31 16:19:57 -04:00
KillzXGaming
925830b8bb Quick fix for wii u bfres and fix TXTG 8x5 format 2023-05-31 16:17:18 -04:00
KillzXGaming
49074ab44a Quick fix 2023-05-30 20:53:39 -04:00
KillzXGaming
c77ba4cdf7 Add save file menu so TXTG can be saved inside bfres 2023-05-30 20:37:47 -04:00
KillzXGaming
46162e5379 Support loading txtg into gui and exporting them 2023-05-30 20:27:57 -04:00
KillzXGaming
357b8b2bc9 Load txtg texture in material UI 2023-05-28 17:01:52 -04:00
KillzXGaming
45d20e8f44 Add TXTG loading for loaded bfres 2023-05-28 16:59:31 -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
86e63a65cd Add user folder menu 2023-05-28 16:04:28 -04:00
KillzXGaming
c43a5904ec Fix possible crash on model import due to vertex count not updating 2023-05-28 15:56:50 -04:00
KillzXGaming
5f77578a63 Add a fix for detecting decompressed mc binary files 2023-05-28 15:29:35 -04:00
KillzXGaming
414a4c1ea2 Fix appveyor 2023-05-28 15:10:57 -04:00
KillzXGaming
934a430e89 Add support for loading decompressed TOTK bfres files 2023-05-28 15:06:34 -04:00
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