1
0
mirror of synced 2024-11-15 19:43:21 +01:00
Commit Graph

340 Commits

Author SHA1 Message Date
KillzXGaming
c5e28dde5f Fix appveyor again 2019-03-31 18:25:06 -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
0984066b13 More dll fixes. Please work 2019-03-31 17:17:48 -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
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
d8e335f8c0 Copy direct tex folders properly 2019-03-31 15:58:04 -04:00
KillzXGaming
b06cabd811 Fix errors 2019-03-31 15:51:00 -04:00
KillzXGaming
44c5ee988a Add direct x tex dlls to exe folder to prevent errors. Add newest sarc lib. 2019-03-31 15:47:53 -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
e691dab92d Fix animation exporting issues 2019-03-31 14:43:32 -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
7afcfc40a4 Add commit info for updater 2019-03-30 17:46:07 -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
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
46b9587908 Update container list for texture loader 2019-03-30 14:55:04 -04:00
KillzXGaming
b1db621786 Fix context menu themes 2019-03-30 14:43:49 -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
82758d64a3 Add SRGB toggle for BNTX textures 2019-03-30 14:00:49 -04:00
KillzXGaming
9be1d645f0 Fix crash when scrolling through 100s of textures in importer 2019-03-30 13:21:01 -04:00
KillzXGaming
065fa8a020 Fix appveyor errors 2019-03-30 12:45:00 -04:00
KillzXGaming
0cc8c89b14 Use max alignment in sarc lib to prevent sarc crashes 2019-03-30 12:40:06 -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
3c9e93b411 Add texture names to ptcl wii u textures 2019-03-29 17:53:49 -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
e4ccae2c93 Dispose some writers so the file isn't active anymore 2019-03-28 21:28:36 -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
c87889963c Ops, fix the update icon to actually enable. 2019-03-28 21:08:08 -04:00
KillzXGaming
8d1b5a3674 Fix nutexb saving from edits with the image editor 2019-03-28 20:58:56 -04:00
KillzXGaming
de72038a9d Add fixes to updater and appveyor 2019-03-28 20:36:25 -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
2707c72182 Fix updater not opening exe properly 2019-03-28 18:11:04 -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
461458a17e Use the save icon 2019-03-28 16:42:31 -04:00
KillzXGaming
7ead89f039 Remove update notifcation for an icon to remove nagging 2019-03-28 16:39:23 -04:00
KillzXGaming
ba60d13972 Fix tag typo 2019-03-28 16:29:32 -04:00
KillzXGaming
c40ba88f6c Disable mdi buttons when all tabs are closed 2019-03-28 16:27:21 -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
c1a67fe7b7 Remove unused folder 2019-03-27 21:39:11 -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
296cab0b02 Switch to release type 2019-03-27 21:26:57 -04:00
KillzXGaming
ce87850e1c Fix parse issue 2019-03-27 21:20:45 -04:00
KillzXGaming
f5a8537a7c Add zip atrifact 2019-03-27 21:17:22 -04:00
KillzXGaming
d37652aaae Add appveyor config 2019-03-27 21:05:01 -04:00
KillzXGaming
9c8bb26a8f Another error fix 2019-03-27 19:20:29 -04:00
KillzXGaming
d4be5b1e2f Please build 2019-03-27 19:17:54 -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
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
1e0ea5660e Fix user data not removing entries 2019-03-26 18:24:31 -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
a7183147b0 Add replace textures from folder function for BNTX 2019-03-25 21:29:13 -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
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
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
8610f33a1e Fix spacing 2019-03-23 19:56:44 -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
f0c757259d Fix textures from erroring out 2019-03-23 14:53:57 -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
f305ed994a Oops, fix this 2019-03-23 13:56:08 -04:00
KillzXGaming
822a4c699e Enable updater 2019-03-23 13:55:12 -04:00
KillzXGaming
73c873f04d Add doc folder 2019-03-23 13:46:50 -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
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
029f350526 Change FTEX R8G8B8 compression method to new one. . 2018-11-19 13:14:35 -05:00
KillzXGaming
d302808d24 Add mip maps to importer 2018-11-19 13:08:41 -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
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