1
0
mirror of synced 2024-12-12 15:51:16 +01:00
Commit Graph

616 Commits

Author SHA1 Message Date
KillzXGaming
659015013d Fix texture name on batch export 2019-06-28 20:16:11 -04:00
KillzXGaming
db35e29659 Add batch exporter for BNTX textures from ptcl, bfres, and sarc 2019-06-28 20:11:15 -04:00
KillzXGaming
c1f779ebb7 Detect zlib by magic 2019-06-28 19:24:28 -04:00
KillzXGaming
f776b46138 Fix 0.9 bfres savig with material animations 2019-06-28 18:02:11 -04:00
KillzXGaming
ade73e6560 More render texture improvements. Fix a fix model importing issues. 2019-06-28 14:58:17 -04:00
KillzXGaming
1b72ac47f1 Some fixes for renderable textures 2019-06-27 20:58:54 -04:00
KillzXGaming
4538b86834 Update image properly for bntx if channel selectors are changed 2019-06-27 16:02:54 -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
3edbaece3f Allow saving for 0.9. Note this will crash if it has animations 2019-06-26 18:30:10 -04:00
KillzXGaming
3a343dd16a Fix samplers for a certain game 2019-06-26 15:21:51 -04:00
KillzXGaming
d228920614 Throw error if 0.9 bfres are saved 2019-06-26 15:18:48 -04:00
KillzXGaming
cec9928991 Make sure to use the right sarc code 2019-06-26 13:26:12 -04:00
KillzXGaming
27d4b670d8 Fix detecting zstd compression. Add NCA and IStorage support 2019-06-26 12:48:54 -04:00
KillzXGaming
7ad04eedad Fixes for batch bflim 2019-06-25 21:23:00 -04:00
KillzXGaming
5e0790ab8e Fix folder path for batch bflim exporting 2019-06-25 20:08:16 -04:00
KillzXGaming
53b15c1f7b A few more fixes.
Fix material copying for wii u bfres.
Add batch bflim exporting.
2019-06-25 20:03:50 -04:00
KillzXGaming
b6078e1432 Fix sarc not showing menu properly on right clicking 2019-06-25 17:51:42 -04:00
KillzXGaming
8823f54ff6 Fix SP2 sometimes not maping diffuse maps 2019-06-25 17:19:44 -04:00
KillzXGaming
8d38ab1f73 Disable textures for kcl legacy 2019-06-25 17:11:34 -04:00
KillzXGaming
072166ae45 Filter SDF by extension usage amout 2019-06-25 16:59:30 -04:00
KillzXGaming
2d1c15a333 Fix star link SDF 2019-06-25 15:58:20 -04:00
KillzXGaming
51eff3211d Add legacy drawing for KCL 2019-06-25 15:45:22 -04:00
KillzXGaming
c5bf1a0c3e Fix material deleting for good (hopefully) 2019-06-25 15:40:35 -04:00
KillzXGaming
7276ed399c Add option to batch export all textures for wii u PTCL 2019-06-25 15:24:28 -04:00
KillzXGaming
d664a47426 Add big speed and memory improvements to bfres, bntx, and other formats 2019-06-25 14:56:19 -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
63a7c1afca Adjust SDF version check so it hopefully works with star link 2019-06-24 16:11:52 -04:00
KillzXGaming
fa4ada2c1a Handle sarc archives the same way to load faster 2019-06-24 15:57:28 -04:00
KillzXGaming
d6ca128798 Fix build errors 2019-06-24 15:52:39 -04:00
KillzXGaming
6798db20de Add massive speed boost and memory improvements for archives with 1000s of files
This also fixes transparency on PBR shader.
Fixes odyssey costume viewer framing bfes
2019-06-24 15:45:54 -04:00
KillzXGaming
a317c88e3c Fix swizzle pattern setting 2019-06-23 18:09:07 -04:00
KillzXGaming
71d91e470d Update bones properly if a model is removed 2019-06-23 11:13:55 -04:00
KillzXGaming
e9d810704e Fix crash from importing bones 2019-06-23 09:19:34 -04:00
KillzXGaming
dfd31c9fae Some flag fixes 2019-06-23 09:17:49 -04:00
KillzXGaming
bdccb83cc4 Apply bone transform flags again 2019-06-23 09:12:13 -04:00
KillzXGaming
dcfeb6e619 More fixes for bone importing 2019-06-23 09:10:24 -04:00
KillzXGaming
2aea6eb28a Fix dae importing having unmapped bones 2019-06-23 09:00:36 -04:00
KillzXGaming
7395d78d67 Fix string entries not being relocated properly for user data (switch bfres) 2019-06-22 18:45:43 -04:00
KillzXGaming
85333e7cf1 Fix material names for gfbmdl 2019-06-22 11:11:00 -04:00
KillzXGaming
c879ec7839 Only get the filedata once for opening archive editors for quicker loading/less memory usage 2019-06-22 10:40:08 -04:00
KillzXGaming
059e9d9ecc Auto detect lz4 compression on open files and also sdf 2019-06-22 09:26:45 -04:00
KillzXGaming
29b4e07fd5 Flip UVs for gfbmdl 2019-06-22 09:20:08 -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
54e88cdef5 Only load certain supported formats for sdf for faster loading. (Can still be extracted as all normally) 2019-06-22 07:57:26 -04:00
KillzXGaming
7090234fe5 Disable automated transform flags to test something 2019-06-21 22:34:26 -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
6f22257113 Draw skeleton for gfmdl 2019-06-20 18:01:06 -04:00
KillzXGaming
0fbb18ac85 Update preview scale for kcl 2019-06-20 17:20:06 -04:00
KillzXGaming
ad1c4aed4e Improve lighting view in pbr shader. Start on SEModel support. 2019-06-20 15:29:04 -04:00
KillzXGaming
a67849f324 Fix typo 2019-06-19 20:12:44 -04:00
KillzXGaming
60041c0c65 Make sure to unload model for combined export 2019-06-19 20:07:42 -04:00
KillzXGaming
1cc36eeabd Add option to batch extract MKAGPDX models combined to single dae 2019-06-19 19:59:10 -04:00
KillzXGaming
c540b32cb7 Fix export extension 2019-06-19 19:44:53 -04:00
KillzXGaming
b2abeba272 Enable multi select for batch exporting 2019-06-19 19:43:01 -04:00
KillzXGaming
307747ba1b Cleanup tool menu 2019-06-19 18:58:36 -04:00
KillzXGaming
83abf17ff8 Adjust unload method 2019-06-19 18:20:13 -04:00
KillzXGaming
496d192097 Add option to batch export mkagpdx models 2019-06-19 18:17:42 -04:00
KillzXGaming
cae1d75173 Update to latest gl framework 2019-06-19 17:05:44 -04:00
KillzXGaming
54c4bac8bc Add MKAGPDX model viewing and exporting 2019-06-19 14:57:59 -04:00
KillzXGaming
a076fc6f92 Some mkagpdx model progress 2019-06-18 21:48:18 -04:00
KillzXGaming
15154d75b1 Add a few wip things 2019-06-18 20:52:09 -04:00
KillzXGaming
2f3c60c068 Fix appveyor errors 2019-06-18 16:23:24 -04:00
KillzXGaming
b1b9230146 Quick SDF fix 2019-06-18 15:48:18 -04:00
KillzXGaming
b0cecddee4 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2019-06-17 19:40:59 -04:00
KillzXGaming
31c0351b0b Dipose the stream properly for decompressed data. 2019-06-17 19:40:51 -04:00
KillzXGaming
99883c9a5b Adjustments for limiting the size 2019-06-17 19:37:40 -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
CosmicDreamsOfCode
98ab0792c7
Correct file format name for SDFTOC
"Snowdrop Engine" instead of "Snow Engine"
2019-06-17 19:57:11 +01:00
KillzXGaming
c1f7adb212
Try to fix appveyor 2019-06-17 07:34:01 -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
88f95dc8b3 Fix gtx file saving if there are no mip maps for a texture 2019-06-15 21:39:23 -04:00
KillzXGaming
8bbe51bb9c Support for decompressing carcs 2019-06-15 20:50:26 -04:00
KillzXGaming
a7f5b2e6ad Also so the same for the other replace function 2019-06-15 13:31:32 -04:00
KillzXGaming
bbe33f65f4 Adjust swizzle setting 2019-06-15 13:28:16 -04:00
KillzXGaming
2b91d8a834 Fix errors 2019-06-15 08:54:26 -04:00
KillzXGaming
05cb5979f8 Fix form dialogs not working for sarc (ie AAMP editor) 2019-06-15 08:50:09 -04:00
KillzXGaming
153783562e Improve check for rigid index types 2019-06-14 21:36:58 -04:00
KillzXGaming
ad3cd6654b Ignore rigid indices for now to fix transform issues 2019-06-14 21:35:09 -04:00
KillzXGaming
b231df5d15 Fix property grid updating 2019-06-14 20:38:27 -04:00
KillzXGaming
34f724a6e1 Fix channel components previewing for gx2 2019-06-14 20:18:34 -04:00
KillzXGaming
6ef05a82c8 Properly align and create new alignment blocks for gtx files on save. 2019-06-14 19:53:06 -04:00
KillzXGaming
bb31926b1e Some GTX file texture importing fixes 2019-06-14 18:44:40 -04:00
KillzXGaming
a8698a2ef4 Add LZARC support and a few random fixes. 2019-06-14 17:23:02 -04:00
KillzXGaming
d2e1018db9 Remove pointless files i had no idea was being copied 2019-06-13 20:19:22 -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
74dc1c132c More bone transform fixes 2019-06-12 19:21:05 -04:00
KillzXGaming
c86a7b23ca Ignore rigid indices on rigid bodies, only check if rigiid skinning. 2019-06-12 19:15:54 -04:00
KillzXGaming
19f3811a46 Fix zlib decompression for NARC 2019-06-12 18:25:41 -04:00
KillzXGaming
4280728647 Update image editor properly for wii u bfres 2019-06-12 17:04:54 -04:00
KillzXGaming
18120fa028 Some sampler fixes for odyssey 2019-06-12 16:18:30 -04:00
KillzXGaming
0b87737eac Now twilight princess file table works 2019-06-11 20:59:53 -04:00
KillzXGaming
9e132a68d3 More RSTB fixes 2019-06-11 18:05:07 -04:00
KillzXGaming
4536246d6f Sort bone indices properly to prevent possible stretching. 2019-06-11 16:44:59 -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
e22005bbea Start to impliment RSTB table. 2019-06-10 20:54:23 -04:00
KillzXGaming
cce69d12e2 Some more fixes and optmizations. 2019-06-10 16:30:06 -04:00
KillzXGaming
3b7e02f399 Add proper render pass check and sort transparent shapes properly 2019-06-09 21:06:50 -04:00
KillzXGaming
056a13d03a Also add R8G8_SNORM to supported formats list 2019-06-09 20:53:33 -04:00
KillzXGaming
2e9632277b Add ftex support for R8G8_SNORM 2019-06-09 20:51:50 -04:00
KillzXGaming
bb691dcd0b Start to add multiple editor switching for archive files 2019-06-09 20:03:56 -04:00
KillzXGaming
8b052bf4b4 Fix font scaling on title bar 2019-06-09 17:27:07 -04:00
KillzXGaming
7bd1abf12a More cleanup 2019-06-09 14:23:44 -04:00
KillzXGaming
a336e711f1 Some fixes and cleanup for textures 2019-06-09 14:17:10 -04:00
KillzXGaming
5546d0da24 Add preview archive option to sarc 2019-06-09 13:51:04 -04:00
KillzXGaming
80f0c765aa Add event for replacing textures after edits are applied. 2019-06-09 11:59:41 -04:00
KillzXGaming
978299f9ca One more fix for gtx texture replacing which should fix corrupted swizzling 2019-06-09 10:48:48 -04:00
KillzXGaming
33e886e546 More GTX file texture replacing fixes 2019-06-08 21:48:30 -04:00
KillzXGaming
6d951b5906 Many rigging fixes. Meshes won't go to the center if using rigid skinning (1 skin influence) 2019-06-08 13:58:19 -04:00
KillzXGaming
81c5cc588c Only frame camera if bfres has meshes 2019-06-07 20:36:45 -04:00
KillzXGaming
7a02a36a2d Prevent viewport changing models if there are none in bfres. 2019-06-07 20:13:34 -04:00
KillzXGaming
890f5afcf7 Check audio amount before adding entries for bars. 2019-06-07 17:01:24 -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
419164c855 Make sure to clear the attriubte list after usage is complete. 2019-06-06 21:15:13 -04:00
KillzXGaming
05474688be Add an "Inject" tab for maintaining original model data when replaced. 2019-06-06 21:13:25 -04:00
KillzXGaming
9c44e14597 Always try to map materials even if use materials is unchecked 2019-06-06 19:35:45 -04:00
KillzXGaming
5a17b71d8f Option to limit material mapping to original way. More fixes to skim limiter 2019-06-06 19:27:10 -04:00
KillzXGaming
a520ff1dd9 Add basic probe bounding box converter 2019-06-06 17:57:55 -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
04c43b8bd5 Add option to smooth normals between multiple meshes 2019-06-05 22:02:35 -04:00
KillzXGaming
d8dbefa3af Improve skin weight limiter. Should be more similar to the csv script 2019-06-05 19:55:51 -04:00
KillzXGaming
60e77f3dd1 Seperate option to reset color params on import to prevent param data loss when being swapped 2019-06-05 16:15:18 -04:00
KillzXGaming
13b346ddde Display emblem on karts properly 2019-06-04 20:17:19 -04:00
KillzXGaming
16b53bd2a6 Update viewport properly if a texture is replaced for wii u bfres 2019-06-04 17:03:15 -04:00
KillzXGaming
8a22275cd5 Animation fixes for playing last frame 2019-06-03 20:04:15 -04:00
KillzXGaming
47cd45b4e0 Add support for specular colors if used 2019-06-03 19:00:46 -04:00
KillzXGaming
270d6d3089 Fix importing new materials for wii u 2019-06-03 16:56:36 -04:00
KillzXGaming
7d09926899 Prevent cursor from reseting to 0 for param editing 2019-06-02 16:15:33 -04:00
KillzXGaming
54f6fbb227 Some fixes. Some progress on converting switch/wii u texture binaries 2019-06-02 14:08:10 -04:00
KillzXGaming
9d7688cbf6 and one more fix for material animations 2019-06-01 19:52:45 -04:00
KillzXGaming
a02267c692 And more fixes for material animation importing 2019-06-01 19:49:45 -04:00
KillzXGaming
5e9a86461c More fixes 2019-06-01 19:43:57 -04:00
KillzXGaming
41bd8f7a8f Fix material animation filter 2019-06-01 19:22:27 -04:00
KillzXGaming
bbbb35947c Set attributes for paths to try to fix permission issues on updating 2019-06-01 18:57:56 -04:00
KillzXGaming
717822e067 More animation formats for wii u to switch 2019-06-01 18:51:04 -04:00
KillzXGaming
e51fb070c6 Start adding conversion methods for automatic wii u - switch conversion and vice versa 2019-06-01 18:15:48 -04:00
KillzXGaming
7cb5885e6f More archive improvements 2019-06-01 17:49:39 -04:00
KillzXGaming
60a1e52dfe Fix error dialog label size 2019-06-01 15:16:39 -04:00
KillzXGaming
4d7171605b Add option to remove unused textures on save. 2019-06-01 12:30:17 -04:00
KillzXGaming
72ea6d0eb7 Force getting the name from the binary if possible in gfpak 2019-06-01 10:15:30 -04:00
KillzXGaming
28d00d6a16 Add extension checks for gfpak 2019-06-01 09:49:33 -04:00
KillzXGaming
d46df12ecf Default the compression mode for BC7 to fast if edited via default program feature. 2019-06-01 09:28:07 -04:00
KillzXGaming
60ffca8e2b One last fix 2019-05-31 20:29:45 -04:00
KillzXGaming
40cb06cb86 Fix pixel types not being read properly 2019-05-31 20:24:48 -04:00
KillzXGaming
201739dcb6 Some fixes for parsing 2019-05-31 20:20:07 -04:00
KillzXGaming
ffa130a98b Set the shader type properly 2019-05-31 19:14:25 -04:00
KillzXGaming
01ae391de6 Add NUSHDB shader file. 2019-05-31 19:08:55 -04:00