Commit graph

240 commits

Author SHA1 Message Date
KillzXGaming
c47d9bc2bc Fix bfres shape flags, msbt text fixes, and extracting archive fixes 2019-09-19 20:11:21 -04:00
KillzXGaming
36a09eafdd Zlib fixes 2019-09-18 17:02:25 -04:00
KillzXGaming
efa2d41126 More adjustments to KCL to better match EFE KCL 2019-09-17 19:16:02 -04:00
KillzXGaming
97f93a9275 Fix KCL obj parsing on PCs using french language 2019-09-17 18:32:22 -04:00
KillzXGaming
c6c0019efc Some quick fixes.
Fix mario tennis aces decompression (thanks to simon for compiling as x64 bit)
Fix very small files erroring from compression checks
2019-09-17 16:58:32 -04:00
KillzXGaming
0c126e4155 More improvements.
Rewrote the compression handling from scatch. It's way easier and cleaner to add new formats code wise as it's handled like file formats.
Added wip TVOL support (Touhou Azure Reflections)
Added XCI support. Note I plan to improve NSP, XCI, NCA, etc later for exefs exporting.
The compression rework now compresses via streams, so files get decompressed properly within archives as streams.
Added hyrule warriors bin.gz compression along with archive rebuilding. Note i do not have texture rebuilding done just yet.
2019-09-15 19:13:01 -04:00
KillzXGaming
b1c37cab72 Support multiple shader models for 0.8 and higher switch bfsha 2019-09-14 18:41:40 -04:00
KillzXGaming
90e7853412 Kcl library fixes 2019-09-12 21:09:39 -04:00
KillzXGaming
7344b04d2c Add the option to split kcl materials by meshes 2019-09-12 18:20:40 -04:00
KillzXGaming
02240902ef Quick fix for kcl 2019-09-11 21:04:32 -04:00
KillzXGaming
32fb5444e7 Add all the newest changes.
Add support for bayonetta/astral chain dat.
Add support for darc archives.
Support previewing window panes for bflyt (1 frame atm with around kind)
Add bflan reading. Saving needs more testing and will be enabled soon.
Bflyt editor will keep the editor open within an archive when saved.
A custom dialog will be added soon to customize saving parameters.
Bflims will be loaded if in the same folder as the bflyt when opened.
2019-09-10 18:42:48 -04:00
KillzXGaming
746da99cef Add bflyt debug shading modes 2019-09-05 18:14:15 -04:00
KillzXGaming
b3b1c8afea Only split KCL if polygon count is higher than 16,383 polys.
Prevents some issues with models being split having issues, and allows more stable KCL creation similar to EFE and WT.
2019-09-05 17:22:17 -04:00
KillzXGaming
47fc8b39cb Add latest bflyt progress and add some animation fixes 2019-08-29 15:45:32 -04:00
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