KillzXGaming
c367e345a3
Fix image editor orientation setting
2019-05-14 17:11:48 -04:00
KillzXGaming
e3f720289b
Generate min and max value for FMDL for camera centering later
2019-05-13 15:51:06 -04:00
KillzXGaming
67d1b6920a
Some improvements from yesterday. Start to improve uv editor.
...
Basic tex 3ds support
BC4 textures will be rendered grayscale in opengl (not using opengl decoder)
Fix a few format issues with 3ds
Mip total method is one function in STGeneric texture
Weight format default to floats again until i find a proper fix for the 888 unform format.
2019-05-13 15:29:40 -04:00
KillzXGaming
29ad8dee78
Some adjusments. Add option to hide all fmdls with rightclicking folder
2019-05-12 18:10:33 -04:00
KillzXGaming
c11ebce612
Fix texture names on import having improper names in some special cases.
2019-05-12 16:53:55 -04:00
KillzXGaming
0b2dd29bae
Fix sampler saving and lod options for wii u samplers
2019-05-12 11:26:05 -04:00
KillzXGaming
0c5a43aab0
Export tex1 properly even without tex2
2019-05-11 18:26:18 -04:00
KillzXGaming
7f35cce88f
Add proper boen rename check
2019-05-11 12:38:24 -04:00
KillzXGaming
7632cc10da
Add more aamp hashes
2019-05-11 12:31:50 -04:00
KillzXGaming
c648a78de9
More adjustments ot prevent crash issues
2019-05-11 12:09:06 -04:00
KillzXGaming
8768f23c4e
Quick fix for switch bone indices
2019-05-11 11:51:04 -04:00
KillzXGaming
3c32da00a2
More fixes with switch bones
2019-05-11 11:48:54 -04:00
KillzXGaming
cdc9f2d697
Fix the bone index for rigid indices in the list
2019-05-11 11:28:33 -04:00
KillzXGaming
53e64e1288
Calculate rigid indices accurately
2019-05-11 11:26:54 -04:00
KillzXGaming
5e50805a94
Generate smooth/rigid index list. Add toggle for the types
2019-05-10 21:08:10 -04:00
KillzXGaming
827e02892a
Keep the same depend index for shader params (Fix WWHD crashing)
2019-05-10 17:51:59 -04:00
KillzXGaming
a65486b7cf
Load proper flags for wii u and not swtich
2019-05-09 14:35:51 -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
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
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
52cddcac75
Disable property change even on load to speed up image loading
2019-05-04 16:48:45 -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
6a7fe523e3
Load channel ocmponents for some formats
2019-05-04 13:38:18 -04:00
KillzXGaming
489d47243b
Support R4G4 decoding
2019-05-04 12:48:23 -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
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
8fbd734096
Add errors if a bone does not exist from an imported model.
2019-04-30 17:42:35 -04:00
KillzXGaming
de43529cca
Use the current array and mip level for editing textures
2019-04-29 15:16:59 -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
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
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
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
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
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
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
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
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
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
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
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
7bea95b199
Update to the latest opengl framework and more bug fixes
2019-04-05 19:47:21 -04:00
KillzXGaming
325f1e25f6
Add basic file removale. Will be improved later
2019-04-01 16:19:07 -04:00
KillzXGaming
1ec2c26c35
Fix skeleton replacing on wii u
2019-04-01 15:13:30 -04:00
KillzXGaming
0c5d53ae61
Fix bone transforms and names from parent skeleton generated by blender
2019-03-31 17:43:19 -04:00
KillzXGaming
9c439f099d
Massive speed improvement to bfres saving with animations + bug fixes
...
Fixed bfres from taking too long to save with 100s or even 1000s of animations. From 30 - 70 minutes, to over 8- 20 seconds!
Fixed weights and buffers not importing properly.
Fixed byaml editor's dialog buttons improperly placed on resize.
2019-03-30 21:54:19 -04:00
KillzXGaming
db13c0d8b7
Check determinant to prevent singular matrix issue
2019-03-30 17:12:08 -04:00
KillzXGaming
b1db621786
Fix context menu themes
2019-03-30 14:43:49 -04:00
KillzXGaming
48c7477467
Increase opening bfres with animations significantly!
...
Load context menus for FSKA only when expanded .
2019-03-30 14:40:46 -04:00
KillzXGaming
2ee73e7857
Add new timeline by JuPaHe64
2019-03-30 11:18:15 -04:00
KillzXGaming
3d63151626
Port temporary SMD animation export code from forge for testing
2019-03-29 21:57:31 -04:00
KillzXGaming
240cc5f0b3
Apply the kcl viewport to work better with bfres
2019-03-29 21:05:53 -04:00
KillzXGaming
76a82effe7
Fix bfres not opening in archives.
2019-03-29 16:37:20 -04:00
KillzXGaming
71f9ea0276
Fix material removal if not mapped
2019-03-29 16:22:49 -04:00
KillzXGaming
6c676cf410
Add material deletion.
2019-03-29 16:21:07 -04:00
KillzXGaming
d5f50d91b8
More fixes to UI and file saving. Also add in bflim editing.
...
Fixed the shader param editor not adjusting the height for float4 types.
Fixed the shape editor not adjusting some lists properly.
Fixed hash based sarcs not saving right (menu.szs for example).
Fixed bflim sarc alignment from being corrupted.
Add alignment for effect file formats in sarc.
Add bflim to the texture loader in sarc for batch previewing/edits
2019-03-29 15:28:35 -04:00
KillzXGaming
a1606187b4
Add option to hide specific bones
2019-03-28 20:19:13 -04:00
KillzXGaming
8a74942ead
Cleanup assimp exporter
2019-03-28 17:05:49 -04:00
KillzXGaming
03f104fbe7
Remove the bone clearing option as that would cause issues
2019-03-27 17:46:16 -04:00
KillzXGaming
aa42b5396f
Fix nodes not clearing when model is replaced
2019-03-27 17:45:05 -04:00
KillzXGaming
01fda68f93
Fix bone issues and skeleton importing
2019-03-27 14:50:33 -04:00
KillzXGaming
d28a032b24
Fix Wii U model imports crashing
2019-03-26 21:08:52 -04:00
KillzXGaming
b4c297f572
Fix materials not mapping to objects
2019-03-26 18:01:57 -04:00
KillzXGaming
cc1f05c1f0
Fix duplicate skeleton folders
2019-03-26 17:14:20 -04:00
KillzXGaming
f4370ab63a
Improve binary file exporting greatly.
...
Fixed version issues between swapping binarys from bfres sections.
Fixed FMDL exports from crashing.
Fixed FSCN and FBNV from not having a replace option
2019-03-26 17:04:45 -04:00
KillzXGaming
ddcd0285b3
More fixes
...
Fixed samplers for switch not mapping properly.
Fixed DDS files exporting mip maps wrong. Would cause them to not import back with size errors.
Fixed bntx alignment causing corrupted textures.
Fixed bfres not opening from null bone indices/unrigged meshes.
2019-03-26 15:24:20 -04:00
KillzXGaming
a7183147b0
Add replace textures from folder function for BNTX
2019-03-25 21:29:13 -04:00
KillzXGaming
0fef2f07e4
Cleanup
2019-03-25 19:11:02 -04:00
KillzXGaming
b00a3805f1
Fix index out of range issue for importing models
2019-03-25 19:07:22 -04:00
KillzXGaming
c41ac2f752
Fix csv imports
2019-03-25 17:13:01 -04:00
KillzXGaming
211326d253
More bug fixes
...
Fix bymls with path nodes from saving.
Fix material list not loading when another object is selected.
Fix skeletons not exporting
Fix materials missing a name and not updating in the editor properly
- Fix dds and bftex not showing on the filter for bntx/nutexb properly
2019-03-25 16:50:05 -04:00
KillzXGaming
5edb6d4174
Fix mip map number displaying in properties for bntx textures
2019-03-25 10:17:10 -04:00
KillzXGaming
5264ec4f5d
Fix bone indices not saving and bounding radius.
2019-03-25 10:06:12 -04:00
KillzXGaming
a43e00ff5d
Fix local transformation issues with imports or editing eixsting meshes with local transforms
2019-03-24 18:56:32 -04:00
KillzXGaming
05dcf8e12d
Apply transforming properly when transform tool is saved
2019-03-24 17:49:32 -04:00
KillzXGaming
a47b77bc7c
Load all bone anims properly when an animation is loaded so it can save properly
2019-03-24 17:02:19 -04:00
KillzXGaming
c75c171792
Fix sarc's with folders saving wrong
2019-03-24 16:44:12 -04:00
KillzXGaming
c8b77411fa
Switch to viewport only if models are present. Fix tex2 swizzle value not loading
2019-03-24 12:12:51 -04:00
KillzXGaming
0c37b03bb7
Add new bone children to the bone list for rendering
2019-03-24 11:35:43 -04:00
KillzXGaming
233b11a022
Fix bugs related to bones.
...
Fixed bones not displaying when creating new skeletons.
Fixed importing dae bones not displaying properly in the tree.
Fixed bones not clearing when a model is removed
2019-03-24 11:24:40 -04:00
KillzXGaming
e2f3afb1a6
Fix lag from hding FMDLs
2019-03-23 18:53:05 -04:00
KillzXGaming
cda5329779
Fix kcl generation from not saving
2019-03-23 17:19:32 -04:00
KillzXGaming
c4903cdb77
Fix bfmat files breaking on importing model
2019-03-23 15:59:15 -04:00
KillzXGaming
a5a8ca10e5
Fix Wii U textures extracted on exporting a model
2019-03-23 15:20:53 -04:00
KillzXGaming
0a53c287b3
Option to reset to T pose, and fix wii u bones
2019-03-23 15:13:54 -04:00
KillzXGaming
792341cfce
Fix more issues
2019-03-23 14:41:59 -04:00