1
0
mirror of synced 2024-11-14 19:17:39 +01:00
Commit Graph

230 Commits

Author SHA1 Message Date
KillzXGaming
067244555a Improve gfmdl support. Fix raw astc exporting 2019-06-21 18:18:22 -04:00
KillzXGaming
ad1c4aed4e Improve lighting view in pbr shader. Start on SEModel support. 2019-06-20 15:29:04 -04:00
KillzXGaming
54c4bac8bc Add MKAGPDX model viewing and exporting 2019-06-19 14:57:59 -04:00
KillzXGaming
15154d75b1 Add a few wip things 2019-06-18 20:52:09 -04:00
KillzXGaming
b1b9230146 Quick SDF fix 2019-06-18 15:48:18 -04:00
KillzXGaming
b8aad096ff Update image formats a bit. Add a fill editor option so editors update properly for archive viewer. 2019-06-17 19:19:27 -04:00
KillzXGaming
732f3a7aeb Don't default switch swizzle for dds 2019-06-16 20:55:14 -04:00
KillzXGaming
cee244669e Fix DDS headers in SDF archive 2019-06-16 20:34:04 -04:00
KillzXGaming
8f849bf260 Add working SDF (Mario and Rabbids) archive support. 2019-06-16 19:35:46 -04:00
KillzXGaming
ae1f2ebb79 Fix exporting individual objects 2019-06-16 09:53:41 -04:00
KillzXGaming
bbe33f65f4 Adjust swizzle setting 2019-06-15 13:28:16 -04:00
KillzXGaming
70b15a94b7 More rstb fixes 2019-06-15 11:27:50 -04:00
KillzXGaming
8f18e77ab7 Fix RSTB sizes not using decompressed size 2019-06-15 11:04:29 -04:00
KillzXGaming
c9d3c3efa9 Make sure to use mesh indices on export 2019-06-15 09:28:44 -04:00
KillzXGaming
a37ad31922 Disable a few things so it exports properly 2019-06-15 09:24:25 -04:00
KillzXGaming
a7db504a5a Update back to latest assimp and now use a new work around for bone names 2019-06-15 09:14:35 -04:00
KillzXGaming
add182f902 Rework form editors a bit for later loading docked for archives 2019-06-13 18:40:29 -04:00
KillzXGaming
0c11a29e03 Add MKAGPDX PAC support 2019-06-13 17:31:35 -04:00
KillzXGaming
376657825c Dispose reader streams for file tables once finsihed 2019-06-12 17:40:15 -04:00
KillzXGaming
d86db10537 More fixes/adjustments to table 2019-06-11 21:09:00 -04:00
KillzXGaming
35f547e9a7 Nearly working now 2019-06-11 19:51:27 -04:00
KillzXGaming
bd7a173876 Progress on twilight princess hd file table 2019-06-11 19:35:02 -04:00
KillzXGaming
9e132a68d3 More RSTB fixes 2019-06-11 18:05:07 -04:00
KillzXGaming
06a26c586f Fix label scaling in settings 2019-06-11 15:50:27 -04:00
KillzXGaming
41adcfffc1 Tons more RSTB progress (Note file in archives don't work yet) 2019-06-11 15:39:23 -04:00
KillzXGaming
cce69d12e2 Some more fixes and optmizations. 2019-06-10 16:30:06 -04:00
KillzXGaming
ea626cac07 Try to fix windows scaling again on 4k monitors 2019-06-09 21:21:03 -04:00
KillzXGaming
f6fdae96f6 A few fixes to archives 2019-06-08 20:19:55 -04:00
KillzXGaming
28cc63a95c Some exporting improvements. 2019-06-08 14:50:10 -04:00
KillzXGaming
375d054522 Add support for BARS with only meta entries 2019-06-07 16:56:54 -04:00
KillzXGaming
e531a779ed Small fixes and additions
Fixed mesh name exporting for assimp.
Fixed clearing models for bfres.
Fixed limit skin count setting.
Fixed material index breaking if a material is removed for bfres.
Update the vertex data properly if a model is imported as new.
Added AMTA editing for BARS.
Added audio player for BARS.
2019-06-07 16:31:13 -04:00
KillzXGaming
157ff75b79 Add model cycling if multiple models are active in an editor.
Models can be cycled in the same editor. The active one now gets properly set. You can adjust the combo box to preview multiple models in the scene.
Fixed a bug where some models would project on the top of the screen as duplicates.
2019-06-06 15:40:32 -04:00
KillzXGaming
41fcaa1a73 Fix RGBA8 srgb being too bright when set in image importer 2019-06-05 16:38:01 -04:00
KillzXGaming
13b346ddde Display emblem on karts properly 2019-06-04 20:17:19 -04:00
KillzXGaming
7cb5885e6f More archive improvements 2019-06-01 17:49:39 -04:00
KillzXGaming
921b267b44 Improve legacy support and a few fixes.
Cursor for param editing doesn't reset anymore to the top right of the screen.
Fixed some direct c tex issues with loading.
2019-05-31 15:08:14 -04:00
KillzXGaming
394d0e8d90 Fix rigging issues. Fix bntx not keeping the same size after editing textures with same size. 2019-05-28 14:34:30 -04:00
KillzXGaming
f787c59627 Add setting to limit vertex skin to better help prevent crashes 2019-05-27 20:02:57 -04:00
KillzXGaming
d743d39efc Some adjustments and fixes 2019-05-27 18:00:03 -04:00
KillzXGaming
0763f080c0 Don't optmize the attribute formats atm as they cause the game to crash on certain skin amounts 2019-05-26 16:44:35 -04:00
KillzXGaming
e3a410a75a More adjustments 2019-05-26 15:33:16 -04:00
KillzXGaming
c92988e909 Update filters 2019-05-26 11:56:42 -04:00
KillzXGaming
7bad5175ef Now seanim animation imports should work 2019-05-26 11:48:30 -04:00
KillzXGaming
3ffc7d7f6d More seanim fixes 2019-05-26 11:39:34 -04:00
KillzXGaming
9b0883150a More progress on seanim importing 2019-05-26 11:32:12 -04:00
KillzXGaming
8fc4ae525e Cleanup smd a bit 2019-05-26 11:02:07 -04:00
KillzXGaming
6afb66932b Fixup smd exporting and add importing smd back 2019-05-26 10:56:23 -04:00
KillzXGaming
e720214b5e Add option to configure the rotation of the bones manually 2019-05-25 14:27:39 -04:00
KillzXGaming
7e16f21975 Add .anim support from forge for testing, and fix export filter 2019-05-25 13:03:54 -04:00
KillzXGaming
2a92afa122 Chr0 animation importing, dae exporting and tons more improvements!
Chr0 can be imported/replaced.
More fixes to importing sections including some errors and proper filtering.
Dae epxorting now has a progress bar and an option to idsable texture exporting.
Bfska can now be swapped between platforms. More sections will handle this method soon!.
Fixed spaces on files from "Export All".
Display multiple texture maps in bcres materials
2019-05-24 15:15:35 -04:00
KillzXGaming
3a85f06ac7 Tons more DDS fixes from yesterday. RGB textures also aren't blue anymore. 2019-05-22 15:26:25 -04:00
KillzXGaming
e51b1e2382 Adjustments for anims 2019-05-18 17:55:22 -04:00
KillzXGaming
ffdb042c3f Improve zlib support. Add NXARC 2019-05-18 10:06:09 -04:00
KillzXGaming
b759a293fe Some adjustments for animations 2019-05-17 21:09:24 -04:00
KillzXGaming
cd721af0eb DDS fixes. Add BC7 normal mode for slower but better quality compression 2019-05-17 15:35:10 -04:00
KillzXGaming
a0dd1b4f22 Fix normals on mario's hands in costume selector 2019-05-16 19:25:41 -04:00
KillzXGaming
304b00fe49 More PBR improvements. Fix skybox to be a proper skybox 2019-05-16 16:01:22 -04:00
KillzXGaming
cd57a856fc Add improvements from yesterday.
PBR shader slghtly improved.
Skyobx toggle now works while viewport is active,
Cubemaps now have a check wether or not the file given is a valid cube map dds.
Update column sizing so forms load much faster
Option to right click and clear paths in settings if set
2019-05-15 15:35:05 -04:00
KillzXGaming
2211d3d352 Convert a few compressed types for cubemaps to decode 2019-05-14 18:37:44 -04:00
KillzXGaming
f2439f2fdc More image editor improvements
Array textures can be exported to DDS.
Specific channels can be edited.
Uncompressed formats for dds greatly improved.
Array textures can be exported from non dds formats as multiple images.
2019-05-14 15:12:26 -04:00
KillzXGaming
f372373cdc Add file types for all file formats 2019-05-08 16:45:27 -04:00
KillzXGaming
bcd77f29ca Add support for old 3ds ptcl versions 2019-05-06 19:13:16 -04:00
KillzXGaming
72579451b8 Fix bone names on import and some import errors 2019-05-06 17:19:07 -04:00
KillzXGaming
2847aa4fda Some minor fixes and setting 2019-05-05 17:30:11 -04:00
KillzXGaming
a9e7e03455 More fixes 2019-05-05 15:34:29 -04:00
KillzXGaming
758e922183 Cleanup and fixes 2019-05-04 21:20:47 -04:00
KillzXGaming
0fc310380b Fix my stupid mistakes with assimp. 2019-05-04 20:48:19 -04:00
KillzXGaming
85c5051b36 Apply assimp matrix properly 2019-05-04 20:40:37 -04:00
KillzXGaming
7cec448cd0 Fix duplicate meshes 2019-05-04 15:53:05 -04:00
KillzXGaming
489d47243b Support R4G4 decoding 2019-05-04 12:48:23 -04:00
KillzXGaming
017c1ab1e3 More fixes to 3ds formats. Fix gzip decompressing giving wrong size. 2019-05-04 12:03:07 -04:00
KillzXGaming
ed33ef65f9 Start to support 3DS ptcl 2019-05-03 20:53:48 -04:00
KillzXGaming
db4766c63d Add a loaded check for dae/fbx 2019-05-03 15:40:00 -04:00
KillzXGaming
6303769adb More AAMP stuff. Add more import settings for dae/fbx. 2019-05-03 15:36:04 -04:00
KillzXGaming
e5e3d8406f Check skeleton on mesh export 2019-05-02 19:52:49 -04:00
KillzXGaming
fc7f208af6 More exporting fixes 2019-05-02 19:45:55 -04:00
KillzXGaming
fd4e3f4853 Add GTX editing/saving back. 2019-05-01 15:38:14 -04:00
KillzXGaming
46ab6e64fa Fill the image blocks on XTX save 2019-04-30 17:07:25 -04:00
KillzXGaming
57d19b432d Add collade schematic 2019-04-30 16:51:43 -04:00
KillzXGaming
e19100d6fa Show exceptions for assimp errors 2019-04-30 16:39:10 -04:00
KillzXGaming
dfbdc96362 Try to fix memory issues when exporting as dae 2019-04-29 19:50:12 -04:00
KillzXGaming
432e639081 Fix boe importing not changing the parent index 2019-04-27 10:55:31 -04:00
KillzXGaming
dd15ef59c5 Many more improvements and additions
Added NUT support (viewing GX2 and DDS texture data)
Fixed importing uncompressed dds using the mask data.
Add EFE support from smash 4 wii u and 3ds.
Redo the shader param editor. Uses a list again for faster access and viewing. I will have items drop down from a floating window next to the item soon.
2019-04-24 21:17:29 -04:00
KillzXGaming
524194a288 Fix DDS exports with BC4 format 2019-04-21 14:24:48 -04:00
KillzXGaming
27928658df Add mesh transforms in console on import for debugging 2019-04-14 20:33:41 -04:00
KillzXGaming
4dcc523125 Fix normals from model importing if the model's scale was transformed 2019-04-12 16:21:00 -04:00
KillzXGaming
79036ecb95 Fix bfres importing bugs and alignment corruption from importing sections 2019-04-12 15:34:42 -04:00
KillzXGaming
3f510ce76b Fix color display for some shader params 2019-04-10 19:59:57 -04:00
KillzXGaming
4795b1addb Fix material exporting with OBJ 2019-04-10 18:58:17 -04:00
KillzXGaming
a21eead9da Add my own obj libary since assimp is broken 2019-04-10 18:42:45 -04:00
KillzXGaming
3a153b5ed1 Flip UVs on export 2019-04-10 17:44:35 -04:00
KillzXGaming
bab9ce9022 Fix dae exporting with only indices and no weights. Fix sharc crashes. 2019-04-09 17:24:39 -04:00
KillzXGaming
08b4f3296e Fix some bugs 2019-04-07 17:14:55 -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
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
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
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
2bcae8c2eb Check for unused names for unswizzled nutexb types 2019-03-29 17:36:54 -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
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
01fda68f93 Fix bone issues and skeleton importing 2019-03-27 14:50:33 -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
5264ec4f5d Fix bone indices not saving and bounding radius. 2019-03-25 10:06:12 -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
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
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
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
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
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
5849962617 Add latest 2018-11-17 17:33:00 -05:00
KillzXGaming
6fb4da17b3 Add tool library 2018-11-11 19:48:33 -05:00