Commit graph

449 commits

Author SHA1 Message Date
KillzXGaming
e51fb070c6 Start adding conversion methods for automatic wii u - switch conversion and vice versa 2019-06-01 18:15:48 -04:00
KillzXGaming
7cb5885e6f More archive improvements 2019-06-01 17:49:39 -04:00
KillzXGaming
60a1e52dfe Fix error dialog label size 2019-06-01 15:16:39 -04:00
KillzXGaming
4d7171605b Add option to remove unused textures on save. 2019-06-01 12:30:17 -04:00
KillzXGaming
7845840209 Some more fixes to magic checks 2019-06-01 10:23:06 -04:00
KillzXGaming
28d00d6a16 Add extension checks for gfpak 2019-06-01 09:49:33 -04:00
KillzXGaming
d46df12ecf Default the compression mode for BC7 to fast if edited via default program feature. 2019-06-01 09:28:07 -04:00
KillzXGaming
01ae391de6 Add NUSHDB shader file. 2019-05-31 19:08:55 -04:00
KillzXGaming
3dd300e15f Make sure to use the right GX2 swizzling code so i don't break anything 2019-05-31 17:21:13 -04:00
KillzXGaming
a3a6f9b98e Load the x64 folder for direct x tex by default as it causes issues without. 2019-05-31 17:12:23 -04:00
KillzXGaming
da15dc55fc Don't use legacy by default. 2019-05-31 15:45:21 -04:00
KillzXGaming
ed2a3b8041 Disable opengl texture loading for legacy 2019-05-31 15:38:49 -04:00
KillzXGaming
921b267b44 Improve legacy support and a few fixes.
Cursor for param editing doesn't reset anymore to the top right of the screen.
Fixed some direct c tex issues with loading.
2019-05-31 15:08:14 -04:00
KillzXGaming
31b2ab8260 Add material icons for transparent and translucent things. 2019-05-30 21:42:23 -04:00
KillzXGaming
3b4bb242c5 Starto to add material presets. Add option to add empty meshes 2019-05-30 15:28:43 -04:00
KillzXGaming
62a4d9f9c6 Revert using the newer gx2 swizzle code as it needs more testing 2019-05-29 19:17:29 -04:00
KillzXGaming
d1c32844d1 Fix skeleton issues. More archive improvement. 2019-05-29 14:24:24 -04:00
KillzXGaming
f9ccce42df More fixes.
Update render state for materials properly in the editor.
More generic archive stuff (extacting files from root, etc).
Add export all for GTX
2019-05-28 19:33:42 -04:00
KillzXGaming
bb2d548a40 More fixes 2019-05-28 17:34:20 -04:00
KillzXGaming
15a59166c5 Fix illegal chatacters for folder extracting 2019-05-28 17:13:01 -04:00
KillzXGaming
aa314095c7 Add a better method 2019-05-28 16:55:17 -04:00
KillzXGaming
be19e8e2e2 Add archive check for extracting files with illegal characters 2019-05-28 16:53:02 -04:00
KillzXGaming
d2db5c1c68 Fix filename for generic archive exporting 2019-05-28 16:46:33 -04:00
KillzXGaming
57c1af7022 Add functions to export data properly for generic archives 2019-05-28 16:43:57 -04:00
KillzXGaming
6999a6debf Add SP2 archive stuff 2019-05-28 16:11:40 -04:00
KillzXGaming
394d0e8d90 Fix rigging issues. Fix bntx not keeping the same size after editing textures with same size. 2019-05-28 14:34:30 -04:00
KillzXGaming
f787c59627 Add setting to limit vertex skin to better help prevent crashes 2019-05-27 20:02:57 -04:00
KillzXGaming
d743d39efc Some adjustments and fixes 2019-05-27 18:00:03 -04:00
KillzXGaming
0763f080c0 Don't optmize the attribute formats atm as they cause the game to crash on certain skin amounts 2019-05-26 16:44:35 -04:00
KillzXGaming
e3a410a75a More adjustments 2019-05-26 15:33:16 -04:00
KillzXGaming
c92988e909 Update filters 2019-05-26 11:56:42 -04:00
KillzXGaming
7bad5175ef Now seanim animation imports should work 2019-05-26 11:48:30 -04:00
KillzXGaming
3ffc7d7f6d More seanim fixes 2019-05-26 11:39:34 -04:00
KillzXGaming
9b0883150a More progress on seanim importing 2019-05-26 11:32:12 -04:00
KillzXGaming
8fc4ae525e Cleanup smd a bit 2019-05-26 11:02:07 -04:00
KillzXGaming
6afb66932b Fixup smd exporting and add importing smd back 2019-05-26 10:56:23 -04:00
KillzXGaming
35f6b182e1 Fix an error when creating a new model with skeleton 2019-05-25 14:33:21 -04:00
KillzXGaming
bad0d1fb76 Toggle amount counter if checked 2019-05-25 14:29:08 -04:00
KillzXGaming
e720214b5e Add option to configure the rotation of the bones manually 2019-05-25 14:27:39 -04:00
KillzXGaming
7e16f21975 Add .anim support from forge for testing, and fix export filter 2019-05-25 13:03:54 -04:00
KillzXGaming
a4459533ec More exporting fixes 2019-05-24 20:55:55 -04:00
KillzXGaming
2a92afa122 Chr0 animation importing, dae exporting and tons more improvements!
Chr0 can be imported/replaced.
More fixes to importing sections including some errors and proper filtering.
Dae epxorting now has a progress bar and an option to idsable texture exporting.
Bfska can now be swapped between platforms. More sections will handle this method soon!.
Fixed spaces on files from "Export All".
Display multiple texture maps in bcres materials
2019-05-24 15:15:35 -04:00
KillzXGaming
3a85f06ac7 Tons more DDS fixes from yesterday. RGB textures also aren't blue anymore. 2019-05-22 15:26:25 -04:00
KillzXGaming
a921e46a8f Add choice to reset camera by model or default camera position 2019-05-21 18:29:12 -04:00
KillzXGaming
6d7579e6e0 More improvements.
Camera is now centerd when a bfres is selected. This will apply to reseting the camera aswell. The method is based on Smash Forge so thanks to the devs for it.
Start on bfsha program linking for bfres materials. Dunno how far i'll take this.
Basic ortho mode added. Needs improvements to zoom in and mainly just changes the projection matrix to ortho atm. Controls are not altered.
2019-05-21 18:08:57 -04:00
KillzXGaming
02de27faad More fixes for BC7 compression speed 2019-05-20 18:48:49 -04:00
KillzXGaming
0e72164823 Load bones the same way 2019-05-20 16:10:57 -04:00
KillzXGaming
bccb8f3af4 Optmize model/shader loading for bfres. Save block setting to 1MB for KSA to not crash 2019-05-20 16:01:43 -04:00
KillzXGaming
49314b2842 Fix bntx and switch bfres causing corruption or crashes 2019-05-19 14:25:37 -04:00
KillzXGaming
e51b1e2382 Adjustments for anims 2019-05-18 17:55:22 -04:00
KillzXGaming
8b00b8430e Adjust file format to save changes for new generic archives. 2019-05-18 13:36:39 -04:00
KillzXGaming
bcd21b9e4f Fix duped key issue with sarc 2019-05-18 13:17:43 -04:00
KillzXGaming
387e8685fd Automatically apply changes when resized in image editor 2019-05-18 12:24:03 -04:00
KillzXGaming
6c38b46ad4 Add checks for enabling certain content menus 2019-05-18 11:22:18 -04:00
KillzXGaming
7e8cfcd16c Start to add folder operations for improved archive support 2019-05-18 11:13:14 -04:00
KillzXGaming
ffdb042c3f Improve zlib support. Add NXARC 2019-05-18 10:06:09 -04:00
KillzXGaming
b759a293fe Some adjustments for animations 2019-05-17 21:09:24 -04:00
KillzXGaming
bffd69b81f More fixes for byml. Fix build errors 2019-05-17 20:35:40 -04:00
KillzXGaming
5654105016 Allow multiple window dialogs for sarc archives 2019-05-17 18:02:46 -04:00
KillzXGaming
423aa38414 Improve image editor orientation 2019-05-17 16:17:48 -04:00
KillzXGaming
2c265c876d Improe channel import/replacer 2019-05-17 15:50:03 -04:00
KillzXGaming
cd721af0eb DDS fixes. Add BC7 normal mode for slower but better quality compression 2019-05-17 15:35:10 -04:00
KillzXGaming
a0dd1b4f22 Fix normals on mario's hands in costume selector 2019-05-16 19:25:41 -04:00
KillzXGaming
576da8c6e4 Fix some diffuse colors from pbr 2019-05-16 19:10:01 -04:00
KillzXGaming
304b00fe49 More PBR improvements. Fix skybox to be a proper skybox 2019-05-16 16:01:22 -04:00
KillzXGaming
9767d71f75 Update custom cubemaps on viewport if changed 2019-05-15 19:54:45 -04:00
KillzXGaming
cd57a856fc Add improvements from yesterday.
PBR shader slghtly improved.
Skyobx toggle now works while viewport is active,
Cubemaps now have a check wether or not the file given is a valid cube map dds.
Update column sizing so forms load much faster
Option to right click and clear paths in settings if set
2019-05-15 15:35:05 -04:00
KillzXGaming
82040c6913 Add odyssey costume selector/viewer 2019-05-14 21:43:37 -04:00
KillzXGaming
85cd8dcafc Make placeholder textures optional on import 2019-05-14 20:27:14 -04:00
KillzXGaming
9d1d7fd7b2 Force string extension on batch to remove empty spaces for extensions 2019-05-14 20:02:48 -04:00
KillzXGaming
82f1f54e16 Add toggle between diffuse and specular cube map skybox 2019-05-14 19:15:52 -04:00
KillzXGaming
5c91e66c08 Adjust bone size for botw automatically based on shader name 2019-05-14 18:51:57 -04:00
KillzXGaming
2211d3d352 Convert a few compressed types for cubemaps to decode 2019-05-14 18:37:44 -04:00
KillzXGaming
5160d0f688 More fixes with cubemaps and skybox rendering 2019-05-14 18:21:38 -04:00
KillzXGaming
6c8fac8bc1 Add and load custom pbr diffuse and specular cube maps 2019-05-14 18:09:49 -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
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
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
c11ebce612 Fix texture names on import having improper names in some special cases. 2019-05-12 16:53:55 -04:00
KillzXGaming
7e855caa47 Start to save bffnt back. Not finished yet 2019-05-12 13:02:39 -04:00
KillzXGaming
0b2dd29bae Fix sampler saving and lod options for wii u samplers 2019-05-12 11:26:05 -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
aba65a7a10 Use loading icon again till i can otpmize some things 2019-05-11 20:08:58 -04:00
KillzXGaming
1118111b7e Color fix for opengl 3ds textures 2019-05-11 18:36:10 -04:00
KillzXGaming
032e09d5a6 Load textures in viewport for bcres 2019-05-11 18:17:35 -04:00
KillzXGaming
827e02892a Keep the same depend index for shader params (Fix WWHD crashing) 2019-05-10 17:51:59 -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
6f1a8ab816 Add all the working BCRES stuff. 2019-05-09 14:49:11 -04:00
KillzXGaming
df9ace9e0e Add bflim creation from image 2019-05-09 14:31:19 -04:00
KillzXGaming
fe7d2e2e60 Some fixes to image editor with the zoom settings 2019-05-08 18:17:11 -04:00
KillzXGaming
1c92eec25c Pls work 2019-05-08 17:57:19 -04:00
KillzXGaming
29b660e849 Try to fix build errors again 2019-05-08 17:53:25 -04:00
KillzXGaming
007b92ba47 Try to fix errors 2019-05-08 17:41:19 -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
87d061dbe1 Add setting to auto load models when an archive is open 2019-05-08 16:13:07 -04:00
KillzXGaming
ddf70f700a Fix image editor not updating on some edits 2019-05-08 15:46:26 -04:00
KillzXGaming
9b0690ea06 Fix column text position 2019-05-08 15:36:46 -04:00
KillzXGaming
f1e4124066 More fixes for bone transforms 2019-05-07 21:55:24 -04:00
KillzXGaming
bcd77f29ca Add support for old 3ds ptcl versions 2019-05-06 19:13:16 -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
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
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
c48b2a3f02 Update texture editors with theme controls. Add 3DS texture importer 2019-05-04 19:21:37 -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
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
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
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
e5e3d8406f Check skeleton on mesh export 2019-05-02 19:52:49 -04:00
KillzXGaming
fc7f208af6 More exporting fixes 2019-05-02 19:45:55 -04:00