1
0
mirror of synced 2024-11-15 03:27:38 +01:00
Commit Graph

570 Commits

Author SHA1 Message Date
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
fb81cc93b0 Fix MKAGPDX models mssing mesh data 2019-11-09 13:40:48 -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
367e9a1287 Fix face format for lm3 meshes 2019-11-03 18:54:50 -05:00
KillzXGaming
574c5b0559 Add hashes for LM3 2019-11-03 18:26:42 -05:00
KillzXGaming
30d4a538f1 A few more fixes and additions.
Fix LM3 meshes with large amounts of faces (ie Luigi's cutscene model).
Improvements to hashing.
Start on LM3 saving.
Start to support texture replacing.
2019-11-03 18:25:47 -05:00
KillzXGaming
120a86f4f5 Fix batch export multi select for mkagpdx models 2019-11-03 11:50:45 -05:00
KillzXGaming
eb1987eabd Fix build errors 2019-11-03 11:24:42 -05:00
KillzXGaming
63cc5db70a Disable some debugging stuff 2019-11-03 10:52:58 -05:00
KillzXGaming
14982b80be A few additions
Add NLG hash calculator.
Add option to swap bone transform from csv max script.
2019-11-03 10:38:17 -05:00
KillzXGaming
973afc97ef Fix build 2019-11-02 20:27:58 -04:00
KillzXGaming
b8be2d31f8 Texture mapping fixes for LM3. 2019-11-02 19:43:22 -04:00
KillzXGaming
d54c835bc4 Cleanup file location a bit. Fix LM3 faces for certain formats 2019-11-02 19:35:08 -04:00
KillzXGaming
519d9a734d A few more texture adjustments 2019-11-01 17:39:14 -04:00
KillzXGaming
f25af1afce Quick lm3 texture fix for BC5S 2019-11-01 17:28:37 -04:00
KillzXGaming
f5605f6878 LM3 fixes. and improvements.
Fixed UV issues which would show up broken.
Improved the tree loading. Havok files are loaded, and additional string data.
2019-10-31 18:13:42 -04: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
d1eb6a612d Fix for removing part panes 2019-10-29 19:04:34 -04:00
KillzXGaming
0694817a1f Fix build errors 2019-10-27 11:15:57 -04:00
KillzXGaming
ee184391fb Add WIP LM3 .dict/.data support.
LM3 uses an updated format of LM2 Darkmoon. Currently this can now load textures.  Most of them should load fine, however ASTC_6x6 textures keep giving me issues so those may or may not error out.
Models for LM3 is currently not supported due to the various changes but is planned.
2019-10-27 10:48:16 -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
54b6790afe Make gmx models exportable 2019-10-21 17:38:21 -04:00
KillzXGaming
e4654f8dff Add support for exporting gamma correction if enabled 2019-10-20 20:37:37 -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
3be9e0c9de Fix parent transform for rotation if pane uses matrix from shader 2019-10-20 15:36:15 -04:00
KillzXGaming
2205174ffe Fix visibilty anim groups for layout animations 2019-10-20 15:26:25 -04:00
KillzXGaming
999a0c76ae Reload the animation when clicked on for updating editor values 2019-10-20 13:55:21 -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
b23876416c Improve pane transformation of children from parent 2019-10-19 14:09:16 -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
098c8fb842 Auto calculate hashed texture names for layouts in sarcs 2019-10-18 18:59:04 -04:00
KillzXGaming
b0b1355887 Fix setting the texture map array when removing a texture 2019-10-18 17:23:14 -04:00
KillzXGaming
169a260946 Remove texture references from materials when deleted 2019-10-18 17:18:35 -04:00
KillzXGaming
63fdff7b5e Fix removing textures from archive for layout editor. 2019-10-18 17:08:44 -04:00
KillzXGaming
bbd3c89e18 Fix sarc's breaking from hashes calculating wrong 2019-10-17 19:42:07 -04:00
KillzXGaming
60a8cca957 Improve bfres shaders 2019-10-17 18:06:48 -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
8153975f2e Fix the frame value for bfres texture pattern animatons in viewport. 2019-10-16 19:21:47 -04:00
KillzXGaming
2df06f463d Fix an issue reading TPL palette headers 2019-10-16 18:55:18 -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
ea29db89f5 Adjust parent transform if parent is edited 2019-10-15 20:13:17 -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
137cbc2bbb bflim filename fixes when made in a layout 2019-10-14 18:50:24 -04:00
KillzXGaming
8529b0b818 Some archive parent fixes for texture manager 2019-10-14 18:38:55 -04:00
KillzXGaming
858a85f641 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2019-10-14 17:55:21 -04:00
KillzXGaming
21bbe87b13 Remove uneeded nuget packages 2019-10-14 17:51:01 -04:00
KillzXGaming
6c64065861
Fix references 2019-10-14 17:46:27 -04:00
KillzXGaming
73c4ff6112 Try to fix build again 2019-10-14 17:37:38 -04:00
KillzXGaming
b2f11992a1 Try to fix build issues 2019-10-14 17:23:44 -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
bb575251b9 Add bcres exporting 2019-10-13 16:25:36 -04:00
KillzXGaming
7c7f714085 Add gamma correct preview and fixes for smash ultimate bntx 2019-10-13 11:20:32 -04:00
KillzXGaming
ca390b977a Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2019-10-12 12:47:05 -04:00
KillzXGaming
9e3ead1778 Add support for exporting CMB models 2019-10-12 12:46:43 -04:00
KillzXGaming
b8bad6c685
Merge pull request #135 from blueskythlikesclouds/pac-fix
Fix PAC archive file naming
2019-10-11 16:12:15 -04:00
Skyth
fef8460f08 Fix PAC file naming & update credits 2019-10-11 22:17:48 +03:00
LockeExile
7c8f9ea1b0 Fix issues with bones that use both rigid and smooth skinning 2019-10-10 21:22:36 -07: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
96dbc7c83e Seperate meshes for monoscript KCL by attribute type. 2019-10-07 20:39:22 -04:00
KillzXGaming
fff96d1a0d Add obj converter tool for monscript KCL files (Mario Kart Tour collision) 2019-10-07 20:32:23 -04:00
KillzXGaming
46e7970581 Some font loading fixes for layout textboxes 2019-10-06 11:18:53 -04:00
KillzXGaming
5452a38759 Quick layout fix for pane searching 2019-10-06 09:39:23 -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
KillzXGaming
00ba993fa1 Add more layout editor features
Add pane deleting via right clicking them.
Added pane overlap select from right click (displays all panes at position of the mouse).
Add option to hide and show all hidden panes from right click menu.
2019-10-05 18:37:28 -04:00
KillzXGaming
45a2466e86 Some clr0 converting fixes 2019-10-05 15:32:48 -04:00
KillzXGaming
d9f23be131 A few more layout editor fixes
Fixed selection box for window pane.
Fixed shaders and gl settings conflicting with some colors
2019-10-05 14:19:15 -04:00
KillzXGaming
db6888ed09 A few layout editor fixes.
Fix hit detection if pane types are hidden.
Add option to display part panes as null panes to improve performance.
2019-10-05 14:05:37 -04:00
KillzXGaming
a8e6d104f2 A few improvements.
Panes can now be selected and moved around.
Panes can be resized from corners or edges.
Improved hit detection for panes.
Mouse left click now selects and moves panes. Use middle mouse or hold shift + left mouse to pan/move camera.
More progress on timeline, but currently not functional so currently disabled atm.
Multiple layout animations can be selected and played at once. Goes to the highest amount of frames.
Start to impliment a parts manager. Will allow editing external layout and animation data, and saving back properly.
2019-10-05 13:25:28 -04:00
KillzXGaming
e3cdbf50ad Fix updating editor for bflim if switched and edited in archive editor 2019-09-30 18:06:41 -04:00
KillzXGaming
ccbe9a0e8d Add BMP image format to the extension list 2019-09-29 19:42:42 -04:00
KillzXGaming
bf408b4e5d Handle font size properly. Fix animation panel close event 2019-09-28 20:24:20 -04:00
KillzXGaming
5655b8c3f4 Fix multiple layout tabs not finding the viewport as active content 2019-09-28 19:13:32 -04:00
KillzXGaming
0808bd0347 Don't layer layout files yet till i do a gui for them. 2019-09-28 18:12:12 -04:00
KillzXGaming
57fb51e729 Fix build errors hopefully 2019-09-28 17:33:44 -04:00
KillzXGaming
644d94090f A big layout editor update.
Added support for previewing layout animations.
This includes pane SRT, tex SRT, material color (white/black blending), texture patterns, pane visibilty, and vertex colors.
Added textbox previewing.  The scaling will be off, and more features is planned (caching font data to disk for faster loading, improve rendering, etc).
Rotations now render correctly for X/Y axis.
Added game window preview. This removes any editor only drawn objects and also fits the layout to the screen (aka root pane) size.
Add support for rendering custom blending with layout materials.
Add support for loading character icons for mk8d. These are hardcoded and have been manually set. Note these will only load if within the menu.szs.
2019-09-28 17:27:48 -04:00
KillzXGaming
83a9ae7395 A few more bug fixes.
Reset menus when an image editor instance gets reloaded from bflim.
Parent check FMAA animation files.
2019-09-27 18:28:17 -04:00
KillzXGaming
7f8183ca2f Fix updating editors for animations that are imported 2019-09-27 18:22:33 -04:00
KillzXGaming
5e61cf3bee Byaml editor adjustments, and fix batch exporting from new stream loading. 2019-09-26 17:23:10 -04:00
KillzXGaming
8cc333624a Add menu for copying text of byaml entries 2019-09-25 17:54:09 -04:00
KillzXGaming
a5cfcfa035 Improve layout animation loading 2019-09-23 18:16:50 -04:00
KillzXGaming
01fdb2c61c Add support for PC tvol files 2019-09-23 17:33:04 -04:00
KillzXGaming
7928944bf4 Fix kcl rendering pass drawing, and add kcl material presets. 2019-09-22 21:52:08 -04:00
KillzXGaming
8569f3461b Some fixes and additions.
Force close streams if formats are not loaded.
Fix compression menu with null returns. (Used if settings is canceled)
Some msbt saving progress. Need to fixup TXT2 section.
Add VIBS saving
2019-09-22 17:23:07 -04:00
KillzXGaming
f5ca10d4b2 Add support for vibs vibration archives 2019-09-22 13:18:05 -04:00
KillzXGaming
8ed6a79b61 Adjust the way material animation types are defined and checked 2019-09-22 12:37:20 -04:00
KillzXGaming
e982344d84 Add switch key selector and support loading exefs in nca files 2019-09-22 11:43:23 -04:00
KillzXGaming
4de418dc3b Adjust offset with shader binary loading 2019-09-21 21:25:20 -04:00
KillzXGaming
eba9adaa4d Quick fix for material animations not saving properly if invalid types detected 2019-09-21 17:43:29 -04:00
KillzXGaming
7502dc9326 KCL and MSBT fixes 2019-09-20 21:37:55 -04:00
KillzXGaming
c47d9bc2bc Fix bfres shape flags, msbt text fixes, and extracting archive fixes 2019-09-19 20:11:21 -04:00
KillzXGaming
314d1e7c20 Some layout editor improvments.
Convert white colors to srgb for more accurate colors.
Fix displaying bflims with using bc4 alpha and no alpha.
Preview alpha theshhold for color blending.
Fix window pane alpha if frame vertex colors are disabled.
2019-09-19 18:02:10 -04:00
KillzXGaming
6ec78fa2c5 More layout rendering fixes 2019-09-18 20:50:52 -04:00
KillzXGaming
0f19107dd2 More layout editor improvements
Window panes render near perfectly aside from materials. Update fixes the texture flip flags and other uv fixes,
Fixed UV transformation issues. Commonly when a uv is suppose to be centered but it shifts wrong.
Add basic white and black color blending.
Fix LA8 texture rendering.
Start on BRLAN support.
2019-09-18 18:23:27 -04:00
KillzXGaming
3f142c4e81 Add ASTC support for XTX 2019-09-18 17:43:17 -04:00
KillzXGaming
36a09eafdd Zlib fixes 2019-09-18 17:02:25 -04:00
KillzXGaming
4b83f9f17c Fix build errors 2019-09-17 19:30:07 -04:00
KillzXGaming
4133289486 More compression fixes 2019-09-17 17:42:39 -04:00
KillzXGaming
84c81fec96 Add in game render preview setting 2019-09-16 21:02:00 -04:00
KillzXGaming
902bfc4d98 Fix rendering horizontal windows no content 2019-09-16 20:32:33 -04:00
KillzXGaming
7677822665 Few more quick rendering fixes 2019-09-16 20:13:07 -04:00
KillzXGaming
1198e3de6d More layout editor improvements.
Fixed texture coordinate transformations from materials.
Window panes of all types, horizinal, around, and 1,4, and 8 frames are all supported.
Note window pane uv coordinates are very wip, and need proper flipping and transformation from the flags.
Fix bflim editor issues with filling contents.
2019-09-16 19:56:41 -04:00
KillzXGaming
585845ae2d Improve tvol support 2019-09-15 19:40:50 -04:00
KillzXGaming
0c126e4155 More improvements.
Rewrote the compression handling from scatch. It's way easier and cleaner to add new formats code wise as it's handled like file formats.
Added wip TVOL support (Touhou Azure Reflections)
Added XCI support. Note I plan to improve NSP, XCI, NCA, etc later for exefs exporting.
The compression rework now compresses via streams, so files get decompressed properly within archives as streams.
Added hyrule warriors bin.gz compression along with archive rebuilding. Note i do not have texture rebuilding done just yet.
2019-09-15 19:13:01 -04:00
KillzXGaming
4d72a725c5 Improve archives for FE3H.
Can be opened within an archive like an NSP.
Will work properly on the existing data0/data1.bin names
2019-09-15 16:01:50 -04:00
KillzXGaming
3bfbafbada Fix texture animation playback flickering 2019-09-14 20:11:08 -04:00
KillzXGaming
435fda17f1 Add support for custom block height log for WTB textures 2019-09-13 19:42:16 -04:00
KillzXGaming
891e5e0bc3 Allow loading custom fonts for msbt.
Note bffnt is not loadable for this yet because idk how to create fonts from bitmaps yet for the text editor.
2019-09-12 21:26:11 -04:00
KillzXGaming
90e7853412 Kcl library fixes 2019-09-12 21:09:39 -04:00
KillzXGaming
d350821e27 Preview BFTTF fonts 2019-09-12 19:57:24 -04:00
KillzXGaming
8372179173 Support negative start frames for bflan 2019-09-12 19:34:12 -04:00
KillzXGaming
c38ae37562 Finish bflan saving and more editor improvements. 2019-09-12 18:52:47 -04:00
KillzXGaming
02240902ef Quick fix for kcl 2019-09-11 21:04:32 -04:00
KillzXGaming
149cae5a0c Add proper panel toggle by type. 2019-09-11 19:52:57 -04:00
KillzXGaming
0a5b673d35 Adjust how window panes load frame sizes to prevent divide zero errors. 2019-09-11 19:42:01 -04:00
KillzXGaming
f8d8d0ea30 Bflyt loading fixes 2019-09-11 19:23:17 -04:00
KillzXGaming
6fdafddfdc Add support for previewing bffnt with text.
Thanks to EFE as it's basically like how CFFNT works.
2019-09-11 16:52:06 -04:00
KillzXGaming
82761a6120 bflan saving progress 2019-09-10 21:25:30 -04:00
KillzXGaming
674917f326 Bflan fixes 2019-09-10 21:04:39 -04:00
KillzXGaming
52bb137db5 Support previewing cubemaps for WTB 2019-09-10 19:00:57 -04:00
KillzXGaming
32fb5444e7 Add all the newest changes.
Add support for bayonetta/astral chain dat.
Add support for darc archives.
Support previewing window panes for bflyt (1 frame atm with around kind)
Add bflan reading. Saving needs more testing and will be enabled soon.
Bflyt editor will keep the editor open within an archive when saved.
A custom dialog will be added soon to customize saving parameters.
Bflims will be loaded if in the same folder as the bflyt when opened.
2019-09-10 18:42:48 -04:00
KillzXGaming
0a3fada53a Fix U8 archive not loading all nodes 2019-09-10 18:04:38 -04:00
KillzXGaming
636d294454 Update WTB support 2019-09-10 17:54:10 -04:00
KillzXGaming
1c065e9c27 More uv fixes 2019-09-09 18:56:35 -04:00
KillzXGaming
f72b855c1a Bflyt fixes to UVs. 2019-09-09 18:37:33 -04:00
KillzXGaming
9180a6cc75 BCLYT fixes 2019-09-08 21:05:51 -04:00
KillzXGaming
b05b526f3f Load BRLYT and BCLYT picture panes and bound boxes 2019-09-08 20:47:19 -04:00
KillzXGaming
aa374d6241 Check archives in the folder the file is for layout parts 2019-09-08 18:47:28 -04:00
KillzXGaming
c960404f42 Fix build errors one more time 2019-09-08 17:45:57 -04:00
KillzXGaming
ffb41778c3 Try to fix build again 2019-09-08 17:08:09 -04:00
KillzXGaming
9dc4aeccc5 Fix build errors please 2019-09-08 17:03:00 -04:00
KillzXGaming
ed78d46545 Tons more bflyt improvements
Opengl textures that are not power of 2 decode from ST decoder. This prevents those from not loading. (Common in SMM1, SMM2, and also BFLYT).
Bflyt displays bounding panes, and window panes display textures. Window panes still need more work for rendering.
Bflyt now uses custom shaders for more advancements with rendering. Legacy PCs should still work fine with this.
Fixed uv transforms for bflyt if they are negative, which flips them.
Fixed an issue loading bclyt layouts.
Fixed pane trnasformation issues. They are nearly perfect, but rotations for X and Y are off.
Parts now search for opened sarc archives.
Fixed an issue with some spaces not quite saving for txt1 panes. This may fix some saving issues, as most i've tried output back identically.
Fixed an issue displaying LA8 textures.
2019-09-08 15:15:42 -04:00
KillzXGaming
4e63b2f5a4 Some fixes
Fixed some byaml editor issues with applying changes.
Fixed some editors updating within iarchives if files are switched.
Fixed l8 textures displaying wrong.
2019-09-07 21:16:16 -04:00
KillzXGaming
a0e680e626 Alot of layout editor improvements
- Parent origins are now properly applied. Origin values are also correct (were previously being done wrong).
- Rotations on X and Y axis now work correctly.
- Selection shows a proper bounding if the rotation is rotated on the X or Y axis.
- Perspective and orthographic modes can be toggled be
tween in the layout editor.
Alpha influence is applied properly to picture boxes.
Adjustments to bflim loading, so it can load textures without an extension.
2019-09-06 19:12:39 -04:00
KillzXGaming
62005511e8 Fix applying bfres settings from the context menu 2019-09-06 18:04:52 -04:00
KillzXGaming
245a503a18 Fix little endian bin.gz 2019-09-05 21:52:10 -04:00
KillzXGaming
d62b5ab3a3 More accurate WTB formatting and support PKZ archives 2019-09-05 21:29:43 -04:00
KillzXGaming
4bb6e50601 Quick path fix for layout saving 2019-09-05 20:23:35 -04:00
KillzXGaming
746da99cef Add bflyt debug shading modes 2019-09-05 18:14:15 -04:00
KillzXGaming
3fdcee1078 Reset matrix for kcl to prevent rendering oddities 2019-09-05 16:44:08 -04:00
KillzXGaming
ccbb566a88 Bflyt editor improvements 2019-09-05 16:24:03 -04:00
KillzXGaming
fce999e1fb Add bflyt file settings (endianness and version edits) 2019-09-04 14:10:17 -04:00
KillzXGaming
d5b9de852d Force decompression for bin.gz files 2019-09-03 19:32:20 -04:00
KillzXGaming
ebd7870c96 More USD1 editor improvements 2019-09-03 19:23:04 -04:00
KillzXGaming
4a92d0320a Some fixes.
USD1 fixes and also start to impliment an editor for USD1.
Fix L8 and LA8 displaying.
Fix channel compents. Temporaily uses the swizzle parameter. Todo, do these by shader.
Material saving fixes for bflyt version 8 and higher
2019-09-03 18:58:58 -04:00
KillzXGaming
1ded215e52 Fix batch replacing for bntx 2019-09-02 19:48:47 -04:00
KillzXGaming
711889ad26 More material improvements 2019-09-02 17:10:24 -04:00
KillzXGaming
1c9d419a3a Add better color dialog for bflyt properties. Display vertex alpha. 2019-09-02 15:26:26 -04:00
KillzXGaming
e2ea36a7a9 Fix bflyt with multiple user data entries 2019-09-01 22:04:45 -04:00
KillzXGaming
5a52151f3a Fix build errors 2019-09-01 21:56:10 -04:00
KillzXGaming
d4fdeca032 Reset the file format instance if an archive file is opened, closed, and then replaced 2019-09-01 21:36:58 -04:00
KillzXGaming
18a64c528b Perfectly save bflyt files with parts 2019-09-01 20:41:04 -04:00
KillzXGaming
2f1468a83f More bflyt saving fixes 2019-09-01 20:06:46 -04:00
KillzXGaming
1b0eb20ce2 read and write USD1 section. Add support for reading/writing unknown sections for bflyt 2019-09-01 17:21:36 -04:00
KillzXGaming
e839ab4985 Some cleanup and parse parts for bflyt 2019-09-01 16:05:03 -04:00
KillzXGaming
2576399711 Add color selector/dialog to properties editor 2019-09-01 14:09:02 -04:00
KillzXGaming
e793719189 More adjustments for saving layouts 2019-09-01 13:29:24 -04:00
KillzXGaming
f92195e8e1 Add wip bflyt saving.
Todo prts,usd, and bnd1 section is needed however
2019-09-01 13:02:48 -04:00
KillzXGaming
bb7d9d88b1 A few fixes and additions.
Adjust drag and drop support a bit from archives so it doesn't have any issues.
Added BRLYT viewing (very basic)
Fix U8 not adding all the directories. Hopefully any U8 will work correctly now
2019-08-31 17:24:05 -04:00
KillzXGaming
ca1b62e45e Support reading WTB textures. 2019-08-30 21:53:00 -04:00
KillzXGaming
b8135703ec Fully parse window panes. Fix v9 bflyt reading texture maps 2019-08-30 19:16:17 -04:00
KillzXGaming
e4cb00c237 Add BCLYT support. Some ram usage optmization for bflyt editor 2019-08-30 18:53:45 -04:00
KillzXGaming
0f587d2624 Fix botw switch sesetlist/ptcl saving 2019-08-29 20:51:41 -04:00
KillzXGaming
e0b67515a8 File selector fixes 2019-08-29 19:48:07 -04:00
KillzXGaming
18ffeb980b Add option to create new layout editor. Sort the file selector. 2019-08-29 19:35:50 -04:00
KillzXGaming
7e7afc6377 Add layout file list for dragged archives to editor 2019-08-29 19:21:47 -04:00
KillzXGaming
7724a056f5 Tons more bflyt progress 2019-08-29 19:01:47 -04:00
KillzXGaming
1e4b18844f Add drag drop support for layout editor. Load textures per layout file 2019-08-29 18:05:44 -04:00
KillzXGaming
cb5be622b8 Reload the layout info properly and fix texture maps with -1 index 2019-08-29 17:17:24 -04:00
KillzXGaming
6076afa9d6 Update the editor properly if a material animation is replaced 2019-08-29 16:37:04 -04:00
KillzXGaming
668265dd13 Adjust the editor a bit to later add bclyt 2019-08-29 16:33:23 -04:00
KillzXGaming
47fc8b39cb Add latest bflyt progress and add some animation fixes 2019-08-29 15:45:32 -04:00
KillzXGaming
777ba269bc Fix chr0 issues 2019-08-28 16:21:37 -04:00
KillzXGaming
b4e2c070be Fix bfres library 2019-08-27 21:14:37 -04:00
KillzXGaming
d426bb490e Properly batch edit mip maps if multiple textures are selected in the importer 2019-08-27 19:03:01 -04:00
KillzXGaming
4d2d3502eb Fix build errors hopefully 2019-08-27 16:58:46 -04:00
KillzXGaming
bb77a80ad3 Add alot of bflyt progress 2019-08-27 16:38:06 -04:00
KillzXGaming
78cb9177de Index fixes for yaml to material animations 2019-08-26 20:54:15 -04:00
KillzXGaming
9c99e0fd3b More converter fixes. Conver the constants 2019-08-26 20:32:36 -04:00
KillzXGaming
2ce4ff14b9 Convert switch to wii u param anims and also convert yaml 2019-08-26 20:24:14 -04:00
KillzXGaming
4ea3e5967f Quick workaround, use floats for param yaml conversion 2019-08-26 19:49:44 -04:00