Commit graph

114 commits

Author SHA1 Message Date
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
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
6931350fac Fix RGBA Snorm textures. Remove file extension from batch export folders. 2020-02-12 15:54: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
55cb4ad489 Add the same for GTX 2020-02-01 21:10:07 -05:00
KillzXGaming
bb6178f4d8 Improve nut texture naming to prevent dupes 2020-02-01 21:05:14 -05:00
KillzXGaming
5470ef95f4 Allow .nut to batch export 2020-02-01 21:01:40 -05:00
KillzXGaming
d6fce135eb Add KillLaKill IF bntx support 2020-01-30 17:22:03 -05:00
KillzXGaming
53bbe3c45a Some fixes to .mod 2020-01-26 19:32:40 -05:00
KillzXGaming
65de09fffc Improve XTX texture names for exporting 2020-01-23 16:49:59 -05:00
KillzXGaming
36188d5548 Fix XTX decoding 2020-01-22 17:39:56 -05:00
KillzXGaming
c407b1f0a3 Fix some bntx swizzle bugs 2020-01-15 18:12:12 -05:00
KillzXGaming
f7d674fe18 Start to impliment backend for depth/3D textures 2020-01-14 19:19:02 -05:00
KillzXGaming
db81b19723 BNTX : Fix some SRGB conversions. 2020-01-05 12:24:44 -05:00
KillzXGaming
d56acf67ef Improve texture importing for bflyt editor 2020-01-01 18:34:23 -05:00
KillzXGaming
60e09b8511 Fix an error when replacing nutexb 2019-12-19 17:08:19 -05:00
KillzXGaming
36633e5479 Fix userdata being removed on texture replacing 2019-12-17 18:36:37 -05:00
KillzXGaming
c3f87fe24c Fix errors 2019-12-17 17:31:06 -05:00
KillzXGaming
2b65b5b3c9 Fix bug with disposing bntx 2019-12-14 11:23:02 -05:00
KillzXGaming
dda18c0fcb Add batch replace with multiple bntx files 2019-12-12 20:10:52 -05:00
KillzXGaming
05fd417158 Allow custom array and depth count for not limited nutexb replacing. 2019-12-10 20:38:05 -05:00
KillzXGaming
8149b9092b Fix replacing cubemaps in nutexb 2019-12-10 20:34:38 -05:00
KillzXGaming
8acf9e7831 Fix RGB5A1 texture decoding and some chanel issues on others 2019-11-25 17:18:15 -05:00
KillzXGaming
f141520346 Fix renaming bntx not applying to file name in header 2019-11-24 17:33:04 -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
cc5e17e984 Add more texture formats to batch export 2019-11-10 13:17:41 -05:00
KillzXGaming
678cbb7bdb Allow bfres/bntx to batch export properly 2019-11-10 12:46:46 -05:00
KillzXGaming
616a2604c4 Add batch export option for all supported texture formats. 2019-11-10 12:36:56 -05:00
KillzXGaming
0435f651e1 Add multi thread option for encoding images faster. 2019-11-07 17:40:48 -05:00
KillzXGaming
ed961ef10a Add support for BC4 alpha for bflim. 2019-10-29 19:08:40 -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
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
5f7f9c3517 Add all the latest files 2019-10-15 19:27:17 -04:00
KillzXGaming
137cbc2bbb bflim filename fixes when made in a layout 2019-10-14 18:50:24 -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
e3cdbf50ad Fix updating editor for bflim if switched and edited in archive editor 2019-09-30 18:06:41 -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
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
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
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
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
435fda17f1 Add support for custom block height log for WTB textures 2019-09-13 19:42:16 -04:00
KillzXGaming
52bb137db5 Support previewing cubemaps for WTB 2019-09-10 19:00:57 -04:00
KillzXGaming
636d294454 Update WTB support 2019-09-10 17:54:10 -04:00