1
0
mirror of synced 2024-12-14 00:23:03 +01:00
Commit Graph

2681 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
ed015677df Quick adjustment to editing bsmat 2021-11-19 18:11:28 -05:00
KillzXGaming
8cc294e07f PKG : Include bsmat editing 2021-11-19 18:03:41 -05:00
KillzXGaming
84fdef5718 PKG : Update data loading to store in memory. 2021-11-19 17:50:33 -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
1ccc421eb9 PKG : Add the rest of the file hashes. 2021-10-29 16:23:49 -04:00
KillzXGaming
9521661132 More map hashes 2021-10-28 21:07:24 -04:00
KillzXGaming
aaccb11981 BFRES : Add Format_16_16_UNorm for tex coords 2021-10-28 18:06:55 -04:00
KillzXGaming
d4bb2233a4 Update project resources 2021-10-19 20:57:17 -04:00
KillzXGaming
d281553ce1 Add improved hash list for PKG
Loads all known hashes in the file data. Thanks to UltiNaruto for the hash list.
2021-10-19 19:44:06 -04:00
KillzXGaming
95f22c2695 Add some more types. 2021-10-17 21:07:57 -04:00
KillzXGaming
41417753e3 More adjustments to PKG guess paths 2021-10-17 20:53:44 -04:00
KillzXGaming
29f3b34b0e More PKG file name improvements 2021-10-17 20:49:28 -04:00
KillzXGaming
65b7856428 Start to support PKG file names. 2021-10-17 19:45:37 -04:00
KillzXGaming
513cacc222 PKG : use names in the file data and organize the file types.
Will support proper file paths when the hashing method is figured out.
2021-10-12 19:51:48 -04:00
KillzXGaming
6d2df20b71 XTX : Support loading array levels 2021-10-11 19:12:37 -04:00
KillzXGaming
f8c0848ec3 XTX : Support BC6 2021-10-11 19:08:42 -04:00
KillzXGaming
393c9f075d Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2021-10-11 19:03:35 -04:00
KillzXGaming
a24495bd41 XTX format cleanup 2021-10-11 19:03:28 -04:00
linktlh
afeac3fff0 Add sbeventpack as a sarc file 2021-10-11 17:17:52 -04:00
KillzXGaming
918595b0fc Adjust FKSA skeleton searching. 2021-10-11 17:16:17 -04:00
KillzXGaming
84dcc87506 Quick fix for mtxt right click saving 2021-10-11 17:00:33 -04:00
KillzXGaming
08aae51016 Support MTXT editing. Add file extensions to files inside PKG. 2021-10-10 14:06:08 -04:00
KillzXGaming
0f1ff1b45c Adjustment to MTXT so it can batch export. 2021-10-09 16:46:21 -04: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
fa6f03694e Minor fix for layout viewer 2021-10-08 16:55:07 -04:00
KillzXGaming
e333014dce Update project files 2021-10-08 16:51:37 -04:00
KillzXGaming
5d0bb0830d Some error fixes 2021-10-08 16:49:07 -04:00
KillzXGaming
1db4f12a04 Push pkg stuff 2021-10-08 16:38:49 -04:00
KillzXGaming
6aead7e0f7 Add basic MTXT and PKG support 2021-10-08 16:35:36 -04:00
KillzXGaming
edd47188fe Quick sub array fix. 2021-10-06 18:26:03 -04:00
KillzXGaming
90e632326c Rebuild the appveyor build 2021-09-29 18:55:31 -04:00
ScanMountGoat
700cfa845e avoid using LINQ for array slicing 2021-09-28 19:00:01 -04:00
KillzXGaming
2efd7adf6e MSBT : Support TXTW 2021-09-08 20:03:14 -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
09c6c159fa BFRES : Remove some unused UI. 2021-08-22 13:22:58 -04:00
KillzXGaming
c20435aa45 Fix XTX replacing having incorrect block height 2021-07-25 16:51:51 -04:00
KillzXGaming
aeaafb732e Update token 2021-07-25 16:05:28 -04:00
KillzXGaming
eb58a00a84 Update appveyor 2021-07-25 15:55:24 -04:00
KillzXGaming
efdce27d4e BFRES : Fix mesh importing placement being wrong from rigid indices. 2021-07-25 15:40:21 -04:00
KillzXGaming
3c2526bedc Quick xtx saving fix 2021-07-18 16:04:53 -04:00
KillzXGaming
137c086699 Fix bfres disappearing (bounding radius calculation) and fixes to xtx and astc support. 2021-07-18 15:17:07 -04:00