1
0
mirror of synced 2024-12-01 02:27:22 +01:00
Commit Graph

1055 Commits

Author SHA1 Message Date
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
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
d923705c3c BNTX : Quick fix for dims when importing cubemaps as DDS 2021-04-04 17:08:54 -04:00
KillzXGaming
12dfbaadaf Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2021-03-29 20:41:55 -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
2056fd1fa0
BFRES : Fix shader variables being switched in UI. 2021-03-22 18:00:33 -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
b8ad3d9734 BFRES : Param cleanup and support NSMBU SRT params 2020-11-08 20:51:57 -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
91f4909b1f BXLYT : Support loading textures with different name cases. 2020-09-18 17:59:55 -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
KillzXGaming
5e035ff15e NSP : Add support for loading multiple programs 2020-09-16 20:55:48 -04:00
KillzXGaming
e6f4f0562d Some quick CRAR fixes 2020-09-15 16:19:01 -04:00
KillzXGaming
4e23dcf91f BFRES : Quick fix to support Rune Factory 4 samplers. 2020-09-15 14:36:05 -04:00
KillzXGaming
3192ee7d62 Add support for CRAR (little endian RARC) 2020-09-15 11:19:06 -04:00
KillzXGaming
39910a721b Some error fixes 2020-09-12 16:50:05 -04:00
KillzXGaming
f227f30e04 Fixup BOTW switch samplers 2020-09-12 15:44:38 -04:00
KillzXGaming
ba0ac85543 Store original usd1 section for saving back unless edited to prevent v9 bflyt glitches. 2020-09-12 15:33:28 -04:00
KillzXGaming
2a1b7b1d97 Adjust KCL switching endianness 2020-09-11 21:05:58 -04:00
KillzXGaming
b16d03857f Add custom extensions to save dialogs. 2020-09-10 18:07:42 -04:00
KillzXGaming
aee94a3b2b BFRES : Fix botw switch samplers 2020-09-05 20:30:41 -04:00
KillzXGaming
778c214d16 PCTL : Temporarily disable bfres saving due to current bugs. 2020-09-04 19:21:10 -04:00
KillzXGaming
968ac33d09 PTCL : fix some material assignments for primitives. 2020-09-04 16:29:23 -04:00
KillzXGaming
33801bc48c Quick fix for nutexb swizzle settings 2020-09-04 14:30:25 -04:00
KillzXGaming
795d6702ed Patch assembly version 2020-08-31 19:03:18 -04:00
KillzXGaming
88b84a9a8d Fix part pane crash bug in newer layout versions. 2020-08-31 18:34:25 -04:00
KillzXGaming
6b88b26038 Use global variables for nutexb configuration. 2020-08-31 17:35:33 -04:00
KillzXGaming
9c0703d50c Cleanup a bit 2020-08-31 17:30:57 -04:00
KillzXGaming
b867295659 NUTEXB : Add seperate padding toggle to pad smaller file sizes. 2020-08-31 17:27:07 -04:00
KillzXGaming
bf02233106 Combine KCL materials that use unique IDs per every triangle. 2020-08-31 17:00:55 -04:00
KillzXGaming
e3ac2625ef KCL fixes for 3D World Presets 2020-08-19 16:29:40 -04:00
KillzXGaming
619c1a9e23 Adjust KCL constructor 2020-08-18 14:06:54 -04:00
KillzXGaming
f39203054b Adjust obj export default filename 2020-08-16 11:48:40 -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
b0f77f247a BFRES : Fix bntx files with custom file names (PMTOK missing textures fixed) 2020-08-11 16:47:01 -04:00
KillzXGaming
ca57c482b7 BFRES : Fix yaml formatting for materials with duplicate values in keyframes. 2020-08-03 19:28:50 -04:00
KillzXGaming
c68dc5aaea Disable bmd saving to prevent potential crashes 2020-08-02 12:04:09 -04:00
KillzXGaming
4e5c8cf5f6 Add support for ARAM RARC files. 2020-07-29 19:54:52 -04:00
KillzXGaming
3d32e44e73 Export bfres files as model containers on batch exporting. 2020-07-29 19:54:17 -04:00
KillzXGaming
b58d58abaf Use byte type for bntx flags 2020-07-27 18:43:10 -04:00
KillzXGaming
bebba0e432 PACx : fix some freezes loading type 0 files (root single chunks) 2020-07-26 12:30:21 -04:00
KillzXGaming
cdc0049190 LM3 : Adjust model name handling. 2020-07-21 19:03:39 -04:00
KillzXGaming
1be92db3d7 Auto check BC4 Alpha setting when used on replaced texture. 2020-07-20 19:53:24 -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
cfbf39fff6 Quick fix for switch textures with strange resolutions. 2020-07-15 19:01:56 -04:00