Commit graph

276 commits

Author SHA1 Message Date
KillzXGaming
3eb8052e46 Fix saving material animations for switch bfres (invalid count size) 2019-08-27 21:21:02 -04:00
KillzXGaming
b4e2c070be Fix bfres library 2019-08-27 21:14:37 -04:00
KillzXGaming
4d2d3502eb Fix build errors hopefully 2019-08-27 16:58:46 -04:00
KillzXGaming
bb77a80ad3 Add alot of bflyt progress 2019-08-27 16:38:06 -04:00
KillzXGaming
c1d30f40fc Add support for very old switch bfres and some ptcl color adjustments 2019-08-17 15:59:17 -04:00
KillzXGaming
bd8a5af254 Fix bntx library issues 2019-08-10 11:03:54 -04:00
KillzXGaming
9e3556a5f9 More additions that seem ready for use,
Basic NCCH support, only romfs previewing for easy ripping and testing for file formats. Writing back and more improvements planned soon.
Save BTI files back.
Add structure based parsing from Kuriimu's IO extension. This will be expanded upon later to parse offsets and other things easier.
2019-08-09 18:21:16 -04:00
KillzXGaming
9df93a02af KCL library fixes 2019-08-08 18:04:15 -04:00
KillzXGaming
46d729e2d8 Bars library adjustments/fixes 2019-08-07 21:19:03 -04:00
KillzXGaming
fb2648205b Parse CTPK 2019-08-07 21:04:44 -04:00
KillzXGaming
dceb4a93cd Adjust license for lzma 2019-08-04 19:39:08 -04:00
KillzXGaming
25aa49cc29 Some fixes for file paths for newly added files 2019-07-26 21:30:51 -04:00
KillzXGaming
ded4dae5c1 Make it so a game preset must be set for KCL 2019-07-26 20:16:31 -04:00
KillzXGaming
df9641faab Bfres library fixes, and some form fixes 2019-07-26 15:35:15 -04:00
KillzXGaming
0ed8555b3a Update switch bfres lib with frame fixes 2019-07-25 21:05:02 -04:00
KillzXGaming
a03a852867 Fix saving step curve frames 2019-07-25 19:02:51 -04:00
KillzXGaming
e0df03cc26 Wip zar, gar,, and more rarc saving progress 2019-07-25 16:49:04 -04:00
KillzXGaming
d5b084e4e4 Fix reading frames for some animations on wii u bfres 2019-07-25 10:00:31 -04:00
KillzXGaming
5769c5ed19 Fix Zstd path 2019-07-24 17:28:08 -04:00
KillzXGaming
131af671bf More LM2 archive improvements 2019-07-21 20:08:16 -04:00
KillzXGaming
ece27fd3f8 Fix downgrading bfres for wii u from new to very old versions 2019-07-20 14:38:33 -04:00
KillzXGaming
2455e720bf A few more material mapping fixes for bmd 2019-07-19 19:17:32 -04:00
KillzXGaming
419a76a508 Fix btye order for image decoding gc images 2019-07-19 17:24:54 -04:00
KillzXGaming
9e01d29127 Update direct x tex 2019-07-16 18:39:17 -04:00
KillzXGaming
43081a4086 Texture decoder cleanup. Also fix wii u texture patterns with null issues 2019-07-16 16:54:46 -04:00
KillzXGaming
53587d6005 Another bmd fix 2019-07-15 16:50:50 -04:00
KillzXGaming
8d66c3e19e Fix parsing MAT4 for bmd 2019-07-15 16:49:46 -04:00
KillzXGaming
ea26ebc82f Attribute fixes for bfres and gmx 2019-07-15 15:41:02 -04:00
KillzXGaming
b50d8925e4 Some gmx and bmd fixes 2019-07-14 21:08:47 -04:00
KillzXGaming
7bf92f8fc4 Reinstall assimp 2019-07-14 14:39:02 -04:00
KillzXGaming
72ed8ac327 Fix the curve index data type for texture pattern infos 2019-07-14 11:48:07 -04:00
KillzXGaming
bc3ea50d37 Another alignment adjustmenet for v2 aamp to be more accurate 2019-07-14 11:40:01 -04:00
KillzXGaming
2c0abce7df Fix an issue with aamp v2 strings with improper alignment at the end 2019-07-14 11:38:12 -04:00
KillzXGaming
89aa259cf8 Make sure the sub index is -1 for pattern infos 2019-07-14 11:08:06 -04:00
KillzXGaming
631f59ef93 Add audio meta data icons 2019-07-13 15:54:39 -04:00
KillzXGaming
fbec00de01 Add better audio check for bars 2019-07-13 15:04:56 -04:00
KillzXGaming
d74988583f Allow for empty texture paths 2019-07-12 20:06:31 -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
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
7f679b9fa6 Add bmd drawing 2019-07-11 19:38:29 -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
a28606e150 Fix some ptcl saving issues from bfres having null data 2019-07-10 19:21:53 -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
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
7a396e2095 Fix BARS that have null audio entries for certain slots 2019-07-02 20:01: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
402c2cee5e Fix bntx texture format issues with R8G8_SNORM 2019-06-29 12:33:27 -04:00
KillzXGaming
f776b46138 Fix 0.9 bfres savig with material animations 2019-06-28 18:02:11 -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
108600e930 Fix 0.9 bfres skeletal animations 2019-06-26 15:32:15 -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
07c37ef3d4 Fix material exporting and bfres saving for user data that contains non string types 2019-06-24 20:51:35 -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
acc7dcd9c9 Update switch bfres library 2019-06-20 08:58:02 -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
c756089aad Fix srgb toggle for off for ftex 2019-06-14 20:26:46 -04:00
KillzXGaming
95d434a058 Add option to toggle SRGB for ftex 2019-06-13 20:05:05 -04:00
KillzXGaming
9b9a44b9a4 A few more assimp adjustments 2019-06-08 14:32:03 -04:00
KillzXGaming
5ffcdcabf6 Downgrade assimp to prevent bugs like bone names being wrong. 2019-06-08 14:26:13 -04:00
KillzXGaming
890f5afcf7 Check audio amount before adding entries for bars. 2019-06-07 17:01:24 -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
a3a6f9b98e Load the x64 folder for direct x tex by default as it causes issues without. 2019-05-31 17:12:23 -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
250e267143 Fix normals from being dark or flat sometimes. 2019-05-30 19:12:38 -04:00
KillzXGaming
b12bb34082 Another fix to prevent issues with path saving 2019-05-30 18:02:51 -04:00
KillzXGaming
225d98ae43 Improve path saving for byaml 2019-05-30 17:40:54 -04:00
KillzXGaming
d1c32844d1 Fix skeleton issues. More archive improvement. 2019-05-29 14:24:24 -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
9ad90e3b15 Some progress on chr0 exporting 2019-05-24 17:34:37 -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
6d7579e6e0 More improvements.
Camera is now centerd when a bfres is selected. This will apply to reseting the camera aswell. The method is based on Smash Forge so thanks to the devs for it.
Start on bfsha program linking for bfres materials. Dunno how far i'll take this.
Basic ortho mode added. Needs improvements to zoom in and mainly just changes the projection matrix to ortho atm. Controls are not altered.
2019-05-21 18:08:57 -04:00
KillzXGaming
50586ef978 Fix binary shape importing for switch 2019-05-20 20:03:39 -04:00
KillzXGaming
e6c911f026 Add byaml endianness converter in tools menu. Fix byaml with path nodes. 2019-05-19 17:50:21 -04:00
KillzXGaming
49314b2842 Fix bntx and switch bfres causing corruption or crashes 2019-05-19 14:25:37 -04:00
KillzXGaming
e51b1e2382 Adjustments for anims 2019-05-18 17:55:22 -04:00
KillzXGaming
d1d9619dcb Another saving fix as texture ref count won't save right for v3.4.0.1 2019-05-12 18:56:32 -04:00
KillzXGaming
ef562754b7 A few more library fixes 2019-05-12 18:44:43 -04:00
KillzXGaming
111f5c1a9e Fix texture pattern animation saving on v3.4.0.1 bfres 2019-05-12 18:38:33 -04:00
KillzXGaming
3c4d6a51a4 Support wrap and filters for bcres texture maps. 2019-05-11 20:05:27 -04:00
KillzXGaming
032e09d5a6 Load textures in viewport for bcres 2019-05-11 18:17:35 -04:00
KillzXGaming
ba6790abf5 Draw bcres and add more improvements 2019-05-11 16:11:27 -04:00
KillzXGaming
7632cc10da Add more aamp hashes 2019-05-11 12:31:50 -04:00
KillzXGaming
f36451a9eb More aamp fixes 2019-05-11 10:26:10 -04:00
KillzXGaming
9574432edc Support quat types for aamp 2019-05-11 10:23:41 -04:00
KillzXGaming
6e02fbea4b Support Wii U BFFNT 2019-05-10 19:26:45 -04:00
KillzXGaming
827e02892a Keep the same depend index for shader params (Fix WWHD crashing) 2019-05-10 17:51:59 -04:00
KillzXGaming
9db8a77afe Fix BCRES library issues 2019-05-09 15:16:46 -04:00
KillzXGaming
6f1a8ab816 Add all the working BCRES stuff. 2019-05-09 14:49:11 -04:00
KillzXGaming
84dae95c3e Fix some bfres library issues 2019-05-09 14:24:25 -04:00
KillzXGaming
4fe53128ee Fix effect alignment size 2019-05-08 19:38:35 -04:00
KillzXGaming
ab1a1ab169 Many more aamp fixes 2019-05-08 19:33:49 -04:00
KillzXGaming
b4e37f7368 Fix aamp strings on save 2019-05-08 18:29:19 -04:00
KillzXGaming
59927ba076 Another fix for rebuilding 2019-05-08 17:39:48 -04:00
KillzXGaming
b67de2ae9f Fix wii u bfres rebuilding 2019-05-08 17:30:29 -04:00
KillzXGaming
db6da0998f Auto set the texture instance for texture refs on save 2019-05-08 15:25:43 -04:00
KillzXGaming
df7ce35503 More bfres library adjustments 2019-05-07 21:36:46 -04:00
KillzXGaming
d33882b029 Bfres library fixes.
Fixed user data not relocating with proper padding.
Alignment for botw is handled a bit differently in attempt to keep the file sizes accurate
2019-05-07 21:07:58 -04:00
KillzXGaming
a9e7e03455 More fixes 2019-05-05 15:34:29 -04:00
KillzXGaming
b6da2b236d Add image box control with zoom feature 2019-05-05 12:31:44 -04:00
KillzXGaming
357fe7c12e Add more hashes 2019-05-03 16:49:37 -04:00
KillzXGaming
6303769adb More AAMP stuff. Add more import settings for dae/fbx. 2019-05-03 15:36:04 -04:00
KillzXGaming
277c3171c1 Fix major bntx issue that caused crashes. Inclduing if switch bfres saved. 2019-05-02 21:29:30 -04:00
KillzXGaming
f28295363d More AAMP v2 save fixes. Should be mostly complete now. 2019-05-02 20:49:43 -04:00
KillzXGaming
48814b4643 Load params even if null 2019-05-02 19:13:56 -04:00
KillzXGaming
704eb862a5 Load string types properly for v2 aamp 2019-05-02 18:58:17 -04:00
KillzXGaming
8961c8e592 Update aamp library. V2 almost working 2019-05-02 17:45:04 -04:00
KillzXGaming
8674b462b8 Fix assimp issues and emitter saving 2019-05-02 14:31:09 -04:00
KillzXGaming
fd4e3f4853 Add GTX editing/saving back. 2019-05-01 15:38:14 -04:00
KillzXGaming
3e9802fd05 Add some padding to buffer areas in bfres to fix potential crash issues. 2019-04-29 20:20:37 -04:00
KillzXGaming
0bbab95db6 Keep the same BNTX size if possible 2019-04-29 19:30:39 -04:00
KillzXGaming
68d244e9f7 Fix KCL importing issues 2019-04-29 18:53:18 -04:00
KillzXGaming
184e01ad01 Compile fixes 2019-04-28 19:42:22 -04:00
KillzXGaming
cde34e30c9 Fix KCL library issues 2019-04-28 19:39:14 -04:00
KillzXGaming
5a9c098a6a Add progress bar for KCL 2019-04-28 18:02:42 -04:00
KillzXGaming
1f9ce6b2fe Some fixes for PTCL editor and filters 2019-04-28 17:14:05 -04:00
KillzXGaming
bfacab21da Add sharpyaml and latest bfres wii u lib 2019-04-27 11:30:30 -04:00
KillzXGaming
432e639081 Fix boe importing not changing the parent index 2019-04-27 10:55:31 -04:00
KillzXGaming
a41737031f Fix bone visibily anims for wii u and fix the editor a bit 2019-04-26 15:43:32 -04:00
KillzXGaming
7f272c37b9 Some property fixes 2019-04-25 20:49:29 -04:00
KillzXGaming
9f7e2edef5 Fix properties missig for wii u bfres 2019-04-25 20:45:11 -04:00
KillzXGaming
cbf2f7da90 Generate better empty meshes 2019-04-25 16:44:00 -04:00
KillzXGaming
b8c8ef8395 Viewport toggle, and many more fixes
The aamp editor now acts like the byaml one.
Fixed aamp files saving with improper strings.
Added toggle for viewport in bfres editor. The setting will apply to the config so you can always disable it for quicker previewing for bfres.
More editors for bfres now dock rather than convering the whole screen.
Plugins can have icons for the toolstrip that contains the save/update icons.
Force PTCL texture injection due to an alignment thing
2019-04-25 15:21:41 -04:00
KillzXGaming
8c48f3514f Fix alignment from saving animations on wii u 2019-04-23 18:12:13 -04:00
KillzXGaming
cd8204f26b Oops fix it for real this time, and for both platforms 2019-04-23 17:36:39 -04:00
KillzXGaming
c092244612 Fix base values saving even if not used 2019-04-23 17:29:25 -04:00
KillzXGaming
e17eb54e91 Add option to replace by matching bones 2019-04-23 16:49:25 -04:00
KillzXGaming
c5ad630eaa More fixes to bfres proeprties and editor 2019-04-23 15:23:51 -04:00
KillzXGaming
d4da6db3df One more adjustment to the bone property 2019-04-22 20:43:58 -04:00
KillzXGaming
c91bb6f823 Add latest math library 2019-04-22 20:42:32 -04:00
KillzXGaming
d8deb1ac03 Hide some version specifici properties 2019-04-22 20:40:34 -04:00
KillzXGaming
8f7f859cf6 Add type converters for more property types 2019-04-22 20:19:05 -04:00
KillzXGaming
c7ee9ed16b Allow viewport to be completely disabled for potato PCs. 2019-04-22 19:36:53 -04:00
KillzXGaming
ea9110bed4 Add more properties for simple mode in bfres editor 2019-04-22 18:28:24 -04:00
KillzXGaming
e5d98dbf67 More fixes to bone exporting. 2019-04-21 20:26:12 -04:00
KillzXGaming
b73d392a63 Add basic PTCL texture replacing 2019-04-21 17:14:49 -04:00
KillzXGaming
78efb8884c Fix camera flag error for Splatoon 1 and other wii u games 2019-04-21 14:19:28 -04:00
KillzXGaming
ae25f2989b Some more fixes.
Revert the GX2 one more time since swizzling is a bit bugged, but add a more up to date code as a backup.
Fix the swizzle pattern settings
2019-04-17 14:59:08 -04:00
KillzXGaming
67f713bf22 Update simple mode for bfres editor. Disable some gx2 things to test swizzle issues 2019-04-16 18:24:10 -04:00
KillzXGaming
79036ecb95 Fix bfres importing bugs and alignment corruption from importing sections 2019-04-12 15:34:42 -04:00
KillzXGaming
270d441dcc More fixes
Many fixes to the enum data for switch bfres. Filter data can be edited properly.
UVs in UV editor can be transformed
2019-04-11 18:05:15 -04:00
KillzXGaming
bd6627b030 Fix importing additional animations (from binary) 2019-04-08 19:41:18 -04:00
KillzXGaming
19852762c6 Fix incorrect skeleton scaling and rotations from applying in editor 2019-04-07 12:52:06 -04:00