Commit graph

704 commits

Author SHA1 Message Date
McSpazzy
66fae582a3 Add currently known animal crossing hashes for bcsv and byml 2020-10-02 17:11:34 +10:00
McSpazzy
618fa1f6e0 Add murmerhash3 support 2020-10-02 17:09:21 +10: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
f54fdf9010 Print files that fail to open to the console. 2020-09-11 21:04:56 -04:00
KillzXGaming
82d7b3939e Disable the file format supported dialog for now. 2020-09-11 20:56:54 -04:00
KillzXGaming
b16d03857f Add custom extensions to save dialogs. 2020-09-10 18:07:42 -04:00
KillzXGaming
e8b4379eb0 Add notifcation for files not supported 2020-09-02 19:02:37 -04:00
KillzXGaming
95baeadaf4 BFRES : Fix bounding box saving issues causing culling in game. 2020-09-02 17:57:12 -04:00
KillzXGaming
549f23153f Try patching from appveyor settings on the site 2020-08-31 20:18:07 -04:00
KillzXGaming
b7761f6455 Skip revision at the end on version checks 2020-08-31 20:07:27 -04:00
KillzXGaming
b15536da82 Update with the latest info. 2020-08-31 19:55:13 -04:00
KillzXGaming
97917ac1d8 Only use 2 revisions for checks 2020-08-31 19:50:34 -04:00
KillzXGaming
968bd4f654 Check versions by assembly version. 2020-08-31 19:43:18 -04:00
KillzXGaming
795d6702ed Patch assembly version 2020-08-31 19:03:18 -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
97b311f5bd Revert some project settings. 2020-08-18 13:37:01 -04:00
KillzXGaming
b730e16c81 KCL : Add another useful preset 2020-08-16 16:01:47 -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
fd91e85ece Make save icon stand out better when enabled 2020-07-29 19:58:16 -04:00
KillzXGaming
3d32e44e73 Export bfres files as model containers on batch exporting. 2020-07-29 19:54:17 -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
0aaf6b97a3 Revert culture info for now to prevent updater issues. 2020-06-15 21:07:26 -04:00
KillzXGaming
a8ec469252 Force en-US culture to fix decimal seperator. 2020-06-14 12:11:07 -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
KillzXGaming
5a4a994bc8 Adjust lighting for gfbmdl 2020-05-09 20:22:09 -04:00
KillzXGaming
ab066f1706 Add channel component option for batch export textures. Fix exporting texture alts from model. 2020-05-06 19:48:38 -04:00
KillzXGaming
6aa22316e2 Fix missing dlls not created by nuget package (fix texture loading) 2020-05-04 10:48:50 -04:00
KillzXGaming
aaeff82038 Fix some missing libs 2020-05-03 19:16:35 -04:00
KillzXGaming
0f05011435 Fix for csv parsing 2020-05-03 18:44:06 -04:00
KillzXGaming
13dbe45b43 Cleanup some packages 2020-05-03 17:35:06 -04:00
José Guadalupe Nava Zavala
dce06db362 Fix build problem
Fix trying to access field in a string.
Changed Toolbox references to automatically build dependencies (Toolbox_Library, File_Format_Library) to resepective output folder
2020-05-02 03:27:08 -05: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
9a0d92ec42
Fix typo 2020-04-29 23:32:58 -04:00
KillzXGaming
b2ef362954
Fix batch error messages showing file names. 2020-04-29 23:07:59 -04:00
KillzXGaming
45805b6272 Improve batch exporting to catch files inside archives to skip errors. 2020-04-22 17:57:32 -04:00
KillzXGaming
d5f2d60bfa BYAML : Some yaml tag fixes 2020-04-16 17:19:23 -04:00
KillzXGaming
a6951ec000 Add a way to search for byaml hashes in the Hashes folder 2020-04-16 16:28:36 -04:00
KillzXGaming
e9321b9dc8 Copy zelda lib from library path 2020-04-14 18:40:35 -04:00
KillzXGaming
c41a682bff Update libraries 2020-04-14 18:39:16 -04:00
KillzXGaming
ddf24a63fb Adjust a few things 2020-04-11 17:00:50 -04:00
KillzXGaming
029269a24a Auto rename texture duplicates for batch renaming if diretories and file names match 2020-04-11 16:57:09 -04:00
KillzXGaming
9c138bd590 Some fixes 2020-04-11 10:20:56 -04:00
KillzXGaming
65532046c0 Quick implimentation so bfres models can be batched exported 2020-04-10 17:22:45 -04:00
KillzXGaming
5a86fe16de BNTX : Fix R16_UINT textures 2020-03-22 13:13:53 -04:00
KillzXGaming
507c400502 Test 2020-03-21 20:48:35 -04:00
KillzXGaming
006c9c80a2 Some quick byaml fixes for path types 2020-03-21 13:19:27 -04:00
KillzXGaming
687e524d3e Add option to swap hex endianness for hash calculator 2020-03-21 11:46:31 -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
9df4bf6068 One more path fix so directory is always created if textures are present 2020-03-18 12:00:49 -04:00
KillzXGaming
025590f54b Fix archive folder paths 2020-03-18 11:58:08 -04:00
KillzXGaming
1099da76a3 Add more hash types to hash calculator 2020-03-18 11:45:31 -04:00
KillzXGaming
fa65123521 Fix erorrs 2020-03-18 11:44:41 -04:00
KillzXGaming
be11a08a65 Some fixes to batch exporting. Add batch compression 2020-03-18 11:42:17 -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
bfdc4000fa
Quick error fix 2020-03-09 20:54:20 -04:00
KillzXGaming
979b39d374 Try to fix errors 2020-03-08 18:57:18 -04:00
KillzXGaming
574590e869 Start to add batch export option (only works on g1m and cmb atm) 2020-03-08 18:48:18 -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
00a48d4b4a Some adjustments 2020-02-28 16:52:24 -05:00
KillzXGaming
284f727e9a Revert assimp to previous version 2020-02-28 16:49:18 -05:00
KillzXGaming
fada66dbe9 Fix some DPI scaling glitches 2020-02-24 19:07:14 -05:00
KillzXGaming
9d0dd3cb94 Use texture name instead of file name for batch exporting single file textures 2020-02-19 18:52:58 -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
d32f8bfb24 Make sure to disable 32 bit option for release so libraries don't break 2020-02-13 16:00:23 -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
e5f0745818 Improve gfbmdl UV transformation for diffuse textures 2020-02-12 19:15:31 -05:00
KillzXGaming
6129ab2b4e Many more bug fixes and layout rendering improvements.
Add support for BCLAN.  (It's basically the same as BRLAN)
Fix saving for BRLAN.
Fix 3DS textures being upside down for BCLYT.
Improve BCLYT rendering.
Improve texture transforms for BCLYT and BFLYT.
Fix tev stage properties not appearing for BCLYT editor.
Fix C4 and C8 decoding.
2020-02-12 16:56:16 -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
868ce95cd0 Remove extension for batch export 2020-02-07 15:54:59 -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
d991a23980 Add support for G1M model files. Rewrite some bone properties. 2020-02-06 19:47:32 -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
d70fef1f9f BFLYT : Improve saving (material flags and part panes) 2020-02-03 17:17:49 -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
283673ac08 Fix preset typo 2020-01-26 17:05:08 -05:00
KillzXGaming
89b899beef Fix json encoding isse 2020-01-26 17:02:42 -05:00
KillzXGaming
706c03f4ac Update material presets 2020-01-26 16:58:13 -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
bdf2b625e9 Start to impliment a base for custom bfres renderers 2020-01-14 21:15:37 -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
f5c6797023 Add the option to reset UV transforms for GFBMDL imports 2019-12-29 16:11:07 -05:00
KillzXGaming
abe60bec56 Fix shaders erroring out on certain graphic cards from bad float returns. 2019-12-29 15:33:48 -05:00
KillzXGaming
2647aec5a4 BFRES : Update library to fix bounding box issues 2019-12-27 13:10:20 -05:00
KillzXGaming
c2ac556a13 Improve amb maps more 2019-12-19 21:01:48 -05:00
KillzXGaming
fbb86955ba Add support for loading amb green channels (shading) 2019-12-19 20:17:20 -05:00
KillzXGaming
b1cf8a25a9 Add support for viewing GFBMDL ambient occusion maps (amb, red channel inverted) 2019-12-19 20:00:06 -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
114de9ba8a Check for github release assets to prevent index issue 2019-12-11 19:13:25 -05:00
KillzXGaming
4df4c13828 Add support for GFBMDL saving and model editing.
- Models can be swapped with DAE files. You can use custom rigs, custom bones, and also import additional meshes. Materials are selected in the import settings and you can swap and export them as .json. Note there are a few models (ie trees) which break atm.
- Adds support for proper GFBMDL wrap modes from texture params.
2019-12-10 18:46:16 -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
880ab08e79 Add option to reset settings to default 2019-12-02 18:18:09 -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
8acf9e7831 Fix RGB5A1 texture decoding and some chanel issues on others 2019-11-25 17:18:15 -05:00
KillzXGaming
d02ffca772 GFBModel shader improvements 2019-11-24 14:59:54 -05:00
KillzXGaming
0571546bb9 GFBModel shader fixes/improvements 2019-11-23 17:07:31 -05:00
KillzXGaming
f0c3fc5465 Add proper hash matching for GFPAK
Also add latest turbo muunt editor files
2019-11-21 21:46:51 -05:00
KillzXGaming
7e38484a3e BNTX : Add support for D32_FLOAT_S8X24_UINT 2019-11-17 09:24:53 -05:00
KillzXGaming
9c3ac9ae9f Improve DAE exporting.
A brand new DAE exporter is now used built off the one used by Ploaj and Crossmod devs. This replaces the old assimp exporter which was very buggy.
The DAE exporter has many improvments such as multiple materials per mesh, node tree fixes, material improvements, and lots more.
Single binded bfres (only using a bone index) will now be rigged if exported as DAE.
More progress on CMB saving. It's almost done, still needs some adjustments.
Fixed GFMDL rigging on certain models (thanks to RTB's script to reference what controlled the bone type).
2019-11-15 19:27:03 -05:00
KillzXGaming
383613f7c2 Finally fix Z fighting on AMD and INTEL (set depth bit to 24) 2019-11-13 19:21:21 -05:00
KillzXGaming
4eb5ee8d37 Add additional batch export settings 2019-11-10 13:00:20 -05:00
KillzXGaming
616a2604c4 Add batch export option for all supported texture formats. 2019-11-10 12:36:56 -05:00
KillzXGaming
132f312484 Try to fix updates failing 2019-11-10 10:13:56 -05:00
KillzXGaming
fb81cc93b0 Fix MKAGPDX models mssing mesh data 2019-11-09 13:40:48 -05:00
KillzXGaming
a2a9f21035 KCL: Update lib to load proper material presets 2019-11-06 21:08:47 -05:00