Commit graph

487 commits

Author SHA1 Message Date
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
KillzXGaming
732811119e Set muunt editor as viewport container 2019-04-06 21:48:09 -04:00
KillzXGaming
8d9c78cdc9 Fix path getting for proper hiding 2019-04-06 21:45:25 -04:00
KillzXGaming
5d35c62e56 Don't limt swizzle value atm till i fix a few things 2019-04-06 21:34:44 -04:00
KillzXGaming
dd4f352082 Add more paths 2019-04-06 21:30:25 -04:00
KillzXGaming
a0b28dc7ae More improvements 2019-04-06 20:34:12 -04:00
KillzXGaming
47dee0ea3d More course muunt stuff 2019-04-06 20:16:41 -04:00
KillzXGaming
f4189a9e39 Cleanup muunt editor 2019-04-06 19:11:59 -04:00
KillzXGaming
c6798a95ba Fix errors 2019-04-06 18:35:03 -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
KillzXGaming
fba66217d1 Some encoding fixes to GTX 2019-04-06 15:52:09 -04:00
KillzXGaming
3bccc3ca5e Add enemy paths to muunt editor 2019-04-06 15:13:55 -04:00
KillzXGaming
9c28afdfe2 Apply path moving to node data so it saves back 2019-04-06 13:46:35 -04:00
KillzXGaming
c7851c8d16 Load lap path properties on select 2019-04-06 13:29:42 -04:00
KillzXGaming
37a34b8ef5 Fix renderable object in course muunt editor to be movable 2019-04-06 13:07:23 -04:00
KillzXGaming
6dc208631e Disable unused extensions for now 2019-04-06 12:38:19 -04:00
KillzXGaming
5a75f0889a Fix Tex2 replacing 2019-04-06 12:24:21 -04:00
KillzXGaming
04eee5913c Add mip swizzle value from tex2 to deswizzle 2019-04-06 11:58:21 -04:00
KillzXGaming
2f4b03a454 Fix tex2 files from loading mips in image editor 2019-04-06 11:53:39 -04:00
KillzXGaming
ea099ee2dd More fixes and try to load depth data 2019-04-06 11:37:50 -04:00
KillzXGaming
5837fbe5d6 Update tiling for gx2 swizzling 2019-04-06 10:22:02 -04:00
KillzXGaming
7680baa375 More accurate gtx tiling for mips 2019-04-05 21:29:34 -04:00
KillzXGaming
62cbad92dd Add actor file renamer for SZS files in odyssey 2019-04-05 21:10:57 -04:00
KillzXGaming
f8a754058a Set model matrix to fix some transform issues 2019-04-05 19:52:59 -04:00
KillzXGaming
7bea95b199 Update to the latest opengl framework and more bug fixes 2019-04-05 19:47:21 -04:00
KillzXGaming
8185fce35d Fix some bfres issues on saving 2019-04-04 00:37:28 -04:00
KillzXGaming
edb5c230ca Add textures to later ptcl versions 2019-04-03 21:57:34 -04:00
KillzXGaming
1d99b14bfe More fixes
Fixed timeline issues
KCL now has presets for games. This will fix crashing in Splatoon, MK9, and many more games
2019-04-03 21:03:01 -04:00
KillzXGaming
08370b8d1d Remove the thing 2019-04-03 14:45:26 -04:00
KillzXGaming
ab729959ba Fix refrences 2019-04-01 20:07:33 -04:00
KillzXGaming
85530715bb Try to fix errors 2019-04-01 20:06:31 -04:00
KillzXGaming
67864cd64f Fix assimp issues please and add lock check for settings current frame 2019-04-01 18:14:13 -04:00
KillzXGaming
194d032798 Reset menus on load 2019-04-01 16:44:23 -04:00
KillzXGaming
49a803584c Cleanup bntx context menus 2019-04-01 16:43:27 -04:00
KillzXGaming
325f1e25f6 Add basic file removale. Will be improved later 2019-04-01 16:19:07 -04:00
KillzXGaming
efd6d6613e Fix errors 2019-04-01 15:35:20 -04:00
KillzXGaming
2a76b8216c Comment out some stuff because of appveyor atm 2019-04-01 15:33:11 -04:00
KillzXGaming
c908e24517 Add some KCL structs to new file for easier reading and writing 2019-04-01 15:30:50 -04:00
KillzXGaming
d411b5bb82 Change a thing 2019-04-01 15:20:32 -04:00
KillzXGaming
dba119ba6e Add BNTX node for bffnt sheets 2019-04-01 15:16:07 -04:00
KillzXGaming
1ec2c26c35 Fix skeleton replacing on wii u 2019-04-01 15:13:30 -04:00
KillzXGaming
7bd00f6de7 Fix dae rigging for good now 2019-04-01 15:04:16 -04:00
KillzXGaming
c98162622f Fix BC5S dds importing. 2019-03-31 19:18:14 -04:00
KillzXGaming
decd83c487 More timeline fixes 2019-03-31 18:23:41 -04:00
KillzXGaming
0c5d53ae61 Fix bone transforms and names from parent skeleton generated by blender 2019-03-31 17:43:19 -04:00