Commit graph

314 commits

Author SHA1 Message Date
KillzXGaming
7680baa375 More accurate gtx tiling for mips 2019-04-05 21:29:34 -04:00
KillzXGaming
62cbad92dd Add actor file renamer for SZS files in odyssey 2019-04-05 21:10:57 -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
8185fce35d Fix some bfres issues on saving 2019-04-04 00:37:28 -04:00
KillzXGaming
edb5c230ca Add textures to later ptcl versions 2019-04-03 21:57:34 -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
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
194d032798 Reset menus on load 2019-04-01 16:44:23 -04:00
KillzXGaming
325f1e25f6 Add basic file removale. Will be improved later 2019-04-01 16:19:07 -04:00
KillzXGaming
c908e24517 Add some KCL structs to new file for easier reading and writing 2019-04-01 15:30:50 -04:00
KillzXGaming
d411b5bb82 Change a thing 2019-04-01 15:20:32 -04:00
KillzXGaming
dba119ba6e Add BNTX node for bffnt sheets 2019-04-01 15:16:07 -04:00
KillzXGaming
1ec2c26c35 Fix skeleton replacing on wii u 2019-04-01 15:13:30 -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
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
b87cc40857 Fix hash only sarcs from saving 2019-03-31 17:06:12 -04:00
KillzXGaming
831efdb027 Fix one more dll 2019-03-31 16:31:40 -04:00
KillzXGaming
9e44973f72 Cleanup dll mess 2019-03-31 16:22:01 -04:00
KillzXGaming
d8e335f8c0 Copy direct tex folders properly 2019-03-31 15:58:04 -04:00
KillzXGaming
f20e1d26c9 Cleanup some stuff 2019-03-31 15:41:29 -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
db13c0d8b7 Check determinant to prevent singular matrix issue 2019-03-30 17:12:08 -04:00
KillzXGaming
7238de5d37 Set DDS depth count for generic textures to 1. 2019-03-30 16:43:07 -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
46b9587908 Update container list for texture loader 2019-03-30 14:55:04 -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
9be1d645f0 Fix crash when scrolling through 100s of textures in importer 2019-03-30 13:21:01 -04:00
KillzXGaming
70f1f971d9 More fixes to timleline 2019-03-30 12:26:38 -04:00
KillzXGaming
525d6d0b27 Use generic format from DDS for converting formats instead. 2019-03-30 11:24:52 -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
adae13380f Remove zip after extracted for updater 2019-03-29 21:38:01 -04:00
KillzXGaming
ce7a1736a2 Fix appveyor not copying dll 2019-03-29 21:29:46 -04:00
KillzXGaming
201a0ca5a5 More KCL fixes for switching between files 2019-03-29 21:20:39 -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
5d0254a5e2 Double click to hide contents of the timeline, console, and texture viewer 2019-03-29 18:57:54 -04:00
KillzXGaming
8b2c8466fc Fix non generic audio files not loading the audio player, 2019-03-29 18:36:30 -04:00
KillzXGaming
6afce74460 Skip textures with the same data position 2019-03-29 18:18:29 -04:00
KillzXGaming
93830c84e1 Load ptcl textures to editor when clicked 2019-03-29 18:07:51 -04:00
KillzXGaming
c34d021ddc Fix wii u textures for ptcl not loading 2019-03-29 18:04:18 -04:00
KillzXGaming
92642d165b Add texture folder for Wii U PTCL 2019-03-29 17:48:06 -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
76a82effe7 Fix bfres not opening in archives. 2019-03-29 16:37:20 -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
088f9a00e2 Use floats for weights to help prevent exploding since IDK why 8888_unorm breaks :( 2019-03-28 21:13:15 -04:00
KillzXGaming
8d1b5a3674 Fix nutexb saving from edits with the image editor 2019-03-28 20:58:56 -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
72f80eb8a2 Fix Y and Z axis bone positions swapped for the bone editor. 2019-03-28 17:32:22 -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
7ead89f039 Remove update notifcation for an icon to remove nagging 2019-03-28 16:39:23 -04:00
KillzXGaming
183b093997 Fix model importer with proper theme style. 2019-03-28 16:24:00 -04:00
KillzXGaming
025d186c66 Update modle importer window to adjust the theme style 2019-03-28 16:15:01 -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
7848428ad5 Clear window buttons when mdi window is closed 2019-03-27 18:54:25 -04:00
KillzXGaming
aa42b5396f Fix nodes not clearing when model is replaced 2019-03-27 17:45:05 -04:00
KillzXGaming
0b139da8b9 Fix params from not applying right 2019-03-27 15:25:29 -04:00
KillzXGaming
c7eba775b9 Fix param colors not workig properly 2019-03-27 14:59:43 -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
110d589086 Fix older binaries from crashing 2019-03-26 17:32:53 -04:00
KillzXGaming
cc1f05c1f0 Fix duplicate skeleton folders 2019-03-26 17:14:20 -04:00
KillzXGaming
f4370ab63a Improve binary file exporting greatly.
Fixed version issues between swapping binarys from bfres sections.
Fixed FMDL exports from crashing.
Fixed FSCN and FBNV from not having a replace option
2019-03-26 17:04:45 -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
c41ac2f752 Fix csv imports 2019-03-25 17:13:01 -04:00
KillzXGaming
211326d253 More bug fixes
Fix bymls with path nodes from saving.
Fix material list not loading when another object is selected.
Fix skeletons not exporting
Fix materials missing a name and not updating in the editor properly
- Fix dds and bftex not showing on the filter for bntx/nutexb properly
2019-03-25 16:50:05 -04:00
KillzXGaming
5edb6d4174 Fix mip map number displaying in properties for bntx textures 2019-03-25 10:17:10 -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
a43e00ff5d Fix local transformation issues with imports or editing eixsting meshes with local transforms 2019-03-24 18:56:32 -04:00
KillzXGaming
05dcf8e12d Apply transforming properly when transform tool is saved 2019-03-24 17:49:32 -04:00
KillzXGaming
a47b77bc7c Load all bone anims properly when an animation is loaded so it can save properly 2019-03-24 17:02:19 -04:00
KillzXGaming
c75c171792 Fix sarc's with folders saving wrong 2019-03-24 16:44:12 -04:00
KillzXGaming
5e4313c54f Attempt to fix UV scale issue with a flag in the shader options 2019-03-24 14:40:29 -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
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
0c37b03bb7 Add new bone children to the bone list for rendering 2019-03-24 11:35:43 -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
777fd47a01 Speedup settings and use emissive pass 2019-03-23 19:51:41 -04:00
KillzXGaming
e2f3afb1a6 Fix lag from hding FMDLs 2019-03-23 18:53:05 -04:00
KillzXGaming
cda5329779 Fix kcl generation from not saving 2019-03-23 17:19:32 -04:00
KillzXGaming
c4903cdb77 Fix bfmat files breaking on importing model 2019-03-23 15:59:15 -04:00
KillzXGaming
a5a8ca10e5 Fix Wii U textures extracted on exporting a model 2019-03-23 15:20:53 -04:00
KillzXGaming
0a53c287b3 Option to reset to T pose, and fix wii u bones 2019-03-23 15:13:54 -04:00
KillzXGaming
792341cfce Fix more issues 2019-03-23 14:41:59 -04:00
KillzXGaming
822a4c699e Enable updater 2019-03-23 13:55:12 -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
646982d2ae Fix refrence paths 2018-11-18 12:27:18 -05:00
KillzXGaming
5849962617 Add latest 2018-11-17 17:33:00 -05:00