Commit graph

489 commits

Author SHA1 Message Date
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
Skyth
fef8460f08 Fix PAC file naming & update credits 2019-10-11 22:17:48 +03: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
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
0d0ad3c461 Add quick batch file table option 2019-09-26 17:58:33 -04:00
KillzXGaming
7928944bf4 Fix kcl rendering pass drawing, and add kcl material presets. 2019-09-22 21:52:08 -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
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
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
36a09eafdd Zlib fixes 2019-09-18 17:02:25 -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
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
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
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
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
90e7853412 Kcl library fixes 2019-09-12 21:09:39 -04:00
KillzXGaming
c38ae37562 Finish bflan saving and more editor improvements. 2019-09-12 18:52:47 -04:00
KillzXGaming
7344b04d2c Add the option to split kcl materials by meshes 2019-09-12 18:20:40 -04:00
KillzXGaming
02240902ef Quick fix for kcl 2019-09-11 21:04:32 -04:00
KillzXGaming
c7d2a5d8eb Add support for decompressing gz.bin files on it's own 2019-09-11 16:25:20 -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
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
746da99cef Add bflyt debug shading modes 2019-09-05 18:14:15 -04:00
KillzXGaming
b3b1c8afea Only split KCL if polygon count is higher than 16,383 polys.
Prevents some issues with models being split having issues, and allows more stable KCL creation similar to EFE and WT.
2019-09-05 17:22:17 -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
47fc8b39cb Add latest bflyt progress and add some animation fixes 2019-08-29 15:45:32 -04:00
KillzXGaming
3eb8052e46 Fix saving material animations for switch bfres (invalid count size) 2019-08-27 21:21:02 -04:00
KillzXGaming
b4e2c070be Fix bfres library 2019-08-27 21:14:37 -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
cf87bb62a4 Add update.bat for updating without the tool 2019-08-26 18:32:41 -04:00
KillzXGaming
4c49056b81 Some cleanup and remove gl shader logs notifcations 2019-08-26 16:46:41 -04:00
LockeExile
549a83604b remove some more unused files 2019-08-24 23:09:04 -07:00
KillzXGaming
a6c691bd82 Some shader and sampler fixes 2019-08-21 17:08:24 -04:00
KillzXGaming
1815168479 Shader fixes 2019-08-20 19:46:06 -04:00
KillzXGaming
2f8041bc93 Improve PTCL color editing and add texture icon previewing. 2019-08-19 18:28:59 -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
655cdff142 Add some useful shortcuts. Add Text editor fixes. 2019-08-16 17:06:34 -04:00
KillzXGaming
50b76223b8 Fix updater 2019-08-15 17:09:07 -04:00
KillzXGaming
00e9c6506f A few fixes and additions
Files can be dragged out of and dropped within archives if adding is supported..
Fixed some archive issues with it updating, and removing improperly.
Adjustments to default transform bone settings for bfres to prevent any deform issues if a new skeleton is created.
2019-08-14 15:27:45 -04:00
KillzXGaming
a251892b1f Fix command line loading exe to opened files list 2019-08-13 18:15:44 -04:00
KillzXGaming
9e61c677ed Add option to create screenshots 2019-08-12 19:27:48 -04:00
KillzXGaming
77d05f47cb Reduce ram usage a bit 2019-08-12 19:00:47 -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
e15e00c2c0 Adjust program to use one instance for loading files (can be disabled in config) 2019-08-11 11:10:32 -04:00
KillzXGaming
3fd07bd46b A few more framework fixes 2019-08-10 19:29:51 -04:00
KillzXGaming
aed38de591 Finally fix the dpi scaling issues when opengl gets loaded 2019-08-10 19:20:39 -04:00
KillzXGaming
bd8a5af254 Fix bntx library issues 2019-08-10 11:03:54 -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
e5de8616d8 Some fixes 2019-08-08 20:09:58 -04:00
KillzXGaming
e0dc6bd12d KCL cleanup 2019-08-08 19:58:14 -04:00
KillzXGaming
9df93a02af KCL library fixes 2019-08-08 18:04:15 -04:00
KillzXGaming
855037d21c Fix TXE decoding with bad image sizes 2019-08-08 17:12:11 -04:00
KillzXGaming
46d729e2d8 Bars library adjustments/fixes 2019-08-07 21:19:03 -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
0e65b17e48 Disable IGZ because it keeps breaking 2019-08-04 19:40:28 -04:00
KillzXGaming
dceb4a93cd Adjust license for lzma 2019-08-04 19:39:08 -04:00
KillzXGaming
61ede33e29 Auto set the audio device to an active one 2019-08-03 18:00:51 -04:00
KillzXGaming
231a6ee9c6 Add support for LM3DS GAR 2019-08-03 13:33:02 -04:00
KillzXGaming
11ebded46b More material improvements 2019-08-02 22:06:45 -04:00
KillzXGaming
5272063ca6 Don't reload the config file to prevent settings reset if another file is opened 2019-08-01 20:48:33 -04:00
KillzXGaming
d244ceab0a Add proper file remove dialog and update the menus 2019-07-31 20:27:46 -04:00
KillzXGaming
4576364e13 Disable opengl on very old opengl versions to prevent crashes 2019-07-30 16:24:10 -04:00
KillzXGaming
e1d9dff336 Force ptcl for wii u to generate mip offsets 2019-07-29 15:05:50 -04:00
KillzXGaming
dc20d5eac3 Add xml editor tab for byaml 2019-07-28 17:10:40 -04:00
KillzXGaming
e7c0876517 Camera improvements and adjust viewport toolbar 2019-07-28 15:14:40 -04:00
KillzXGaming
e346f26b5f Basic WASD camera movement 2019-07-28 13:59:53 -04:00
KillzXGaming
e9d9634bb4 Normalize the normals and some shader improvements 2019-07-27 12:41:38 -04:00
KillzXGaming
5b55e210ed Fix normals. Load vertex colors for some types 2019-07-27 12:29:38 -04:00
KillzXGaming
25aa49cc29 Some fixes for file paths for newly added files 2019-07-26 21:30:51 -04:00
KillzXGaming
ded4dae5c1 Make it so a game preset must be set for KCL 2019-07-26 20:16:31 -04:00
KillzXGaming
df9641faab Bfres library fixes, and some form fixes 2019-07-26 15:35:15 -04:00
KillzXGaming
0ed8555b3a Update switch bfres lib with frame fixes 2019-07-25 21:05:02 -04:00
KillzXGaming
a03a852867 Fix saving step curve frames 2019-07-25 19:02:51 -04:00
KillzXGaming
e0df03cc26 Wip zar, gar,, and more rarc saving progress 2019-07-25 16:49:04 -04:00
KillzXGaming
d5b084e4e4 Fix reading frames for some animations on wii u bfres 2019-07-25 10:00:31 -04:00
KillzXGaming
68f5bfc20d Remove zstd from lib folder 2019-07-24 17:31:33 -04:00
KillzXGaming
5769c5ed19 Fix Zstd path 2019-07-24 17:28:08 -04:00
KillzXGaming
c7614bc9b4 Another adjustment 2019-07-24 16:57:00 -04:00
KillzXGaming
8221aa98fd Fix configuration for release build 2019-07-24 16:47:44 -04:00
KillzXGaming
ced8707de4 Fix some dlls copying over 2019-07-24 15:21:26 -04:00
KillzXGaming
cd0e3377b4 Sarc fixes and more windows 7 fixes 2019-07-24 15:10:05 -04:00
KillzXGaming
9e1613d946 Update filenames for archives if the file is not saved by tree dialog 2019-07-23 20:52:38 -04:00
KillzXGaming
9180bb1cf2 Direct X tex fixes for windows 7 and 8 2019-07-23 20:42:57 -04:00
KillzXGaming
0865277059 Another fix 2019-07-22 19:05:52 -04:00
KillzXGaming
8be02596e6 More adjustments 2019-07-22 19:01:29 -04:00
KillzXGaming
131af671bf More LM2 archive improvements 2019-07-21 20:08:16 -04:00
KillzXGaming
ece27fd3f8 Fix downgrading bfres for wii u from new to very old versions 2019-07-20 14:38:33 -04:00
KillzXGaming
2455e720bf A few more material mapping fixes for bmd 2019-07-19 19:17:32 -04:00