Commit graph

1048 commits

Author SHA1 Message Date
KillzXGaming
d0fc51c57d BFRES : Fix loading bone attributes from 4 byte format when 3 byte stride 2023-05-27 19:26:32 -04:00
KillzXGaming
8c25749c23 Add latest code 2023-05-21 13:17:25 -04:00
KillzXGaming
ede52275da Fix GUID endianness 2023-02-16 21:14:16 -05:00
KillzXGaming
d1820ba8f0 CMDL : use the right tex coord target for dkctf 2023-02-16 17:28:58 -05:00
KillzXGaming
afe7ab3890 Update retro formats to support Metroid Prime Remastered 2023-02-16 17:25:43 -05:00
Teras
eaef6e5f0c
workaround for exporting tranm (#555) 2022-12-08 11:25:30 -05:00
Teras
022fcc61cc
Fixes for TRPAK implementation (#554)
Fix wrong detection of GFMDL files. wont be detected as Fileformat for finding File Extensions for unknown Hashes.
Don't add the detected file extension to known file names.
Added Quick Access folder for .tranm files for feature parity with GFPAK.
2022-12-07 17:01:57 -05:00
Teras
314a880213
Update to TRPAK Implementation (#546)
* Move TRPAK up the list of Fileformats
prevents false detections of some of the Archives as other File Formats

* add best guess for Paths
if all known paths are the same add that one path to all other Files

* Revert "Move TRPAK up the list of Fileformats"

This reverts commit a1c0c2d630.

* Move TRPAK up the list of Fileformats
this time dont reformat the whole Class

* Added Quick access
Added Quick access Folders in the same style as GFPAK for all Texture Files and all Model Files

* cleanup and set some ImageKeys

* Prefer BNTX Filenames that mathc the Hash
instead of relying on only getting the filenames from the file itself
2022-11-29 18:32:27 -05:00
Teras
d55f738297
First pass for TRPAK archive files (#544)
first seen in Pokemon Scarlet/Violet
2022-11-20 09:38:38 -05:00
KillzXGaming
8fc71d3c32 GTX : Use original channel components. 2022-10-29 12:49:31 -04:00
KillzXGaming
e063086601 Fix formatting 2022-10-29 12:48:18 -04:00
KillzXGaming
423463d082 GTX : Fix channel properties and add default mip target 2022-10-29 12:47:56 -04:00
KillzXGaming
0a9520d1f2 Skip texture maps if not present in pak 2022-10-28 20:10:42 -04:00
KillzXGaming
b6789443ce Some more pak and model fixes 2022-10-28 20:09:47 -04:00
KillzXGaming
db49432909 Adjustments 2022-10-28 20:04:27 -04:00
KillzXGaming
1a9ae89eac PAK : Only write meta data to model and texture data which require it. 2022-10-28 20:03:21 -04:00
KillzXGaming
47ad72444c Adjust mesh naming 2022-10-26 19:39:32 -04:00
KillzXGaming
2cc2269bab Add support for DKCTF Wii U and Switch files.
Supports loading rigged models and viewing textures for both the Wii U and Switch versions of the game.
Keep in mind the Switch version lacks LZSS 3 byte compression and will be missing vertex data for certain models.
2022-10-26 19:33:56 -04:00
August
a9675a0fdb
a spark of hope (#531) 2022-10-17 17:18:44 -04:00
KillzXGaming
31e39b3308 More adjustments to fix potential errors 2022-10-09 13:17:09 -04:00
KillzXGaming
411f07d4fb Adjustment to mrl material loading 2022-10-09 13:13:52 -04:00
KillzXGaming
9af7f1c0d0 Fix MT shader descriptors path 2022-10-09 12:45:48 -04:00
KillzXGaming
6e6bc02e0f Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2022-10-08 15:48:47 -04:00
KillzXGaming
02273a7501 Support Mega Man 11 and MHGU (Switch) model/texture loading. 2022-10-08 15:48:40 -04:00
KillzXGaming
080024fc5c
GFBNM : Input file name as name for exporter 2022-09-25 16:17:06 -04:00
JkKU
c928879082
Fixed multiple issues with NARC library (#511)
* Fixed multiple issues with NARC library

- Support for NARC files with folders (read-only)
- Fixed alignment of files.
- Optimised loading.

* Quick fixes

* Cleanup
2022-09-10 14:06:12 -04:00
KillzXGaming
a506fb3a74 Add check for null external data 2022-09-08 17:03:44 -04:00
KillzXGaming
7872502b11 Quick fix since appveyor is weird with modern c# 2022-08-25 19:59:47 -04:00
KillzXGaming
af0869d308 BFRES : Support v0.10 bfres loading (no saving with models).
This will not support saving with models currently.
Most material data will not be loaded due to varying changes in structure.
2022-08-25 19:33:46 -04:00
KillzXGaming
18cde12fd8 Adjustments to update the hash path through the plugin instead 2022-08-13 20:34:36 -04:00
KillzXGaming
28f269c2d9
NARC : Fix files not compressing due to library update. 2022-07-29 20:39:49 -04:00
JkKU
b21fc43b52
Reworked the NARC library (#464) 2022-07-14 21:30:04 -04:00
KillzXGaming
963ffa1227 BFLYT : Fix possible crash from the user data section on save. 2022-06-04 13:46:25 -04:00
KillzXGaming
91900d6aeb Support proper checks for maya segment scale 2022-05-25 17:03:19 -04:00
KillzXGaming
7ba0eb7dcc GFBANIM : Scale like maya. Todo: no idea what toggles this. 2022-05-25 16:41:51 -04:00
KillzXGaming
bc808202c7 Adjust the keyloader 2022-05-25 16:36:10 -04:00
KillzXGaming
6fe6dfed37 GFBANM : Support vector3 byte keyframe types 2022-05-25 16:35:59 -04:00
KillzXGaming
857476e92b GFBANIM : Fix playback bug for byte quat types. 2022-05-24 21:18:20 -04:00
KillzXGaming
4ac5dc5e3c BYAML : Make sure the !h tag is only used for calculated hash strings 2022-04-29 16:43:58 -04:00
KillzXGaming
db6fddc746 Quick fix for errors 2022-04-20 19:06:40 -04:00
KillzXGaming
a390e6667b Update shader decompiler to work with latest Ryujinx 2022-04-20 18:11:04 -04:00
KillzXGaming
071fb61418 Bflyt : Fix text pane alignment property for X/Y being swapped 2022-04-20 18:10:19 -04:00
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
e0aab4c0f9 Add option to remove them too 2022-02-28 18:33:46 -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
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
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
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
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
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
b945205ae9 Reset the brawlbox helper lib to fix some errors 2021-06-15 17:50:27 -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