Commit graph

42 commits

Author SHA1 Message Date
KillzXGaming
bb74507c0f Update sln version 2020-05-09 20:06:09 -04:00
KillzXGaming
536c5435bc Some adjustments to gfbanm 2020-05-09 19:50:12 -04:00
Golui
d8970a0363 Basic SwSh Animation previewing 2020-05-10 00:26:18 +02:00
KillzXGaming
e5f0745818 Improve gfbmdl UV transformation for diffuse textures 2020-02-12 19:15:31 -05:00
KillzXGaming
d991a23980 Add support for G1M model files. Rewrite some bone properties. 2020-02-06 19:47:32 -05:00
KillzXGaming
53149282a4 GFBMDL fixes and improvements for bone indices. 2020-01-18 18:46:39 -05:00
KillzXGaming
1f8390e03a Fix error with gfbanm 2020-01-14 21:07:34 -05:00
KillzXGaming
100cd88534 Start to add support for BCH 2020-01-14 20:26:51 -05:00
KillzXGaming
f5c6797023 Add the option to reset UV transforms for GFBMDL imports 2019-12-29 16:11:07 -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
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
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
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
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
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
9bfa0bb1fd Improve gfbmdl loading 2019-11-23 18:13:23 -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