Commit graph

2911 commits

Author SHA1 Message Date
KillzXGaming
b7b00fa26f Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2022-02-28 18:31:12 -05:00
KillzXGaming
a3a1b71474 Layout : Add support for adding fonts/textures from the tree 2022-02-28 18:31:05 -05:00
PabloMK7
f6cd674c24
BCLAN: Fix writing of PAI1 section (#459)
Fixes writing of PAI1 section in BCLAN files (tested with Mario Kart 7 bclan files):
1. The offset of the strings is relative to the start of the table, not the start of the PAI1 section.
2. 4 bytes of padding after the strings are needed for proper alignment of the rest of the section.
2022-02-23 20:22:38 -05:00
KillzXGaming
6137bddb0d Adjustments 2022-02-22 20:05:54 -05:00
KillzXGaming
b9b198cccb GFPAK : Adjust how compression is checked. 2022-02-22 19:59:04 -05:00
KillzXGaming
6049e23669 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2022-02-22 17:06:36 -05:00
KillzXGaming
679887556c BFRES : Fix newer versions breaking due to new shape flags.
Also adds a fix for user pointer data used by MPSA
2022-02-22 17:06:29 -05:00
MichaelHinrichs
f6e3da8473
Fix file names with slashes (#450)
In Luigi's Manson 3, some of the archived models have slashes in their names. This means that they can't be exported with those names, and Toolbox will crash when it reaches them, if you try to "export all".

What i have done to fix this, is make toolbox treat names with slashes as directory paths, with a file name on the end.
2022-02-14 18:18:29 -05:00
Rei
205c8d7ba2
Rewrite pokemon string gen code; Add some PLA strings (#455) 2022-02-14 18:18:02 -05:00
D3fau4
55b9969a8e
Full support for Oodle compression (#440)
* Full support for Oodle descompression

* ups

* Save/Compress support

* throw exception if oo2core_6_win64 dll` dont exists

* Show a MessageBox when the dll is not present
2022-01-24 20:42:53 -05:00
KillzXGaming
7d1da60731 BFRES : Quick fix for bounding box updating for rigged models 2022-01-21 16:44:10 -05:00
KillzXGaming
e47e777267 Quick adjustment 2022-01-20 17:14:55 -05:00
KillzXGaming
b720d74360 GFPAK. Quick fixes to open different compression type. 2022-01-20 17:13:29 -05:00
KillzXGaming
849aa7f6c2 DDS : Fix saving as stand alone format. 2021-12-31 14:27:58 -05:00
KillzXGaming
fe738ddb24 Adjust the mk8u preset too 2021-12-28 20:06:58 -05:00
KillzXGaming
cd4333c5cc Adjust mk8 kcl material preset. 2021-12-28 20:06:36 -05:00
KillzXGaming
54dce49fdd Archive fixes for replacing folder. 2021-12-28 15:02:38 -05:00
KillzXGaming
6b14db6ffe PKG : Save file formats automatically if opened and supported. 2021-12-28 14:31:06 -05:00
KillzXGaming
0f9574101b KCL : Add the same fix to mtl parsing 2021-12-24 16:07:07 -05:00
KillzXGaming
1e00a15618 KCL : Fix float parsing in different regions using different format providers 2021-12-24 15:55:20 -05:00
KillzXGaming
67f355f953 KCL : Fix potential crash from .obj using different regional text handling. 2021-12-24 15:17:05 -05:00
KillzXGaming
84d535c0f0 Fix building with IONET 2021-12-23 12:50:36 -05:00
KillzXGaming
ec73bbfe54 KCL : Support automatic triangulation and improve material detection. 2021-12-22 15:39:10 -05:00
KillzXGaming
c6287f2631 DAE : Fix issues exporting models with only bone indices and no weights. 2021-12-10 20:53:47 -05:00
KillzXGaming
6e64dbc131 Add .zst extension. 2021-12-08 20:46:42 -05:00
KillzXGaming
d11e90787c RARC : Fix writing directory IDs. 2021-12-02 17:30:01 -05:00
KillzXGaming
c204608f9b Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2021-11-28 14:28:31 -05:00
KillzXGaming
c847d40d3f RARC : Add rewritten code ported from reborn project 2021-11-28 14:28:18 -05:00
Crementif
bee25c6b06
Improve file searching window (#428) 2021-11-28 12:58:17 -05:00
KillzXGaming
2e8632147c
Update appveyor to copy new swizzle dlls 2021-11-25 18:40:20 -05:00
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