1
0
mirror of synced 2024-12-13 08:11:07 +01:00
Commit Graph

1191 Commits

Author SHA1 Message Date
KillzXGaming
8a5add6405 Convert bmd filter modes 2019-07-12 21:53:00 -04:00
KillzXGaming
5fc6522449 Add more bmd material conversion. Reorder bmd object draw, and check transparency 2019-07-12 21:48:56 -04:00
KillzXGaming
97dbb145ad Load images after lists are loaded to prevent issues 2019-07-12 21:09:54 -04:00
KillzXGaming
c02e248a7b Get textures in the active bfres first for texture pattern animations to avoid conflicts 2019-07-12 21:01:16 -04:00
KillzXGaming
46c7141486 Update bntx images properly in bfres editor when replaced 2019-07-12 20:47:04 -04:00
KillzXGaming
530c86e672 Use bmd cull modes 2019-07-12 20:13:27 -04:00
KillzXGaming
d74988583f Allow for empty texture paths 2019-07-12 20:06:31 -04:00
KillzXGaming
0399de79ac fixup settings for bmd 2019-07-12 20:03:23 -04:00
KillzXGaming
58406d6d44 Add bmd settings 2019-07-12 20:01:22 -04:00
KillzXGaming
d9db8c3b09 Adjust assimp version to a more stable build. Add bmd replacing/exporting 2019-07-12 19:44:17 -04:00
KillzXGaming
7364a1d6e1 A few generic shader tweaks 2019-07-12 17:57:41 -04:00
KillzXGaming
1becccb4ec Map bmd materials by index rather than name for opengl 2019-07-12 17:53:57 -04:00
KillzXGaming
282855977a Transform bmd normals properly for rigging 2019-07-12 17:33:48 -04:00
KillzXGaming
2fbf994ae1 Fix rigged bmds 2019-07-12 17:31:00 -04:00
KillzXGaming
d87426fbd8 bmd fixes and fix image editor issues 2019-07-12 15:28:14 -04:00
KillzXGaming
8c0c625ab5 Fix material names 2019-07-11 21:02:30 -04:00
KillzXGaming
3d8b8f7263 Get bmd materials properly by remap index 2019-07-11 20:56:11 -04:00
KillzXGaming
3c3ab5fc32 Add getters/setters for bmd materials 2019-07-11 20:46:45 -04:00
KillzXGaming
134eff9401 More BMD fixes and adjustments 2019-07-11 20:23:47 -04:00
KillzXGaming
9c5917cc6a Load bmd textures to opengl 2019-07-11 19:51:28 -04:00
KillzXGaming
7f679b9fa6 Add bmd drawing 2019-07-11 19:38:29 -04:00
KillzXGaming
7fddf179f6 Fix selecting a list item in texture pattern editor 2019-07-11 17:35:23 -04:00
KillzXGaming
f803f787b6 Fix build errors 2019-07-11 17:29:44 -04:00
KillzXGaming
5081e39414 More format additions and fixes.
Fixed MKAGPDX models a bit so they aren't all missing mesh data. Skinned ones are still buggy!
 BMD wip support using SuperBMDLib.
 Adjusted gui loading a little bit.
2019-07-11 17:22:59 -04:00
KillzXGaming
e5b0b71eaa Fix multiple ptcl issues with rebuilding. Add some GCN formats 2019-07-10 20:38:35 -04:00
KillzXGaming
d191d9c393 Cleanup. Prepare some functions 2019-07-09 20:25:32 -04:00
KillzXGaming
ca5d0316c9 Many more texture pattern editor improvements 2019-07-09 20:13:39 -04:00
KillzXGaming
3bf760a445 Avoid automatically binding framecount to prevent some issues 2019-07-09 19:03:09 -04:00
KillzXGaming
6704829c32 Select the first frame when a texture animation is switched 2019-07-09 18:56:50 -04:00
KillzXGaming
73c18fd5d7 Fix depend index values for importing params from xml 2019-07-09 18:38:22 -04:00
KillzXGaming
8defebe175 Add additional bytes for RSTB entries to prevent issues 2019-07-09 17:59:58 -04:00
KillzXGaming
bb22dc8483 Texture pattern editor overhaul. Not functional yet! 2019-07-09 17:50:50 -04:00
KillzXGaming
7cb5af263c A few more sampler fixes 2019-07-07 15:43:35 -04:00
KillzXGaming
1747e5976d Fix samplers for Tokyo Mirage Sessions 2019-07-07 15:27:31 -04:00
KillzXGaming
8f15b9fab0 Add fix for rare case of textures only using mipdata for ftex 2019-07-07 15:21:44 -04:00
KillzXGaming
e1bb711bdb Don't load array levels by default 2019-07-07 15:02:20 -04:00
KillzXGaming
f69697c4c7 Only update the texture import list for gx2 if one item is selected 2019-07-07 10:48:39 -04:00
KillzXGaming
5b5f7306ae Add batch format editing for gx2 texture importer 2019-07-07 10:46:40 -04:00
KillzXGaming
f0f0f02979 Fix replace all to display all textures in one list for ftex 2019-07-07 10:44:44 -04:00
KillzXGaming
b2a63aedea Make sure to set the swizzle pattern automatically in gtx importer 2019-07-07 10:26:21 -04:00
KillzXGaming
7bbd06701f Avoid unloading nodes if dialog is set to no 2019-07-07 10:04:53 -04:00
KillzXGaming
0c6d12c1c2 Fix some batch exporting issues 2019-07-06 17:57:56 -04:00
KillzXGaming
61ef67ea29 Don't check for string table magic due to some bfres not having it 2019-07-06 11:44:19 -04:00
KillzXGaming
32b80c0b9e Fix extension lookup for archive infos 2019-07-06 11:31:39 -04:00
KillzXGaming
f1898bcbc8 Add archive overhaul update to BEA 2019-07-06 11:29:29 -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
82201ffd4c Compress files with zstd in archives 2019-07-05 19:06:24 -04:00
KillzXGaming
cfec92db18 Fix compressing files in archives 2019-07-05 19:02:18 -04:00
KillzXGaming
5e024c9040 Make sure to check bfres types for archive batching 2019-07-05 18:56:49 -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
e124d446e8 Fix GMX faces 2019-07-05 15:33:42 -04:00
KillzXGaming
ab80051646 More additions and fixes.
Added GMX rendering (note explodes atm)
Fixed mario tennis aces/ultra compression (now uses external dll from Simon)
Fixed a bug where file sizes for IArchives (TMPK and ME01) would not adjust on save. casuing corrupted file data.
2019-07-05 14:45:16 -04:00
KillzXGaming
d157fa4c84 More GMX save fixes 2019-07-04 21:47:50 -04:00
KillzXGaming
85fad3ff71 GMX saving fixes 2019-07-04 21:25:13 -04:00
KillzXGaming
4cef869688 Save GMX files back 2019-07-04 21:17:09 -04:00
KillzXGaming
c73816048b Parse GMX files 2019-07-04 21:00:59 -04:00
KillzXGaming
a448eae546 Mistake fix 2019-07-04 20:04:15 -04:00
KillzXGaming
0668d83a65 Fix vertex color format list 2019-07-04 20:03:27 -04:00
KillzXGaming
b0d2b5fc33 Add support for SA01 archives. 2019-07-04 18:12:58 -04:00
KillzXGaming
e08efde0ed Refresh model settings when a bfmdl is exported 2019-07-04 18:04:48 -04:00
KillzXGaming
fa84e46bba Skip unsupported msbt sections with section size. 2019-07-04 18:00:55 -04:00
KillzXGaming
9d203da716 Add option to automatically compress on save with no notification 2019-07-03 12:56:28 -04:00
KillzXGaming
52d42358b2 Create empty meshes for filling it meshes that have no vertices 2019-07-03 12:39:23 -04:00
KillzXGaming
2a99dd3308 Decompress zlib files that start after 4 bytes 2019-07-02 21:39:19 -04:00
KillzXGaming
131a7b940a Do sub folder creation for batch exporting bflim too 2019-07-02 21:25:11 -04:00
KillzXGaming
ab5e4d7562 Fix bffnt not batch extracting for bntx 2019-07-02 21:16:54 -04:00
KillzXGaming
5d6048f019 Create a folder for each sub archive within an archive when batch exporting 2019-07-02 20:30:24 -04:00
KillzXGaming
208f25408b Fix user data not setting properly for switch bfres 2019-07-02 20:16:00 -04:00
KillzXGaming
7a396e2095 Fix BARS that have null audio entries for certain slots 2019-07-02 20:01:10 -04:00
KillzXGaming
aede3839dc Add compression extensions for batch operations 2019-07-02 18:06:25 -04:00
KillzXGaming
b3dacf8dbd Batch export with archive directories and extract bntx textures from bffnt 2019-07-02 17:56:56 -04:00
KillzXGaming
7df5effdc2 Fix UV editor issues 2019-07-02 17:36:36 -04:00
KillzXGaming
c30f758f8d A few fixes
Fix the UV editor not applying saved UV data.
Start to add basic LM2 dict file support.
Start to add GFA support (todo need BPE compression)
2019-07-02 16:12:23 -04:00
KillzXGaming
f12a85a83a Fix context menus for nutexb 2019-07-01 17:49:49 -04:00
KillzXGaming
3a43ea049c Fix wii u textures crashing from null mip data 2019-07-01 17:27:55 -04:00
KillzXGaming
78446003b7 Fix infinite loop for 0x50 mta decomp 2019-07-01 16:18:36 -04:00
KillzXGaming
4a618ec55b Some adjustments 2019-07-01 15:52:52 -04:00
KillzXGaming
42f6b670e0 Some fixes.
Fix zlib compression corrupting the file.
Fix sarc and msbt format descriptions.
Adjust when a file  in an IArchiveFile gets saved.
Porgress on MTA 0X50 compression type. not finished atm.
Start on ICompressionFormat interface. Will soon be the way compression formats are all handled.
2019-07-01 15:44:19 -04:00
KillzXGaming
c5e6c4ed04 Fix compressing zlib from tools menu 2019-06-30 21:17:37 -04:00
KillzXGaming
79950eee16 Adjust saving strings for ME01 2019-06-30 21:06:22 -04:00
KillzXGaming
d99638e6ec magic check ZCMP 2019-06-30 20:59:11 -04:00
KillzXGaming
fc8d837609 Add ME01 archive saving back 2019-06-30 20:50:56 -04:00
KillzXGaming
367d1d4a99 Add ME01 archive support 2019-06-30 20:29:00 -04:00
KillzXGaming
cb0d680b9d Add decompressing zlib method (Works with ZCMP files too) 2019-06-30 20:03:04 -04:00
KillzXGaming
a4fb55b5e7 Add original texture swizzle pattern to importer setting to prevent swizzle issues 2019-06-30 19:46:32 -04:00
KillzXGaming
44dea5fefd Some more fixes for decoding gx2 2019-06-30 18:24:23 -04:00
KillzXGaming
fa5fc52258 Create a copy of the data to prevent splice corruption 2019-06-30 16:57:56 -04:00
KillzXGaming
7cc6c65bd0 Try to fix swizzle issues 2019-06-30 16:49:24 -04:00
KillzXGaming
e1cf9906cf Only deswizzle the required level 2019-06-30 16:30:02 -04:00
KillzXGaming
9b69f7bcad Improve gx2 swizzling 2019-06-30 15:53:37 -04:00
KillzXGaming
17011aff7c Add directory interfaces to add directory based archives 2019-06-30 11:14:51 -04:00
KillzXGaming
5f3fff4749 Add directory and node interfaces for archive types 2019-06-29 21:05:10 -04:00
KillzXGaming
48859f6041 Few more relocation table fixes for 0.9 bfres 2019-06-29 19:15:28 -04:00
KillzXGaming
74cc67c055 More 0.9 bfres save fixes 2019-06-29 19:12:49 -04:00
KillzXGaming
20b248e1ea A few more adjustments for unloading arrays 2019-06-29 17:52:47 -04:00
KillzXGaming
46fe140f33 Dispose container array properly 2019-06-29 17:41:13 -04:00
KillzXGaming
a6a5f2ac50 Fix zlib compression 2019-06-29 17:38:06 -04:00
KillzXGaming
9f41dbc269 Fix stream position 2019-06-29 17:33:49 -04:00
KillzXGaming
00dbd8d7df Check for array types properly 2019-06-29 17:32:49 -04:00
KillzXGaming
5a9d480a97 A few more fixes for loading 2019-06-29 17:19:49 -04:00
KillzXGaming
5e50fb097f More improvements to loading arrays 2019-06-29 17:06:34 -04:00
KillzXGaming
d4884d81aa Now save bntx arrays back 2019-06-29 16:59:00 -04:00
KillzXGaming
53d5f3aafd Load the texture rather than the bntx for easier previewing 2019-06-29 16:46:09 -04:00
KillzXGaming
7fb13a1a22 Load bntx arrays aligned by 4096 2019-06-29 16:44:36 -04:00
KillzXGaming
d84caffdb2 Texture importer improvements.
Multiple textures when selected, you can adjust the format for all of them at once.
Fix replaceall for bntx to properly add all images to a single settings list.
2019-06-29 15:13:08 -04:00
KillzXGaming
fff2d5926c Fix botw shader fresnel lighting 2019-06-29 13:55:04 -04:00
KillzXGaming
f9ec221c1a Fix specular map display for botw when used in debug shading 2019-06-29 13:25:40 -04:00
KillzXGaming
402c2cee5e Fix bntx texture format issues with R8G8_SNORM 2019-06-29 12:33:27 -04:00
KillzXGaming
6fbc1f81cf A few more adjustments for batching 2019-06-28 21:20:02 -04:00
KillzXGaming
a18463db24 Some ram usage improvements when bfres is cleared 2019-06-28 21:15:23 -04:00
KillzXGaming
8767898577 Properly decompress target file on batch operations 2019-06-28 20:42:49 -04:00
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
2a7b71dafd Adjust zs description 2019-06-28 18:17:06 -04:00
KillzXGaming
2c442186ad Add .zs extension for list of compression extensions 2019-06-28 18:10:29 -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
c52556e8e1 Automatically check if direct x tex is loaded properly or not 2019-06-27 20:39:38 -04:00
KillzXGaming
777ccc4fb6 Add option to view cubemap arrays 2019-06-27 20:12:44 -04:00
KillzXGaming
1b823f022a Add option to toggle alpha for cubemap view 2019-06-27 19:17:33 -04:00
KillzXGaming
1c49911d47 Add cubemap previewer to image editor 2019-06-27 19:08:12 -04:00
KillzXGaming
4538b86834 Update image properly for bntx if channel selectors are changed 2019-06-27 16:02:54 -04:00
KillzXGaming
b2b1907046 Attempt to resolve direct x tex assembly if it's bad. Hopefully fixes crashes. 2019-06-27 14:58:51 -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
141be9ff4f Fix reading v0.8 bfsha 2019-06-26 19:53:09 -04:00
KillzXGaming
04383b262d More rebuilding fixes for 0.9 bfres 2019-06-26 19:16:15 -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
e88d42b4ce Add toggle to frame bfres on select 2019-06-26 15:58:28 -04:00
KillzXGaming
108600e930 Fix 0.9 bfres skeletal animations 2019-06-26 15:32:15 -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
1444594fd1 More v0.9 switch bfres fixes (NO SAVING YET) 2019-06-26 15:13:49 -04:00
KillzXGaming
bbb0cbf933 Some fixes to 0.9 switch bfres 2019-06-26 13:56:10 -04:00
KillzXGaming
65341998c3 Fix dds decoder 2019-06-26 13:35:35 -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
0d4f208365 Fix legacy mode 2019-06-25 17:08:25 -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
7b18d66991 Export images with channel components enabled if used in image editor 2019-06-25 15:28:48 -04:00
KillzXGaming
7276ed399c Add option to batch export all textures for wii u PTCL 2019-06-25 15:24:28 -04:00
KillzXGaming
7cd86b9a05 Fix removing byml properties from dictionaries and lists on save 2019-06-25 15:13:00 -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
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
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
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
55fa5381fa Another adjustment 2019-06-22 09:37:50 -04:00
KillzXGaming
07161464ee Add support for ASTC_10x6_UNORM 2019-06-22 09:35:24 -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
285eb3a028 Quick fix 2019-06-21 22:50:12 -04:00
KillzXGaming
31f6b13cd5 Try to fix appveyor 2019-06-21 22:39:28 -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
9fe7f254ff Generate mip maps for custom irradiance maps if they have none (prevents black skyboxes) 2019-06-20 16:05:07 -04:00
KillzXGaming
ad1c4aed4e Improve lighting view in pbr shader. Start on SEModel support. 2019-06-20 15:29:04 -04:00
KillzXGaming
acc7dcd9c9 Update switch bfres library 2019-06-20 08:58:02 -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
cc2e7df037 Fix shader issue from multiple viewports 2019-06-19 19:41:35 -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
a9f26c2670 More framework updates 2019-06-19 17:46:43 -04:00
KillzXGaming
51be965bc2 Keep limit under 4k to prevent memory issues 2019-06-19 17:09:17 -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