Commit graph

858 commits

Author SHA1 Message Date
José Guadalupe Nava Zavala
317c18a570 Modified .gitignore to ignore common VS files
Modified .gitignore to add the base VS ignore files (nugget packages)
debug header files, etc.
2020-05-02 02:58:50 -05:00
KillzXGaming
7efbad2ae9 Some adjustments 2020-04-26 17:30:55 -04:00
KillzXGaming
554f4b17a0 NUTEXB : don't combine levels to fix file sizes 2020-04-26 10:14:11 -04:00
KillzXGaming
9f43146966 NUTEXB fix importing cubemaps 2020-04-23 16:25:37 -04:00
KillzXGaming
0b7f5043e9 Fix BCLIM saving (fixes bclyt editing in archives) 2020-04-23 16:11:05 -04:00
KillzXGaming
126f462213 Fix the batch bntx creator to have a proper folder selector 2020-04-23 15:27:47 -04:00
KillzXGaming
ab984fe93a Prevent infinite loading for effn ptcls 2020-04-19 17:23:43 -04:00
KillzXGaming
11099d88df Automatically open sarc file entries if there is only a single file in them 2020-04-19 13:28:04 -04:00
KillzXGaming
a3be9b111d BFRES : Fix bone indices remapping for batch exported models 2020-04-18 16:07:06 -04:00
KillzXGaming
30337a2fcf BXLYT : Fix text panes with no fonts referenced 2020-04-17 17:31:53 -04:00
KillzXGaming
d5f2d60bfa BYAML : Some yaml tag fixes 2020-04-16 17:19:23 -04:00
KillzXGaming
224972df98 BYAML : Fix crc32 computing for yaml 2020-04-16 16:43:10 -04:00
KillzXGaming
31102bcc37 Quick fix 2020-04-16 16:31:05 -04:00
KillzXGaming
a6951ec000 Add a way to search for byaml hashes in the Hashes folder 2020-04-16 16:28:36 -04:00
KillzXGaming
c42d5e4441 BFRES : Fix setting param values for vec3/vec4 with colors as 0 2020-04-15 20:29:44 -04:00
KillzXGaming
c41a682bff Update libraries 2020-04-14 18:39:16 -04:00
KillzXGaming
43af3d9bed Start to cleanup BARS 2020-04-14 17:20:59 -04:00
M-1
a5c560b156 Update File_Format_Library.csproj 2020-04-14 17:08:39 -04:00
M-1
49a2d7e282 CMB: Redo cmb reading/writing using ZeldaLib (WIP) 2020-04-14 16:40:24 -04:00
KillzXGaming
134b8e295c Automatically open ctex files for narc if a bfres is opened. Fix aces texture mapping 2020-04-14 16:31:36 -04:00
KillzXGaming
33ae4c5635 Use first texture for 3ds materials 2020-04-14 15:32:59 -04:00
KillzXGaming
c220b6a3ed PTCL : Make sure to save changes to bfres for switch 2020-04-14 14:23:42 -04:00
KillzXGaming
d45ca032b2 Fix batch exporting luas from BEA 2020-04-11 18:30:53 -04:00
KillzXGaming
a3080f0980 ZSI fix multi room setups 2020-04-11 16:21:00 -04:00
KillzXGaming
cb86773b9c Fix scene animation exporting for wii u 2020-04-11 14:47:32 -04:00
KillzXGaming
2b416da9df BCH/BCRES : Skip transforming normals to prevent singular matrix bug 2020-04-11 11:19:02 -04:00
KillzXGaming
2088200479 Add batch exporting textures for some additional formats 2020-04-11 10:23:39 -04:00
KillzXGaming
65532046c0 Quick implimentation so bfres models can be batched exported 2020-04-10 17:22:45 -04:00
KillzXGaming
ab37acc60c Add LZ77 Wii support for type 0x11 (Paper Mario Color Splash) 2020-04-09 21:02:46 -04:00
KillzXGaming
be9f7928d8 BFRES : fix loading R8 SNORM for wii u 2020-04-09 19:34:54 -04:00
KillzXGaming
c035b7e9c2 Fix nutexb padding for smaller images 2020-04-09 16:44:22 -04:00
KillzXGaming
5c68d2d14a Fix errors 2020-04-05 11:23:01 -04:00
KillzXGaming
259f681940 NUTEXB : Also pad image data for images edited in tool 2020-04-02 14:48:25 -04:00
KillzXGaming
da32466f53 Quick fix 2020-04-02 14:36:34 -04:00
KillzXGaming
4ff5e83ba3 NUTEXB : Automatically pad smaller image sizes if restrictions are used 2020-04-02 14:34:18 -04:00
KillzXGaming
1cf45c4f5a Adjust nutexb name handling 2020-04-02 14:25:08 -04:00
KillzXGaming
1d899747d7 Regenerate indices after it's removed 2020-04-02 14:14:19 -04:00
KillzXGaming
32093a1822 GFPAK : Fix deleting file entries from improper folder indices 2020-04-02 14:12:59 -04:00
KillzXGaming
e636da8d19 BFRES : Add import setting to create dummy LODs 2020-04-01 15:31:08 -04:00
KillzXGaming
f345e5ec59 BFRES : Add option to create dummy LODs that point to first level. 2020-04-01 15:23:55 -04:00
KillzXGaming
7c75bb3a47 BFRES : Create new bounding nodes for regenerated bounding boxes 2020-04-01 14:39:11 -04:00
KillzXGaming
66f429a555 BFRES : Fix clearing shape LODs from the menu 2020-04-01 13:15:51 -04:00
KillzXGaming
9c9c9126a5 DA4E : Fix a bug with material mapping on export 2020-04-01 11:45:08 -04:00
KillzXGaming
06abad5d4a BFRES : Fix updating bone transforms in bone editor for wii u 2020-03-29 14:46:33 -04:00
KillzXGaming
ed945a5f5e One more fix 2020-03-23 21:35:39 -04:00
KillzXGaming
0900170038 Fix errors 2020-03-23 21:32:57 -04:00
KillzXGaming
5240021dea Update ftex replace method 2020-03-23 21:16:55 -04:00
KillzXGaming
0096dd95c2 Some fixes to texture importer and auto flip bffnt bitmaps on import 2020-03-23 21:13:58 -04:00
KillzXGaming
446568f641 Some more bfxfnt fixes with gx2. Also fix the character selector 2020-03-23 20:38:39 -04:00
KillzXGaming
c9ea004446 Force swizzle pattern for bffnt GX2 sheets when replacing 2020-03-23 20:24:19 -04:00
KillzXGaming
42304f5687 Some bxfnt adjustments with columns 2020-03-23 20:21:47 -04:00
KillzXGaming
8c6b547900 Fix PCK bugs with streams 2020-03-23 19:17:50 -04:00
KillzXGaming
5a1e4281c1 Reload tree and file for saved file streams that are kept open 2020-03-22 20:18:21 -04:00
KillzXGaming
814321e41b Add support for PCK audio archives 2020-03-22 20:02:32 -04:00
KillzXGaming
2fa03c724a Fix BRLYT tex coord gens for newly made texture maps 2020-03-22 17:51:01 -04:00
KillzXGaming
efca9faee9 Fix errors 2020-03-22 13:18:14 -04:00
KillzXGaming
5a86fe16de BNTX : Fix R16_UINT textures 2020-03-22 13:13:53 -04:00
KillzXGaming
3f90854914 Fix material mapping for BCH/BCMDL DAE exporting 2020-03-21 20:40:52 -04:00
KillzXGaming
032db2a0d0 Auto hide vtx colors for certain games 2020-03-21 20:05:21 -04:00
KillzXGaming
35c94a8d8b Fix errors 2020-03-21 13:34:19 -04:00
KillzXGaming
b0edf476e9 Byaml : fix path index types with no paths 2020-03-18 20:36:08 -04:00
KillzXGaming
dc96965440 Fix adjusting vertex attribute buffer indices when one is removed. 2020-03-18 19:21:52 -04:00
KillzXGaming
c36eb67acf BCSV : Add check for float values 2020-03-18 17:09:33 -04:00
KillzXGaming
241833ca8f Add option to export BCSV as CSV 2020-03-18 16:53:26 -04:00
KillzXGaming
f44b2ed920 Some more bcsv fixes 2020-03-18 14:10:37 -04:00
KillzXGaming
6afdd0e10f Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2020-03-18 13:42:41 -04:00
KillzXGaming
b9803d5e94 BCSV fix 2020-03-18 13:42:16 -04:00
KillzXGaming
3bd4daf584
Fix errors 2020-03-18 12:36:46 -04:00
KillzXGaming
83c940aeff Add BCSV support 2020-03-18 12:30:45 -04:00
KillzXGaming
be11a08a65 Some fixes to batch exporting. Add batch compression 2020-03-18 11:42:17 -04:00
KillzXGaming
b11e913240 Adjust tex2 loading to prevent altered images loading from it 2020-03-16 16:15:12 -04:00
KillzXGaming
371e4d37f9 Fix BCLYT/BRLYT material editor loading for material tree nodes. 2020-03-16 15:38:24 -04:00
KillzXGaming
5b2f6effc7 Fix errors 2020-03-12 21:21:45 -04:00
KillzXGaming
0fef9aac31 Improve KCL context menu handling 2020-03-12 19:23:00 -04:00
KillzXGaming
17b2eeae0d Error fixes 2020-03-10 21:20:48 -04:00
KillzXGaming
fadcd2e412
Merge pull request #198 from M-1-RLG/master
CMB: Update Materials/Fix Material Reading
2020-03-10 20:47:31 -04:00
KillzXGaming
488f0013b6 Fix some sharc version issues for v12 2020-03-10 19:40:20 -04:00
KillzXGaming
69458df685 Quick fix for layout hierarchy selecting nodes by left click 2020-03-10 19:39:17 -04:00
KillzXGaming
ea05ffda60 Fix converting constants from yaml to bfres fshu 2020-03-10 19:36:42 -04:00
M-1
735b45da4b CMB: Update Materials/Fix Material Reading 2020-03-10 11:17:57 -04:00
KillzXGaming
186ec89b50 Revert "Revert "Quick test to see if errors fix from this""
This reverts commit 559aa32795.
2020-03-09 20:52:54 -04:00
KillzXGaming
559aa32795 Revert "Quick test to see if errors fix from this"
This reverts commit 3d14314c4e.
2020-03-09 20:52:18 -04:00
KillzXGaming
3d14314c4e Quick test to see if errors fix from this 2020-03-09 20:52:08 -04:00
KillzXGaming
12558f5ba0 Fix layout animation saving 2020-03-09 20:27:56 -04:00
KillzXGaming
574590e869 Start to add batch export option (only works on g1m and cmb atm) 2020-03-08 18:48:18 -04:00
KillzXGaming
871cc02098 Update gfpak hash strings 2020-03-04 20:36:29 -05:00
KillzXGaming
669bd7c3e5 Adjust plugin config save path to ensure it saves correctly 2020-03-04 17:10:38 -05:00
KillzXGaming
95a462ebd3 Readd search menu to byml/aamp text editors. 2020-03-03 17:24:59 -05:00
KillzXGaming
06c2b477b4
Merge pull request #168 from Reisyukaku/master
Add a ton of strings for hash lookup
2020-02-23 13:58:39 -05:00
KillzXGaming
daaa2b72b6 Fix layout editor panel toggle for timeline 2020-02-21 17:58:13 -05:00
KillzXGaming
c47ce7d60f Add TPL rebuilding and add support for TPL mipmaps. 2020-02-17 20:22:02 -05:00
KillzXGaming
24b33aae15 Fix references to layout header to access certain data 2020-02-17 19:55:57 -05:00
KillzXGaming
5e4ec3d131 Start to add a base for multi select tree for layout editor 2020-02-17 19:54:50 -05:00
KillzXGaming
24e7eba5d1 Add menus to toggle docks for layout editor 2020-02-17 19:43:06 -05:00
KillzXGaming
d8676959ec Add some additional text pane properties 2020-02-16 20:15:02 -05:00
KillzXGaming
f7ad889d14 Fix importing KCL for mario odyssey without a preset used 2020-02-16 12:50:04 -05:00
KillzXGaming
d0b6d132c7 Save current byaml text format to config to stay when reopened 2020-02-16 12:24:31 -05:00
KillzXGaming
f3b1d0e706 Fix xml encoding when compiling back 2020-02-16 12:14:36 -05:00
KillzXGaming
c627bc3c1a Quick fix 2020-02-16 12:10:47 -05:00
KillzXGaming
e9677ccb2f Add support for previous XML layout (editorcore version) 2020-02-16 12:09:19 -05:00
KillzXGaming
9e0f3e0516 Some byaml improvements
Add XML format to byaml text editor.
Disable reference nodes in text editor for now till i find a better method to handle them.
2020-02-16 11:55:47 -05:00
KillzXGaming
07b0259805 Some more layout editor improvements
Textures in the list keep aspect ratio now.
Fix creating new user data. and remove any if empty.
2020-02-16 11:18:18 -05:00
KillzXGaming
1a548f9f80 A few more layout editor improvements 2020-02-15 20:57:21 -05:00
KillzXGaming
bffa623e01 Some quick bone index fixes 2020-02-15 18:24:35 -05:00
KillzXGaming
180f2e5b91 Improve the vertex color selector for layout editor.
Hitboxes improved and should detect clicks much better.
Sides can now be selected to adjust the whole side color of the pane.
2020-02-15 17:39:22 -05:00
KillzXGaming
a91dd6ae8e Improve layout editor more.
Part pane scaling type can be edited.
Additional texture coordinates can be added/removed.
Fixed editing user info string.
Display tex coord gen sources in texture map editor.
Default texture map wrap mode to linear when created.
2020-02-15 16:30:10 -05:00
KillzXGaming
efd98b3bac Improvements to layout material editing.
Tev stages can be added/removed for bclyt and brlyt.
Fixed adding new textures to brlyt.
Fixed setting material colors for window panes for bclyt/brlyt.
Fixed alpha op enum for brlyt tev stages.
2020-02-15 13:54:52 -05:00
KillzXGaming
69ab4e0eaf Recreate brlyt material flags so mat data can be added/removed. 2020-02-14 21:14:53 -05:00
KillzXGaming
84352cf967 Enable BRFNT and BCFNT rendering for layout editor 2020-02-14 20:15:03 -05:00
KillzXGaming
001e82bff0 Only flip exported bxfnt textures for newer platforms 2020-02-14 18:49:15 -05:00
KillzXGaming
c51958f91d Add support for editing BCFNT and BRFNT images 2020-02-14 18:46:06 -05:00
KillzXGaming
c170eb4b19 Fix errors 2020-02-14 18:29:08 -05:00
KillzXGaming
ae2e9f2b2f Apply bone transforms for bfres to better optmize custom bone sets 2020-02-14 18:27:18 -05:00
KillzXGaming
af8a8f17f6 Add latest files
Start on base for BLO. These will probably not be usable for awhile and is wip.. Currently aiming to support more varied layouts so this can help improve the code base.
Add BRFNT and BCFNT support. All merged as BXFNT class.
Fix bflim 3ds with LA4 textures.
Fix loading/saving part panes with property user data.
Fix texture coordinates to default centered UVs for layout panes with no textures.
Cleanup some files and directories.
2020-02-14 18:25:08 -05:00
KillzXGaming
e5f0745818 Improve gfbmdl UV transformation for diffuse textures 2020-02-12 19:15:31 -05:00
KillzXGaming
43d0a498b5 WTA : Add support for uncompressed files. 2020-02-12 18:24:21 -05:00
KillzXGaming
2138a4b954 Cleanup how archive files update for layout editor 2020-02-12 17:50:10 -05:00
KillzXGaming
a89f22042e Fix errors 2020-02-12 17:00:07 -05:00
KillzXGaming
6129ab2b4e Many more bug fixes and layout rendering improvements.
Add support for BCLAN.  (It's basically the same as BRLAN)
Fix saving for BRLAN.
Fix 3DS textures being upside down for BCLYT.
Improve BCLYT rendering.
Improve texture transforms for BCLYT and BFLYT.
Fix tev stage properties not appearing for BCLYT editor.
Fix C4 and C8 decoding.
2020-02-12 16:56:16 -05:00
KillzXGaming
5ce973f3e7 Fix WTA parsing 2020-02-12 16:21:42 -05:00
KillzXGaming
6931350fac Fix RGBA Snorm textures. Remove file extension from batch export folders. 2020-02-12 15:54:16 -05:00
KillzXGaming
89d5b621b2 Giant layout update. Support BRLYT and BCLYT files!
BRLYT can now be edited and saved.
BCLYT can now be edited and saved.
BRLYT shaders greatly improved using ported shaders from WiiLayoutEditor. Plan to expand upon it for more accuacte shader rendering.
Add support for saving per character transforms.
Add support for BNR files.
Fixed flags so orientation can be edited properly.
Fix issues decoding some gamecube textures.
Fix animation timeline breaking at times for multi selecting animations.
2020-02-11 19:19:23 -05:00
KillzXGaming
946fa08518 BFRES : Fix some more importing bugs
Only align buffers when using a single buffer.
2020-02-11 16:49:27 -05:00
KillzXGaming
cd56a53d0c Fix rigging issue with bfres 2020-02-10 18:45:03 -05:00
KillzXGaming
2076905094 Some cleanup 2020-02-08 17:17:49 -05:00
KillzXGaming
f86519c81c Rebuild cmb vertex buffers when saving 2020-02-08 15:24:54 -05:00
KillzXGaming
1e62b23013 Some more fixes 2020-02-08 15:09:40 -05:00
KillzXGaming
e39eec97cb Resize width/height to fit proper 3ds texture limits 2020-02-08 14:48:04 -05:00
KillzXGaming
bfc02c117d Add ETC1 compressor 2020-02-08 14:06:01 -05:00
KillzXGaming
238b6f60fb Add CTXB rebuilding and editing (encoding very WIP) 2020-02-08 12:03:37 -05:00
KillzXGaming
99306683d0 Some texture map fixes for g1m dae exporting 2020-02-08 10:45:33 -05:00
KillzXGaming
53e85f510b Add option to export models for G1M 2020-02-08 10:28:18 -05:00
KillzXGaming
ede5c62031 More fixes.
Fix loop error for 3DW stage files when creating the string table.
Fix converting yaml so it uses the custom syntax flow/tags.
Fix AAMP version issues for v1.
Add support for loading empty byaml files so data can be added onto them.
Fix bone importing issue with assimp.
2020-02-07 15:50:52 -05:00
KillzXGaming
93aa26efcf Quick bone index fix. 2020-02-07 09:40:43 -05:00
KillzXGaming
0b27e890be Improve bin.gz endianness detection 2020-02-06 21:05:35 -05:00
KillzXGaming
d991a23980 Add support for G1M model files. Rewrite some bone properties. 2020-02-06 19:47:32 -05:00
KillzXGaming
f87487cad4 Fix some code appveyor is being picky with 2020-02-06 18:35:42 -05:00
KillzXGaming
978cb5b8c8 Fix errors again 2020-02-06 18:29:42 -05:00
KillzXGaming
9a2e031be2 Fix errors 2020-02-06 18:23:16 -05:00
KillzXGaming
c922ff1e4f Big BYAML and AAMP update!
- AAMP can now save back to YAML!
- Added text editor for AAMP editor
- AAMP library has been improved signifcantly, now using one library for all versions.
- BYAML now uses YAML by default. You can still right click in the editor and export as XML if needed.
- BYAML saving speed improved signifcantly.
- BYAML now supports reference nodes and works with 3DW byml files.
- BYAML can now load shift JIS encoding for japanese characters.
- YAML syntax for text editor improved with proper folding and highlighting for certain values.
2020-02-06 18:20:42 -05:00
Michele
623d3ca0cb Add BFOTF to open dialog
Currently it's just a modification of BFTTF.cs, unsure if it's possible to have that file show both formats in the open dialog
2020-02-04 19:41:09 -08:00
KillzXGaming
4cd8eb962f Add option to export bflan in bflyt editor 2020-02-03 17:40:44 -05:00
KillzXGaming
d70fef1f9f BFLYT : Improve saving (material flags and part panes) 2020-02-03 17:17:49 -05:00
KillzXGaming
c01be70a71 Add dialog to copy skeletal animations 2020-02-02 20:40:26 -05:00
KillzXGaming
2df413a28d Fix errors 2020-02-02 19:26:45 -05:00
KillzXGaming
07f7747b41 BFLYT saving fixes (fix text length and alpha blend flag in material) 2020-02-02 19:22:48 -05:00
KillzXGaming
55cb4ad489 Add the same for GTX 2020-02-01 21:10:07 -05:00
KillzXGaming
bb6178f4d8 Improve nut texture naming to prevent dupes 2020-02-01 21:05:14 -05:00
KillzXGaming
5470ef95f4 Allow .nut to batch export 2020-02-01 21:01:40 -05:00
KillzXGaming
9f3b99aaf4 Disable apak file adding until file hashes can be calculated 2020-01-30 19:04:18 -05:00