Commit graph

462 commits

Author SHA1 Message Date
KillzXGaming
e346f26b5f Basic WASD camera movement 2019-07-28 13:59:53 -04:00
KillzXGaming
e9d9634bb4 Normalize the normals and some shader improvements 2019-07-27 12:41:38 -04:00
KillzXGaming
5b55e210ed Fix normals. Load vertex colors for some types 2019-07-27 12:29:38 -04:00
KillzXGaming
25aa49cc29 Some fixes for file paths for newly added files 2019-07-26 21:30:51 -04:00
KillzXGaming
ded4dae5c1 Make it so a game preset must be set for KCL 2019-07-26 20:16:31 -04:00
KillzXGaming
df9641faab Bfres library fixes, and some form fixes 2019-07-26 15:35:15 -04:00
KillzXGaming
0ed8555b3a Update switch bfres lib with frame fixes 2019-07-25 21:05:02 -04:00
KillzXGaming
a03a852867 Fix saving step curve frames 2019-07-25 19:02:51 -04:00
KillzXGaming
e0df03cc26 Wip zar, gar,, and more rarc saving progress 2019-07-25 16:49:04 -04:00
KillzXGaming
d5b084e4e4 Fix reading frames for some animations on wii u bfres 2019-07-25 10:00:31 -04:00
KillzXGaming
68f5bfc20d Remove zstd from lib folder 2019-07-24 17:31:33 -04:00
KillzXGaming
5769c5ed19 Fix Zstd path 2019-07-24 17:28:08 -04:00
KillzXGaming
c7614bc9b4 Another adjustment 2019-07-24 16:57:00 -04:00
KillzXGaming
8221aa98fd Fix configuration for release build 2019-07-24 16:47:44 -04:00
KillzXGaming
ced8707de4 Fix some dlls copying over 2019-07-24 15:21:26 -04:00
KillzXGaming
cd0e3377b4 Sarc fixes and more windows 7 fixes 2019-07-24 15:10:05 -04:00
KillzXGaming
9e1613d946 Update filenames for archives if the file is not saved by tree dialog 2019-07-23 20:52:38 -04:00
KillzXGaming
9180bb1cf2 Direct X tex fixes for windows 7 and 8 2019-07-23 20:42:57 -04:00
KillzXGaming
0865277059 Another fix 2019-07-22 19:05:52 -04:00
KillzXGaming
8be02596e6 More adjustments 2019-07-22 19:01:29 -04:00
KillzXGaming
131af671bf More LM2 archive improvements 2019-07-21 20:08:16 -04:00
KillzXGaming
ece27fd3f8 Fix downgrading bfres for wii u from new to very old versions 2019-07-20 14:38:33 -04:00
KillzXGaming
2455e720bf A few more material mapping fixes for bmd 2019-07-19 19:17:32 -04:00
KillzXGaming
419a76a508 Fix btye order for image decoding gc images 2019-07-19 17:24:54 -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
f37fe42728 Try to fix assimp issues 2019-07-18 14:31:27 -04:00
KillzXGaming
4c15462c7f Adjust assimp again 2019-07-18 14:09:54 -04:00
KillzXGaming
f3f94a1e87 Fix build errors 2019-07-18 13:43:28 -04:00
KillzXGaming
7dc00e4bf3 Tons more bffnt progress. Adjust assimp version to fix issues 2019-07-18 13:33:16 -04:00
KillzXGaming
81326b61f0 Form loading adjustments 2019-07-17 15:03:48 -04:00
KillzXGaming
dfb41d0d80 Adjust main form loading a bit 2019-07-16 21:36:08 -04:00
KillzXGaming
9e01d29127 Update direct x tex 2019-07-16 18:39:17 -04:00
KillzXGaming
6d683f1c08 Fix octokit for updater 2019-07-16 18:35:21 -04:00
KillzXGaming
492eae9ed7 Test 2019-07-16 18:29:26 -04:00
KillzXGaming
32fbd1496b Try to fix some build issues 2019-07-16 18:15:49 -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
53587d6005 Another bmd fix 2019-07-15 16:50:50 -04:00
KillzXGaming
8d66c3e19e Fix parsing MAT4 for bmd 2019-07-15 16:49:46 -04:00
KillzXGaming
ea26ebc82f Attribute fixes for bfres and gmx 2019-07-15 15:41:02 -04:00
KillzXGaming
b50d8925e4 Some gmx and bmd fixes 2019-07-14 21:08:47 -04:00
KillzXGaming
7bf92f8fc4 Reinstall assimp 2019-07-14 14:39:02 -04:00
KillzXGaming
fc6f78c0f4 Some assimp fixes 2019-07-14 13:54:09 -04:00
KillzXGaming
dbc3e9220a Adjustment to assimp dll 2019-07-14 13:36:16 -04:00
KillzXGaming
72ed8ac327 Fix the curve index data type for texture pattern infos 2019-07-14 11:48:07 -04:00
KillzXGaming
bc3ea50d37 Another alignment adjustmenet for v2 aamp to be more accurate 2019-07-14 11:40:01 -04:00
KillzXGaming
2c0abce7df Fix an issue with aamp v2 strings with improper alignment at the end 2019-07-14 11:38:12 -04:00
KillzXGaming
89aa259cf8 Make sure the sub index is -1 for pattern infos 2019-07-14 11:08:06 -04:00
KillzXGaming
631f59ef93 Add audio meta data icons 2019-07-13 15:54:39 -04:00
KillzXGaming
fbec00de01 Add better audio check for bars 2019-07-13 15:04:56 -04:00
KillzXGaming
d74988583f Allow for empty texture paths 2019-07-12 20:06:31 -04:00
KillzXGaming
d9db8c3b09 Adjust assimp version to a more stable build. Add bmd replacing/exporting 2019-07-12 19:44:17 -04:00
KillzXGaming
7364a1d6e1 A few generic shader tweaks 2019-07-12 17:57:41 -04:00
KillzXGaming
d87426fbd8 bmd fixes and fix image editor issues 2019-07-12 15:28:14 -04:00
KillzXGaming
8c0c625ab5 Fix material names 2019-07-11 21:02:30 -04:00
KillzXGaming
3d8b8f7263 Get bmd materials properly by remap index 2019-07-11 20:56:11 -04:00
KillzXGaming
3c3ab5fc32 Add getters/setters for bmd materials 2019-07-11 20:46:45 -04:00
KillzXGaming
9c5917cc6a Load bmd textures to opengl 2019-07-11 19:51:28 -04:00
KillzXGaming
7f679b9fa6 Add bmd drawing 2019-07-11 19:38:29 -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
a28606e150 Fix some ptcl saving issues from bfres having null data 2019-07-10 19:21:53 -04:00
KillzXGaming
61ef67ea29 Don't check for string table magic due to some bfres not having it 2019-07-06 11:44:19 -04:00
KillzXGaming
ab80051646 More additions and fixes.
Added GMX rendering (note explodes atm)
Fixed mario tennis aces/ultra compression (now uses external dll from Simon)
Fixed a bug where file sizes for IArchives (TMPK and ME01) would not adjust on save. casuing corrupted file data.
2019-07-05 14:45:16 -04:00
KillzXGaming
9d203da716 Add option to automatically compress on save with no notification 2019-07-03 12:56:28 -04:00
KillzXGaming
7a396e2095 Fix BARS that have null audio entries for certain slots 2019-07-02 20:01:10 -04:00
KillzXGaming
48859f6041 Few more relocation table fixes for 0.9 bfres 2019-06-29 19:15:28 -04:00
KillzXGaming
74cc67c055 More 0.9 bfres save fixes 2019-06-29 19:12:49 -04:00
KillzXGaming
fff2d5926c Fix botw shader fresnel lighting 2019-06-29 13:55:04 -04:00
KillzXGaming
f9ec221c1a Fix specular map display for botw when used in debug shading 2019-06-29 13:25:40 -04:00
KillzXGaming
402c2cee5e Fix bntx texture format issues with R8G8_SNORM 2019-06-29 12:33:27 -04:00
KillzXGaming
f776b46138 Fix 0.9 bfres savig with material animations 2019-06-28 18:02:11 -04:00
KillzXGaming
c52556e8e1 Automatically check if direct x tex is loaded properly or not 2019-06-27 20:39:38 -04:00
KillzXGaming
b2b1907046 Attempt to resolve direct x tex assembly if it's bad. Hopefully fixes crashes. 2019-06-27 14:58:51 -04:00
KillzXGaming
47ca70a015 Fix 0.9 bfres with scene animations. Add toggle for direct x tex decoder 2019-06-27 14:38:13 -04:00
KillzXGaming
141be9ff4f Fix reading v0.8 bfsha 2019-06-26 19:53:09 -04:00
KillzXGaming
04383b262d More rebuilding fixes for 0.9 bfres 2019-06-26 19:16:15 -04:00
KillzXGaming
3edbaece3f Allow saving for 0.9. Note this will crash if it has animations 2019-06-26 18:30:10 -04:00
KillzXGaming
e88d42b4ce Add toggle to frame bfres on select 2019-06-26 15:58:28 -04:00
KillzXGaming
108600e930 Fix 0.9 bfres skeletal animations 2019-06-26 15:32:15 -04:00
KillzXGaming
1444594fd1 More v0.9 switch bfres fixes (NO SAVING YET) 2019-06-26 15:13:49 -04:00
KillzXGaming
bbb0cbf933 Some fixes to 0.9 switch bfres 2019-06-26 13:56:10 -04:00
KillzXGaming
0d4f208365 Fix legacy mode 2019-06-25 17:08:25 -04:00
KillzXGaming
07c37ef3d4 Fix material exporting and bfres saving for user data that contains non string types 2019-06-24 20:51:35 -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
7395d78d67 Fix string entries not being relocated properly for user data (switch bfres) 2019-06-22 18:45:43 -04:00
KillzXGaming
09e9bf0e95 Better gfbmdl materials 2019-06-21 22:24:33 -04:00
KillzXGaming
067244555a Improve gfmdl support. Fix raw astc exporting 2019-06-21 18:18:22 -04:00
KillzXGaming
0fbb18ac85 Update preview scale for kcl 2019-06-20 17:20:06 -04:00
KillzXGaming
ad1c4aed4e Improve lighting view in pbr shader. Start on SEModel support. 2019-06-20 15:29:04 -04:00
KillzXGaming
acc7dcd9c9 Update switch bfres library 2019-06-20 08:58:02 -04:00
KillzXGaming
307747ba1b Cleanup tool menu 2019-06-19 18:58:36 -04:00
KillzXGaming
a9f26c2670 More framework updates 2019-06-19 17:46:43 -04:00
KillzXGaming
cae1d75173 Update to latest gl framework 2019-06-19 17:05:44 -04:00
KillzXGaming
54c4bac8bc Add MKAGPDX model viewing and exporting 2019-06-19 14:57:59 -04:00
KillzXGaming
8f849bf260 Add working SDF (Mario and Rabbids) archive support. 2019-06-16 19:35:46 -04:00
KillzXGaming
2ed4dd0971 Make sure to only use transparency if enabled for pbr shader 2019-06-16 10:01:36 -04:00
KillzXGaming
5b156b8c24 Reinstall assimp to fix errors 2019-06-15 14:26:24 -04:00
KillzXGaming
a7db504a5a Update back to latest assimp and now use a new work around for bone names 2019-06-15 09:14:35 -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
18120fa028 Some sampler fixes for odyssey 2019-06-12 16:18:30 -04:00
KillzXGaming
05516ed3df Gamma fix pbr diffuse color 2019-06-12 15:57:24 -04:00
KillzXGaming
29cee96d39 Adjust settings for tphd path 2019-06-11 21:03:17 -04:00
KillzXGaming
35f547e9a7 Nearly working now 2019-06-11 19:51:27 -04:00
KillzXGaming
4536246d6f Sort bone indices properly to prevent possible stretching. 2019-06-11 16:44:59 -04:00
KillzXGaming
06a26c586f Fix label scaling in settings 2019-06-11 15:50:27 -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
d39ca57044 Fix windows scaling for tool 2019-06-10 20:03:27 -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
bb691dcd0b Start to add multiple editor switching for archive files 2019-06-09 20:03:56 -04:00
KillzXGaming
8b052bf4b4 Fix font scaling on title bar 2019-06-09 17:27:07 -04:00
KillzXGaming
f6fdae96f6 A few fixes to archives 2019-06-08 20:19:55 -04:00
KillzXGaming
9b9a44b9a4 A few more assimp adjustments 2019-06-08 14:32:03 -04:00
KillzXGaming
5ffcdcabf6 Downgrade assimp to prevent bugs like bone names being wrong. 2019-06-08 14:26:13 -04:00
KillzXGaming
890f5afcf7 Check audio amount before adding entries for bars. 2019-06-07 17:01:24 -04:00
KillzXGaming
375d054522 Add support for BARS with only meta entries 2019-06-07 16:56:54 -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
f4f946fce5 Fix specular map issues causing a texture overlayif unused. 2019-06-05 17:44:23 -04:00
KillzXGaming
13b346ddde Display emblem on karts properly 2019-06-04 20:17:19 -04:00
KillzXGaming
e40c081560 Pass the specular texture to the reflection pass for better reflections 2019-06-03 20:59:54 -04:00
KillzXGaming
537da9866b Some crash fixes when playing an animation 2019-06-03 20:53:11 -04:00
KillzXGaming
8a22275cd5 Animation fixes for playing last frame 2019-06-03 20:04:15 -04:00
KillzXGaming
47cd45b4e0 Add support for specular colors if used 2019-06-03 19:00:46 -04:00
KillzXGaming
e14286d871 Quick fix for saving nutexb with file save rather than right clicking and save. 2019-06-03 17:22:36 -04:00
KillzXGaming
7d09926899 Prevent cursor from reseting to 0 for param editing 2019-06-02 16:15:33 -04:00
KillzXGaming
f52b605dce Adjust wiki link 2019-06-02 14:42:27 -04:00
KillzXGaming
bf2e9b4d81 More fixes for permissions 2019-06-01 19:09:27 -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
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
2299a61cb3 Fix displaying normals as lines if enabled 2019-05-30 19:34:23 -04:00
KillzXGaming
d5622e4046 Fix calculating I vector (Fixes shading on hands in Odyssey costum viewer) 2019-05-30 19:21:06 -04:00
KillzXGaming
250e267143 Fix normals from being dark or flat sometimes. 2019-05-30 19:12:38 -04:00
KillzXGaming
b12bb34082 Another fix to prevent issues with path saving 2019-05-30 18:02:51 -04:00
KillzXGaming
225d98ae43 Improve path saving for byaml 2019-05-30 17:40:54 -04:00
KillzXGaming
3b4bb242c5 Starto to add material presets. Add option to add empty meshes 2019-05-30 15:28:43 -04:00
KillzXGaming
d1c32844d1 Fix skeleton issues. More archive improvement. 2019-05-29 14:24:24 -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
d743d39efc Some adjustments and fixes 2019-05-27 18:00:03 -04:00
KillzXGaming
9ad90e3b15 Some progress on chr0 exporting 2019-05-24 17:34:37 -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
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
50586ef978 Fix binary shape importing for switch 2019-05-20 20:03:39 -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