1
0
mirror of synced 2024-11-30 18:24:39 +01:00
Commit Graph

39 Commits

Author SHA1 Message Date
KillzXGaming
9e87a5ce2a Skip hash directory for updater 2023-06-13 18:23:10 -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
JelleInfinity
3d5a0a0422
Don't delete the user's hashes folder on update (#558) 2022-12-21 17:27:12 -05: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
Migush
d7eea27e63 Add separate exit argument to skip booting 2021-04-12 19:03:58 -04:00
KillzXGaming
aaa98afa8e Force en-US cultureinfo for updater to correct update date. 2020-06-15 18:05:02 -04:00
KillzXGaming
132f312484 Try to fix updates failing 2019-11-10 10:13:56 -05:00
LockeExile
29e2b104c1 change debug output directory 2019-08-24 22:20:05 -07:00
LockeExile
0d9f12e9b4 clean Updater outputs 2019-08-24 22:06:25 -07:00
KillzXGaming
ea2b941b93 Parse TPL 2019-08-04 12:21:28 -04:00
JohnFiddleystein
dd33b5e6c5 Add support for basic BTI and TXE 2019-08-04 14:15:34 +01:00
KillzXGaming
f37fe42728 Try to fix assimp issues 2019-07-18 14:31:27 -04:00
KillzXGaming
6cfb6a214f Adjust the toolbox name to no longer include "Switch" in it. 2019-07-16 17:35:21 -04:00
KillzXGaming
5b156b8c24 Reinstall assimp to fix errors 2019-06-15 14:26:24 -04:00
KillzXGaming
67a9bd2894 Set access rules in attempt to fix anymore updater issues 2019-06-01 19:41:00 -04:00
KillzXGaming
27aa3ddb46 And more adjustments 2019-06-01 19:32:22 -04:00
KillzXGaming
eb4d87decc Another fix for updater 2019-06-01 19:31:39 -04:00
KillzXGaming
2f246a0ec1 And another fix 2019-06-01 19:10:07 -04:00
KillzXGaming
bf2e9b4d81 More fixes for permissions 2019-06-01 19:09:27 -04:00
KillzXGaming
aea66fa42d Do the same thing for moving the extracted data to master 2019-06-01 19:03:54 -04:00
KillzXGaming
bbbb35947c Set attributes for paths to try to fix permission issues on updating 2019-06-01 18:57:56 -04:00
KillzXGaming
33f8c5892b Include Version.txt to prevent updater issues atm 2019-05-15 16:54:49 -04:00
KillzXGaming
6ddd47e573 Some adjustments 2019-05-11 19:11:13 -04:00
KillzXGaming
92d597f7f4 Try to fix updater issues 2019-04-10 18:48:50 -04:00
KillzXGaming
1d99b14bfe More fixes
Fixed timeline issues
KCL now has presets for games. This will fix crashing in Splatoon, MK9, and many more games
2019-04-03 21:03:01 -04:00
KillzXGaming
08370b8d1d Remove the thing 2019-04-03 14:45:26 -04:00
KillzXGaming
3a10c4cf43 More timeline fixes 2019-03-31 14:28:00 -04:00
KillzXGaming
adae13380f Remove zip after extracted for updater 2019-03-29 21:38:01 -04:00
KillzXGaming
2707c72182 Fix updater not opening exe properly 2019-03-28 18:11:04 -04:00
KillzXGaming
981e7f3b45 Add updater to builder 2019-03-27 21:37:45 -04:00
KillzXGaming
3c2968cbdf Fix updater not building 2019-03-27 21:31:17 -04:00
KillzXGaming
15c88c6284 Some fixes for compiling 2019-03-23 13:44:27 -04:00
KillzXGaming
d1f03b161f Add files for the new one.
Rework UI from scratch with proper themes and custom controls. MDI windows are now used for workspaces, comparing docs, and multiple usages. Tabs organise multiple workspaces and you can keep mdi windows maximized if you want to only use tabs. Themes currently include dark and white theme but plan to have XML files with list of color and styles
Alot of things optimized. UI is very fast and snappy now
Dae rigging fixed.
Dae bones can be imported.
Dae with textures can be imported and exported to a folder
Custom sampler editor for sampler data.
Texture refs, shader options, params, render info, and basically all material data can be added/removed and edited
User data editor
Update opengl framework by JuPaHe64 to the newest. Includes an origintation cube, multiple models in a scene, and many improvements
Skeleton can be viewed
GFPAK with some fixes in saving
NUTEXB has proper mip map viewing
PTCL Editor (Wii U and Switch). Can edit colors ( Wii U) and view textures. Also EFFN files in smash ultimate can be previewed
Files can be associated with the program and opened with on clicking them
ASTC textures can be viewed
UVs can be viewed. Includes wrap modes and also translating and scaling for some basic edits
Textures use a new editor. It includes channel viewing and some new editing options
Fixed black textures on some wii u bfres
Fixed saving sarcs in sarcs
Shortcut keys have been added in. CTRL + S can save the active file in the currently used window
Fix more issues with bfres crashing
File - New includes BNTX for creating new bntx files from scatch
Raw shader binaries can be extracted from bnsh and bfsha. Yuzu and Ryujinx can decompile these
Sharc files can have source data previewed and shader programs in XML
Aamp v1 and v2 data can be previewed. v1 can be edited and saved atm, v2 will be at a later update
Byaml uses it's own editor instead of a seperate window for easy saving within sarcs
Archives have a hex viewer
Dae exporting greatly improved and can export rigged meshes
Scene, shader param, srt, color, and texture pattern animations can all be previewed (in a list)
Memory usage is greatly improved
Narc (Nitro Archives) can be viewed and extracted.
Fixed importing TGA images
Support importing ASTC textures for bntx
Added in PBR lighting for bfres from my implimentaion in forge
Added gradient background for viewport. This can be edited in the settings
Added skybox background option for viewport. Can load cubemaps
Added grid with customizable cells for viewport.
DDS decompression no longer requires Direct X tex.
Zlib decompression has been improved for opening files that use it
Rigid bones are properly ordered on importing a mesh. May fix some exploding issues.
Endianness for KCL can be toggled for saving. Will be set to what it was using orignally
Tangents can be filled with a constant value. Will allow them to not cause seams nor flat lighting however normal maps may not work as good
Vertex buffers can be added and removed. Also re encoded
Parameters now use drop down panels with values for easier editing
Reworked the bone editor. Everything for a bone can be fully edited now besides the index, billboard index and parent index  which get set automatically
Fixed animation scaling for skeletal animations finally!
Textures can be loaded in a tab now with thumbnail displaying for easy real time edits while previewing in the viewport

Fixed support for audio files to be big endian in BARS
Textures for switch now use their own folder. You can easily add textures to this and add textures to bfres that have no bntx. If there are no textures then the bfres will automatically not have one on save.
Animations are split into multiple sub sections for switch's material animation for easier access
Bfres for wii u has better binary exporting and is fully compatiable with Wexos Toolbox (to and from)
Every section can be added in as new for both wii u and switch.
Every section can be renamed properly and mostly everything can be edited. (Key frame editing and a more in depth curve editor later)
Added option to copy UV channel
Bone weights can be previewed
Tons of fixes for the switch bfres library with more games working. Splatoon 2 (more work now), BOTW, Kirby Star Allies, and more!
Fixed 3.3 Wii U bfres from not opening
Wii U Sharcfb files can have shader program data previewed (XML)

And possibly alot more things i missed! All this is still experimental but will improve over the next few weeks
2019-03-23 12:55:09 -04:00
KillzXGaming
00875d5aec Thanos the old tool. 2019-03-23 12:52:50 -04:00
KillzXGaming
50ea4183ef Tons of stuff!
- Compress BC1 with alpha.
- Add GFPAK rebuilding.
- Fix some lag issues with bntx textures loading
- Fix saving multiple files.
- Support DDS cubemap importing
- Support rigged DAE/FBX files.
- Support animation playing thanks to smash forge.
- Some minor stuff to prepare custom animations.
- Many bug fixes.
2018-11-22 10:20:12 -05:00
KillzXGaming
a81cfc0f98 Fix system dlls compiling and improve KCL shader 2018-11-18 19:03:27 -05:00
KillzXGaming
625613d171 Fix bad paths to compile properly. 2018-11-18 12:32:33 -05:00
KillzXGaming
646982d2ae Fix refrence paths 2018-11-18 12:27:18 -05:00
KillzXGaming
6fb4da17b3 Add tool library 2018-11-11 19:48:33 -05:00