Commit graph

400 commits

Author SHA1 Message Date
KillzXGaming
751c1dc550 Batch create bntx with New From File - BNTX From Image 2019-08-14 16:36:19 -04:00
KillzXGaming
00e9c6506f A few fixes and additions
Files can be dragged out of and dropped within archives if adding is supported..
Fixed some archive issues with it updating, and removing improperly.
Adjustments to default transform bone settings for bfres to prevent any deform issues if a new skeleton is created.
2019-08-14 15:27:45 -04:00
KillzXGaming
9ad828bbca Lots more uv editor fixes 2019-08-12 20:09:35 -04:00
KillzXGaming
89ce65908c Load all containers to uv editor if drawables is set to preview al 2019-08-12 19:37:57 -04:00
KillzXGaming
9e61c677ed Add option to create screenshots 2019-08-12 19:27:48 -04:00
KillzXGaming
cb13c0a00a Some fixes
Fixed loading files from clicked on when a single instance of the tool is used.
Fixed the UV editor, which loads materails and texture maps properly.
Adjusted loading archives which produced some duplicate file issues when the archive loads the file, and a tree node is clicked on. Ie bntx clearing, but another one would stay in memory.
Fixed bntx replacing.
2019-08-12 15:19:30 -04:00
KillzXGaming
e15e00c2c0 Adjust program to use one instance for loading files (can be disabled in config) 2019-08-11 11:10:32 -04:00
KillzXGaming
9a70890924 Msbt editor fixes 2019-08-11 10:16:32 -04:00
KillzXGaming
9f829b714b Link botw actors to msbt for defining and organsing. Load msbt labels. 2019-08-10 20:52:58 -04:00
KillzXGaming
aed38de591 Finally fix the dpi scaling issues when opengl gets loaded 2019-08-10 19:20:39 -04:00
KillzXGaming
e5de8616d8 Some fixes 2019-08-08 20:09:58 -04:00
KillzXGaming
79d78f64ad Textue importer improvements and some gui fixes 2019-08-08 15:26:08 -04:00
KillzXGaming
feecbeef55 Image editor fixes for bffnt 2019-08-07 21:14:18 -04:00
KillzXGaming
fb2648205b Parse CTPK 2019-08-07 21:04:44 -04:00
KillzXGaming
9db860f0b8 Start to implement 3ds texture encoding. (Todo ETC1 and L4/A4) 2019-08-07 17:15:31 -04:00
KillzXGaming
e5bb9fa9d5 Use file streams for non archive based writing. Allow giant file saving from opened streams. 2019-08-06 17:35:18 -04:00
KillzXGaming
23324a2233 Reset the camera when the movement mode is changed 2019-08-06 16:22:24 -04:00
KillzXGaming
3ee6cd887a Support DDS editing 2019-08-05 21:30:47 -04:00
KillzXGaming
33fff8e4de Add in proper replacing for raw texture types 2019-08-05 18:48:14 -04:00
KillzXGaming
aa92482f15 Fix some dialog issues and paste the full data size for IGZ to prevent size issues 2019-08-04 21:12:36 -04:00
KillzXGaming
2a19d4c75b Improve multiple image icon loading speed 2019-08-04 14:26:52 -04:00
KillzXGaming
89aecaec34 Add proper audio exporting in player 2019-08-03 18:18:26 -04:00
KillzXGaming
61ede33e29 Auto set the audio device to an active one 2019-08-03 18:00:51 -04:00
KillzXGaming
1ab2164339 Rewrite all the texture modes to use proper enums 2019-08-03 15:23:05 -04:00
KillzXGaming
95a50d03ec Fix skeleton not hiding when drawables switched 2019-08-02 17:39:00 -04:00
KillzXGaming
f06cfbd053 CMB model previewing and parsing 2019-08-02 17:27:44 -04:00
KillzXGaming
894e53ea07 Choose when to end the thread 2019-08-01 21:16:48 -04:00
KillzXGaming
72cce64583 Update the image only after decoding is entirely finished 2019-08-01 21:11:57 -04:00
KillzXGaming
531feeff78 Resize the preview automatically if the image is directly set 2019-08-01 21:05:02 -04:00
KillzXGaming
5272063ca6 Don't reload the config file to prevent settings reset if another file is opened 2019-08-01 20:48:33 -04:00
KillzXGaming
de20881676 Update single texture based image icons 2019-08-01 20:02:38 -04:00
KillzXGaming
b445590961 Add preview to single textures (ie NUTEXB) 2019-08-01 19:28:37 -04:00
KillzXGaming
e2edd2e923 Load texture icons via before expand event 2019-08-01 19:16:50 -04:00
KillzXGaming
a9b92e42e2 Some platform swizzle fixes and preview textures for bmd 2019-08-01 18:11:56 -04:00
KillzXGaming
f4e4afa2f7 Cleanup. Start to impliment texture preview icons in tree 2019-08-01 17:47:35 -04:00
KillzXGaming
aa006fd389 Fix double click again because windows keeps breaking it from generated code 2019-08-01 09:22:35 -04:00
KillzXGaming
c4a2c3f7e1 Some form fixes 2019-07-31 21:13:58 -04:00
KillzXGaming
ccde8d3276 Add option to dock the search panel 2019-07-31 21:11:06 -04:00
KillzXGaming
d744e0b339 Update mainform for file format adding to editor 2019-07-31 20:42:40 -04:00
KillzXGaming
9c98ff2c83 Load IArchives if added to object editor 2019-07-31 20:40:16 -04:00
KillzXGaming
d244ceab0a Add proper file remove dialog and update the menus 2019-07-31 20:27:46 -04:00
KillzXGaming
2340d6a7a4 Improve file removing from object editor 2019-07-31 20:11:10 -04:00
KillzXGaming
116d114c77 Make double click optional on searching nodes 2019-07-31 17:53:26 -04:00
KillzXGaming
f376f16dcc Dispose of the search window iif the object editor is closed 2019-07-31 17:48:31 -04:00
KillzXGaming
c83d7e7f1e Fix treeview not firing double click event, ops 2019-07-31 17:31:50 -04:00
KillzXGaming
d19aa09c32 More improvements for searching 2019-07-31 17:25:41 -04:00
KillzXGaming
01d74e3839 Add functional search window 2019-07-31 17:08:00 -04:00
KillzXGaming
4576364e13 Disable opengl on very old opengl versions to prevent crashes 2019-07-30 16:24:10 -04:00
KillzXGaming
8afae95e2c Fix vertex increase from assimp's tans/bitans (calculate with ST) 2019-07-30 15:38:42 -04:00
KillzXGaming
691d4c7d35 Decompress hyrule warriors (Wii U) gz files 2019-07-29 14:40:12 -04:00
KillzXGaming
4ef0025fe2 Add color/alpha preview combo as a control 2019-07-29 12:23:15 -04:00
KillzXGaming
2af2b11ad5 Add proper folding to text edtior and align margins better 2019-07-28 18:44:18 -04:00
KillzXGaming
e7c0876517 Camera improvements and adjust viewport toolbar 2019-07-28 15:14:40 -04:00
KillzXGaming
f599ea9b41 Add parameters class to textures to configure how to display the texture 2019-07-27 18:25:35 -04:00
KillzXGaming
df9641faab Bfres library fixes, and some form fixes 2019-07-26 15:35:15 -04:00
KillzXGaming
4ba79980c9 Automatically clear the playlist for the audio player to prevent dupes 2019-07-24 17:42:59 -04:00
KillzXGaming
cd0e3377b4 Sarc fixes and more windows 7 fixes 2019-07-24 15:10:05 -04:00
KillzXGaming
1429a00178 More fixes and additions
Archives now use a link list for archive infos and treenodes. Handling replaced treenodes is easier and fixes renaming issues if a file was opened and renamed.
More LM2 archive improvements, with more chunk loading.
2019-07-22 15:06:49 -04:00
KillzXGaming
976c214799 Add option to always dispay all models 2019-07-21 14:09:25 -04:00
KillzXGaming
ee5f01e44d Add sonic all stars transformed archive as it's basically an older version of SP2 2019-07-20 20:56:22 -04:00
KillzXGaming
da46126e8b Update image editor properly if edited 2019-07-19 15:27:30 -04:00
KillzXGaming
c0c1e621a4 A few additions and fixes
Add custom color option for image editor background.
Start on character exporting for bffnt. as xlor.
Fix sarc hashes.
Fix bflims in archive editors
2019-07-19 15:11:55 -04:00
KillzXGaming
b6de4bf6a4 Properly check for text converting support for archive files 2019-07-18 16:55:41 -04:00
KillzXGaming
043983fdad Set the file format instance on editor load for saving back 2019-07-18 16:52:46 -04:00
KillzXGaming
1a420f65a3 Fix save button for archive editors 2019-07-18 16:48:52 -04:00
KillzXGaming
9b15a3d5fe Some bffnt stuff 2019-07-17 16:14:55 -04:00
KillzXGaming
6cfb6a214f Adjust the toolbox name to no longer include "Switch" in it. 2019-07-16 17:35:21 -04:00
KillzXGaming
43081a4086 Texture decoder cleanup. Also fix wii u texture patterns with null issues 2019-07-16 16:54:46 -04:00
KillzXGaming
ddcf80a6d7 More gx2 reg fixes 2019-07-14 18:13:00 -04:00
KillzXGaming
f84753aa11 Add viewer for TPHD file tables 2019-07-14 17:36:52 -04:00
KillzXGaming
7bf92f8fc4 Reinstall assimp 2019-07-14 14:39:02 -04:00
KillzXGaming
3312f5ab00 Another shortcut adjustment 2019-07-14 12:58:42 -04:00
KillzXGaming
a2f01c7748 Fix double click event for treeview 2019-07-14 12:57:07 -04:00
KillzXGaming
8a89bce579 Check ctrl key for shortcuts 2019-07-14 12:51:51 -04:00
KillzXGaming
ff8b6bccc8 Check the node on key down to check if shortcut has been used 2019-07-14 12:13:09 -04:00
KillzXGaming
11c850ba77 Fix a dumb error 2019-07-13 19:25:55 -04:00
KillzXGaming
1f9b82ddda Fix double clicking window title bar to go full screen 2019-07-13 19:25:41 -04:00
KillzXGaming
631f59ef93 Add audio meta data icons 2019-07-13 15:54:39 -04:00
KillzXGaming
716e2c254f Start on SMO kingdom loading 2019-07-13 10:56:21 -04:00
KillzXGaming
d87426fbd8 bmd fixes and fix image editor issues 2019-07-12 15:28:14 -04:00
KillzXGaming
5081e39414 More format additions and fixes.
Fixed MKAGPDX models a bit so they aren't all missing mesh data. Skinned ones are still buggy!
 BMD wip support using SuperBMDLib.
 Adjusted gui loading a little bit.
2019-07-11 17:22:59 -04:00
KillzXGaming
f1898bcbc8 Add archive overhaul update to BEA 2019-07-06 11:29:29 -04:00
KillzXGaming
fa84e46bba Skip unsupported msbt sections with section size. 2019-07-04 18:00:55 -04:00
KillzXGaming
7df5effdc2 Fix UV editor issues 2019-07-02 17:36:36 -04:00
KillzXGaming
c30f758f8d A few fixes
Fix the UV editor not applying saved UV data.
Start to add basic LM2 dict file support.
Start to add GFA support (todo need BPE compression)
2019-07-02 16:12:23 -04:00
KillzXGaming
ade73e6560 More render texture improvements. Fix a fix model importing issues. 2019-06-28 14:58:17 -04:00
KillzXGaming
777ccc4fb6 Add option to view cubemap arrays 2019-06-27 20:12:44 -04:00
KillzXGaming
1b823f022a Add option to toggle alpha for cubemap view 2019-06-27 19:17:33 -04:00
KillzXGaming
1c49911d47 Add cubemap previewer to image editor 2019-06-27 19:08:12 -04:00
KillzXGaming
53b15c1f7b A few more fixes.
Fix material copying for wii u bfres.
Add batch bflim exporting.
2019-06-25 20:03:50 -04:00
KillzXGaming
d664a47426 Add big speed and memory improvements to bfres, bntx, and other formats 2019-06-25 14:56:19 -04:00
KillzXGaming
6798db20de Add massive speed boost and memory improvements for archives with 1000s of files
This also fixes transparency on PBR shader.
Fixes odyssey costume viewer framing bfes
2019-06-24 15:45:54 -04:00
KillzXGaming
a317c88e3c Fix swizzle pattern setting 2019-06-23 18:09:07 -04:00
KillzXGaming
31e5f42373 Limt skin count by default to prevent any possible issues 2019-06-23 11:04:34 -04:00
KillzXGaming
c879ec7839 Only get the filedata once for opening archive editors for quicker loading/less memory usage 2019-06-22 10:40:08 -04:00
KillzXGaming
54e88cdef5 Only load certain supported formats for sdf for faster loading. (Can still be extracted as all normally) 2019-06-22 07:57:26 -04:00
KillzXGaming
cc2e7df037 Fix shader issue from multiple viewports 2019-06-19 19:41:35 -04:00
KillzXGaming
a9f26c2670 More framework updates 2019-06-19 17:46:43 -04:00
KillzXGaming
51be965bc2 Keep limit under 4k to prevent memory issues 2019-06-19 17:09:17 -04:00
KillzXGaming
cae1d75173 Update to latest gl framework 2019-06-19 17:05:44 -04:00
KillzXGaming
15154d75b1 Add a few wip things 2019-06-18 20:52:09 -04:00
KillzXGaming
b16a098339 More fixes 2019-06-18 16:27:36 -04:00
KillzXGaming
a04ced5a32 Bump up archive file amount to load all files in SDF 2019-06-18 16:10:34 -04:00
KillzXGaming
99883c9a5b Adjustments for limiting the size 2019-06-17 19:37:40 -04:00
KillzXGaming
b8aad096ff Update image formats a bit. Add a fill editor option so editors update properly for archive viewer. 2019-06-17 19:19:27 -04:00
KillzXGaming
e8283ac4ee More fixes 2019-06-16 20:48:17 -04:00
KillzXGaming
cd068828ba More archive editor fixes 2019-06-16 20:40:32 -04:00
KillzXGaming
cee244669e Fix DDS headers in SDF archive 2019-06-16 20:34:04 -04:00
KillzXGaming
8f849bf260 Add working SDF (Mario and Rabbids) archive support. 2019-06-16 19:35:46 -04:00
KillzXGaming
c50f3dc86e Keep text for console data 2019-06-15 09:56:45 -04:00
KillzXGaming
25ae179a05 More console fixes 2019-06-15 09:49:59 -04:00
KillzXGaming
10f3b9741e Fix build issues 2019-06-15 09:39:36 -04:00
KillzXGaming
c289287d14 Add console improvements to not break and keep logs if nt open. 2019-06-15 09:33:12 -04:00
KillzXGaming
b8cb80727a More updating fixes 2019-06-14 20:39:47 -04:00
KillzXGaming
b231df5d15 Fix property grid updating 2019-06-14 20:38:27 -04:00
KillzXGaming
c756089aad Fix srgb toggle for off for ftex 2019-06-14 20:26:46 -04:00
KillzXGaming
a8698a2ef4 Add LZARC support and a few random fixes. 2019-06-14 17:23:02 -04:00
KillzXGaming
95d434a058 Add option to toggle SRGB for ftex 2019-06-13 20:05:05 -04:00
KillzXGaming
add182f902 Rework form editors a bit for later loading docked for archives 2019-06-13 18:40:29 -04:00
KillzXGaming
26de867fa9 Update image editor properly in archive previewer 2019-06-12 17:55:03 -04:00
KillzXGaming
ef1550facc Save the file first incase the table fails 2019-06-12 17:28:06 -04:00
KillzXGaming
05516ed3df Gamma fix pbr diffuse color 2019-06-12 15:57:24 -04:00
KillzXGaming
bd7a173876 Progress on twilight princess hd file table 2019-06-11 19:35:02 -04:00
KillzXGaming
41adcfffc1 Tons more RSTB progress (Note file in archives don't work yet) 2019-06-11 15:39:23 -04:00
KillzXGaming
7aa040aebf Some fixes to slider 2019-06-10 20:58:12 -04:00
KillzXGaming
d1adbc5547 Fix scaling when mdi window is maximized 2019-06-10 20:04:58 -04:00
KillzXGaming
d39ca57044 Fix windows scaling for tool 2019-06-10 20:03:27 -04:00
KillzXGaming
06af62fe39 Fix maxamizing title bar by doube clicking it 2019-06-10 18:28:42 -04:00
KillzXGaming
b2f48fa8e9 Add support for channel components for bfres shaders, 2019-06-10 18:06:31 -04:00
KillzXGaming
cce69d12e2 Some more fixes and optmizations. 2019-06-10 16:30:06 -04:00
KillzXGaming
ea626cac07 Try to fix windows scaling again on 4k monitors 2019-06-09 21:21:03 -04:00
KillzXGaming
afe0fc2e3f Update editor properly. 2019-06-09 20:16:11 -04:00
KillzXGaming
bb691dcd0b Start to add multiple editor switching for archive files 2019-06-09 20:03:56 -04:00
KillzXGaming
e4e58a3bfb Fix last frame display in param animation viewer 2019-06-09 14:43:51 -04:00
KillzXGaming
7bd1abf12a More cleanup 2019-06-09 14:23:44 -04:00
KillzXGaming
a336e711f1 Some fixes and cleanup for textures 2019-06-09 14:17:10 -04:00
KillzXGaming
a832b56cb4 Sort images in the editor aswell 2019-06-09 13:56:52 -04:00
KillzXGaming
5546d0da24 Add preview archive option to sarc 2019-06-09 13:51:04 -04:00
KillzXGaming
b79da4ff95 Make sure to resize image when reloading generic textures 2019-06-09 12:20:45 -04:00
KillzXGaming
e36173ce1e Improve updating the image list 2019-06-09 12:19:23 -04:00
KillzXGaming
80f0c765aa Add event for replacing textures after edits are applied. 2019-06-09 11:59:41 -04:00
KillzXGaming
62f35684ed More preview archive fixes and additions 2019-06-08 21:41:09 -04:00
KillzXGaming
e724fdc66b Update images in preview editor 2019-06-08 20:36:21 -04:00
KillzXGaming
f6fdae96f6 A few fixes to archives 2019-06-08 20:19:55 -04:00
KillzXGaming
e531a779ed Small fixes and additions
Fixed mesh name exporting for assimp.
Fixed clearing models for bfres.
Fixed limit skin count setting.
Fixed material index breaking if a material is removed for bfres.
Update the vertex data properly if a model is imported as new.
Added AMTA editing for BARS.
Added audio player for BARS.
2019-06-07 16:31:13 -04:00
KillzXGaming
157ff75b79 Add model cycling if multiple models are active in an editor.
Models can be cycled in the same editor. The active one now gets properly set. You can adjust the combo box to preview multiple models in the scene.
Fixed a bug where some models would project on the top of the screen as duplicates.
2019-06-06 15:40:32 -04:00
KillzXGaming
04a84695b9 Fix upside down UVs in uv viewer 2019-06-04 17:17:31 -04:00
KillzXGaming
e62faba478 Apply re encoded images automatically after being set. 2019-06-03 21:15:06 -04:00
KillzXGaming
537da9866b Some crash fixes when playing an animation 2019-06-03 20:53:11 -04:00
KillzXGaming
e1431631ad Fix the max frame value the timeline can go to. 2019-06-03 20:08:46 -04:00