Commit graph

863 commits

Author SHA1 Message Date
Rambo6Glaz
46b8a21867
BCLAN: Fix writing of PAT1 and PAI1 section (#478)
Co-authored-by: Rambo6Glaz <fake@cia.gov.us>
2022-04-04 16:30:19 -04:00
KillzXGaming
6ce7e5c8ba BFLYT : Fixes to mat1 when creating new 2022-02-28 19:04:59 -05:00
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
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
6b14db6ffe PKG : Save file formats automatically if opened and supported. 2021-12-28 14:31:06 -05:00
KillzXGaming
ec73bbfe54 KCL : Support automatic triangulation and improve material detection. 2021-12-22 15:39:10 -05:00
KillzXGaming
d11e90787c RARC : Fix writing directory IDs. 2021-12-02 17:30:01 -05:00
KillzXGaming
c847d40d3f RARC : Add rewritten code ported from reborn project 2021-11-28 14:28:18 -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
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
df1989236a Add support for loading/saving .nkn csv files. 2021-11-02 18:47:10 -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
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
90e632326c Rebuild the appveyor build 2021-09-29 18:55:31 -04:00
KillzXGaming
2efd7adf6e MSBT : Support TXTW 2021-09-08 20:03:14 -04:00
KillzXGaming
c20435aa45 Fix XTX replacing having incorrect block height 2021-07-25 16:51:51 -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
KillzXGaming
2acb2389c6 Update nutexb settings and fix unswizzled file detection. 2021-06-15 20:02:20 -04:00
KillzXGaming
a425bd6a6e Revert GetActiveSkeleton() as it causes animation export issues.
Since bfres has no real way to actively tell what animation uses which skeleton, I will need to do a UI in another update to select which model to export with.
2021-06-12 11:12:16 -04:00
KillzXGaming
06e835fd3d Handle skinned boundings better (may improve shadows and culling performance) 2021-06-05 18:06:24 -04:00
KillzXGaming
65732387fc Improve bounding radius calculation. 2021-06-03 21:19:34 -04:00
KillzXGaming
bf43d65daf NUTEXB : Support BC6 SFloat 2021-05-02 20:07:51 -04:00
KillzXGaming
15594e967b NUTEXB: Support BC4 2021-05-02 18:52:03 -04:00
KillzXGaming
f17b4280a4 NUTEXB : Improve nutexb texture format support, keep file version on resave. 2021-04-30 17:53:02 -04:00
KillzXGaming
f1da5060d0 BFRES : Cleanup how indices are checked and updated fixing some skinning bugs on import. 2021-04-26 20:35:44 -04:00
KillzXGaming
7c9d8cfd98 BFRES : Add a quick fix for swapping skeletons with regenerated indices 2021-04-18 20:16:27 -04:00
KillzXGaming
2f2bee744b BFRES : Finally add support for proper skin index generation fixing all the index errors. 2021-04-18 14:38:12 -04:00
KillzXGaming
7331a268bf BFRES : Display scaling rule for non animated skeletons. 2021-04-17 19:21:42 -04:00
KillzXGaming
8a9390cb6c BFRES : Fix bone matching for models with multiple skeletons. 2021-04-12 19:49:45 -04:00
KillzXGaming
e1e6a3941f BFRES : Quick work around for skinning indices to fix index out of range error.
Quick work around based on VelouriasMoon's fix.
2021-03-29 20:41:44 -04:00
KillzXGaming
dcba003aba BFFNT : Fix bntx sheet generating and default mip maps to 1. 2021-03-21 14:51:59 -04:00
KillzXGaming
0db9434041 SHARCFB : Fixes to variation value parsing. 2021-02-21 13:04:57 -05:00
KillzXGaming
3ccd38ea66
Quick error fix 2021-02-01 18:29:49 -05:00
HelloOO7
4720db57b9 GFPAK disk hash cache. 2021-02-01 17:20:42 -05:00
HelloOO7
3708fd4945 GFPAK anime hash duplicates fix 2021-02-01 17:20:42 -05:00
HelloOO7
1340c1a55f GFPAK procedural anime config hashes 2021-02-01 17:20:42 -05:00
KillzXGaming
2c43ccfc3f
Quick KCL material preset path fix. 2021-02-01 17:16:11 -05:00
KillzXGaming
394fad02c5 RARC : Add batch renaming for galaxy actors like odyssey has 2020-12-26 12:59:08 -05:00
KillzXGaming
df06604d2a Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2020-12-26 12:54:15 -05:00
KillzXGaming
df281e645f NUTEXB : Fix different non swizzled surface levels 2020-12-26 12:54:07 -05:00
Shuken Mondin
f2601229d3 Import User data
Import userdata when importing a WiiU animation to a Switch bfres
2020-12-25 11:14:16 +08:00
KillzXGaming
2fd88ce7eb RARC : Support renaming. 2020-12-24 20:05:44 -05:00
KillzXGaming
5a55eb189f NUTEXB : Fix BC2 SRGB textures loading 2020-12-13 11:44:15 -05:00
KillzXGaming
66749710ce BYAML : Support upper case boolean values when converting yaml back 2020-12-12 12:35:36 -05:00
KillzXGaming
ad98ec7db9 XCI : fix loading files. 2020-12-12 12:28:04 -05:00
KillzXGaming
f7e982dd6d BFLYT : Allow groups to have their pane list edited. 2020-12-12 12:20:50 -05:00
KillzXGaming
cc4d1c7933 Revert "Enable proper BFRES saving in PTCL"
This reverts commit 15dacaca2a.
2020-10-29 21:15:32 -04:00
KillzXGaming
15dacaca2a Enable proper BFRES saving in PTCL 2020-10-29 19:44:42 -04:00
KillzXGaming
a3bfa61275 Add LOD counter option for dummy LODs 2020-10-23 19:34:00 -04:00
KillzXGaming
8686dcf3f0 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2020-10-21 17:42:03 -04:00
KillzXGaming
cf752a265d BFRES : Add vertex color menus to FSHP 2020-10-21 17:40:51 -04:00
HelloOO7
5d9981e6dc
Fix GFBANM rotation interpolation 2020-10-19 17:09:25 +02:00
KillzXGaming
079ad7e724 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2020-10-10 13:08:10 -04:00
KillzXGaming
5f9493839e BRLYT : Fix removing texture maps. 2020-10-10 13:07:48 -04:00
KillzXGaming
edb3b986cd
BFRES : Improve Switch sampler handling. 2020-10-08 18:55:13 -04:00
McSpazzy
62d26303fa Add bcsv header hash resolving 2020-10-02 17:11:24 +10:00
KillzXGaming
846cbb8eea Some adjustments 2020-09-25 19:14:47 -04:00
KillzXGaming
f8d63441a7 Fix some erorrs 2020-09-25 19:12:56 -04:00
KillzXGaming
d5133d8344 BFLYT : Some fixes with tex gen on newer versions 2020-09-20 15:15:23 -04:00
KillzXGaming
b7a7f871dc BXLYT : Auto generate tex gens if none created. 2020-09-20 14:43:11 -04:00
KillzXGaming
e39e6f7d03 BXLYT : Recalculate material indices automatically on save. 2020-09-20 14:05:28 -04:00
KillzXGaming
3126bef310 BMD : Add little endian support. 2020-09-20 10:36:51 -04:00
KillzXGaming
303aa55215 NSP/XCI : Use title IDs in place for multiple NCA file names. 2020-09-19 10:12:49 -04:00
KillzXGaming
4f28c0747f BXLYT : Fix updating layout instance on new panes (fixes pane name list in bxlan editor) 2020-09-18 18:13:31 -04:00
KillzXGaming
426e7440a6 BRLYT & BRLAN : Support little endian. 2020-09-18 17:34:05 -04:00
KillzXGaming
2f6605761a TPL : Add support for little endian 2020-09-18 17:20:36 -04:00
KillzXGaming
9a0f6ebddd BRFNT: Add support for little endian. 2020-09-18 17:03:30 -04:00
KillzXGaming
1d77d99968 BXLAN : Fix setters/getters for frame size and loop data. 2020-09-17 17:12:03 -04:00
KillzXGaming
6deffec924 BFRES : Fix rigid body transforming for model imports. 2020-09-17 16:58:06 -04:00
KillzXGaming
b239823a3c KCL : Fix collision generation from obj with NaN position values. 2020-09-17 11:05:16 -04:00
KillzXGaming
bf472a062a Add the same support for .xci 2020-09-16 21:04:23 -04:00