Commit graph

679 commits

Author SHA1 Message Date
KillzXGaming
5160d0f688 More fixes with cubemaps and skybox rendering 2019-05-14 18:21:38 -04:00
KillzXGaming
828e3ee2d1 Fix click events for path settings 2019-05-14 18:12:00 -04:00
KillzXGaming
6c8fac8bc1 Add and load custom pbr diffuse and specular cube maps 2019-05-14 18:09:49 -04:00
KillzXGaming
b1e32dbb48 Disable check 2019-05-14 18:00:16 -04:00
KillzXGaming
145912ebea Add PBR settings for later custom cubemap viewing 2019-05-14 17:47:57 -04:00
KillzXGaming
c367e345a3 Fix image editor orientation setting 2019-05-14 17:11:48 -04:00
KillzXGaming
9d307b08a2 Adjust mdi windows to window by default 2019-05-14 15:34:28 -04:00
KillzXGaming
da0bc4b432 Skip the hash check for updating as it isn't wanting to work yet 2019-05-14 15:17:41 -04:00
KillzXGaming
f2439f2fdc More image editor improvements
Array textures can be exported to DDS.
Specific channels can be edited.
Uncompressed formats for dds greatly improved.
Array textures can be exported from non dds formats as multiple images.
2019-05-14 15:12:26 -04:00
KillzXGaming
55702ff401 More updater fixes 2019-05-13 21:36:51 -04:00
KillzXGaming
f590b9d834 Improve updater 2019-05-13 21:21:51 -04:00
KillzXGaming
a043f96b11 Fix appveyor errors 2019-05-13 21:02:05 -04:00
KillzXGaming
7cc5517dc7 Try to kill off program being open on update to fix deleting 2019-05-13 20:59:37 -04:00
KillzXGaming
231fba9bdd Fix more dumb mistakes 2019-05-13 20:35:19 -04:00
KillzXGaming
13ea4aa130 Add normals color to presets for the fill color option 2019-05-13 20:29:35 -04:00
KillzXGaming
5351a22f18 Fix mistake 2019-05-13 20:22:04 -04:00
KillzXGaming
b4fde67c82 More improvements. Add option to fill image with color. 2019-05-13 20:20:26 -04:00
KillzXGaming
b1140e0349 Remove some unused stuff 2019-05-13 18:36:14 -04:00
KillzXGaming
713370881f Fix orientation cube texture conflict finally! 2019-05-13 17:17:36 -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
d1d9619dcb Another saving fix as texture ref count won't save right for v3.4.0.1 2019-05-12 18:56:32 -04:00
KillzXGaming
ef562754b7 A few more library fixes 2019-05-12 18:44:43 -04:00
KillzXGaming
111f5c1a9e Fix texture pattern animation saving on v3.4.0.1 bfres 2019-05-12 18:38:33 -04:00
KillzXGaming
a1273c86dc Fix color for unused param colors 2019-05-12 18:20:00 -04:00
KillzXGaming
b71468c6b5 Improve param colors 2019-05-12 18:17:59 -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
459bd5d247 Add supported format list for bffnt 2019-05-12 13:09:08 -04:00
KillzXGaming
7e855caa47 Start to save bffnt back. Not finished yet 2019-05-12 13:02:39 -04:00
KillzXGaming
617eafb99a Fix BFFNT with mulltiple images 2019-05-12 12:17:57 -04:00
KillzXGaming
f62ad21e7d Improve material param list to support higher param color values than 1 2019-05-12 12:06:54 -04:00
KillzXGaming
83b2f69fb0 Update render info and user data lists for bfres properly 2019-05-12 12:00:50 -04:00
KillzXGaming
bddb4f1f02 Update the object in options editor to show the edited value 2019-05-12 11:53:43 -04:00
KillzXGaming
078c841190 Fix shader options not editng or saving back 2019-05-12 11:52:36 -04:00
KillzXGaming
5c605ead3f Fix dialog to remove sampler/attribute inputs 2019-05-12 11:34:09 -04:00
KillzXGaming
0b2dd29bae Fix sampler saving and lod options for wii u samplers 2019-05-12 11:26:05 -04:00
KillzXGaming
a2d23b0d43 Fix input order 2019-05-12 10:52:47 -04:00
KillzXGaming
47d79b812e Fix sampler/attribute input editor 2019-05-12 10:46:41 -04:00
KillzXGaming
d8f77fff9f Fix vertex color setting to display in bcres 2019-05-11 22:13:32 -04:00
KillzXGaming
69f25781a1 Load bcres editor on node select 2019-05-11 22:05:18 -04:00
KillzXGaming
d90e852e5e Fix material editor for bfres 2019-05-11 21:58:23 -04:00
KillzXGaming
4291782a89 Nul check bone index list 2019-05-11 21:54:20 -04:00
KillzXGaming
7f897fc590 Add mesh selection for bcres 2019-05-11 21:47:27 -04:00
KillzXGaming
7779e8cce4 Display bone weights on select for bcres properly 2019-05-11 21:41:32 -04:00
KillzXGaming
f7910096e3 Shader debug improvements for bcres 2019-05-11 21:25:29 -04:00
KillzXGaming
3b445272db Load bone weights and indices properly for bcres 2019-05-11 21:17:49 -04:00
KillzXGaming
94554db10c Load hex view for generic archive nodes 2019-05-11 20:52:14 -04:00
KillzXGaming
059b406128 Update generic archive class with node wrapper and conversion 2019-05-11 20:51:23 -04:00
KillzXGaming
9e4949d5ef Use vertical orientation for texture map view 2019-05-11 20:08:01 -04:00
KillzXGaming
3c4d6a51a4 Support wrap and filters for bcres texture maps. 2019-05-11 20:05:27 -04:00
KillzXGaming
9714556c3b Fix ligting for bcres 2019-05-11 16:25:27 -04:00
KillzXGaming
4e230a914e Shader improvements for bcres 2019-05-11 16:23:29 -04:00
KillzXGaming
59adf0f60e Adjust blank names 2019-05-11 16:19:39 -04:00
KillzXGaming
ba6790abf5 Draw bcres and add more improvements 2019-05-11 16:11:27 -04:00
KillzXGaming
67d17a5a11 Improve bcres editor. Start to add drawing 2019-05-11 13:10:39 -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
00362747fc Fix string entries not converting to yaml 2019-05-11 10:29:58 -04:00
KillzXGaming
361f84e254 Disable the new update dialog until finished 2019-05-11 10:27:02 -04:00
KillzXGaming
f36451a9eb More aamp fixes 2019-05-11 10:26:10 -04:00
KillzXGaming
9574432edc Support quat types for aamp 2019-05-11 10:23:41 -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
c98dc3380f Adjust image editor to fit better 2019-05-09 15:26:26 -04:00
KillzXGaming
9db8a77afe Fix BCRES library issues 2019-05-09 15:16:46 -04:00
KillzXGaming
4f8c83f10f Update refrence 2019-05-09 14:59:26 -04:00
KillzXGaming
ff967bf0c3 Update some files 2019-05-09 14:59:06 -04:00
KillzXGaming
fe7d2e2e60 Some fixes to image editor with the zoom settings 2019-05-08 18:17:11 -04:00
KillzXGaming
b67de2ae9f Fix wii u bfres rebuilding 2019-05-08 17:30:29 -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
f1e4124066 More fixes for bone transforms 2019-05-07 21:55:24 -04:00
KillzXGaming
f86cb89716 Try to fix quat and euler settings for bones 2019-05-07 21:43:38 -04:00
KillzXGaming
df7ce35503 More bfres library adjustments 2019-05-07 21:36:46 -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
2847aa4fda Some minor fixes and setting 2019-05-05 17:30:11 -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
80c316b740 Alter default format to be 8888_UNORM for weights again. 2019-05-05 13:13:00 -04:00
KillzXGaming
6bc0d562f2 Set zoom settings on load 2019-05-05 12:37:34 -04:00
KillzXGaming
59ab2acfd1 Save settings when changed 2019-05-05 12:34:35 -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
0fc310380b Fix my stupid mistakes with assimp. 2019-05-04 20:48:19 -04:00
KillzXGaming
85c5051b36 Apply assimp matrix properly 2019-05-04 20:40:37 -04:00
KillzXGaming
76799de193 Prevent passing bad settings if textures are scrolled quickly 2019-05-04 19:36:00 -04:00
KillzXGaming
0fa72c7467 This works better 2019-05-04 19:32:57 -04:00
KillzXGaming
af7d563abb Reselect setting if unselected and is altered 2019-05-04 19:30:37 -04:00
KillzXGaming
c48b2a3f02 Update texture editors with theme controls. Add 3DS texture importer 2019-05-04 19:21:37 -04:00
KillzXGaming
57c7795aaa Add more editor options for bflim 2019-05-04 18:19:08 -04:00
KillzXGaming
8962f34e50 Load components by default now 2019-05-04 17:38:51 -04:00
KillzXGaming
7cdd454466 Add tooltips for image editor 2019-05-04 16:58:53 -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
7cec448cd0 Fix duplicate meshes 2019-05-04 15:53:05 -04:00
KillzXGaming
50b8697432 And one more last fix, i promise this is the last one for renaming dupes. 2019-05-04 15:30:16 -04:00
KillzXGaming
025703f33e Another fix 2019-05-04 15:28:38 -04:00
KillzXGaming
afdc56f0d4 Fix wring the string variable 2019-05-04 15:21:31 -04:00
KillzXGaming
e2e054f623 And another fix 2019-05-04 15:20:31 -04:00
KillzXGaming
4b1541d259 Improve duplicate name check 2019-05-04 15:18:32 -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
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
d100a974eb Add null check if pixcturebox updates from other events 2019-05-04 13:09:54 -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
277c3171c1 Fix major bntx issue that caused crashes. Inclduing if switch bfres saved. 2019-05-02 21:29:30 -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
e5e3d8406f Check skeleton on mesh export 2019-05-02 19:52:49 -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
48814b4643 Load params even if null 2019-05-02 19:13:56 -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
8961c8e592 Update aamp library. V2 almost working 2019-05-02 17:45:04 -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
ebf1c829b3 Fix camera reset glitching out 2019-05-01 15:47:09 -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
9afacd835c Also check if it's disposed 2019-04-30 18:10:54 -04:00
KillzXGaming
f91006a1dc Only allow one control instance 2019-04-30 18:04:10 -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
57d19b432d Add collade schematic 2019-04-30 16:51:43 -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
f9ebaffe19 More nul checks 2019-04-29 19:38:11 -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
5a12bcc049 Fix updating far/near settings 2019-04-28 20:03:54 -04:00