Commit graph

359 commits

Author SHA1 Message Date
KillzXGaming
532600a0d9 More fixes with bffnt 2019-05-10 19:33:07 -04:00
KillzXGaming
6e02fbea4b Support Wii U BFFNT 2019-05-10 19:26:45 -04:00
KillzXGaming
827e02892a Keep the same depend index for shader params (Fix WWHD crashing) 2019-05-10 17:51:59 -04:00
KillzXGaming
d4419ec67a More fixes 2019-05-09 16:14:42 -04:00
KillzXGaming
f48529590c load bcres parent 2019-05-09 16:09:47 -04:00
KillzXGaming
b897c22732 Load materials 2019-05-09 16:08:45 -04:00
KillzXGaming
880e48f35d Add more editors 2019-05-09 16:05:17 -04:00
KillzXGaming
d56e49f924 Clean up 2019-05-09 15:43:20 -04:00
KillzXGaming
2eab9c2532 Load mip maps for bcres properly 2019-05-09 15:41:41 -04:00
KillzXGaming
6f1a8ab816 Add all the working BCRES stuff. 2019-05-09 14:49:11 -04:00
KillzXGaming
a65486b7cf Load proper flags for wii u and not swtich 2019-05-09 14:35:51 -04:00
KillzXGaming
df9ace9e0e Add bflim creation from image 2019-05-09 14:31:19 -04:00
KillzXGaming
781bd585b3 Set the default format setting only for non dds types to prevent errors with dds 2019-05-09 14:25:52 -04:00
KillzXGaming
f372373cdc Add file types for all file formats 2019-05-08 16:45:27 -04:00
KillzXGaming
e744b3de26 Prepare some archive format rework 2019-05-08 16:28:04 -04:00
KillzXGaming
d33882b029 Bfres library fixes.
Fixed user data not relocating with proper padding.
Alignment for botw is handled a bit differently in attempt to keep the file sizes accurate
2019-05-07 21:07:58 -04:00
KillzXGaming
4d91fdebc0 One more fix 2019-05-06 19:15:55 -04:00
KillzXGaming
de96b5ee82 Fix empty texture check for ptcl 2019-05-06 19:14:35 -04:00
KillzXGaming
bcd77f29ca Add support for old 3ds ptcl versions 2019-05-06 19:13:16 -04:00
KillzXGaming
db39432a88 Another fix for duped mesh names 2019-05-06 17:35:41 -04:00
KillzXGaming
e160f4cdc1 Fix dupe name checking on bones and shapes 2019-05-06 17:32:26 -04:00
KillzXGaming
72579451b8 Fix bone names on import and some import errors 2019-05-06 17:19:07 -04:00
KillzXGaming
9005b9ee0f Load 3ds emitters and some fixes 2019-05-05 20:50:15 -04:00
KillzXGaming
e3284f0a84 More fixes with wii u bone importing and updating matricies for custom bones 2019-05-05 18:16:41 -04:00
KillzXGaming
e50666be9e More fixes for local transform errors 2019-05-05 17:36:44 -04:00
KillzXGaming
9c567dc89c Return original position if determinant is 0 for local transform. 2019-05-05 17:32:32 -04:00
KillzXGaming
a9e7e03455 More fixes 2019-05-05 15:34:29 -04:00
KillzXGaming
44c051d447 Optimize bone attribute formats based on skin count 2019-05-05 13:37:36 -04:00
KillzXGaming
b6da2b236d Add image box control with zoom feature 2019-05-05 12:31:44 -04:00
KillzXGaming
758e922183 Cleanup and fixes 2019-05-04 21:20:47 -04:00
KillzXGaming
85c5051b36 Apply assimp matrix properly 2019-05-04 20:40:37 -04:00
KillzXGaming
57c7795aaa Add more editor options for bflim 2019-05-04 18:19:08 -04:00
KillzXGaming
52cddcac75 Disable property change even on load to speed up image loading 2019-05-04 16:48:45 -04:00
KillzXGaming
4fe9860945 Check magic for checking 3ds ptcl 2019-05-04 16:03:49 -04:00
KillzXGaming
686d6f809e Fix duplicate name check causing infinite loop 2019-05-04 15:15:44 -04:00
KillzXGaming
7668f9ad4c Update the channels properly when another image gets changed. 2019-05-04 14:32:45 -04:00
KillzXGaming
f4a43827a2 Cleanup some settings 2019-05-04 13:47:55 -04:00
KillzXGaming
6a7fe523e3 Load channel ocmponents for some formats 2019-05-04 13:38:18 -04:00
KillzXGaming
9cb712cf12 Start to impliment component selectors for textures 2019-05-04 13:03:42 -04:00
KillzXGaming
489d47243b Support R4G4 decoding 2019-05-04 12:48:23 -04:00
KillzXGaming
017c1ab1e3 More fixes to 3ds formats. Fix gzip decompressing giving wrong size. 2019-05-04 12:03:07 -04:00
KillzXGaming
a905fcab5e Another form of 3ds checking for ptcl 2019-05-03 21:42:22 -04:00
KillzXGaming
dbf0cf24f6 Add support for older PTCL versions 2019-05-03 21:33:36 -04:00
KillzXGaming
ed33ef65f9 Start to support 3DS ptcl 2019-05-03 20:53:48 -04:00
KillzXGaming
db4766c63d Add a loaded check for dae/fbx 2019-05-03 15:40:00 -04:00
KillzXGaming
f28295363d More AAMP v2 save fixes. Should be mostly complete now. 2019-05-02 20:49:43 -04:00
KillzXGaming
fc7f208af6 More exporting fixes 2019-05-02 19:45:55 -04:00
KillzXGaming
8674b462b8 Fix assimp issues and emitter saving 2019-05-02 14:31:09 -04:00
KillzXGaming
bb73c85ae0 Fix context menus 2019-05-01 21:40:48 -04:00
KillzXGaming
1900ad5d73 Finish PTCL rebuilding for switch. Save some emitter data 2019-05-01 21:36:24 -04:00
KillzXGaming
263bfa193a Save the rest of the sections and save total file size 2019-05-01 20:09:49 -04:00
KillzXGaming
be28b9c059 Save primatives properly 2019-05-01 19:58:45 -04:00
KillzXGaming
fcbd65fe4b Automate some sections 2019-05-01 19:55:40 -04:00
KillzXGaming
6d13637654 Save GRTF section properly for switch ptcl 2019-05-01 19:45:50 -04:00
KillzXGaming
9178564b57 Seperate Wii U PTCL class 2019-05-01 19:09:39 -04:00
KillzXGaming
79c2d3b384 Load and save the decompressed file size table. 2019-05-01 18:49:44 -04:00
KillzXGaming
84c643d667 Store the compressed and decompressed sizes 2019-05-01 18:08:09 -04:00
KillzXGaming
f78ec57047 Save back the file size table 2019-05-01 17:37:46 -04:00
KillzXGaming
577466dcdd Add additional game paths for later file size calculating 2019-05-01 17:16:11 -04:00
KillzXGaming
d1b6d51293 Add TMPK saving 2019-05-01 16:26:18 -04:00
KillzXGaming
fd4e3f4853 Add GTX editing/saving back. 2019-05-01 15:38:14 -04:00
KillzXGaming
54cc1d4d92 Regenerate bounding data for lod clearing 2019-04-30 21:20:07 -04:00
KillzXGaming
038ef382bd Sae shape buffer for lod clearing 2019-04-30 21:17:37 -04:00
KillzXGaming
9b1d36666b Add option to clear LOD meshes 2019-04-30 21:15:56 -04:00
KillzXGaming
18d891e1a0 Add support for .z zlibbed files 2019-04-30 19:38:39 -04:00
KillzXGaming
8fbd734096 Add errors if a bone does not exist from an imported model. 2019-04-30 17:42:35 -04:00
KillzXGaming
02b4c1682c Add properties for XTX 2019-04-30 17:11:52 -04:00
KillzXGaming
46ab6e64fa Fill the image blocks on XTX save 2019-04-30 17:07:25 -04:00
KillzXGaming
e8e40b8296 Save XTX files. 2019-04-30 16:16:19 -04:00
KillzXGaming
f2c50f7dd7 Simpify BNTX deswizzling and start to do XTX saving. 2019-04-30 15:25:42 -04:00
KillzXGaming
de43529cca Use the current array and mip level for editing textures 2019-04-29 15:16:59 -04:00
KillzXGaming
da67e15bbe Generate mip count for nutexb only if the size bypass is used. 2019-04-29 14:48:38 -04:00
KillzXGaming
25681de95c Some fixes for applying in nutexb 2019-04-29 14:46:48 -04:00
KillzXGaming
c03e90d331 Add option to edit textures in default program and save back. 2019-04-29 14:42:52 -04:00
KillzXGaming
725e2f5681 Do the same for bfres 2019-04-28 20:11:20 -04:00
KillzXGaming
1a730f66b7 Use abstract drawable for collision atm to fix lag and drawing issues 2019-04-28 19:57:18 -04:00
KillzXGaming
184e01ad01 Compile fixes 2019-04-28 19:42:22 -04:00
KillzXGaming
8a792e6407 Another fix 2019-04-28 17:14:20 -04:00
KillzXGaming
1f9ce6b2fe Some fixes for PTCL editor and filters 2019-04-28 17:14:05 -04:00
KillzXGaming
bfacab21da Add sharpyaml and latest bfres wii u lib 2019-04-27 11:30:30 -04:00
KillzXGaming
432e639081 Fix boe importing not changing the parent index 2019-04-27 10:55:31 -04:00
KillzXGaming
46c962ff0a Fix byaml nodes not adding dictionaries properly in arrays 2019-04-25 21:59:44 -04:00
KillzXGaming
38e4cbad6a Another viewport fix 2019-04-25 21:25:55 -04:00
KillzXGaming
9f7e2edef5 Fix properties missig for wii u bfres 2019-04-25 20:45:11 -04:00
KillzXGaming
35b7a5fcca Quick change to help fix tex2 2019-04-25 18:09:25 -04:00
KillzXGaming
812fe2e6b5 More fixes to viewport toggle. 2019-04-25 17:13:59 -04:00
KillzXGaming
705837ab0c Set the bone index for single binded meshes to what they're binded to 2019-04-25 16:52:12 -04:00
KillzXGaming
b8c8ef8395 Viewport toggle, and many more fixes
The aamp editor now acts like the byaml one.
Fixed aamp files saving with improper strings.
Added toggle for viewport in bfres editor. The setting will apply to the config so you can always disable it for quicker previewing for bfres.
More editors for bfres now dock rather than convering the whole screen.
Plugins can have icons for the toolstrip that contains the save/update icons.
Force PTCL texture injection due to an alignment thing
2019-04-25 15:21:41 -04:00
KillzXGaming
dd15ef59c5 Many more improvements and additions
Added NUT support (viewing GX2 and DDS texture data)
Fixed importing uncompressed dds using the mask data.
Add EFE support from smash 4 wii u and 3ds.
Redo the shader param editor. Uses a list again for faster access and viewing. I will have items drop down from a floating window next to the item soon.
2019-04-24 21:17:29 -04:00
KillzXGaming
05f4d57ef6 Add option to export all bones. Fix some filter issues, 2019-04-23 18:38:04 -04:00
KillzXGaming
67e96d966a Also reset the bones in the rendered skeleton 2019-04-23 18:24:45 -04:00
KillzXGaming
5688e16416 Reset bones when reading back the skeleton data 2019-04-23 18:22:30 -04:00
KillzXGaming
5d67af4301 Quick fix for skeleton match replacing 2019-04-23 18:20:10 -04:00
KillzXGaming
e17eb54e91 Add option to replace by matching bones 2019-04-23 16:49:25 -04:00
KillzXGaming
c5ad630eaa More fixes to bfres proeprties and editor 2019-04-23 15:23:51 -04:00
KillzXGaming
c7ee9ed16b Allow viewport to be completely disabled for potato PCs. 2019-04-22 19:36:53 -04:00
KillzXGaming
021b34afba Load more properties 2019-04-22 18:38:11 -04:00
KillzXGaming
74973a24bb Add more fixes and improvements 2019-04-22 17:52:21 -04:00
KillzXGaming
dff727ff0f Start to add MSBT support 2019-04-21 22:00:38 -04:00
KillzXGaming
46f069adb8 Fix bone export/importing on wii u 2019-04-21 20:21:21 -04:00
KillzXGaming
c000dca5e2 More ptcl texture replace fixes 2019-04-21 19:13:06 -04:00
KillzXGaming
7144b70039 Fix mip map issues 2019-04-21 18:11:40 -04:00
KillzXGaming
1e3595dae6 Add size check 2019-04-21 17:53:54 -04:00
KillzXGaming
8d13bef743 More fixes to supported formats 2019-04-21 17:49:28 -04:00
KillzXGaming
21577ba522 More fixes to ptcl texture replacing 2019-04-21 17:46:28 -04:00
KillzXGaming
2dd98141f0 Set format option to readonly and default to original type 2019-04-21 17:18:55 -04:00
KillzXGaming
b73d392a63 Add basic PTCL texture replacing 2019-04-21 17:14:49 -04:00
KillzXGaming
a3b9d1363c Fix null types when clicked on in byaml editor 2019-04-21 15:55:21 -04:00
KillzXGaming
fad58c99e5 Another fix 2019-04-21 14:37:02 -04:00
KillzXGaming
23465c5e5b Remove all resource data from ftex clearing to prevent key issues 2019-04-21 14:35:26 -04:00
KillzXGaming
d93fe604be Fix multiple bftex importing 2019-04-21 14:31:52 -04:00
KillzXGaming
87e231a94c Fix vertex skin count output causing static models 2019-04-21 13:31:43 -04:00
KillzXGaming
7eaf59805d Fix bflim args 2019-04-18 21:41:39 -04:00
KillzXGaming
74bdba4536 Try to fix tex2 swizzle issues 2019-04-18 21:41:10 -04:00
KillzXGaming
f28b979b33 Add progress bar for mesh importing and generate names for blanks 2019-04-18 20:24:19 -04:00
KillzXGaming
ae25f2989b Some more fixes.
Revert the GX2 one more time since swizzling is a bit bugged, but add a more up to date code as a backup.
Fix the swizzle pattern settings
2019-04-17 14:59:08 -04:00
KillzXGaming
67f713bf22 Update simple mode for bfres editor. Disable some gx2 things to test swizzle issues 2019-04-16 18:24:10 -04:00
KillzXGaming
4f07ddf490 Hopefully fix all the tex2 issues 2019-04-15 14:05:40 -04:00
KillzXGaming
fc97eed0ac Fix skin count not applying when importing a model 2019-04-14 18:18:56 -04:00
KillzXGaming
8bfa2293a8 Bind material enabling and hide properly in viewport 2019-04-13 12:44:47 -04:00
KillzXGaming
c4e343b07d Fix bflim issues 2019-04-12 20:30:42 -04:00
KillzXGaming
932bab3c75 Add collision type window. Not editable just yet 2019-04-12 19:32:38 -04:00
KillzXGaming
4dcc523125 Fix normals from model importing if the model's scale was transformed 2019-04-12 16:21:00 -04:00
KillzXGaming
2197414b5f Fix normals changing when model is scaled from transform tool 2019-04-12 16:00:03 -04:00
KillzXGaming
71db632ece And also load back transforms for local coordinates 2019-04-12 15:42:45 -04:00
KillzXGaming
2bd2aed7d5 Revert back to transforming properly for local coordinates 2019-04-12 15:41:47 -04:00
KillzXGaming
79036ecb95 Fix bfres importing bugs and alignment corruption from importing sections 2019-04-12 15:34:42 -04:00
KillzXGaming
dada4bb9c3 Add seperate export filer for FMDL to remove unused types atm 2019-04-11 19:43:04 -04:00
KillzXGaming
4779b4cff1 More image editor fixes 2019-04-11 19:28:35 -04:00
KillzXGaming
619c1f7ec5 Add option to move properties in image editor vertical 2019-04-11 18:51:59 -04:00
KillzXGaming
270d441dcc More fixes
Many fixes to the enum data for switch bfres. Filter data can be edited properly.
UVs in UV editor can be transformed
2019-04-11 18:05:15 -04:00
KillzXGaming
3f510ce76b Fix color display for some shader params 2019-04-10 19:59:57 -04:00
KillzXGaming
a21eead9da Add my own obj libary since assimp is broken 2019-04-10 18:42:45 -04:00
KillzXGaming
76ca51d20a Fix more bugs. Additional probe stuff 2019-04-10 15:36:10 -04:00
KillzXGaming
6414744c28 Add probe lighting object to muunt editor 2019-04-09 19:43:24 -04:00
KillzXGaming
77330c6b35 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2019-04-09 17:25:49 -04:00
KillzXGaming
bab9ce9022 Fix dae exporting with only indices and no weights. Fix sharc crashes. 2019-04-09 17:24:39 -04:00
AboodXD
2fbeb22242 Fix GTX version and some fixes in GX2 swizzling 2019-04-09 13:12:45 +04:00
KillzXGaming
7fe264136c Skip array/depth levels for GX2 for now till that gets fixed 2019-04-08 21:33:18 -04:00
KillzXGaming
b59148d262 Add GX2 swizzle function to GX2 class. 2019-04-08 20:19:50 -04:00
KillzXGaming
353e8588d2 Cleanup swizzle function. Remove old one 2019-04-08 20:09:17 -04:00
KillzXGaming
e629894267 Fix build issues 2019-04-08 19:44:57 -04:00
KillzXGaming
bd6627b030 Fix importing additional animations (from binary) 2019-04-08 19:41:18 -04:00
KillzXGaming
fff3d58cb3 Cleanup muunt and camera mini map stuff. Add game path settings 2019-04-08 17:01:31 -04:00
KillzXGaming
060af50cbf Fix actor renaming for bfres 2019-04-07 21:17:53 -04:00
KillzXGaming
2e5e32be6a Fix byaml editor erroring out 2019-04-07 13:35:52 -04:00
KillzXGaming
2c73c6dde6 Fix local coordinates not updating when vertex buffer is updated 2019-04-07 13:27:38 -04:00
KillzXGaming
8d9c78cdc9 Fix path getting for proper hiding 2019-04-06 21:45:25 -04:00
KillzXGaming
c173edd611 Fix sub files issues 2019-04-06 18:30:22 -04:00
KillzXGaming
4865ca1a8f Rename GTX class to GX2 2019-04-06 15:58:20 -04:00