Commit graph

1089 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
9a788e622a DAE : Fix incorrect weights from optimization issues. 2021-11-19 16:47:41 -05:00
KillzXGaming
c4b785c29f NKN : Fix alignment/padding for encrypting blocks fixing crashes. 2021-11-17 17:25:45 -05:00
KillzXGaming
118c90bd8d Add PKG saving 2021-11-03 21:03:43 -04:00
KillzXGaming
2c6ba2f1bb Quick error fix 2021-11-02 18:53:59 -04:00
KillzXGaming
df1989236a Add support for loading/saving .nkn csv files. 2021-11-02 18:47:10 -04:00
KillzXGaming
65b7856428 Start to support PKG file names. 2021-10-17 19:45:37 -04:00
KillzXGaming
edd47188fe Quick sub array fix. 2021-10-06 18:26:03 -04:00
ScanMountGoat
700cfa845e avoid using LINQ for array slicing 2021-09-28 19:00:01 -04:00
KillzXGaming
2acb2389c6 Update nutexb settings and fix unswizzled file detection. 2021-06-15 20:02:20 -04:00
KillzXGaming
ae515217b5 Remove some unused old code in seanim 2021-06-15 18:20:01 -04:00
KillzXGaming
a4bc25a0de Adjust seamim exporting 2021-06-15 18:19:13 -04:00
KillzXGaming
15dca5a055 Fix audio player device switching 2021-06-04 18:23:54 -04:00
KillzXGaming
016dca5d0b
Fix errors 2021-04-19 19:03:50 -04:00
KillzXGaming
ce06922fd7
Add some face checks to check for valid triangles.
Should fix common errors from tangent/bitangents and normals calculation.
2021-04-19 18:59:45 -04:00
KillzXGaming
1fd81feb22 Small adjustment 2021-04-10 16:57:23 -04:00
KillzXGaming
163a348465 Image Editor: Add HDR setting for 2D cubemap viewer 2021-04-10 16:56:26 -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
e93ace1f0d Quick error fix 2021-03-06 11:15:24 -05:00
KillzXGaming
f3705d563a Attempt to fix SMD culture issue on export. 2021-03-06 11:12:39 -05:00
KillzXGaming
ac385352d9 Prevent invalid camera z near values. 2021-02-13 10:38:11 -05:00
KillzXGaming
2fd88ce7eb RARC : Support renaming. 2020-12-24 20:05:44 -05:00
KillzXGaming
4fed7876e4 Add notifcation on application close to prevent accidental loss of progress. 2020-11-06 18:54:10 -05:00
KillzXGaming
4071849d9e KCL : Also split collision IDs by meshes 2020-10-23 20:54:22 -04:00
KillzXGaming
f4369456ae SMD : Quick culture fix 2020-10-23 19:36:18 -04:00
KillzXGaming
a22557b18c BFRES : Fix a skinning count issue for model importing. 2020-10-05 18:21:46 -04:00
KillzXGaming
ad9345f7fe
Merge pull request #288 from McSpazzy/mmh3
Add Murmurhash3 Support
2020-10-02 18:05:07 -04:00
KillzXGaming
3215f504bd ImageEditor : Add more events to fire off FileWatcher changed event. 2020-10-02 18:04:15 -04:00
McSpazzy
618fa1f6e0 Add murmerhash3 support 2020-10-02 17:09:21 +10:00
KillzXGaming
9a0f6ebddd BRFNT: Add support for little endian. 2020-09-18 17:03:30 -04:00
KillzXGaming
6deffec924 BFRES : Fix rigid body transforming for model imports. 2020-09-17 16:58:06 -04:00
KillzXGaming
7e2ab15d19 Add support for exporting RG8 dds files. 2020-09-11 21:05:38 -04:00
KillzXGaming
07b53963ac Set the default extension for file node wrappers. 2020-09-10 18:12:14 -04:00
KillzXGaming
b16d03857f Add custom extensions to save dialogs. 2020-09-10 18:07:42 -04:00
KillzXGaming
40fca105f8 Force streams to close when swithced to a decompressed stream. 2020-09-02 18:50:48 -04:00
KillzXGaming
5e7f0d9f2f Fix some artifact bugs with BC5 decompression. 2020-09-01 19:25:55 -04:00
KillzXGaming
d79e59b524 Save some config settings 2020-08-31 19:21:57 -04:00
KillzXGaming
6b88b26038 Use global variables for nutexb configuration. 2020-08-31 17:35:33 -04:00
KillzXGaming
42c3275efc Adjust nodes from the folder loader to use text from loaded file nodes. 2020-08-31 17:20:10 -04:00
KillzXGaming
183096c8c3 Some error fixes 2020-08-18 14:12:06 -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
3d32e44e73 Export bfres files as model containers on batch exporting. 2020-07-29 19:54:17 -04:00
KillzXGaming
b673b3ee60 Revert "Revert "Revert "Quick fix for switch textures with strange resolutions."""
This reverts commit 2866344409.
2020-07-20 19:52:11 -04:00
KillzXGaming
2866344409 Revert "Revert "Quick fix for switch textures with strange resolutions.""
This reverts commit d7e8d9d50c.
2020-07-20 19:50:33 -04:00
KillzXGaming
d7e8d9d50c Revert "Quick fix for switch textures with strange resolutions."
This reverts commit cfbf39fff6.
2020-07-20 19:50:11 -04:00
KillzXGaming
6fe6b606ce Quick culture fix for smd 2020-07-18 17:11:37 -04:00
KillzXGaming
cfbf39fff6 Quick fix for switch textures with strange resolutions. 2020-07-15 19:01:56 -04:00
KillzXGaming
07bd21b174 Fix errors 2020-07-11 15:21:37 -04:00
KillzXGaming
3d18d542a9 Force bc7 to use unorm on .dds export so it doesn't darken in external programs. 2020-07-11 13:17:46 -04:00