Commit graph

459 commits

Author SHA1 Message Date
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