Commit graph

915 commits

Author SHA1 Message Date
KillzXGaming
d26f2373ac Obtain fileformat from archive roots for additional file menus. 2019-12-31 21:20:48 -05:00
KillzXGaming
e122021cdc Cleanup 2019-12-31 21:17:15 -05:00
KillzXGaming
224e7bd8d7 Fix treenode tag casting 2019-12-31 21:12:06 -05:00
KillzXGaming
628283be49 Add right click option to open file in file explorer. 2019-12-31 20:13:08 -05:00
KillzXGaming
6cdc0c8d43 Setup logs for bfres shaders 2019-12-29 14:45:03 -05:00
KillzXGaming
738bebba1a Revert yaz0 compressor temporarily till I fix some bugs 2019-12-27 17:00:41 -05:00
KillzXGaming
e23db47d3a Add config option to dump shaders 2019-12-22 18:21:48 -05:00
KillzXGaming
7c396674f0 Try to prevent any potential errors if config files fail to save. 2019-12-20 17:59:57 -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
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
9cfb49de3a Fix tangent/bitangent calculation on polygon groups 2019-12-14 17:34:25 -05:00
KillzXGaming
7ffa8a4045 Automatically write flat buffer templates on converion to prevent outdated ones. 2019-12-14 16:46:20 -05:00
KillzXGaming
315c7bbd79 Automatically convert bitmaps with different pixel formats while keeping 32bppArgb intact 2019-12-14 16:42:53 -05:00
KillzXGaming
ac7426c1dc GFBMDL : Use floats for additional parameters for texture maps 2019-12-14 15:51:51 -05:00
KillzXGaming
6c0bc069d9 GFBMDL : Add the option to auto generate vertex colors as normals. 2019-12-14 14:27:12 -05:00
KillzXGaming
4cb103e987 Export GFBMDL second channel vertex colors. 2019-12-14 13:28:10 -05:00
KillzXGaming
ffb4e2022b Improve label notifcation in image editor 2019-12-13 16:12:09 -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
2761a3b2a4 Fix missing files 2019-12-12 20:07:29 -05:00
KillzXGaming
cf0e5ccc26 Fix errors 2019-12-12 20:02:27 -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
114de9ba8a Check for github release assets to prevent index issue 2019-12-11 19:13:25 -05:00
KillzXGaming
08cfbd99c9 Fix exporting opened and saved file formats from archives 2019-12-11 19:08:16 -05:00
KillzXGaming
217f53a148 Fix missing flatbuffer directory. 2019-12-11 17:09:35 -05:00
KillzXGaming
6913054fc7 Improve cubemap exporting for DDS 2019-12-10 20:29:10 -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
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
cbdce592ab Fix errors 2019-12-07 20:24:54 -05:00
KillzXGaming
6da93a9b34 Try to fix build 2019-12-07 20:22:28 -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
668a1a5201 Export BC4 and BC5 as older DDS versions to work with more programs. 2019-12-07 16:08:29 -05:00
KillzXGaming
8d24ab07dc Adjust DDS to use older versions if possible 2019-11-28 20:11:46 -05:00
KillzXGaming
a6246ace11 Fix alignment in SARCs in SARCs.
Should fix potential crashes or texture corruption with these.
2019-11-27 09:12:22 -05:00
KillzXGaming
eb8f70f752 Another fix 2019-11-26 20:01:29 -05:00
KillzXGaming
57f9a4fbd3 Fix build errors 2019-11-26 20:00:19 -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
b9d5eb03da Fix build errors 2019-11-26 18:01:39 -05:00
KillzXGaming
8f81c561f3 Update grezzo formats to support skeleton animations 2019-11-26 17:05:37 -05:00
KillzXGaming
1bb7c44f20 Auto hide children in tree if holding down shift. 2019-11-26 16:29:13 -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
1c787477d1 Quick channel fix for compressed textures 2019-11-24 18:52:40 -05:00
KillzXGaming
b021e96c52 Fix BGR channels being swapped wrong 2019-11-24 16:53:25 -05:00
KillzXGaming
0571546bb9 GFBModel shader fixes/improvements 2019-11-23 17:07:31 -05:00
KillzXGaming
68f9731b98 Add DAE setting to disable vertex colors. Load gfmdl vertex colors. 2019-11-23 17:04:58 -05:00
KillzXGaming
bb5599bfd7 Fix build errors 2019-11-23 16:09:56 -05:00
KillzXGaming
940994604a Some cleanup 2019-11-23 16:06:33 -05:00