Commit graph

276 commits

Author SHA1 Message Date
KillzXGaming
31c48c66fb New KCL preset UI with json files to configure them. 2020-01-26 16:51:04 -05:00
KillzXGaming
a5d58aa268 Fix KCL AttributeByml generation for SMO materials 2020-01-22 19:14:20 -05:00
KillzXGaming
176f67c52f KCL : Improve odyssey default values and fix material prefix support 2020-01-19 19:42:25 -05:00
KillzXGaming
fec4f23d1e KCL : Impliment custom SMO collision editor which updates Attribute.byml 2020-01-19 19:30:17 -05:00
KillzXGaming
fad6721fce Update bfres libraries to latest 2020-01-16 21:04:02 -05:00
KillzXGaming
48af05941f Some BCRES/BCH adjustments 2020-01-16 20:51:23 -05:00
KillzXGaming
22e59e6684 BCRES/BCH : Some fixes with combiners 2020-01-15 18:53:38 -05:00
KillzXGaming
a80f6af6d5 Update more files 2020-01-14 20:43:36 -05:00
KillzXGaming
100cd88534 Start to add support for BCH 2020-01-14 20:26:51 -05:00
KillzXGaming
6d33556e2c Try to fix some errors 2020-01-14 19:35:41 -05:00
KillzXGaming
e639ac58b0 BFRES : Fix scene animations saving for switch. 2020-01-10 19:18:10 -05:00
KillzXGaming
26bb57fbce BARS : One more alignment fix for SMM2 and other games. 2020-01-03 20:02:30 -05:00
KillzXGaming
da8600be9a BARS : Fix file alignment so files save 1 to 1 2020-01-03 19:55:34 -05:00
KillzXGaming
2647aec5a4 BFRES : Update library to fix bounding box issues 2019-12-27 13:10:20 -05:00
KillzXGaming
794e8e884f Update brawl lib for chr0 imports 2019-12-18 17:54:42 -05:00
KillzXGaming
d9248dfbf8 Fix saving issues with bntx using user data 2019-12-17 19:32:25 -05:00
KillzXGaming
c3f87fe24c Fix errors 2019-12-17 17:31:06 -05:00
KillzXGaming
57b721c8af More BNTX fixes with user data and UTF-8 characters 2019-12-17 17:26:30 -05:00
KillzXGaming
f4ad1030dc Fix UTF-8 User data in BNTX files 2019-12-16 17:17:31 -05:00
KillzXGaming
8840fb0191 BFRES : Fix user data UTF-8 encoding/Japanese characters. 2019-12-15 20:31:40 -05:00
KillzXGaming
e4722ed1af Alot of additions.
General
- Always allow multiple instances of the tool by default. (UseSingleInstance in config.XML)
- Yaz0 now uses a new library using c code. This improves compression times and is comparable to wzst's yaz0 compressor. Thanks to AboodXD for helping port the code.
- Add flat buffer templates for gfbmdl and gfbanm.
- Redid UV editor. Now using new 2D engine with some improvements. Should work better with mutliple file formats than just bfres.
- Auto compress bfres with .sbfres extension.

BFLYT:
-Add animation reference list to panes if they have any animations.
- Note the animation editor in it is not functional yet.

GFBMDL
- Progress on model importing. Currently crashes on many tests so saving is currently disabled till i figure out why.
- Add new texture map display with UV coordinates shown. Displays how transforms are handled.
- Add option to export materials and models entirely as .json files.

DAE
- improve bone/joint check.
2019-12-07 20:16:13 -05:00
KillzXGaming
61550ac786 Alot of Pokemon additions.
Redid gfmdl parser completely. This allows the file to be rebuilt for custom models which will be coming soon.
Textures now load in the gfmdl section to easily edit without touching bntx.
Added a basic material editor (more like a viewer atm) for gfbmdl.
Added a Pokemon viewer (requires game path to be set). This shows icons of all the pokemon and opens the archive they are located in.
Start to parse GFBANIM. Not previewable yet because of rotations breaking. If anyone wants to help though be my guest :)
Basic GFBANIMCFG support. It can be used to view animation file names.
2019-11-26 19:54:59 -05:00
KillzXGaming
7e38484a3e BNTX : Add support for D32_FLOAT_S8X24_UINT 2019-11-17 09:24:53 -05:00
KillzXGaming
a2a9f21035 KCL: Update lib to load proper material presets 2019-11-06 21:08:47 -05:00
KillzXGaming
44fb94584a Update bfres lib 2019-10-27 19:26:52 -04:00
KillzXGaming
5e7b65c669 AAMP V2 saving improvements.
AAMP files with strings should save perfectly fine. These should output identically to the original now if saved back and should have no issues.
2019-10-23 18:40:49 -04:00
KillzXGaming
9d91d967a6 KCL lib fixes and adjustments 2019-10-22 19:56:52 -04:00
KillzXGaming
871fc44178 More additions.
More progress on the basic pane animation editor. It can add and clear entries for frames, groups, etc.
Add the latest muunt editor files. A wip editor which is currently disabled. Planned to edit object placement paths paths supporting both 2D and 3D views.
2019-10-20 12:57:48 -04:00
KillzXGaming
bbd3c89e18 Fix sarc's breaking from hashes calculating wrong 2019-10-17 19:42:07 -04:00
KillzXGaming
5f7f9c3517 Add all the latest files 2019-10-15 19:27:17 -04:00
KillzXGaming
a8e6d104f2 A few improvements.
Panes can now be selected and moved around.
Panes can be resized from corners or edges.
Improved hit detection for panes.
Mouse left click now selects and moves panes. Use middle mouse or hold shift + left mouse to pan/move camera.
More progress on timeline, but currently not functional so currently disabled atm.
Multiple layout animations can be selected and played at once. Goes to the highest amount of frames.
Start to impliment a parts manager. Will allow editing external layout and animation data, and saving back properly.
2019-10-05 13:25:28 -04:00
KillzXGaming
7928944bf4 Fix kcl rendering pass drawing, and add kcl material presets. 2019-09-22 21:52:08 -04:00
KillzXGaming
eba9adaa4d Quick fix for material animations not saving properly if invalid types detected 2019-09-21 17:43:29 -04:00
KillzXGaming
31be278a2f Some more KCL fixes 2019-09-21 17:39:19 -04:00
KillzXGaming
a93b28c756 Fix loading and saving shape animations for 0.9 bfres 2019-09-21 10:45:12 -04:00
KillzXGaming
7502dc9326 KCL and MSBT fixes 2019-09-20 21:37:55 -04:00
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