Commit graph

274 commits

Author SHA1 Message Date
KillzXGaming
ef9db11f03 Fix .anim exporting 2019-08-23 19:54:16 -04:00
KillzXGaming
2f8041bc93 Improve PTCL color editing and add texture icon previewing. 2019-08-19 18:28:59 -04:00
KillzXGaming
693fc7f934 Some anim exporting fixes 2019-08-12 16:34:57 -04:00
KillzXGaming
84f9811f93 Fix some tool menu extensions from the plguin 2019-08-09 21:33:26 -04:00
KillzXGaming
79d78f64ad Textue importer improvements and some gui fixes 2019-08-08 15:26:08 -04:00
KillzXGaming
e5bb9fa9d5 Use file streams for non archive based writing. Allow giant file saving from opened streams. 2019-08-06 17:35:18 -04:00
KillzXGaming
c559b2c674 limit dds format support properly 2019-08-05 21:35:25 -04:00
KillzXGaming
de0382a08e Adjust DDS header properly when edited 2019-08-05 21:33:42 -04:00
KillzXGaming
3ee6cd887a Support DDS editing 2019-08-05 21:30:47 -04:00
KillzXGaming
1ab2164339 Rewrite all the texture modes to use proper enums 2019-08-03 15:23:05 -04:00
KillzXGaming
f4e4afa2f7 Cleanup. Start to impliment texture preview icons in tree 2019-08-01 17:47:35 -04:00
KillzXGaming
ce85ad3835 Add GT1/G1T support 2019-07-28 21:58:28 -04:00
KillzXGaming
9011f2a4c7 Try to dispose rarc properly 2019-07-28 12:45:39 -04:00
KillzXGaming
76c0b560ad restet saved lists for rarc on save 2019-07-25 20:56:28 -04:00
KillzXGaming
5582f31c38 Add option to export lm2 dark moon models 2019-07-25 09:36:49 -04:00
KillzXGaming
ba6fef722d Adjust the vertex color view to clamp values above 255 2019-07-21 14:51:50 -04:00
KillzXGaming
419a76a508 Fix btye order for image decoding gc images 2019-07-19 17:24:54 -04:00
KillzXGaming
0699a50408 Another fix for .anim with keyed frames 2019-07-19 16:45:19 -04:00
KillzXGaming
c4279e6404 Fix some anim exporting issues 2019-07-19 16:05:53 -04:00
KillzXGaming
395a9bd65d Some dds edit fixes 2019-07-19 15:39:25 -04:00
KillzXGaming
da46126e8b Update image editor properly if edited 2019-07-19 15:27:30 -04:00
KillzXGaming
49ab034d46 Adjus bc5 decoder to prevent errors on re encoding 2019-07-18 15:58:50 -04:00
KillzXGaming
6cfb6a214f Adjust the toolbox name to no longer include "Switch" in it. 2019-07-16 17:35:21 -04:00
KillzXGaming
f84753aa11 Add viewer for TPHD file tables 2019-07-14 17:36:52 -04:00
KillzXGaming
8defebe175 Add additional bytes for RSTB entries to prevent issues 2019-07-09 17:59:58 -04:00
KillzXGaming
5682def8b7 Another bone fix 2019-07-05 20:41:55 -04:00
KillzXGaming
f5e7996bd3 Another importing fix from my stupid mistakes 2019-07-05 19:28:49 -04:00
KillzXGaming
b10aaed86e Some more fixes with importing 2019-07-05 19:24:56 -04:00
KillzXGaming
5a195e11af Get specific "Root" bones for botw 2019-07-05 18:47:14 -04:00
KillzXGaming
d6e67ac6e6 Automatically search for a proper skl root bone if possible 2019-07-05 18:21:47 -04:00
KillzXGaming
f6a21ee01f Root bone name adjustments and adjust csv settings 2019-07-05 17:56:09 -04:00
KillzXGaming
eab5c3ee55 Make batch exporting for all supported wii u texture types 2019-07-05 16:55:50 -04:00
KillzXGaming
52d42358b2 Create empty meshes for filling it meshes that have no vertices 2019-07-03 12:39:23 -04:00
KillzXGaming
47ca70a015 Fix 0.9 bfres with scene animations. Add toggle for direct x tex decoder 2019-06-27 14:38:13 -04:00
KillzXGaming
65341998c3 Fix dds decoder 2019-06-26 13:35:35 -04:00
KillzXGaming
27d4b670d8 Fix detecting zstd compression. Add NCA and IStorage support 2019-06-26 12:48:54 -04:00
KillzXGaming
07c37ef3d4 Fix material exporting and bfres saving for user data that contains non string types 2019-06-24 20:51:35 -04:00
KillzXGaming
31e5f42373 Limt skin count by default to prevent any possible issues 2019-06-23 11:04:34 -04:00
KillzXGaming
cbef8ab438 Fix fbx mesh names 2019-06-23 10:32:07 -04:00
KillzXGaming
b62305e2af quick fix for importing fbx 2019-06-23 10:22:12 -04:00
KillzXGaming
2aea6eb28a Fix dae importing having unmapped bones 2019-06-23 09:00:36 -04:00
KillzXGaming
456796d684 Another fix 2019-06-22 09:00:58 -04:00
KillzXGaming
fab1c82fd1 Add swizzle checks for sdf files 2019-06-22 08:56:23 -04:00
KillzXGaming
09e9bf0e95 Better gfbmdl materials 2019-06-21 22:24:33 -04:00
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