Commit graph

244 commits

Author SHA1 Message Date
KillzXGaming
7842680c3b Apply channel components for exporting dae textures 2020-04-23 17:03:14 -04:00
KillzXGaming
a3be9b111d BFRES : Fix bone indices remapping for batch exported models 2020-04-18 16:07:06 -04:00
KillzXGaming
9c9c9126a5 DA4E : Fix a bug with material mapping on export 2020-04-01 11:45:08 -04:00
KillzXGaming
00a48d4b4a Some adjustments 2020-02-28 16:52:24 -05:00
KillzXGaming
cc81f88c9a Update assimp to the latest.
This build will fix DAE vertex colors importing wrong. May fix other potential importing issues.
2020-02-17 20:12:47 -05:00
KillzXGaming
ba43fa5633 Fix periods for SMD again, this time on the right save method 2020-02-13 18:55:57 -05:00
KillzXGaming
9918b811a8 Fix SMD exporting for different culture decimal seperators 2020-02-11 17:55:57 -05:00
KillzXGaming
817367343a Fix errors 2020-02-08 14:54:18 -05:00
KillzXGaming
238b6f60fb Add CTXB rebuilding and editing (encoding very WIP) 2020-02-08 12:03:37 -05:00
KillzXGaming
6b58bf4b03 Push the right file for assigning materials 2020-02-08 10:52:07 -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
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
bb7302e36c Anim : Set output to angular for rotation types. 2020-01-20 18:16:14 -05:00
KillzXGaming
98b7ef49af Quick .anim fix to properly work in maya 2020-01-19 12:31:36 -05:00
KillzXGaming
de1c89a3c0 Add new animation window with curve viewer (WIP) 2020-01-18 21:02:18 -05:00
KillzXGaming
1302a096b0 Prevent duplicate verts from transforming UVs multiple times 2020-01-18 17:41:36 -05:00
KillzXGaming
8fc7693a51 DAE : Few more setting fixes 2020-01-18 17:30:19 -05:00
KillzXGaming
fad6721fce Update bfres libraries to latest 2020-01-16 21:04:02 -05:00
KillzXGaming
a80f6af6d5 Update more files 2020-01-14 20:43:36 -05:00
KillzXGaming
f7d674fe18 Start to impliment backend for depth/3D textures 2020-01-14 19:19:02 -05:00
KillzXGaming
386f9f6991 Quick fix for .anim 2020-01-07 19:13:11 -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
6913054fc7 Improve cubemap exporting for DDS 2019-12-10 20:29:10 -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
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
8acf9e7831 Fix RGB5A1 texture decoding and some chanel issues on others 2019-11-25 17:18:15 -05:00
KillzXGaming
68f9731b98 Add DAE setting to disable vertex colors. Load gfmdl vertex colors. 2019-11-23 17:04:58 -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
KillzXGaming
e2cd3ff150 Fix typos 2019-11-16 16:41:16 -05:00
KillzXGaming
181afe6b02 DAE : Add progressbar and dialog confirmation for new exporter. 2019-11-16 16:27:57 -05:00
KillzXGaming
317e4f7367 Try to support cmb rigging 2019-11-16 15:39:40 -05:00
KillzXGaming
76ff237935 Convert triangle strip primitive types for DAE. 2019-11-16 14:08:27 -05:00
KillzXGaming
e7246fb79f Fix DAE export if no skeleton is used 2019-11-16 13:48:06 -05:00
KillzXGaming
13933911cb Properly fix DAEs with zero weights 2019-11-16 13:03:24 -05:00
KillzXGaming
134a21bab0 Fix DAE decimal seperators on different languages 2019-11-16 11:03:11 -05:00
KillzXGaming
69e45dcead Try to fix file excluding 2019-11-16 10:35:29 -05:00
KillzXGaming
168cd8c5ca More DAE fixes.
Fix the vertex skin groups so only rigged bones appear per mesh.
Fixed possible uv channel issue.
Possibly fixed skinning issues.
2019-11-16 09:56:47 -05:00
KillzXGaming
bb23dbb3d7 Update bfres lib 2019-11-16 08:59:28 -05:00
KillzXGaming
2d217b6b94 Add option to use previous exporter incase something breaks 2019-11-16 08:58:10 -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
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