1
0
mirror of synced 2024-11-12 02:00:50 +01:00
Commit Graph

460 Commits

Author SHA1 Message Date
KillzXGaming
be829619a2 Some fixes.
Fixed bone editor not showing properly.
Fixed viewport not updating properly.
Removed bad tile mode for GX2 and fix altering them.
2019-04-07 12:26:43 -04:00
KillzXGaming
f4189a9e39 Cleanup muunt editor 2019-04-06 19:11:59 -04:00
KillzXGaming
5e6fb187d5 Fix naming 2019-04-06 18:51:00 -04:00
KillzXGaming
c6798a95ba Fix errors 2019-04-06 18:35:03 -04:00
AboodXD
5f2b3b67a3 Fix a few bugs with GX2 tiling 2019-04-07 02:17:10 +04:00
KillzXGaming
4865ca1a8f Rename GTX class to GX2 2019-04-06 15:58:20 -04:00
KillzXGaming
fba66217d1 Some encoding fixes to GTX 2019-04-06 15:52:09 -04:00
KillzXGaming
04eee5913c Add mip swizzle value from tex2 to deswizzle 2019-04-06 11:58:21 -04:00
KillzXGaming
2f4b03a454 Fix tex2 files from loading mips in image editor 2019-04-06 11:53:39 -04:00
KillzXGaming
ea099ee2dd More fixes and try to load depth data 2019-04-06 11:37:50 -04:00
KillzXGaming
5837fbe5d6 Update tiling for gx2 swizzling 2019-04-06 10:22:02 -04:00
KillzXGaming
7680baa375 More accurate gtx tiling for mips 2019-04-05 21:29:34 -04:00
KillzXGaming
f8a754058a Set model matrix to fix some transform issues 2019-04-05 19:52:59 -04:00
KillzXGaming
7bea95b199 Update to the latest opengl framework and more bug fixes 2019-04-05 19:47:21 -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
ab729959ba Fix refrences 2019-04-01 20:07:33 -04:00
KillzXGaming
85530715bb Try to fix errors 2019-04-01 20:06:31 -04:00
KillzXGaming
67864cd64f Fix assimp issues please and add lock check for settings current frame 2019-04-01 18:14:13 -04:00
KillzXGaming
325f1e25f6 Add basic file removale. Will be improved later 2019-04-01 16:19:07 -04:00
KillzXGaming
3d38dbadb9 And these 2019-04-01 15:26:32 -04:00
KillzXGaming
049ca3dc85 Remove debug stuff 2019-04-01 15:26:16 -04:00
KillzXGaming
7bd00f6de7 Fix dae rigging for good now 2019-04-01 15:04:16 -04:00
KillzXGaming
c98162622f Fix BC5S dds importing. 2019-03-31 19:18:14 -04:00
KillzXGaming
c8fa10a791 Try again 2019-03-31 18:27:12 -04:00
KillzXGaming
decd83c487 More timeline fixes 2019-03-31 18:23:41 -04:00
KillzXGaming
0c5d53ae61 Fix bone transforms and names from parent skeleton generated by blender 2019-03-31 17:43:19 -04:00
KillzXGaming
2b0957fa53 Transform rigged stuff properly 2019-03-31 17:10:03 -04:00
KillzXGaming
831efdb027 Fix one more dll 2019-03-31 16:31:40 -04:00
KillzXGaming
57751d245d Add 2 more missing dlls 2019-03-31 16:25:36 -04:00
KillzXGaming
9e44973f72 Cleanup dll mess 2019-03-31 16:22:01 -04:00
KillzXGaming
a773074933 Fix appveyor issues 2019-03-31 15:29:36 -04:00
KillzXGaming
3a10c4cf43 More timeline fixes 2019-03-31 14:28:00 -04:00
KillzXGaming
9c439f099d Massive speed improvement to bfres saving with animations + bug fixes
Fixed bfres from taking too long to save with 100s or even 1000s of animations. From 30 - 70 minutes, to over 8- 20 seconds!
Fixed weights and buffers not importing properly.
Fixed byaml editor's dialog buttons improperly placed on resize.
2019-03-30 21:54:19 -04:00
KillzXGaming
7238de5d37 Set DDS depth count for generic textures to 1. 2019-03-30 16:43:07 -04:00
KillzXGaming
ea00287462 Fix dds exporting for DX10 textures 2019-03-30 16:40:44 -04:00
KillzXGaming
d384a5f8ba Fix it again. This time it works properly 2019-03-30 16:02:30 -04:00
KillzXGaming
383dc2add1 Fix issue with models being hidden causing lag 2019-03-30 15:57:01 -04:00
KillzXGaming
48c7477467 Increase opening bfres with animations significantly!
Load context menus for FSKA only when expanded .
2019-03-30 14:40:46 -04:00
KillzXGaming
3f645003d9 Try again 2019-03-30 12:46:47 -04:00
KillzXGaming
065fa8a020 Fix appveyor errors 2019-03-30 12:45:00 -04:00
KillzXGaming
70f1f971d9 More fixes to timleline 2019-03-30 12:26:38 -04:00
KillzXGaming
2ee73e7857 Add new timeline by JuPaHe64 2019-03-30 11:18:15 -04:00
KillzXGaming
3d63151626 Port temporary SMD animation export code from forge for testing 2019-03-29 21:57:31 -04:00
KillzXGaming
240cc5f0b3 Apply the kcl viewport to work better with bfres 2019-03-29 21:05:53 -04:00
KillzXGaming
29e9a0533d Fix dae exporting weights FINALLY! 2019-03-29 19:21:59 -04:00
KillzXGaming
8b2c8466fc Fix non generic audio files not loading the audio player, 2019-03-29 18:36:30 -04:00
KillzXGaming
2bcae8c2eb Check for unused names for unswizzled nutexb types 2019-03-29 17:36:54 -04:00
KillzXGaming
50c0c0bfe8 Check for IEditors for archive file forms. 2019-03-29 16:43:08 -04:00
KillzXGaming
6c676cf410 Add material deletion. 2019-03-29 16:21:07 -04:00
KillzXGaming
d5f50d91b8 More fixes to UI and file saving. Also add in bflim editing.
Fixed the shader param editor not adjusting the height for float4 types.
Fixed the shape editor not adjusting some lists properly.
Fixed hash based sarcs not saving right (menu.szs for example).
Fixed bflim sarc alignment from being corrupted.
Add alignment for effect file formats in sarc.
Add bflim to the texture loader in sarc for batch previewing/edits
2019-03-29 15:28:35 -04:00
KillzXGaming
e4ccae2c93 Dispose some writers so the file isn't active anymore 2019-03-28 21:28:36 -04:00
KillzXGaming
52d8b06d23 Fix objects from not updating 2019-03-28 20:22:22 -04:00
KillzXGaming
a1606187b4 Add option to hide specific bones 2019-03-28 20:19:13 -04:00
KillzXGaming
8cc5e13ace Option to add active files to editor instead of new tab. Fix crash from no objects. 2019-03-28 19:48:56 -04:00
KillzXGaming
210afaae71 Use listview again for nutexb to preview multiple textures better 2019-03-28 18:29:06 -04:00
KillzXGaming
718ddfaea3 Add right click to close tabs, and double click title bar to maxamize 2019-03-28 17:28:39 -04:00
KillzXGaming
8a74942ead Cleanup assimp exporter 2019-03-28 17:05:49 -04:00
KillzXGaming
87be68531e Fix appveyor errors 2019-03-27 19:14:28 -04:00
KillzXGaming
c879a1299c Remove framework files and use a .dll for now. Will add submodule later 2019-03-27 19:08:58 -04:00
KillzXGaming
01fda68f93 Fix bone issues and skeleton importing 2019-03-27 14:50:33 -04:00
KillzXGaming
d28a032b24 Fix Wii U model imports crashing 2019-03-26 21:08:52 -04:00
KillzXGaming
e58e456c1a Update texture maps properly if edited 2019-03-26 18:15:19 -04:00
KillzXGaming
b4c297f572 Fix materials not mapping to objects 2019-03-26 18:01:57 -04:00
KillzXGaming
ddcd0285b3 More fixes
Fixed samplers for switch not mapping properly.
Fixed DDS files exporting mip maps wrong. Would cause them to not import back with size errors.
Fixed bntx alignment causing corrupted textures.
Fixed bfres not opening from null bone indices/unrigged meshes.
2019-03-26 15:24:20 -04:00
KillzXGaming
356c2eb93f Fix LZ4F typo which gave to too many crashes :( 2019-03-25 21:45:25 -04:00
KillzXGaming
b00a3805f1 Fix index out of range issue for importing models 2019-03-25 19:07:22 -04:00
KillzXGaming
5264ec4f5d Fix bone indices not saving and bounding radius. 2019-03-25 10:06:12 -04:00
KillzXGaming
ba760057dd Fix LZ4F decompression in menu 2019-03-24 20:19:40 -04:00
KillzXGaming
cba330d41d Fix LZ4F compression for KSA 2019-03-24 19:45:00 -04:00
KillzXGaming
c75c171792 Fix sarc's with folders saving wrong 2019-03-24 16:44:12 -04:00
KillzXGaming
f9d33324ce More bug fixes
Load drawables on constructor for viewport for scene to be loaded properly.
Detect XML formatting for text documents loaded from an archive.
2019-03-24 14:23:11 -04:00
KillzXGaming
c0328e3b82 Fix bntx corrupting textures on save and round params for displaying. 2019-03-24 13:56:09 -04:00
KillzXGaming
b30072d100 Prevent animations from playing while switching tabs 2019-03-24 13:14:53 -04:00
KillzXGaming
8a352111de Reset channel display when another image is clicked on 2019-03-24 12:57:49 -04:00
KillzXGaming
470b0ead75 Update the channel view properly on another thread after process is finished 2019-03-24 12:51:26 -04:00
KillzXGaming
c8b77411fa Switch to viewport only if models are present. Fix tex2 swizzle value not loading 2019-03-24 12:12:51 -04:00
KillzXGaming
ab44950984 Fix preview scale 2019-03-24 11:31:19 -04:00
KillzXGaming
233b11a022 Fix bugs related to bones.
Fixed bones not displaying when creating new skeletons.
Fixed importing dae bones not displaying properly in the tree.
Fixed bones not clearing when a model is removed
2019-03-24 11:24:40 -04:00
KillzXGaming
e2f3afb1a6 Fix lag from hding FMDLs 2019-03-23 18:53:05 -04:00
KillzXGaming
0a53c287b3 Option to reset to T pose, and fix wii u bones 2019-03-23 15:13:54 -04:00
KillzXGaming
5294e4aee6 Cleanup 2019-03-23 14:43:16 -04:00
KillzXGaming
792341cfce Fix more issues 2019-03-23 14:41:59 -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
2c8f5d2c6c Combine texture methods and functions into one main class. 2018-12-12 21:28:57 -05:00
KillzXGaming
e82d065255 Fix skeletal animation importing/exporting for wii u bfres, 2018-12-10 19:52:58 -05:00
KillzXGaming
716d1c4520 More clean up and additions
- Starting to make all texture classes use STGenericTexture. This will make all functions usable between each one and converting through other classes much easier.
- Many bug fixes to the texture importer like duped texture importing, dds opening the window, index out of range issues, etc.
- Start on titlebar information.
- Start on ASTC texture format support.
- Support TGA images.
- Support FTEX importing and saving properly.
- Export models properly along with textures (with generic classes). Todo, support rigs and bones.
2018-12-10 18:48:51 -05:00
KillzXGaming
d96f4dec43 Cleanup with new open/save methods. Also add gtx rebuilding. 2018-12-04 21:40:03 -05:00
KillzXGaming
364c9ceeed Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2018-12-02 17:30:53 -05:00
KillzXGaming
307a8832c5 Alot of clean up. 2018-12-02 17:30:46 -05:00
KillzXGaming
bf8d214405
Merge pull request #15 from OcelotGamingDev/master
Added Discord Rich Presence
2018-12-02 15:10:29 -05:00
KillzXGaming
785f5657b2 Update GTX code and update data types. 2018-12-02 15:01:51 -05:00
KillzXGaming
5cfec193bf Rework GTX swizzle thanks to abood and rebuild nutexb 2018-11-30 22:00:43 -05:00
OcelotGamingDev
c9b1efc41f Added discord rich presence.
Examples: https://imgur.com/a/PJitqFM
2018-11-29 23:59:29 -04:00
KillzXGaming
0c9bafe67f Update DDS and nutexb with fixes 2018-11-28 13:22:25 -05:00
KillzXGaming
f51dd17f94 Many improvements and new formats.
Add in nutexb file format. While not finished, it can preview and export them.
Batch exporting for nuteb (tools menu).
Rework GTX code. This is WIP and not finished.
Add XTX code. Unifnished atm.
Add saving for wii u and include fmat exporting.
Proper error handling for assimp and texture swizzling.
2018-11-27 21:21:31 -05:00
KillzXGaming
b5ba944b69 Cleanup and some optimizations 2018-11-23 15:39:16 -05:00
KillzXGaming
216d772dbb Update placeholder textures and fill channel types by format 2018-11-23 12:51:08 -05:00
KillzXGaming
898003ddb2 Doube click for sarc files. Minor fixes 2018-11-22 17:06:22 -05:00
KillzXGaming
5d8e765d4c Organise BFRES better 2018-11-22 15:54:52 -05:00
KillzXGaming
c3c26f6a4c Rework UI loading 2018-11-22 13:08:50 -05: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
2e1d311649 Remove some previous decompression methods 2018-11-19 12:49:16 -05:00
KillzXGaming
1649456d6b Add all DDS compression methods 2018-11-19 12:39:06 -05:00
KillzXGaming
a81cfc0f98 Fix system dlls compiling and improve KCL shader 2018-11-18 19:03:27 -05:00
KillzXGaming
646982d2ae Fix refrence paths 2018-11-18 12:27:18 -05:00
KillzXGaming
d30f94eb9a Fix compile issues and update to latest 2018-11-18 12:09:54 -05:00
KillzXGaming
5849962617 Add latest 2018-11-17 17:33:00 -05:00
KillzXGaming
6fb4da17b3 Add tool library 2018-11-11 19:48:33 -05:00