Commit graph

532 commits

Author SHA1 Message Date
KillzXGaming
7668f9ad4c Update the channels properly when another image gets changed. 2019-05-04 14:32:45 -04:00
KillzXGaming
ae7dadf5b1 Few more fixes and use icon for alpha display 2019-05-04 14:22:21 -04:00
KillzXGaming
3af14bbc0f More image editor fixes 2019-05-04 14:06:36 -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
f351f30eb7 Disable by default until it's finished 2019-05-04 13:08:09 -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
d3bea4cba6 Fix assimp issues 2019-05-03 21:19:19 -04:00
KillzXGaming
4bc037e681 Fix files not compressing even if the dialog is okayed. 2019-05-03 21:08:29 -04:00
KillzXGaming
ed33ef65f9 Start to support 3DS ptcl 2019-05-03 20:53:48 -04:00
KillzXGaming
357fe7c12e Add more hashes 2019-05-03 16:49:37 -04:00
KillzXGaming
db4766c63d Add a loaded check for dae/fbx 2019-05-03 15:40:00 -04:00
KillzXGaming
6303769adb More AAMP stuff. Add more import settings for dae/fbx. 2019-05-03 15:36:04 -04:00
KillzXGaming
f28295363d More AAMP v2 save fixes. Should be mostly complete now. 2019-05-02 20:49:43 -04:00
KillzXGaming
a8957c0a0d Check viewport is null for adding drawables. Fixes some crashes. 2019-05-02 19:59:20 -04:00
KillzXGaming
7fb73a2986 update fi;ter 2019-05-02 19:48:37 -04:00
KillzXGaming
fc7f208af6 More exporting fixes 2019-05-02 19:45:55 -04:00
KillzXGaming
074256feb5 Editor fixes for aamp 2019-05-02 19:05:03 -04:00
KillzXGaming
db2f7e70bd Fix creating new instances of files breaking tree 2019-05-02 18:56:08 -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
c6cee62073 Ops use the right events 2019-05-01 17:18:29 -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
21255d7c31 Apply bone billboard flags 2019-04-30 18:30:18 -04:00
KillzXGaming
819568b636 Don't use datasource for some comboxes due to some bugs 2019-04-30 18:26:15 -04:00
KillzXGaming
8e68cc5606 Now have the console as a seperate window instead of a tabbed control 2019-04-30 18:00:08 -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
e19100d6fa Show exceptions for assimp errors 2019-04-30 16:39:10 -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
3e9802fd05 Add some padding to buffer areas in bfres to fix potential crash issues. 2019-04-29 20:20:37 -04:00
KillzXGaming
f4cd0a9098 Only decode again if the format changes to speed up edits. 2019-04-29 20:09:15 -04:00
KillzXGaming
f2befb966b More image editor fixes 2019-04-29 20:04:25 -04:00
KillzXGaming
dfbdc96362 Try to fix memory issues when exporting as dae 2019-04-29 19:50:12 -04:00
KillzXGaming
69ca5647f8 Another change 2019-04-29 19:43:17 -04:00
KillzXGaming
c3546e04c8 Add continuous bar for texture edits 2019-04-29 19:41:28 -04:00
KillzXGaming
0bbab95db6 Keep the same BNTX size if possible 2019-04-29 19:30:39 -04:00
KillzXGaming
64623a0223 Add image program settings for editing with other programs. 2019-04-29 19:15:09 -04:00
KillzXGaming
68d244e9f7 Fix KCL importing issues 2019-04-29 18:53:18 -04:00
KillzXGaming
de43529cca Use the current array and mip level for editing textures 2019-04-29 15:16:59 -04:00
KillzXGaming
008a6de6c1 And one more fix for generating 2019-04-29 14:58:24 -04:00
KillzXGaming
9aed684e16 Update after applying 2019-04-29 14:54:47 -04:00
KillzXGaming
c50b57d5dc Add option to generate mip maps in editor 2019-04-29 14:53:28 -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
cde34e30c9 Fix KCL library issues 2019-04-28 19:39:14 -04:00
KillzXGaming
5a9c098a6a Add progress bar for KCL 2019-04-28 18:02:42 -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
f353042a5c More fixes to image editor 2019-04-27 12:31:38 -04:00
KillzXGaming
5c2e09f849 Load all necessary controsl before altering the image editor orientation. 2019-04-27 12:01:36 -04:00
KillzXGaming
fa4ada84bd Fix for image editor causing crashes 2019-04-27 11:59:57 -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
7ada057843 Apply some settings and move config settings to the library to save changes easier. 2019-04-26 17:08:21 -04:00
KillzXGaming
a41737031f Fix bone visibily anims for wii u and fix the editor a bit 2019-04-26 15:43:32 -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
3ab5e02d5b Update v2 aamp editor 2019-04-25 20:08:41 -04:00
KillzXGaming
9b5e558543 Some material param improvments 2019-04-25 19:38:02 -04:00
KillzXGaming
e3497c76b2 Fix color display on list for AAMP 2019-04-25 19:27:51 -04:00
KillzXGaming
b7d5a3ffb6 Fix aamp values not updating list 2019-04-25 19:18:42 -04:00
KillzXGaming
35b7a5fcca Quick change to help fix tex2 2019-04-25 18:09:25 -04:00
KillzXGaming
468179ca02 Remove any deleted drawables if viewport is disabled. 2019-04-25 17:45:04 -04:00
KillzXGaming
208fffa7f9 More viewport fixes 2019-04-25 17:25:40 -04:00
KillzXGaming
812fe2e6b5 More fixes to viewport toggle. 2019-04-25 17:13:59 -04:00
KillzXGaming
91694c2fcb Fix crash from model edits while viewport is disabled 2019-04-25 16:55:30 -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
cbf2f7da90 Generate better empty meshes 2019-04-25 16:44:00 -04:00
KillzXGaming
e79f266651 Fix bone hiding 2019-04-25 16:31:59 -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
73441e1b99 Enable advanced editor by default 2019-04-23 15:32:13 -04:00
KillzXGaming
ef689c290a Update UI a bit 2019-04-23 15:27:20 -04:00
KillzXGaming
c5ad630eaa More fixes to bfres proeprties and editor 2019-04-23 15:23:51 -04:00
KillzXGaming
c91bb6f823 Add latest math library 2019-04-22 20:42:32 -04:00
KillzXGaming
8f7f859cf6 Add type converters for more property types 2019-04-22 20:19:05 -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
690028328f Correct the extension. 2019-04-21 20:27:31 -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
65b34e1e89 Add proper mdi container method which checks duped names 2019-04-21 14:50:57 -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
01aca5cd3e Add speed if shift is held 2019-04-20 19:12:03 -04:00
KillzXGaming
d0c176bf13 Add WASD camera movement. 2019-04-20 19:07:52 -04:00
KillzXGaming
0c9d9853d8 Fix missing root entry in byaml editor 2019-04-20 15:36:41 -04:00
KillzXGaming
c661b10d12 Improve byaml editor more 2019-04-20 15:22:10 -04:00
KillzXGaming
41fa2673c9 Check invalid path connection for muunt editor. 2019-04-19 16:34:57 -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
27928658df Add mesh transforms in console on import for debugging 2019-04-14 20:33:41 -04:00
KillzXGaming
fc97eed0ac Fix skin count not applying when importing a model 2019-04-14 18:18:56 -04:00
KillzXGaming
96c68b793c Fix null reference error when mesh is selected for switch 2019-04-14 15:19:54 -04:00
KillzXGaming
8bfa2293a8 Bind material enabling and hide properly in viewport 2019-04-13 12:44:47 -04:00
KillzXGaming
9940c6f10d Update viewport for bone visual toggle 2019-04-13 12:34:00 -04:00
KillzXGaming
deb140b917 Fix errors 2019-04-13 12:32:26 -04:00
KillzXGaming
511edc1e99 Fix visible toggles for materials and bones 2019-04-13 12:29:44 -04:00
KillzXGaming
72f1feb51f Fix color dialogs not working for params 2019-04-13 12:22:56 -04:00
KillzXGaming
1487422c38 Readd param XML swapping from 0.8 2019-04-13 12:01:01 -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
de0fd3f31e Add additional .tif format extension for textures 2019-04-12 16:28:13 -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
007376e891 Another fix 2019-04-11 20:25:00 -04:00
KillzXGaming
6fbcc163cb Fix vertex count breaking the numberic UD max 2019-04-11 20:21:42 -04:00
KillzXGaming
b9fdf08695 Fix error 2019-04-11 20:12:21 -04:00
KillzXGaming
d580c37a21 Add vertex count display for shape editor 2019-04-11 20:11:25 -04:00
KillzXGaming
2d88a1180b Change property grid for dark theme to better match dropdown panels 2019-04-11 20:08:00 -04:00
KillzXGaming
9642810642 Fix transform reset on first mesh 2019-04-11 20:03:22 -04:00
KillzXGaming
9fe3c8572e Disable property grid toolbar 2019-04-11 19:47:23 -04:00
KillzXGaming
854bee2a56 Fix errors 2019-04-11 19:43:49 -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
4795b1addb Fix material exporting with OBJ 2019-04-10 18:58:17 -04:00
KillzXGaming
92d597f7f4 Try to fix updater issues 2019-04-10 18:48:50 -04:00
KillzXGaming
a21eead9da Add my own obj libary since assimp is broken 2019-04-10 18:42:45 -04:00
KillzXGaming
3a153b5ed1 Flip UVs on export 2019-04-10 17:44:35 -04:00
KillzXGaming
cdcf14979f Fix errors 2019-04-10 15:59:16 -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
53edd7e12b Fix tile mode enum 2019-04-08 19:57:11 -04:00
KillzXGaming
d9b8b45d12 Fix tile mode warning 2019-04-08 19:52:13 -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
44860c2a0b Camera stuff for tomorrow 2019-04-07 21:24:05 -04:00
KillzXGaming
060af50cbf Fix actor renaming for bfres 2019-04-07 21:17:53 -04:00
KillzXGaming
454c13f6b9 Add even more path objects 2019-04-07 21:14:39 -04:00
KillzXGaming
5c5e130613 Fix typo 2019-04-07 19:40:00 -04:00
KillzXGaming
e830ca7278 Cleanup. 2019-04-07 19:37:31 -04:00
KillzXGaming
ef1cfadb98 Update course muunt viewport better to reflect hding and selection 2019-04-07 18:28:29 -04:00
KillzXGaming
9f1a4d4d12 Change color for item paths 2019-04-07 17:56:41 -04:00
KillzXGaming
aecd4a0d7b Add proper null checks 2019-04-07 17:54:37 -04:00
KillzXGaming
08b4f3296e Fix some bugs 2019-04-07 17:14:55 -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
db9edd0746 Apply default texture for unmapped materials 2019-04-07 12:56:03 -04:00
KillzXGaming
19852762c6 Fix incorrect skeleton scaling and rotations from applying in editor 2019-04-07 12:52:06 -04:00
KillzXGaming
be829619a2 Some fixes.
Fixed bone editor not showing properly.
Fixed viewport not updating properly.
Removed bad tile mode for GX2 and fix altering them.
2019-04-07 12:26:43 -04:00