1
0
mirror of synced 2024-11-15 11:33:20 +01:00
Commit Graph

1763 Commits

Author SHA1 Message Date
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
b75e0e3994 Leave stream open for gzip streams 2019-09-27 20:09:55 -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
0d0ad3c461 Add quick batch file table option 2019-09-26 17:58: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
2921d83da8 Add LZMA settings dialog 2019-09-22 14:46:57 -04:00
KillzXGaming
221f81a17f Improve LZMA support 2019-09-22 14:35:38 -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
31be278a2f Some more KCL fixes 2019-09-21 17:39:19 -04:00
KillzXGaming
a93b28c756 Fix loading and saving shape animations for 0.9 bfres 2019-09-21 10:45:12 -04:00
KillzXGaming
a2ca523349 Update msbt editor settings 2019-09-20 21:38:15 -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
db04c5102a Update Bflyt.frag 2019-09-19 18:15:22 -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
bb436b35e8 Quick fix for decompressing incase a check fails or is inaccurate 2019-09-18 21:13:02 -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
efa2d41126 More adjustments to KCL to better match EFE KCL 2019-09-17 19:16:02 -04:00
KillzXGaming
97f93a9275 Fix KCL obj parsing on PCs using french language 2019-09-17 18:32:22 -04:00
KillzXGaming
4133289486 More compression fixes 2019-09-17 17:42:39 -04:00
KillzXGaming
c6c0019efc Some quick fixes.
Fix mario tennis aces decompression (thanks to simon for compiling as x64 bit)
Fix very small files erroring from compression checks
2019-09-17 16:58:32 -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
42c5b22d5c Fix yaz0 compression level 2019-09-16 19:43:11 -04:00
KillzXGaming
c5adddcfe5 Fix applying alignment after saving sarcs (will fix crash issues) 2019-09-16 18:58:09 -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
b1c37cab72 Support multiple shader models for 0.8 and higher switch bfsha 2019-09-14 18:41:40 -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