Commit graph

103 commits

Author SHA1 Message Date
KillzXGaming
a91dd6ae8e Improve layout editor more.
Part pane scaling type can be edited.
Additional texture coordinates can be added/removed.
Fixed editing user info string.
Display tex coord gen sources in texture map editor.
Default texture map wrap mode to linear when created.
2020-02-15 16:30:10 -05:00
KillzXGaming
efd98b3bac Improvements to layout material editing.
Tev stages can be added/removed for bclyt and brlyt.
Fixed adding new textures to brlyt.
Fixed setting material colors for window panes for bclyt/brlyt.
Fixed alpha op enum for brlyt tev stages.
2020-02-15 13:54:52 -05:00
KillzXGaming
69ab4e0eaf Recreate brlyt material flags so mat data can be added/removed. 2020-02-14 21:14:53 -05:00
KillzXGaming
84352cf967 Enable BRFNT and BCFNT rendering for layout editor 2020-02-14 20:15:03 -05:00
KillzXGaming
af8a8f17f6 Add latest files
Start on base for BLO. These will probably not be usable for awhile and is wip.. Currently aiming to support more varied layouts so this can help improve the code base.
Add BRFNT and BCFNT support. All merged as BXFNT class.
Fix bflim 3ds with LA4 textures.
Fix loading/saving part panes with property user data.
Fix texture coordinates to default centered UVs for layout panes with no textures.
Cleanup some files and directories.
2020-02-14 18:25:08 -05:00
KillzXGaming
2138a4b954 Cleanup how archive files update for layout editor 2020-02-12 17:50:10 -05:00
KillzXGaming
6129ab2b4e Many more bug fixes and layout rendering improvements.
Add support for BCLAN.  (It's basically the same as BRLAN)
Fix saving for BRLAN.
Fix 3DS textures being upside down for BCLYT.
Improve BCLYT rendering.
Improve texture transforms for BCLYT and BFLYT.
Fix tev stage properties not appearing for BCLYT editor.
Fix C4 and C8 decoding.
2020-02-12 16:56:16 -05:00
KillzXGaming
89d5b621b2 Giant layout update. Support BRLYT and BCLYT files!
BRLYT can now be edited and saved.
BCLYT can now be edited and saved.
BRLYT shaders greatly improved using ported shaders from WiiLayoutEditor. Plan to expand upon it for more accuacte shader rendering.
Add support for saving per character transforms.
Add support for BNR files.
Fixed flags so orientation can be edited properly.
Fix issues decoding some gamecube textures.
Fix animation timeline breaking at times for multi selecting animations.
2020-02-11 19:19:23 -05:00
KillzXGaming
4cd8eb962f Add option to export bflan in bflyt editor 2020-02-03 17:40:44 -05:00
KillzXGaming
d70fef1f9f BFLYT : Improve saving (material flags and part panes) 2020-02-03 17:17:49 -05:00
KillzXGaming
2d18e4bbdc Some layout file fixes 2020-01-29 17:17:12 -05:00
KillzXGaming
f090f7e757 A bunch of bug fixes and some features.
Add apak rebuilding.
Add support for joints for .mod.
Add support for part property panes attached to the heiarchy tree.
Fix BFLYT TXT1 text encoding for wii u to use big endian unicode.
Fix a bug with textures opening in quick access menu and bntx for gfpak.
Fix tex2 files being used for the bfres material editor which caused a crash.
Fix WTA support for decompressed files.
Auto search file names for WTA files if possible.
Fix g1t decoding images at the wrong position depeding on the header size being incorrect.
2020-01-29 16:08:29 -05:00
KillzXGaming
de1c89a3c0 Add new animation window with curve viewer (WIP) 2020-01-18 21:02:18 -05:00
KillzXGaming
c740fcc362 BFLYT : Start to impliment pane copying (Experimental) 2020-01-18 20:59:49 -05:00
KillzXGaming
100cd88534 Start to add support for BCH 2020-01-14 20:26:51 -05:00
KillzXGaming
34b2a4642a BFLYT : Fix and improve switching font files in the pane text editor 2020-01-03 18:27:49 -05:00
KillzXGaming
e44a9896df Add right click menu for exporting/replacing in bflyt texture list 2020-01-01 18:53:09 -05:00
KillzXGaming
d56acf67ef Improve texture importing for bflyt editor 2020-01-01 18:34:23 -05:00
KillzXGaming
a09db22b48 Fix layout file properties with proper tab loading. 2019-12-10 17:03:18 -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
6bc40a94a7 Add batch editing panes if multiple are selected. 2019-11-11 16:54:39 -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
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
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
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
KillzXGaming
833565f21b Fix hit detection for selected panes.
If a pane is already selected, if mouse picked it will not delect allowing to be moved.
If pane is not visible (but is in editor) a proper pane outline will be drawn for editor purposes.
2019-10-09 17:39:54 -04:00
KillzXGaming
46e7970581 Some font loading fixes for layout textboxes 2019-10-06 11:18:53 -04:00
KillzXGaming
99d0986e87 More layout editor features and fixes.
Add option to create null panes.
Fix pane lookup table to properly adjust when a pane is renamed.
Adjust selection transform for rotation.
Some undo fixes for removed panes.
2019-10-05 21:15:19 -04:00