Commit graph

669 commits

Author SHA1 Message Date
KillzXGaming
934a430e89 Add support for loading decompressed TOTK bfres files 2023-05-28 15:06:34 -04:00
KillzXGaming
74c48383b3 Fix bone indices that read with Snorm16 for some reason 2023-05-27 20:51:00 -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
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
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
62d884464c Update KclLibrary.dll 2023-04-24 19:18:01 -04: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
2877b42310 KCL : Add cube size setting in gui for very large models 2023-01-07 12:53:58 -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
f6cf997cee Add latest ALBW hashes 2022-12-09 18:43:00 -05: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
4dc1bbea29 Add ALBW hashes by Steven Tyler Sean Herr 2022-10-15 18:42:15 -04:00
KillzXGaming
1c6e9dc9e8 SARC : Fix issue with using Japanese characters 2022-10-12 18:47:17 -04:00
KillzXGaming
ed68711f5c Add latest KCL code 2022-10-12 18:37:32 -04:00
KillzXGaming
a875a4ddd9 Copy files 2022-10-08 15:48:59 -04:00
KillzXGaming
02273a7501 Support Mega Man 11 and MHGU (Switch) model/texture loading. 2022-10-08 15:48:40 -04:00
KillzXGaming
9ca9703a23 BFRES : Fix possible saving problems with latest changes 2022-08-26 17:50:30 -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
fd0f04adc1 Add ALBW sarc hashes 2022-08-14 20:27:17 -04:00
KillzXGaming
e77741a635 Few more adjustments and improvements to the sarc lib 2022-08-13 20:38:25 -04:00
KillzXGaming
18cde12fd8 Adjustments to update the hash path through the plugin instead 2022-08-13 20:34:36 -04:00
KillzXGaming
e2140201e0 Adjust references 2022-08-13 20:28:36 -04:00
KillzXGaming
619e8377f2 Adjust dll sarc build path 2022-08-13 20:21:32 -04:00
KillzXGaming
d5ceaed22b SARC : Support loading hashes externally from Lib\SarchHashes from .txt/.saht 2022-08-13 13:04:29 -04:00
KillzXGaming
795adf9018 Updater : Check for api limits and don't bug the user with message dialogs. 2022-04-13 21:17:41 -04:00
KillzXGaming
1ada2a3b12 KCL : Fix potential errors from parsing .obj/.dae 2022-03-26 15:15:14 -04:00
KillzXGaming
679887556c BFRES : Fix newer versions breaking due to new shape flags.
Also adds a fix for user pointer data used by MPSA
2022-02-22 17:06:29 -05:00
KillzXGaming
fe738ddb24 Adjust the mk8u preset too 2021-12-28 20:06:58 -05:00
KillzXGaming
cd4333c5cc Adjust mk8 kcl material preset. 2021-12-28 20:06:36 -05:00
KillzXGaming
0f9574101b KCL : Add the same fix to mtl parsing 2021-12-24 16:07:07 -05:00
KillzXGaming
1e00a15618 KCL : Fix float parsing in different regions using different format providers 2021-12-24 15:55:20 -05:00
KillzXGaming
67f355f953 KCL : Fix potential crash from .obj using different regional text handling. 2021-12-24 15:17:05 -05:00
KillzXGaming
84d535c0f0 Fix building with IONET 2021-12-23 12:50:36 -05:00
KillzXGaming
ec73bbfe54 KCL : Support automatic triangulation and improve material detection. 2021-12-22 15:39:10 -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
865dd1b545 Add latest KCL presets 2021-10-08 19:36:49 -04:00
KillzXGaming
2deb8e077f More KCL lib updates. 2021-10-08 19:34:20 -04:00
KillzXGaming
1bee479cfc More KCL improvements with how materials are mapped to meshes/materials. 2021-10-08 19:17:23 -04:00
KillzXGaming
f9f209190d Add latest KCL library with some crash fixes 2021-10-08 17:48:21 -04:00
KillzXGaming
58adee48b7 Many byaml fixes. Should fix crash issues with mk8. 2021-09-07 19:50:23 -04:00
KillzXGaming
43dc09c39c SARC : Fix GraphicsPreset.szs failing to load/save from signed characters. 2021-08-30 20:55:11 -04:00
KillzXGaming
1a80f9207a Make sure to update the kcl gui 2021-06-15 20:19:36 -04:00
KillzXGaming
272d5b76fc Update to latest KCL library 2021-06-15 20:18:55 -04:00
KillzXGaming
00883d617b Push byaml saving fix for certain node types thanks to MonsterDruide1. 2021-05-13 17:58:02 -04:00
KillzXGaming
b8915393ea Fix cubemap view direction 2021-04-09 21:05:47 -04:00