Commit graph

77 commits

Author SHA1 Message Date
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
KillzXGaming
d62b5ab3a3 More accurate WTB formatting and support PKZ archives 2019-09-05 21:29:43 -04:00
KillzXGaming
ccbb566a88 Bflyt editor improvements 2019-09-05 16:24:03 -04:00
KillzXGaming
1ded215e52 Fix batch replacing for bntx 2019-09-02 19:48:47 -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
e4cb00c237 Add BCLYT support. Some ram usage optmization for bflyt editor 2019-08-30 18:53:45 -04:00
KillzXGaming
b4e2c070be Fix bfres library 2019-08-27 21:14:37 -04:00
KillzXGaming
4c49056b81 Some cleanup and remove gl shader logs notifcations 2019-08-26 16:46:41 -04:00
KillzXGaming
445bbe9f07 Fix rgb8 bflims encoding the wrong format (bgr8) 2019-08-25 21:24:22 -04:00
KillzXGaming
677de2c525 More fixes
Update 3ds ptcl.
Update 3ds ptcl for the new UI
Sharc supports SHIFT JIS encoding
Fix build errors
2019-08-25 21:11:10 -04:00
KillzXGaming
27abdb52fb One last swizzle fix for the image editor and bflim 2019-08-25 21:01:47 -04:00
KillzXGaming
374488c992 Keep bflim swizzle pattern on texture edit 2019-08-25 20:55:20 -04:00
KillzXGaming
cea6f264cd Some swizzle pattern fixes (Also fixes bflim issues) 2019-08-25 20:46:19 -04:00
KillzXGaming
957639f80d Adjust PTCL UI a bit for switch. Slowly add some stream stuff to archives. 2019-08-20 16:52:48 -04:00
KillzXGaming
2f8041bc93 Improve PTCL color editing and add texture icon previewing. 2019-08-19 18:28:59 -04:00
KillzXGaming
33456d0295 More fixes
Limit the texture renderer to prevent memory issues.
Prevent textures to be loaded and bound if gl textures cannot load.
Fix gen bntx types (PC) from having inaccuate target set.
2019-08-18 20:10:29 -04:00
KillzXGaming
c1d30f40fc Add support for very old switch bfres and some ptcl color adjustments 2019-08-17 15:59:17 -04:00
KillzXGaming
9a943baee2 Cleanup 2019-08-16 17:22:42 -04:00
KillzXGaming
065f93db17 Fix menu action for checking size restrictions (nutexb) 2019-08-16 17:20:48 -04:00
KillzXGaming
de84563377 Improve nutexb context menus 2019-08-16 17:18:44 -04:00
KillzXGaming
751c1dc550 Batch create bntx with New From File - BNTX From Image 2019-08-14 16:36:19 -04:00
KillzXGaming
d0fe3b62b9 and a few more BTI adjustments 2019-08-12 15:59:45 -04:00
KillzXGaming
c9997842a0 Fix BTI files without palette data 2019-08-12 15:53:37 -04:00
KillzXGaming
cb13c0a00a Some fixes
Fixed loading files from clicked on when a single instance of the tool is used.
Fixed the UV editor, which loads materails and texture maps properly.
Adjusted loading archives which produced some duplicate file issues when the archive loads the file, and a tree node is clicked on. Ie bntx clearing, but another one would stay in memory.
Fixed bntx replacing.
2019-08-12 15:19:30 -04:00
KillzXGaming
78c7ecff71 Fix CTPK swizzling 2019-08-11 12:29:28 -04:00
KillzXGaming
9e3556a5f9 More additions that seem ready for use,
Basic NCCH support, only romfs previewing for easy ripping and testing for file formats. Writing back and more improvements planned soon.
Save BTI files back.
Add structure based parsing from Kuriimu's IO extension. This will be expanded upon later to parse offsets and other things easier.
2019-08-09 18:21:16 -04:00
KillzXGaming
488bbe58f7 Adjust batch exporting directoires 2019-08-09 17:51:10 -04:00
KillzXGaming
3a4e3efec5 Adjust bntx batch exporting 2019-08-09 17:40:15 -04:00
KillzXGaming
e0dc6bd12d KCL cleanup 2019-08-08 19:58:14 -04:00
KillzXGaming
b5f50c824c Fix bffnt with bntx that changes the sheet size 2019-08-07 21:53:59 -04:00
KillzXGaming
fb2648205b Parse CTPK 2019-08-07 21:04:44 -04:00
KillzXGaming
9db860f0b8 Start to implement 3ds texture encoding. (Todo ETC1 and L4/A4) 2019-08-07 17:15:31 -04:00
KillzXGaming
e5bb9fa9d5 Use file streams for non archive based writing. Allow giant file saving from opened streams. 2019-08-06 17:35:18 -04:00
KillzXGaming
3ee6cd887a Support DDS editing 2019-08-05 21:30:47 -04:00
KillzXGaming
714be7d126 Fix bti 2019-08-05 21:08:04 -04:00
KillzXGaming
2fd6077172 Palette bti fixes and U8 fixes 2019-08-05 20:46:20 -04:00