1
0
mirror of synced 2024-09-24 03:28:21 +02:00
Commit Graph

905 Commits

Author SHA1 Message Date
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
KillzXGaming
f4506d9b63 Add archive menu to opened archive files 2019-11-22 19:55:48 -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
5518ea598d Archive editing improvements.
Add file/folder clearing on folders and archive.
Add folder replacing.
2019-11-18 21:10:54 -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
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
9c5185bbde DAE : Improve bone detection on importing and fix default bone index. 2019-11-16 18:55:08 -05:00
KillzXGaming
2a330a3c20 DAE : Fix assigning materials to meshes without a controller. 2019-11-16 18:02:01 -05:00
KillzXGaming
2030582de2 DAE : Add better check for valid material index 2019-11-16 16:54:15 -05:00
KillzXGaming
7ebcb88342 Improve exporting all models for LM3 2019-11-16 16:51:20 -05:00