1
0
mirror of synced 2024-09-24 03:28:21 +02:00
Commit Graph

2840 Commits

Author SHA1 Message Date
KillzXGaming
13af269adb Fix animations with zero frame count saving with no animation data 2023-06-19 17:52:55 -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
KillzXGaming
a39456b0cc Some fixes loading and saving V10 bfres 2023-06-02 15:56:03 -04:00
KillzXGaming
d40d9bf2e9 Another quick fix 2023-05-31 17:39:00 -04:00
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