Commit graph

95 commits

Author SHA1 Message Date
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
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
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
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
e2cd3ff150 Fix typos 2019-11-16 16:41:16 -05:00
KillzXGaming
69e45dcead Try to fix file excluding 2019-11-16 10:35:29 -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
21a459846e Fix bones that parent no children on dae export 2019-11-12 16:50:43 -05:00
KillzXGaming
c78251aab3 A few additions
Update primative type for meshes. This will allow custom primative types for rendering.
Add strikers and punch out wii model/texture support (older formats of LM2/LM3).
Add LM2 Arcade model support (updated format of MKAGPDX)
Add support for LM2/LM3 pck audio archives.
Add support for LM2 message/localization data.
2019-11-10 08:41:17 -05:00
KillzXGaming
622011d025 Try to fix build errors 2019-11-09 17:36:52 -05:00
KillzXGaming
1472c4e112 Exporting adjustment for faces to prevent errors 2019-11-02 19:14:22 -04:00
KillzXGaming
a3f76e99d0 Add additional root node and adjust method for root obtaining 2019-08-28 16:32:58 -04:00
KillzXGaming
2f8041bc93 Improve PTCL color editing and add texture icon previewing. 2019-08-19 18:28:59 -04:00
KillzXGaming
1ab2164339 Rewrite all the texture modes to use proper enums 2019-08-03 15:23:05 -04:00
KillzXGaming
9011f2a4c7 Try to dispose rarc properly 2019-07-28 12:45:39 -04:00
KillzXGaming
5582f31c38 Add option to export lm2 dark moon models 2019-07-25 09:36:49 -04:00
KillzXGaming
6cfb6a214f Adjust the toolbox name to no longer include "Switch" in it. 2019-07-16 17:35:21 -04:00
KillzXGaming
5682def8b7 Another bone fix 2019-07-05 20:41:55 -04:00
KillzXGaming
f5e7996bd3 Another importing fix from my stupid mistakes 2019-07-05 19:28:49 -04:00
KillzXGaming
b10aaed86e Some more fixes with importing 2019-07-05 19:24:56 -04:00
KillzXGaming
5a195e11af Get specific "Root" bones for botw 2019-07-05 18:47:14 -04:00
KillzXGaming
d6e67ac6e6 Automatically search for a proper skl root bone if possible 2019-07-05 18:21:47 -04:00
KillzXGaming
f6a21ee01f Root bone name adjustments and adjust csv settings 2019-07-05 17:56:09 -04:00
KillzXGaming
52d42358b2 Create empty meshes for filling it meshes that have no vertices 2019-07-03 12:39:23 -04:00
KillzXGaming
31e5f42373 Limt skin count by default to prevent any possible issues 2019-06-23 11:04:34 -04:00
KillzXGaming
cbef8ab438 Fix fbx mesh names 2019-06-23 10:32:07 -04:00
KillzXGaming
b62305e2af quick fix for importing fbx 2019-06-23 10:22:12 -04:00
KillzXGaming
2aea6eb28a Fix dae importing having unmapped bones 2019-06-23 09:00:36 -04:00
KillzXGaming
09e9bf0e95 Better gfbmdl materials 2019-06-21 22:24:33 -04:00
KillzXGaming
54c4bac8bc Add MKAGPDX model viewing and exporting 2019-06-19 14:57:59 -04:00
KillzXGaming
ae1f2ebb79 Fix exporting individual objects 2019-06-16 09:53:41 -04:00
KillzXGaming
c9d3c3efa9 Make sure to use mesh indices on export 2019-06-15 09:28:44 -04:00
KillzXGaming
a37ad31922 Disable a few things so it exports properly 2019-06-15 09:24:25 -04:00
KillzXGaming
a7db504a5a Update back to latest assimp and now use a new work around for bone names 2019-06-15 09:14:35 -04:00
KillzXGaming
0c11a29e03 Add MKAGPDX PAC support 2019-06-13 17:31:35 -04:00
KillzXGaming
f6fdae96f6 A few fixes to archives 2019-06-08 20:19:55 -04:00
KillzXGaming
28cc63a95c Some exporting improvements. 2019-06-08 14:50:10 -04:00
KillzXGaming
375d054522 Add support for BARS with only meta entries 2019-06-07 16:56:54 -04:00
KillzXGaming
e531a779ed Small fixes and additions
Fixed mesh name exporting for assimp.
Fixed clearing models for bfres.
Fixed limit skin count setting.
Fixed material index breaking if a material is removed for bfres.
Update the vertex data properly if a model is imported as new.
Added AMTA editing for BARS.
Added audio player for BARS.
2019-06-07 16:31:13 -04:00
KillzXGaming
157ff75b79 Add model cycling if multiple models are active in an editor.
Models can be cycled in the same editor. The active one now gets properly set. You can adjust the combo box to preview multiple models in the scene.
Fixed a bug where some models would project on the top of the screen as duplicates.
2019-06-06 15:40:32 -04:00
KillzXGaming
13b346ddde Display emblem on karts properly 2019-06-04 20:17:19 -04:00
KillzXGaming
921b267b44 Improve legacy support and a few fixes.
Cursor for param editing doesn't reset anymore to the top right of the screen.
Fixed some direct c tex issues with loading.
2019-05-31 15:08:14 -04:00
KillzXGaming
f787c59627 Add setting to limit vertex skin to better help prevent crashes 2019-05-27 20:02:57 -04:00
KillzXGaming
0763f080c0 Don't optmize the attribute formats atm as they cause the game to crash on certain skin amounts 2019-05-26 16:44:35 -04:00
KillzXGaming
e3a410a75a More adjustments 2019-05-26 15:33:16 -04:00
KillzXGaming
e720214b5e Add option to configure the rotation of the bones manually 2019-05-25 14:27:39 -04:00