Commit graph

334 commits

Author SHA1 Message Date
KillzXGaming
7b973d2b66 KCL : Fix import UI parsing COL_ collision with non numerical values. 2021-03-06 14:04:42 -05:00
KillzXGaming
0dd3ab072c KCL : Fix culture conversion when loading .obj files. 2021-03-06 11:06:37 -05:00
KillzXGaming
d8da7f0e3f KCL : Fix exporting with invalid values causing reimport to break. 2021-02-20 14:59:52 -05:00
KillzXGaming
dc6bb5a367 Fix kcl obj import issue with hash checking. 2021-02-20 14:34:55 -05:00
KillzXGaming
b88b28ab20 Fix V2 AAMP yaml conversion not keeping header flags (resulting in a crash) 2021-02-20 12:21:45 -05:00
KillzXGaming
ea93693c81 KCL : Some more adjustments with exporting 2020-10-23 21:00:43 -04:00
KillzXGaming
4071849d9e KCL : Also split collision IDs by meshes 2020-10-23 20:54:22 -04:00
KillzXGaming
2c754d3009 Update KCL lib with improved optimizations. 2020-10-22 17:09:37 -04:00
KillzXGaming
8dac30200a KCL : Fix model octree issues with higher levels of division 2020-10-10 13:10:11 -04:00
KillzXGaming
3fbd152032 KCL : Some optimizations with duped triangles to prevent division issues. 2020-09-27 15:01:26 -04:00
KillzXGaming
41efd8b517 KCL : Improve model octree loading/saving. 2020-09-26 19:25:40 -04:00
KillzXGaming
ba80f28323 KCL : Fix model octree ordering on complex sub divisions 2020-09-26 17:15:29 -04:00
KillzXGaming
ae1f239d67 KCL : Fix .obj files that use comma seperators for floats 2020-09-26 10:10:20 -04:00
KillzXGaming
85fb24ed09 KCL : Improve preset handling. 2020-09-21 19:45:48 -04:00
KillzXGaming
3126bef310 BMD : Add little endian support. 2020-09-20 10:36:51 -04:00
KillzXGaming
b239823a3c KCL : Fix collision generation from obj with NaN position values. 2020-09-17 11:05:16 -04:00
KillzXGaming
95baeadaf4 BFRES : Fix bounding box saving issues causing culling in game. 2020-09-02 17:57:12 -04:00
KillzXGaming
8328c132de Add latest bfres library 2020-08-30 10:45:39 -04:00
KillzXGaming
4b1e027e98 Some library fixes 2020-08-30 10:37:55 -04:00
KillzXGaming
48a7f46dce Revert "BFRES : Fix switch scene animations crashing from incorrect relocation data."
This reverts commit 6d16219ead.
2020-08-30 10:36:36 -04:00
KillzXGaming
6d16219ead BFRES : Fix switch scene animations crashing from incorrect relocation data. 2020-08-30 09:03:48 -04:00
KillzXGaming
e3ac2625ef KCL fixes for 3D World Presets 2020-08-19 16:29:40 -04:00
KillzXGaming
13285f9d5d Update KCL libraries to latest 2020-08-18 14:12:28 -04:00
KillzXGaming
e39d161d33 Some KCL obj importing fixes 2020-08-16 12:02:12 -04:00
KillzXGaming
232c44a605 Major KCL update.
KCL support has been greatly improved.
- High poly collisions can now be created (even higher than 65k+).
Collision should still be made with the game limitations and performance in mind!
- Support for all KCL versions (GC, Wii, DS, 3DS, etc). Keep in mind for various games to work, you must create a preset and configure the settings used for individual games. I will be adding many more soon to support a wide range of games.
- KCL files can now have the endianness switched and saved back allowing for direct conversion.
- OBJ importing will auto map materials by name COL_## (## being hex value). This allows to export and reimport collisions with all the data intact.
- File sizes are more optmized and improved.
- Speed signifcantly improved and is much faster for both exporting and replacing.
-Materials are now split in the node view for a KCL.  This is to select and easily see all the material types and so they can be highlighted.
2020-08-16 11:42:39 -04:00
KillzXGaming
553282bb2e KCL : Fix collision detection when vertices are too close to each other. 2020-08-11 19:28:52 -04:00
KillzXGaming
b0f77f247a BFRES : Fix bntx files with custom file names (PMTOK missing textures fixed) 2020-08-11 16:47:01 -04:00
KillzXGaming
3c2ef141e6 BNTX : Fix relocating user data offsets (fixes PMTOK crashing) 2020-07-30 17:23:08 -04:00
KillzXGaming
2e71d8056c Adjust bntx user data ordering to be more accurate 2020-07-27 19:35:43 -04:00
KillzXGaming
79c22f73f2 Bntx fixes for PMTOK 2020-07-27 18:41:59 -04:00
KillzXGaming
5f43b81d37 Add support for 3D World KCL material presets 2020-07-12 15:34:00 -04:00
KillzXGaming
cca60173d4 Update bntx library 2020-07-10 20:45:27 -04:00
KillzXGaming
605d08bd46 Fix V2 AAMP converting from yaml causing a crash (fix default values in header) 2020-06-02 16:40:44 -04:00
José Guadalupe Nava Zavala
317c18a570 Modified .gitignore to ignore common VS files
Modified .gitignore to add the base VS ignore files (nugget packages)
debug header files, etc.
2020-05-02 02:58:50 -05:00
KillzXGaming
c41a682bff Update libraries 2020-04-14 18:39:16 -04:00
KillzXGaming
5a86fe16de BNTX : Fix R16_UINT textures 2020-03-22 13:13:53 -04:00
KillzXGaming
006c9c80a2 Some quick byaml fixes for path types 2020-03-21 13:19:27 -04:00
KillzXGaming
b0edf476e9 Byaml : fix path index types with no paths 2020-03-18 20:36:08 -04:00
KillzXGaming
360f063d95 Some adjustments 2020-03-18 12:07:34 -04:00
KillzXGaming
101b0aaa8e Fix Wii U bfres visibility animation curves 2020-03-15 17:30:22 -04:00
KillzXGaming
6747035109 Fix saving bfres with visibily animations (would be invisible) 2020-03-15 16:48:20 -04:00
KillzXGaming
7714fbecac Fix bug saving v1 aamp strings 2020-03-03 21:25:26 -05:00
KillzXGaming
0b0a42a870 Some AAMP v1 fixes from yaml 2020-03-03 21:17:03 -05:00
KillzXGaming
37b49d131e Add more aamp hashes 2020-03-03 17:25:26 -05:00
KillzXGaming
cc81f88c9a Update assimp to the latest.
This build will fix DAE vertex colors importing wrong. May fix other potential importing issues.
2020-02-17 20:12:47 -05:00
KillzXGaming
c17b7c85ef Fix a crash when saving wii u bfres with params using no constants. 2020-02-12 20:08:58 -05:00
KillzXGaming
6931350fac Fix RGBA Snorm textures. Remove file extension from batch export folders. 2020-02-12 15:54:16 -05:00
KillzXGaming
946fa08518 BFRES : Fix some more importing bugs
Only align buffers when using a single buffer.
2020-02-11 16:49:27 -05:00
KillzXGaming
bfc02c117d Add ETC1 compressor 2020-02-08 14:06:01 -05:00
KillzXGaming
ede5c62031 More fixes.
Fix loop error for 3DW stage files when creating the string table.
Fix converting yaml so it uses the custom syntax flow/tags.
Fix AAMP version issues for v1.
Add support for loading empty byaml files so data can be added onto them.
Fix bone importing issue with assimp.
2020-02-07 15:50:52 -05:00
KillzXGaming
978cb5b8c8 Fix errors again 2020-02-06 18:29:42 -05:00
KillzXGaming
c922ff1e4f Big BYAML and AAMP update!
- AAMP can now save back to YAML!
- Added text editor for AAMP editor
- AAMP library has been improved signifcantly, now using one library for all versions.
- BYAML now uses YAML by default. You can still right click in the editor and export as XML if needed.
- BYAML saving speed improved signifcantly.
- BYAML now supports reference nodes and works with 3DW byml files.
- BYAML can now load shift JIS encoding for japanese characters.
- YAML syntax for text editor improved with proper folding and highlighting for certain values.
2020-02-06 18:20:42 -05:00
KillzXGaming
c01be70a71 Add dialog to copy skeletal animations 2020-02-02 20:40:26 -05:00
KillzXGaming
018a55c63e Fix 0.9 BFRES with model user data (TMS#FE save fix) 2020-01-30 18:42:01 -05:00
KillzXGaming
ef12ed15d4 BFRES : Add buffer alignment for stride of 12 for single attribute/buffer,
This will fix potential corruption in certan games.
2020-01-29 17:02:32 -05:00
KillzXGaming
056fdb3e1a Add game setting presets to BFRES importing.
These can cause signicant improvement to models with smaller sizes and potentially fix exploding and corruption (ie WWHD, SM3DW). Botw should have fixed crash issues now that the file size is signifcantly lower.
2020-01-27 18:44:03 -05:00
KillzXGaming
12e566df37 Some more fixes with KCL editor 2020-01-26 18:35:05 -05:00
KillzXGaming
35fa7f4633 Add options to add comment string for json files 2020-01-26 18:05:32 -05:00
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