Commit graph

320 commits

Author SHA1 Message Date
KillzXGaming
bbd3c89e18 Fix sarc's breaking from hashes calculating wrong 2019-10-17 19:42:07 -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
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
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
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
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
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
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