1
0
mirror of synced 2024-11-14 19:17:39 +01:00
Commit Graph

168 Commits

Author SHA1 Message Date
KillzXGaming
6c0bc069d9 GFBMDL : Add the option to auto generate vertex colors as normals. 2019-12-14 14:27:12 -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
a09db22b48 Fix layout file properties with proper tab loading. 2019-12-10 17:03:18 -05:00
KillzXGaming
0c58133531 Apply fixes to gx2 editor 2019-12-10 17:00: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
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
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
1bb7c44f20 Auto hide children in tree if holding down shift. 2019-11-26 16:29:13 -05:00
KillzXGaming
1c787477d1 Quick channel fix for compressed textures 2019-11-24 18:52:40 -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
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
7e38484a3e BNTX : Add support for D32_FLOAT_S8X24_UINT 2019-11-17 09:24:53 -05:00
KillzXGaming
e2cd3ff150 Fix typos 2019-11-16 16:41:16 -05:00
KillzXGaming
6bc40a94a7 Add batch editing panes if multiple are selected. 2019-11-11 16:54:39 -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
0435f651e1 Add multi thread option for encoding images faster. 2019-11-07 17:40:48 -05:00
KillzXGaming
aab84f91e6 BFLYT Editor: Rendering fixes 2019-11-06 21:27:52 -05:00
KillzXGaming
5ae85e5e60 BFLYT Editor: Adjust the pane drag/drop in treeview. 2019-11-06 21:03:34 -05:00
KillzXGaming
73c800f0c9 BFLYT Editor: Add option to add part panes. 2019-11-06 21:01:29 -05:00
KillzXGaming
544a30639b Add support for Luigi's Mansion 3 Models 2019-10-30 17:43:26 -04:00
KillzXGaming
ed961ef10a Add support for BC4 alpha for bflim. 2019-10-29 19:08:40 -04:00
KillzXGaming
0694817a1f Fix build errors 2019-10-27 11:15:57 -04:00
KillzXGaming
8939687f6a Update files.
Load vertex positions for layouts in rectangle class. This will be used for proper rotation adjusting.
Add latest muunt editor files.
Add somewhat functional mk8 camera bin editor. Points can be moved around. The map orientation determines the position of the icons to map over the model.
Fix window content UV map for layouts.
Add 2D KCL renderer for top down KCL preview for both muunt and camera editors.
2019-10-26 20:28:56 -04:00
KillzXGaming
a8016a2868 Improve load times significantly for layout files.
Shaders are now compiled only once and load statically instead of being per material.
2019-10-20 19:30:58 -04:00
KillzXGaming
0da677980f Handle all rotations from matrix in shaders so they render accurate. 2019-10-20 16:41:58 -04:00
KillzXGaming
2205174ffe Fix visibilty anim groups for layout animations 2019-10-20 15:26:25 -04:00
KillzXGaming
880afd25d4 Few more fixes. Editor should be fully functional 2019-10-20 13:30:09 -04:00
KillzXGaming
3d69ad3fb7 A few more fixes with adding bxlan groups 2019-10-20 13:14:21 -04:00
KillzXGaming
871fc44178 More additions.
More progress on the basic pane animation editor. It can add and clear entries for frames, groups, etc.
Add the latest muunt editor files. A wip editor which is currently disabled. Planned to edit object placement paths paths supporting both 2D and 3D views.
2019-10-20 12:57:48 -04:00
KillzXGaming
4bea7a22f7 More theme tweaks for white theme 2019-10-19 20:59:34 -04:00
KillzXGaming
a480afe31c Improve white theme 2019-10-19 20:32:44 -04:00
KillzXGaming
347fd412ce Scale bones according to preview scale properly 2019-10-19 17:49:20 -04:00
KillzXGaming
27a7469201 Start to implement layout animation mode.
This mode will allow properties to be keyed when finished.
Animated panes can properly be picked if moved.
Improve the fov for perspective view.
2019-10-19 17:36:16 -04:00
KillzXGaming
440939f91d Fix preview scale for SMO costumes 2019-10-19 15:48:18 -04:00
KillzXGaming
5f2dbd1b56 Add fps counter to animation timeline and fix tick speed (layout editor) 2019-10-19 14:58:13 -04:00
KillzXGaming
b2b27cb807 Add support for extra srt types for bfres params 2019-10-18 21:56:07 -04:00
KillzXGaming
3aa4388e23 Few more layout editor improvements.
Improve window pane selection rendering (all frame lines show as red).
Add option to select all panes (ctrl + a).
2019-10-18 21:23:44 -04:00
KillzXGaming
63fdff7b5e Fix removing textures from archive for layout editor. 2019-10-18 17:08:44 -04:00
KillzXGaming
e1fd664112 Few more additions
Start to impliment a muunt editor. This plans to use the 2D engine i've been using with layouts mixed with 3d to fully edit object and path placements.
Start to add pane copying.
Brlyt improvements with window pane support.
Add bflyt texture combiner UI.
2019-10-16 20:15:36 -04:00
KillzXGaming
adccce2db8 Improve texture loader with error icons and messages 2019-10-16 18:38:42 -04:00
KillzXGaming
2478527a1c Some more fixes
Only save bflan files if they have been edited
Start to merge some classes with brlyt so that can be properly supported soon
2019-10-16 18:17:16 -04:00
KillzXGaming
5f7f9c3517 Add all the latest files 2019-10-15 19:27:17 -04:00
KillzXGaming
8300b0658f Try to fix some errors 2019-10-15 19:26:58 -04:00
KillzXGaming
a62f1b8a07 Add tree node parent/child moving for pane hierarchy. 2019-10-15 18:45:51 -04:00
KillzXGaming
0882c488c9 Some more bug fixes
Fixed hit detection if the pane has custom scaling.
Improve multi selection for panes (uses one selection box)
Improve selecting (ctrl can be used properly to multi select, and mosue clicking already selected panes will allow dragging.
Fix hash only sarcs to auto generate if name changed or new files added.
Fixed texture folders for newly added textures for layouts
2019-10-15 17:48:52 -04:00
KillzXGaming
04eec01042 Tons more layout editor improvements.
- The UI has been completely redone. It's far much more clean and intuitive to edit with.
- All major pane types can be created now. Part panes are not supported but will be added in a future update due to being more complex to mess with.
- Window panes can be fully customized now, with custom frame adjusting, adding, and editing materials per frame and content regions.
- Picture panes have improved UV editing, and vertex color editing (which can set by corner or all at once).
- Text boxes will have a dialog for selecting the font file. These also can be switchted in the text editor.
- Improved pane deleting signifcantly. Material references are removed, and undo/redo works perfectly fine.
- Fixed many flags for properties which didn't get set correctly if edited.
- Fixed layout saving for text boxes with using the wrong encoding. Also some padding fixes.
- Text panes now auto calculate the text length and allow restricted lengths to be edited.
- Properties can now be scrolled down, and kept at that state when refocused.
- Add a selection box for selecting multiple panes at once
- Textures can be added, removed and edited in editor. Make sure these are in the same archive!!!
 Wii U auto does it in the same archive opened, switch must have a bntx in it. Automatic creaton of these will come
 - Picture panes can be generated via textures. Drag and drop one from a list. Also keeps the original image sizes.
 - Fixed window pane rendering with 1 frame and flipping textures.
 - Materials can add textures, and have new custom blend and alpha modes.
 when i finish the new layout export dialog.
- Added an edit option for image editor to gamma fix smash ultimate bntx.
2019-10-13 21:02:39 -04:00
KillzXGaming
9c0dbc8815 Fix cmdl export filter 2019-10-13 17:02:25 -04:00