1
0
mirror of synced 2025-02-07 07:01:21 +01:00

2903 Commits

Author SHA1 Message Date
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
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