1
0
mirror of synced 2024-12-11 07:16:05 +01:00
Commit Graph

680 Commits

Author SHA1 Message Date
SMG
b161949a1f
Updated Tegra X1 swizzling and nutexb block heights (#419)
* avoid using LINQ for array slicing

* separate pitch and block linear swizzle functions

* use tegra_swizzle lib for swizzle/deswizzle for block linear

* clean up tegra swizzle and remove redundant allocation

* add an additional binary for 32 bit

* add check to force valid block heights

* fix sizes for 32 bit swizzle ffi

* simplify mipmap offsets, fix clamping blockHeightLog2

* prevent 0 values for width/height

* port updated nutexb block height function from Cross Mod

* update tegra_swizzle to include corrected block height functions
2021-11-25 18:15:17 -05:00
KillzXGaming
865dd1b545 Add latest KCL presets 2021-10-08 19:36:49 -04:00
KillzXGaming
2deb8e077f More KCL lib updates. 2021-10-08 19:34:20 -04:00
KillzXGaming
1bee479cfc More KCL improvements with how materials are mapped to meshes/materials. 2021-10-08 19:17:23 -04:00
KillzXGaming
f9f209190d Add latest KCL library with some crash fixes 2021-10-08 17:48:21 -04:00
KillzXGaming
58adee48b7 Many byaml fixes. Should fix crash issues with mk8. 2021-09-07 19:50:23 -04:00
KillzXGaming
43dc09c39c SARC : Fix GraphicsPreset.szs failing to load/save from signed characters. 2021-08-30 20:55:11 -04:00
KillzXGaming
1a80f9207a Make sure to update the kcl gui 2021-06-15 20:19:36 -04:00
KillzXGaming
272d5b76fc Update to latest KCL library 2021-06-15 20:18:55 -04:00
KillzXGaming
00883d617b Push byaml saving fix for certain node types thanks to MonsterDruide1. 2021-05-13 17:58:02 -04:00
KillzXGaming
b8915393ea Fix cubemap view direction 2021-04-09 21:05:47 -04:00
KillzXGaming
f98cb66feb Image Editor : Add gamma control and addtional UI to cubemap viewer 2021-04-09 21:02:20 -04:00
KillzXGaming
c9aef08482 Image Editor : Add option to preview 3D HDR alpha encoded cubemaps 2021-04-09 20:34:39 -04:00
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
6837bc30d1 BXLYT : Cleanup shaders.
Some cleanup and adjust floating point values to have decimals.
2020-12-22 20:40:36 -05:00
KillzXGaming
4fed7876e4 Add notifcation on application close to prevent accidental loss of progress. 2020-11-06 18:54:10 -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
604f7b3d36
Merge pull request #289 from McSpazzy/bcsv-hash
Hash support for BCSV headers
2020-10-02 18:05:35 -04:00
McSpazzy
67eb77dcb6 Use full name instead of import 2020-10-02 17:15:24 +10:00
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