Commit graph

773 commits

Author SHA1 Message Date
KillzXGaming
24b33aae15 Fix references to layout header to access certain data 2020-02-17 19:55:57 -05:00
KillzXGaming
5e4ec3d131 Start to add a base for multi select tree for layout editor 2020-02-17 19:54:50 -05:00
KillzXGaming
24e7eba5d1 Add menus to toggle docks for layout editor 2020-02-17 19:43:06 -05:00
KillzXGaming
d8676959ec Add some additional text pane properties 2020-02-16 20:15:02 -05:00
KillzXGaming
f7ad889d14 Fix importing KCL for mario odyssey without a preset used 2020-02-16 12:50:04 -05:00
KillzXGaming
9e0f3e0516 Some byaml improvements
Add XML format to byaml text editor.
Disable reference nodes in text editor for now till i find a better method to handle them.
2020-02-16 11:55:47 -05:00
KillzXGaming
07b0259805 Some more layout editor improvements
Textures in the list keep aspect ratio now.
Fix creating new user data. and remove any if empty.
2020-02-16 11:18:18 -05:00
KillzXGaming
bffa623e01 Some quick bone index fixes 2020-02-15 18:24:35 -05:00
KillzXGaming
180f2e5b91 Improve the vertex color selector for layout editor.
Hitboxes improved and should detect clicks much better.
Sides can now be selected to adjust the whole side color of the pane.
2020-02-15 17:39:22 -05:00
KillzXGaming
a91dd6ae8e Improve layout editor more.
Part pane scaling type can be edited.
Additional texture coordinates can be added/removed.
Fixed editing user info string.
Display tex coord gen sources in texture map editor.
Default texture map wrap mode to linear when created.
2020-02-15 16:30:10 -05:00
KillzXGaming
efd98b3bac Improvements to layout material editing.
Tev stages can be added/removed for bclyt and brlyt.
Fixed adding new textures to brlyt.
Fixed setting material colors for window panes for bclyt/brlyt.
Fixed alpha op enum for brlyt tev stages.
2020-02-15 13:54:52 -05:00
KillzXGaming
69ab4e0eaf Recreate brlyt material flags so mat data can be added/removed. 2020-02-14 21:14:53 -05:00
KillzXGaming
84352cf967 Enable BRFNT and BCFNT rendering for layout editor 2020-02-14 20:15:03 -05:00
KillzXGaming
c51958f91d Add support for editing BCFNT and BRFNT images 2020-02-14 18:46:06 -05:00
KillzXGaming
ae2e9f2b2f Apply bone transforms for bfres to better optmize custom bone sets 2020-02-14 18:27:18 -05:00
KillzXGaming
af8a8f17f6 Add latest files
Start on base for BLO. These will probably not be usable for awhile and is wip.. Currently aiming to support more varied layouts so this can help improve the code base.
Add BRFNT and BCFNT support. All merged as BXFNT class.
Fix bflim 3ds with LA4 textures.
Fix loading/saving part panes with property user data.
Fix texture coordinates to default centered UVs for layout panes with no textures.
Cleanup some files and directories.
2020-02-14 18:25:08 -05:00
KillzXGaming
e5f0745818 Improve gfbmdl UV transformation for diffuse textures 2020-02-12 19:15:31 -05:00
KillzXGaming
43d0a498b5 WTA : Add support for uncompressed files. 2020-02-12 18:24:21 -05:00
KillzXGaming
2138a4b954 Cleanup how archive files update for layout editor 2020-02-12 17:50:10 -05:00
KillzXGaming
6129ab2b4e Many more bug fixes and layout rendering improvements.
Add support for BCLAN.  (It's basically the same as BRLAN)
Fix saving for BRLAN.
Fix 3DS textures being upside down for BCLYT.
Improve BCLYT rendering.
Improve texture transforms for BCLYT and BFLYT.
Fix tev stage properties not appearing for BCLYT editor.
Fix C4 and C8 decoding.
2020-02-12 16:56:16 -05:00
KillzXGaming
5ce973f3e7 Fix WTA parsing 2020-02-12 16:21:42 -05:00
KillzXGaming
6931350fac Fix RGBA Snorm textures. Remove file extension from batch export folders. 2020-02-12 15:54:16 -05:00
KillzXGaming
89d5b621b2 Giant layout update. Support BRLYT and BCLYT files!
BRLYT can now be edited and saved.
BCLYT can now be edited and saved.
BRLYT shaders greatly improved using ported shaders from WiiLayoutEditor. Plan to expand upon it for more accuacte shader rendering.
Add support for saving per character transforms.
Add support for BNR files.
Fixed flags so orientation can be edited properly.
Fix issues decoding some gamecube textures.
Fix animation timeline breaking at times for multi selecting animations.
2020-02-11 19:19:23 -05:00
KillzXGaming
946fa08518 BFRES : Fix some more importing bugs
Only align buffers when using a single buffer.
2020-02-11 16:49:27 -05:00
KillzXGaming
cd56a53d0c Fix rigging issue with bfres 2020-02-10 18:45:03 -05:00
KillzXGaming
2076905094 Some cleanup 2020-02-08 17:17:49 -05:00
KillzXGaming
f86519c81c Rebuild cmb vertex buffers when saving 2020-02-08 15:24:54 -05:00
KillzXGaming
1e62b23013 Some more fixes 2020-02-08 15:09:40 -05:00
KillzXGaming
e39eec97cb Resize width/height to fit proper 3ds texture limits 2020-02-08 14:48:04 -05:00
KillzXGaming
bfc02c117d Add ETC1 compressor 2020-02-08 14:06:01 -05:00
KillzXGaming
238b6f60fb Add CTXB rebuilding and editing (encoding very WIP) 2020-02-08 12:03:37 -05:00
KillzXGaming
99306683d0 Some texture map fixes for g1m dae exporting 2020-02-08 10:45:33 -05:00
KillzXGaming
53e85f510b Add option to export models for G1M 2020-02-08 10:28:18 -05:00
KillzXGaming
ede5c62031 More fixes.
Fix loop error for 3DW stage files when creating the string table.
Fix converting yaml so it uses the custom syntax flow/tags.
Fix AAMP version issues for v1.
Add support for loading empty byaml files so data can be added onto them.
Fix bone importing issue with assimp.
2020-02-07 15:50:52 -05:00
KillzXGaming
93aa26efcf Quick bone index fix. 2020-02-07 09:40:43 -05:00
KillzXGaming
0b27e890be Improve bin.gz endianness detection 2020-02-06 21:05:35 -05:00
KillzXGaming
d991a23980 Add support for G1M model files. Rewrite some bone properties. 2020-02-06 19:47:32 -05:00
KillzXGaming
f87487cad4 Fix some code appveyor is being picky with 2020-02-06 18:35:42 -05:00
KillzXGaming
978cb5b8c8 Fix errors again 2020-02-06 18:29:42 -05:00
KillzXGaming
c922ff1e4f Big BYAML and AAMP update!
- AAMP can now save back to YAML!
- Added text editor for AAMP editor
- AAMP library has been improved signifcantly, now using one library for all versions.
- BYAML now uses YAML by default. You can still right click in the editor and export as XML if needed.
- BYAML saving speed improved signifcantly.
- BYAML now supports reference nodes and works with 3DW byml files.
- BYAML can now load shift JIS encoding for japanese characters.
- YAML syntax for text editor improved with proper folding and highlighting for certain values.
2020-02-06 18:20:42 -05:00
Michele
623d3ca0cb Add BFOTF to open dialog
Currently it's just a modification of BFTTF.cs, unsure if it's possible to have that file show both formats in the open dialog
2020-02-04 19:41:09 -08:00
KillzXGaming
d70fef1f9f BFLYT : Improve saving (material flags and part panes) 2020-02-03 17:17:49 -05:00
KillzXGaming
c01be70a71 Add dialog to copy skeletal animations 2020-02-02 20:40:26 -05:00
KillzXGaming
2df413a28d Fix errors 2020-02-02 19:26:45 -05:00
KillzXGaming
07f7747b41 BFLYT saving fixes (fix text length and alpha blend flag in material) 2020-02-02 19:22:48 -05:00
KillzXGaming
55cb4ad489 Add the same for GTX 2020-02-01 21:10:07 -05:00
KillzXGaming
bb6178f4d8 Improve nut texture naming to prevent dupes 2020-02-01 21:05:14 -05:00
KillzXGaming
5470ef95f4 Allow .nut to batch export 2020-02-01 21:01:40 -05:00
KillzXGaming
9f3b99aaf4 Disable apak file adding until file hashes can be calculated 2020-01-30 19:04:18 -05:00
KillzXGaming
ecf8dae084 Fix the active audio device being set for the audio player. 2020-01-30 17:38:10 -05:00
KillzXGaming
d6fce135eb Add KillLaKill IF bntx support 2020-01-30 17:22:03 -05:00
KillzXGaming
5faf57fcf0 More g1t formats and fixes 2020-01-29 21:08:14 -05:00
KillzXGaming
e9751d0cd0 Add .mod stuff 2020-01-29 20:01:33 -05:00
KillzXGaming
2093b3f02e APAK : save opened file formats 2020-01-29 19:47:53 -05:00
KillzXGaming
2d18e4bbdc Some layout file fixes 2020-01-29 17:17:12 -05:00
KillzXGaming
f090f7e757 A bunch of bug fixes and some features.
Add apak rebuilding.
Add support for joints for .mod.
Add support for part property panes attached to the heiarchy tree.
Fix BFLYT TXT1 text encoding for wii u to use big endian unicode.
Fix a bug with textures opening in quick access menu and bntx for gfpak.
Fix tex2 files being used for the bfres material editor which caused a crash.
Fix WTA support for decompressed files.
Auto search file names for WTA files if possible.
Fix g1t decoding images at the wrong position depeding on the header size being incorrect.
2020-01-29 16:08:29 -05:00
KillzXGaming
f5ccdbbb5a Add support for WTA archives 2020-01-28 21:00:03 -05:00
KillzXGaming
6216f98d48 BCH/BCRES : Add user data tab for skeletal animations. 2020-01-28 19:55:16 -05:00
KillzXGaming
86b73ea758 BFRES : Fix converting shader param types to SRT. 2020-01-28 19:04:49 -05:00
KillzXGaming
2ff790b234 .mod : cleanup 2020-01-27 19:55:20 -05:00
KillzXGaming
554c193a48 Some simple sharc fixes for v12 2020-01-27 19:17:05 -05:00
KillzXGaming
6e64b38a79 Check weight counter incase indices are only used for rigging 2020-01-27 19:15:49 -05:00
KillzXGaming
e399ad55f1 Some cleanup 2020-01-27 19:13:58 -05:00
KillzXGaming
4c72e33f0f Limit boneids and weight data based on vertex skin count to prevent explosions 2020-01-27 19:12:33 -05:00
KillzXGaming
056fdb3e1a Add game setting presets to BFRES importing.
These can cause signicant improvement to models with smaller sizes and potentially fix exploding and corruption (ie WWHD, SM3DW). Botw should have fixed crash issues now that the file size is signifcantly lower.
2020-01-27 18:44:03 -05:00
KillzXGaming
a251d5e216 Fix Wii U material visibily animation exporting 2020-01-27 16:18:17 -05:00
KillzXGaming
53bbe3c45a Some fixes to .mod 2020-01-26 19:32:40 -05:00
KillzXGaming
31c48c66fb New KCL preset UI with json files to configure them. 2020-01-26 16:51:04 -05:00
KillzXGaming
703db755b9 Update .mod format 2020-01-25 11:09:04 -05:00
KillzXGaming
fd90dfa89d Fix build errors 2020-01-24 21:26:07 -05:00
KillzXGaming
da0875cb83 BFRES : Fix DDS replacing causing larger sizes for batch replacing 2020-01-23 21:19:12 -05:00
KillzXGaming
65de09fffc Improve XTX texture names for exporting 2020-01-23 16:49:59 -05:00
KillzXGaming
e7197b7869 Fix some errors 2020-01-22 19:32:04 -05:00
KillzXGaming
a5d58aa268 Fix KCL AttributeByml generation for SMO materials 2020-01-22 19:14:20 -05:00
KillzXGaming
ca136b6d9e Add options to add, remove, rename, repack BEA files 2020-01-22 18:56:37 -05:00
KillzXGaming
a4da8d8c1f Add support for lzs archives 2020-01-22 17:58:29 -05:00
KillzXGaming
36188d5548 Fix XTX decoding 2020-01-22 17:39:56 -05:00
KillzXGaming
fec4f23d1e KCL : Impliment custom SMO collision editor which updates Attribute.byml 2020-01-19 19:30:17 -05:00
KillzXGaming
0c5bdca7ef More error fixes 2020-01-18 21:09:29 -05:00
KillzXGaming
de1c89a3c0 Add new animation window with curve viewer (WIP) 2020-01-18 21:02:18 -05:00
KillzXGaming
c740fcc362 BFLYT : Start to impliment pane copying (Experimental) 2020-01-18 20:59:49 -05:00
KillzXGaming
53149282a4 GFBMDL fixes and improvements for bone indices. 2020-01-18 18:46:39 -05:00
KillzXGaming
48af05941f Some BCRES/BCH adjustments 2020-01-16 20:51:23 -05:00
KillzXGaming
c407b1f0a3 Fix some bntx swizzle bugs 2020-01-15 18:12:12 -05:00
KillzXGaming
030ee7f176 Add support for APAK archives and improve bfres sampler detection. 2020-01-15 16:02:09 -05:00
KillzXGaming
bdf2b625e9 Start to impliment a base for custom bfres renderers 2020-01-14 21:15:37 -05:00
KillzXGaming
1f8390e03a Fix error with gfbanm 2020-01-14 21:07:34 -05:00
KillzXGaming
a80f6af6d5 Update more files 2020-01-14 20:43:36 -05:00
KillzXGaming
100cd88534 Start to add support for BCH 2020-01-14 20:26:51 -05:00
KillzXGaming
6d33556e2c Try to fix some errors 2020-01-14 19:35:41 -05:00
KillzXGaming
f7d674fe18 Start to impliment backend for depth/3D textures 2020-01-14 19:19:02 -05:00
KillzXGaming
9735fb0ce6 Update CMB to the latest with improved material parsing 2020-01-14 19:12:07 -05:00
KillzXGaming
e9a16b5f8a Make sure to set the address to 0 by default 2020-01-14 19:10:30 -05:00
KillzXGaming
96f24046b8 Fix BNSH decompiling as I was doing it wrong the whole time. 2020-01-14 19:09:07 -05:00
KillzXGaming
65aa3598a2 BFRES : Add JSON/YAML converting with scene animations. 2020-01-12 17:39:47 -05:00
KillzXGaming
a8adc0ab90 Fix bmd rendering and exporting. 2020-01-05 16:20:11 -05:00
KillzXGaming
7d722ad1f3 BFRES : Fix FSCN file filters 2020-01-05 12:46:25 -05:00
KillzXGaming
e741f3a087 BFRES : Fix scene animation context menus. 2020-01-05 12:40:30 -05:00
KillzXGaming
db81b19723 BNTX : Fix some SRGB conversions. 2020-01-05 12:24:44 -05:00
KillzXGaming
e70860e36d BARS : Update context menus 2020-01-03 19:09:55 -05:00
KillzXGaming
c326850ffd Fix new bflyt text panes with unicode encoding 2020-01-03 18:21:03 -05:00
KillzXGaming
d56acf67ef Improve texture importing for bflyt editor 2020-01-01 18:34:23 -05:00
KillzXGaming
f5c6797023 Add the option to reset UV transforms for GFBMDL imports 2019-12-29 16:11:07 -05:00
KillzXGaming
d7b22029fd BFRES : Improve bounding box calculation 2019-12-27 12:58:27 -05:00
KillzXGaming
bb587c5d1a LM3 Model fixes.
Fix rigging being applied making model invisible in viewer.
Fixed exporting textures with models.
2019-12-26 20:29:30 -05:00
Rei
7932198356 Add few more string to be generated 2019-12-24 23:03:57 -05:00
KillzXGaming
385900db9e Fix shader errors 2019-12-22 20:22:20 -05:00
KillzXGaming
e23db47d3a Add config option to dump shaders 2019-12-22 18:21:48 -05:00
KillzXGaming
eb248e6c36 GFPAK : Fix some extension bugs in quick access. 2019-12-21 14:34:34 -05:00
KillzXGaming
e2499bd864 GFBMDL : Fix removing existing mesh nodes on model import. 2019-12-21 14:27:39 -05:00
KillzXGaming
1eab95f3c4 Fix generating custom skinning index list for gfbmdl 2019-12-20 17:23:50 -05:00
KillzXGaming
b2baf9b449 Add support for negative frames on timeline 2019-12-19 19:51:57 -05:00
KillzXGaming
60e09b8511 Fix an error when replacing nutexb 2019-12-19 17:08:19 -05:00
KillzXGaming
fa8a409df6 BFLAN : Use frame size in animation info instead of tag. 2019-12-18 18:10:08 -05:00
KillzXGaming
36633e5479 Fix userdata being removed on texture replacing 2019-12-17 18:36:37 -05:00
KillzXGaming
c3f87fe24c Fix errors 2019-12-17 17:31:06 -05:00
KillzXGaming
f9127ebc04 Fix GFBMDL rigging issues with weights 2019-12-15 10:56:08 -05:00
KillzXGaming
8097845a1b Some fixes with gfbmdl faces 2019-12-14 21:37:17 -05:00
KillzXGaming
94bcbd5822 GFBMDL : Default normals W value to 1 to fix lighting bugs 2019-12-14 19:55:29 -05:00
KillzXGaming
6d4570981b Fix errors 2019-12-14 15:51:25 -05:00
KillzXGaming
49cabdd508 GFBMDL : Order attributes by type when added. 2019-12-14 15:48:10 -05:00
KillzXGaming
0a10f27787 Improve bounding box calculating for gfbmdl 2019-12-14 15:41:39 -05:00
KillzXGaming
af365f1b3e Swap tangents to fix weird lighting on imports 2019-12-14 14:47:50 -05:00
KillzXGaming
09a13a574b Set the calculated normals to the proper channel 2019-12-14 14:29:43 -05:00
KillzXGaming
6c0bc069d9 GFBMDL : Add the option to auto generate vertex colors as normals. 2019-12-14 14:27:12 -05:00
KillzXGaming
314e85c6f1 Adjust vertex color loading for gfbmdl 2019-12-14 13:34:28 -05:00
KillzXGaming
129e075c50 Improve GFBMDL export/replace filter 2019-12-14 13:33:47 -05:00
KillzXGaming
4cb103e987 Export GFBMDL second channel vertex colors. 2019-12-14 13:28:10 -05:00
KillzXGaming
2b65b5b3c9 Fix bug with disposing bntx 2019-12-14 11:23:02 -05:00
KillzXGaming
6f9154dd24 Improve gfpak quick access.
- Add option to extract/replace all files.
- Load shaders on expand and any supported format.
- Fix model file names.
2019-12-14 10:44:59 -05:00
KillzXGaming
50c965ae5f Fix data1.bin data searching 2019-12-13 16:48:35 -05:00
KillzXGaming
48b9af870d Fix potential atrifacts on alpha channel with image encoding.
Also fix a bug with linkdata/data.bin keeping stream open.
2019-12-13 15:59:59 -05:00
KillzXGaming
dda18c0fcb Add batch replace with multiple bntx files 2019-12-12 20:10:52 -05:00
KillzXGaming
72636c7726 Fix old bfres calculating rigid matrices as identity instead of zero. 2019-12-12 19:58:56 -05:00
KillzXGaming
ac474b1754 Add quick access menu for gfpak 2019-12-12 19:57:42 -05:00
KillzXGaming
0190aef233 GFBMDL : Fix swapping meshes with multiple nodes using the same key 2019-12-11 20:37:21 -05:00
KillzXGaming
5aca73d1bc GFBMDL : Disable automatic transforms for now 2019-12-11 20:18:51 -05:00
KillzXGaming
5da4e421d7 GFBMDL : Fix node index 2019-12-11 19:59:31 -05:00
KillzXGaming
08552f5eb6 GFBMDL : Regenerate skinning bones on model import. 2019-12-11 19:34:11 -05:00
KillzXGaming
08cfbd99c9 Fix exporting opened and saved file formats from archives 2019-12-11 19:08:16 -05:00
KillzXGaming
05fd417158 Allow custom array and depth count for not limited nutexb replacing. 2019-12-10 20:38:05 -05:00
KillzXGaming
8149b9092b Fix replacing cubemaps in nutexb 2019-12-10 20:34:38 -05:00
KillzXGaming
fa6ddbf3bd Reload editor on replacing gfbmdl 2019-12-10 19:04:45 -05:00
KillzXGaming
4df4c13828 Add support for GFBMDL saving and model editing.
- Models can be swapped with DAE files. You can use custom rigs, custom bones, and also import additional meshes. Materials are selected in the import settings and you can swap and export them as .json. Note there are a few models (ie trees) which break atm.
- Adds support for proper GFBMDL wrap modes from texture params.
2019-12-10 18:46:16 -05:00
KillzXGaming
5c4200884d Add GFPAK repacking 2019-12-10 18:39:55 -05:00
KillzXGaming
56eecea8d3 Some fixes.
Fix and cleanup repack method for archives.
Fix setting up original mip count (now is a optional setting).
Fixed format and some settings being applied for multiple selected textures.
2019-12-10 16:59:40 -05:00
KillzXGaming
851cbf380f Fix part panes with pane info section (smash main menu) 2019-12-07 21:24:45 -05:00
KillzXGaming
e4722ed1af Alot of additions.
General
- Always allow multiple instances of the tool by default. (UseSingleInstance in config.XML)
- Yaz0 now uses a new library using c code. This improves compression times and is comparable to wzst's yaz0 compressor. Thanks to AboodXD for helping port the code.
- Add flat buffer templates for gfbmdl and gfbanm.
- Redid UV editor. Now using new 2D engine with some improvements. Should work better with mutliple file formats than just bfres.
- Auto compress bfres with .sbfres extension.

BFLYT:
-Add animation reference list to panes if they have any animations.
- Note the animation editor in it is not functional yet.

GFBMDL
- Progress on model importing. Currently crashes on many tests so saving is currently disabled till i figure out why.
- Add new texture map display with UV coordinates shown. Displays how transforms are handled.
- Add option to export materials and models entirely as .json files.

DAE
- improve bone/joint check.
2019-12-07 20:16:13 -05:00
KillzXGaming
f979f73162 BFLYT : Add support for user data structs. 2019-12-07 17:55:43 -05:00
KillzXGaming
cf32ba0cb9 Improve PCK support 2019-12-07 17:35:19 -05:00
KillzXGaming
4de9f3eca7 BFRES Wii U : Fix updating bone order from updating dictionary keys. 2019-12-06 20:31:39 -05:00
KillzXGaming
d1b0819c53 Fix BFLYTs with user data not linked to panes. 2019-12-03 20:49:19 -05:00
KillzXGaming
0e8300f3f1 Add option to delete gfpak files 2019-12-03 17:26:24 -05:00
KillzXGaming
45a0ada32e Gfmdl and gfpak fixes.
Check gfbmdl textures list on export for exporting active bntx files.
Dispose file formats properly for gfbmdl
2019-11-27 12:32:19 -05:00
KillzXGaming
cb1d5097b2 GFBMDL : fix mesh names 2019-11-26 21:18:52 -05:00
KillzXGaming
8d797f42e3 GFBMDL : Check for valid mesh index 2019-11-26 21:14:20 -05:00
KillzXGaming
e0cb642183 Fix GFMDL bone indices with a more accurate skin check 2019-11-26 20:22:26 -05:00
KillzXGaming
53a70c2381 Fix gfbmdl vertex colors 2019-11-26 20:18:50 -05:00
KillzXGaming
a8ad624e53 Prevent texture dupes in gfbmdl 2019-11-26 20:12:03 -05:00
KillzXGaming
61550ac786 Alot of Pokemon additions.
Redid gfmdl parser completely. This allows the file to be rebuilt for custom models which will be coming soon.
Textures now load in the gfmdl section to easily edit without touching bntx.
Added a basic material editor (more like a viewer atm) for gfbmdl.
Added a Pokemon viewer (requires game path to be set). This shows icons of all the pokemon and opens the archive they are located in.
Start to parse GFBANIM. Not previewable yet because of rotations breaking. If anyone wants to help though be my guest :)
Basic GFBANIMCFG support. It can be used to view animation file names.
2019-11-26 19:54:59 -05:00
KillzXGaming
8f81c561f3 Update grezzo formats to support skeleton animations 2019-11-26 17:05:37 -05:00
KillzXGaming
1f558dde15 Fix param types showing in yaml 2019-11-25 18:04:53 -05:00
KillzXGaming
674e1305ad Wii U BFRES : Fix assigning param type to SRT anims. 2019-11-25 17:58:03 -05:00
KillzXGaming
8acf9e7831 Fix RGB5A1 texture decoding and some chanel issues on others 2019-11-25 17:18:15 -05:00
KillzXGaming
589d4ea39e Improve gfpak hash calculating based on pkNX 2019-11-24 20:47:41 -05:00
KillzXGaming
f141520346 Fix renaming bntx not applying to file name in header 2019-11-24 17:33:04 -05:00
KillzXGaming
9bfa0bb1fd Improve gfbmdl loading 2019-11-23 18:13:23 -05:00
KillzXGaming
f443ae4f14 FTEX : Keep texture instance intact when replace all is used 2019-11-23 16:35:08 -05:00
KillzXGaming
940994604a Some cleanup 2019-11-23 16:06:33 -05:00
KillzXGaming
211b530c45 Remove uneeded pop matrix possibly causing a crash 2019-11-23 15:52:41 -05:00
KillzXGaming
32d8d393b1 Quick debug test for layouts 2019-11-23 15:33:54 -05:00
KillzXGaming
43766d479b Keep original mip and format for replace all (bfres ftex) 2019-11-23 15:08:20 -05:00
KillzXGaming
2432eca65f Fix LM2 data searching 2019-11-22 21:29:29 -05:00
KillzXGaming
f0c3fc5465 Add proper hash matching for GFPAK
Also add latest turbo muunt editor files
2019-11-21 21:46:51 -05:00
KillzXGaming
2a62ad98ab Some fixes.
Check for all meshes to apply default bfres settings.
Expand/collapse only if tree nodes have children.
2019-11-18 19:01:40 -05:00
KillzXGaming
1f37e182b5 Some cleanup. Start on gfbanm parsing 2019-11-17 20:52:03 -05:00
KillzXGaming
7e38484a3e BNTX : Add support for D32_FLOAT_S8X24_UINT 2019-11-17 09:24:53 -05:00
KillzXGaming
39d2307cd3 Some fixes.
Fix DAE exporting if textures fail to export.
Fix bone detection for FBX
Add model index for LM3 models.
2019-11-17 08:59:11 -05:00
KillzXGaming
25705c730e GFBMDL : Add better bone index check 2019-11-16 17:04:52 -05:00
KillzXGaming
7ebcb88342 Improve exporting all models for LM3 2019-11-16 16:51:20 -05:00
KillzXGaming
e2cd3ff150 Fix typos 2019-11-16 16:41:16 -05:00
KillzXGaming
6cbe123a8c Fix converting bfres primitive types to gl 2019-11-16 16:38:07 -05:00
KillzXGaming
c3b1dd845a Fix LM3 dictionaries if in an archive and also fix model exporting materials. 2019-11-16 16:19:45 -05:00
KillzXGaming
317e4f7367 Try to support cmb rigging 2019-11-16 15:39:40 -05:00
KillzXGaming
2f328a2664 DAE : Remove spaces in attribute IDs. 2019-11-16 15:34:25 -05:00
KillzXGaming
fe68a22e0c CMB : fix reading unknowns in mesh section 2019-11-16 15:18:55 -05:00
KillzXGaming
7d4ef5adde Add option to collapse and expand any tree node type 2019-11-16 15:14:10 -05:00
KillzXGaming
e7246fb79f Fix DAE export if no skeleton is used 2019-11-16 13:48:06 -05:00
KillzXGaming
f8a1e1f82d Fix build issues 2019-11-15 20:07:46 -05:00
KillzXGaming
aa9cef7bb0 Allow shader parameters to be adjusted in size 2019-11-15 20:05:42 -05:00
KillzXGaming
9c3ac9ae9f Improve DAE exporting.
A brand new DAE exporter is now used built off the one used by Ploaj and Crossmod devs. This replaces the old assimp exporter which was very buggy.
The DAE exporter has many improvments such as multiple materials per mesh, node tree fixes, material improvements, and lots more.
Single binded bfres (only using a bone index) will now be rigged if exported as DAE.
More progress on CMB saving. It's almost done, still needs some adjustments.
Fixed GFMDL rigging on certain models (thanks to RTB's script to reference what controlled the bone type).
2019-11-15 19:27:03 -05:00
KillzXGaming
762ec86bf0 Add folders for gfpak files based on format 2019-11-14 18:49:28 -05:00
KillzXGaming
e5ec3bafc1 GFMDL : Another adjustment to fix some version checks. 2019-11-12 19:47:13 -05:00
KillzXGaming
5c65cef106 Add header size checks for determing versions 2019-11-12 19:03:27 -05:00
KillzXGaming
8fdd61253a Fix build errors 2019-11-12 17:11:35 -05:00
KillzXGaming
21a459846e Fix bones that parent no children on dae export 2019-11-12 16:50:43 -05:00
KillzXGaming
b225c942e5 A few fixes.
Fix viewport not loading base drawables.
Fix animation player having issues with new animation classes.
Fix gfmdl for pkmn lets go.
Disable vertex color loading for gfmdl for now till fixed.
2019-11-12 16:29:00 -05:00
KillzXGaming
761432a140 Gfmdl fixes for new buffer formats 2019-11-11 18:40:05 -05:00
KillzXGaming
5fe45706ea Fix gfmdl vertex colors 2019-11-11 17:45:15 -05:00
KillzXGaming
6bc40a94a7 Add batch editing panes if multiple are selected. 2019-11-11 16:54:39 -05:00
KillzXGaming
50191e4679 Quick gfmdl fix for newer versions. 2019-11-11 16:30:40 -05:00
KillzXGaming
ee9c255be4 Fix cmb parsing issues 2019-11-10 17:07:20 -05:00
KillzXGaming
ed4ef23eb7 Fix actor renaming for odyssey 2019-11-10 16:37:21 -05:00
KillzXGaming
7d4ad62dd0 Start to add more progress on cmb saving 2019-11-10 16:24:54 -05:00
KillzXGaming
cc5e17e984 Add more texture formats to batch export 2019-11-10 13:17:41 -05:00
KillzXGaming
678cbb7bdb Allow bfres/bntx to batch export properly 2019-11-10 12:46:46 -05:00
KillzXGaming
616a2604c4 Add batch export option for all supported texture formats. 2019-11-10 12:36:56 -05:00
KillzXGaming
132f312484 Try to fix updates failing 2019-11-10 10:13:56 -05:00
KillzXGaming
48af63444c A few more LM3 fixes 2019-11-10 09:55:26 -05:00
KillzXGaming
ee82fb1218 Some LM3 adjustments 2019-11-10 09:45:39 -05:00
KillzXGaming
ddfdbdc724 Update LM2 dictionary and chunk tables.
Searching chunks and the associated section is more accurate for LM2.
Chunk types are also improved
2019-11-10 08:53:05 -05:00
KillzXGaming
71c7776f37 Quick fix for the hash list check 2019-11-10 08:49:51 -05:00
KillzXGaming
c78251aab3 A few additions
Update primative type for meshes. This will allow custom primative types for rendering.
Add strikers and punch out wii model/texture support (older formats of LM2/LM3).
Add LM2 Arcade model support (updated format of MKAGPDX)
Add support for LM2/LM3 pck audio archives.
Add support for LM2 message/localization data.
2019-11-10 08:41:17 -05:00
KillzXGaming
fb81cc93b0 Fix MKAGPDX models mssing mesh data 2019-11-09 13:40:48 -05:00
KillzXGaming
0435f651e1 Add multi thread option for encoding images faster. 2019-11-07 17:40:48 -05:00
KillzXGaming
aab84f91e6 BFLYT Editor: Rendering fixes 2019-11-06 21:27:52 -05:00
KillzXGaming
73c800f0c9 BFLYT Editor: Add option to add part panes. 2019-11-06 21:01:29 -05:00
KillzXGaming
367e9a1287 Fix face format for lm3 meshes 2019-11-03 18:54:50 -05:00
KillzXGaming
574c5b0559 Add hashes for LM3 2019-11-03 18:26:42 -05:00
KillzXGaming
30d4a538f1 A few more fixes and additions.
Fix LM3 meshes with large amounts of faces (ie Luigi's cutscene model).
Improvements to hashing.
Start on LM3 saving.
Start to support texture replacing.
2019-11-03 18:25:47 -05:00
KillzXGaming
120a86f4f5 Fix batch export multi select for mkagpdx models 2019-11-03 11:50:45 -05:00
KillzXGaming
eb1987eabd Fix build errors 2019-11-03 11:24:42 -05:00
KillzXGaming
63cc5db70a Disable some debugging stuff 2019-11-03 10:52:58 -05:00
KillzXGaming
14982b80be A few additions
Add NLG hash calculator.
Add option to swap bone transform from csv max script.
2019-11-03 10:38:17 -05:00
KillzXGaming
973afc97ef Fix build 2019-11-02 20:27:58 -04:00
KillzXGaming
b8be2d31f8 Texture mapping fixes for LM3. 2019-11-02 19:43:22 -04:00
KillzXGaming
d54c835bc4 Cleanup file location a bit. Fix LM3 faces for certain formats 2019-11-02 19:35:08 -04:00
KillzXGaming
519d9a734d A few more texture adjustments 2019-11-01 17:39:14 -04:00
KillzXGaming
f25af1afce Quick lm3 texture fix for BC5S 2019-11-01 17:28:37 -04:00
KillzXGaming
f5605f6878 LM3 fixes. and improvements.
Fixed UV issues which would show up broken.
Improved the tree loading. Havok files are loaded, and additional string data.
2019-10-31 18:13:42 -04:00
KillzXGaming
544a30639b Add support for Luigi's Mansion 3 Models 2019-10-30 17:43:26 -04:00
KillzXGaming
ed961ef10a Add support for BC4 alpha for bflim. 2019-10-29 19:08:40 -04:00
KillzXGaming
d1eb6a612d Fix for removing part panes 2019-10-29 19:04:34 -04:00
KillzXGaming
ee184391fb Add WIP LM3 .dict/.data support.
LM3 uses an updated format of LM2 Darkmoon. Currently this can now load textures.  Most of them should load fine, however ASTC_6x6 textures keep giving me issues so those may or may not error out.
Models for LM3 is currently not supported due to the various changes but is planned.
2019-10-27 10:48:16 -04:00
KillzXGaming
8939687f6a Update files.
Load vertex positions for layouts in rectangle class. This will be used for proper rotation adjusting.
Add latest muunt editor files.
Add somewhat functional mk8 camera bin editor. Points can be moved around. The map orientation determines the position of the icons to map over the model.
Fix window content UV map for layouts.
Add 2D KCL renderer for top down KCL preview for both muunt and camera editors.
2019-10-26 20:28:56 -04:00
KillzXGaming
54b6790afe Make gmx models exportable 2019-10-21 17:38:21 -04:00
KillzXGaming
e4654f8dff Add support for exporting gamma correction if enabled 2019-10-20 20:37:37 -04:00
KillzXGaming
a8016a2868 Improve load times significantly for layout files.
Shaders are now compiled only once and load statically instead of being per material.
2019-10-20 19:30:58 -04:00
KillzXGaming
0da677980f Handle all rotations from matrix in shaders so they render accurate. 2019-10-20 16:41:58 -04:00
KillzXGaming
3be9e0c9de Fix parent transform for rotation if pane uses matrix from shader 2019-10-20 15:36:15 -04:00
KillzXGaming
999a0c76ae Reload the animation when clicked on for updating editor values 2019-10-20 13:55:21 -04:00
KillzXGaming
880afd25d4 Few more fixes. Editor should be fully functional 2019-10-20 13:30:09 -04:00
KillzXGaming
3d69ad3fb7 A few more fixes with adding bxlan groups 2019-10-20 13:14:21 -04:00
KillzXGaming
871fc44178 More additions.
More progress on the basic pane animation editor. It can add and clear entries for frames, groups, etc.
Add the latest muunt editor files. A wip editor which is currently disabled. Planned to edit object placement paths paths supporting both 2D and 3D views.
2019-10-20 12:57:48 -04:00
KillzXGaming
347fd412ce Scale bones according to preview scale properly 2019-10-19 17:49:20 -04:00
KillzXGaming
27a7469201 Start to implement layout animation mode.
This mode will allow properties to be keyed when finished.
Animated panes can properly be picked if moved.
Improve the fov for perspective view.
2019-10-19 17:36:16 -04:00
KillzXGaming
440939f91d Fix preview scale for SMO costumes 2019-10-19 15:48:18 -04:00
KillzXGaming
b23876416c Improve pane transformation of children from parent 2019-10-19 14:09:16 -04:00
KillzXGaming
3aa4388e23 Few more layout editor improvements.
Improve window pane selection rendering (all frame lines show as red).
Add option to select all panes (ctrl + a).
2019-10-18 21:23:44 -04:00
KillzXGaming
098c8fb842 Auto calculate hashed texture names for layouts in sarcs 2019-10-18 18:59:04 -04:00