Commit graph

1097 commits

Author SHA1 Message Date
KillzXGaming
238b6f60fb Add CTXB rebuilding and editing (encoding very WIP) 2020-02-08 12:03:37 -05:00
KillzXGaming
6b58bf4b03 Push the right file for assigning materials 2020-02-08 10:52:07 -05:00
KillzXGaming
4a1c51737d Assign materials that are directly set in the polygon group for dae 2020-02-08 10:31:06 -05:00
KillzXGaming
53e85f510b Add option to export models for G1M 2020-02-08 10:28:18 -05:00
KillzXGaming
05ab625a01 Quick fix for animation interpolation 2020-02-08 09:57:05 -05:00
KillzXGaming
ede5c62031 More fixes.
Fix loop error for 3DW stage files when creating the string table.
Fix converting yaml so it uses the custom syntax flow/tags.
Fix AAMP version issues for v1.
Add support for loading empty byaml files so data can be added onto them.
Fix bone importing issue with assimp.
2020-02-07 15:50:52 -05:00
KillzXGaming
0b27e890be Improve bin.gz endianness detection 2020-02-06 21:05:35 -05:00
KillzXGaming
d991a23980 Add support for G1M model files. Rewrite some bone properties. 2020-02-06 19:47:32 -05:00
KillzXGaming
c922ff1e4f Big BYAML and AAMP update!
- AAMP can now save back to YAML!
- Added text editor for AAMP editor
- AAMP library has been improved signifcantly, now using one library for all versions.
- BYAML now uses YAML by default. You can still right click in the editor and export as XML if needed.
- BYAML saving speed improved signifcantly.
- BYAML now supports reference nodes and works with 3DW byml files.
- BYAML can now load shift JIS encoding for japanese characters.
- YAML syntax for text editor improved with proper folding and highlighting for certain values.
2020-02-06 18:20:42 -05:00
KillzXGaming
f9ff362421 Increase FOV for 3D cubemap preview 2020-01-30 20:18:37 -05:00
KillzXGaming
9f3b99aaf4 Disable apak file adding until file hashes can be calculated 2020-01-30 19:04:18 -05:00
KillzXGaming
ecf8dae084 Fix the active audio device being set for the audio player. 2020-01-30 17:38:10 -05:00
KillzXGaming
3f2bcc521a Fix errors 2020-01-29 16:14:53 -05:00
KillzXGaming
706c03f4ac Update material presets 2020-01-26 16:58:13 -05:00
KillzXGaming
1fcb0d2c3c Fix UV viewer zooming/scaling 2020-01-26 13:14:26 -05:00
KillzXGaming
e7197b7869 Fix some errors 2020-01-22 19:32:04 -05:00
KillzXGaming
094a4673b7 Add support for non magic LZSS decompresson 2020-01-22 17:13:54 -05:00
KillzXGaming
bb7302e36c Anim : Set output to angular for rotation types. 2020-01-20 18:16:14 -05:00
KillzXGaming
98b7ef49af Quick .anim fix to properly work in maya 2020-01-19 12:31:36 -05:00
KillzXGaming
4f46089733 Fix typo causing errors. 2020-01-18 21:06:28 -05:00
KillzXGaming
de1c89a3c0 Add new animation window with curve viewer (WIP) 2020-01-18 21:02:18 -05:00
KillzXGaming
1302a096b0 Prevent duplicate verts from transforming UVs multiple times 2020-01-18 17:41:36 -05:00
KillzXGaming
8fc7693a51 DAE : Few more setting fixes 2020-01-18 17:30:19 -05:00
KillzXGaming
819aa3d04f DAE : Add setting to apply diffuse/color map UV tranforms 2020-01-18 17:25:27 -05:00
KillzXGaming
fad6721fce Update bfres libraries to latest 2020-01-16 21:04:02 -05:00
KillzXGaming
bdf2b625e9 Start to impliment a base for custom bfres renderers 2020-01-14 21:15:37 -05:00
KillzXGaming
a80f6af6d5 Update more files 2020-01-14 20:43:36 -05:00
KillzXGaming
100cd88534 Start to add support for BCH 2020-01-14 20:26:51 -05:00
KillzXGaming
6d33556e2c Try to fix some errors 2020-01-14 19:35:41 -05:00
KillzXGaming
f7d674fe18 Start to impliment backend for depth/3D textures 2020-01-14 19:19:02 -05:00
KillzXGaming
386f9f6991 Quick fix for .anim 2020-01-07 19:13:11 -05:00
KillzXGaming
60e4860cfc Some fixes for animation timeline and animation switching 2020-01-01 17:59:27 -05:00
KillzXGaming
d26f2373ac Obtain fileformat from archive roots for additional file menus. 2019-12-31 21:20:48 -05:00
KillzXGaming
e122021cdc Cleanup 2019-12-31 21:17:15 -05:00
KillzXGaming
224e7bd8d7 Fix treenode tag casting 2019-12-31 21:12:06 -05:00
KillzXGaming
628283be49 Add right click option to open file in file explorer. 2019-12-31 20:13:08 -05:00
KillzXGaming
6cdc0c8d43 Setup logs for bfres shaders 2019-12-29 14:45:03 -05:00
KillzXGaming
738bebba1a Revert yaz0 compressor temporarily till I fix some bugs 2019-12-27 17:00:41 -05:00
KillzXGaming
e23db47d3a Add config option to dump shaders 2019-12-22 18:21:48 -05:00
KillzXGaming
7c396674f0 Try to prevent any potential errors if config files fail to save. 2019-12-20 17:59:57 -05:00
KillzXGaming
1eab95f3c4 Fix generating custom skinning index list for gfbmdl 2019-12-20 17:23:50 -05:00
KillzXGaming
b2baf9b449 Add support for negative frames on timeline 2019-12-19 19:51:57 -05:00
KillzXGaming
8097845a1b Some fixes with gfbmdl faces 2019-12-14 21:37:17 -05:00
KillzXGaming
94bcbd5822 GFBMDL : Default normals W value to 1 to fix lighting bugs 2019-12-14 19:55:29 -05:00
KillzXGaming
9cfb49de3a Fix tangent/bitangent calculation on polygon groups 2019-12-14 17:34:25 -05:00
KillzXGaming
7ffa8a4045 Automatically write flat buffer templates on converion to prevent outdated ones. 2019-12-14 16:46:20 -05:00
KillzXGaming
315c7bbd79 Automatically convert bitmaps with different pixel formats while keeping 32bppArgb intact 2019-12-14 16:42:53 -05:00
KillzXGaming
ac7426c1dc GFBMDL : Use floats for additional parameters for texture maps 2019-12-14 15:51:51 -05:00
KillzXGaming
6c0bc069d9 GFBMDL : Add the option to auto generate vertex colors as normals. 2019-12-14 14:27:12 -05:00
KillzXGaming
4cb103e987 Export GFBMDL second channel vertex colors. 2019-12-14 13:28:10 -05:00
KillzXGaming
ffb4e2022b Improve label notifcation in image editor 2019-12-13 16:12:09 -05:00
KillzXGaming
48b9af870d Fix potential atrifacts on alpha channel with image encoding.
Also fix a bug with linkdata/data.bin keeping stream open.
2019-12-13 15:59:59 -05:00
KillzXGaming
2761a3b2a4 Fix missing files 2019-12-12 20:07:29 -05:00
KillzXGaming
cf0e5ccc26 Fix errors 2019-12-12 20:02:27 -05:00
KillzXGaming
ac474b1754 Add quick access menu for gfpak 2019-12-12 19:57:42 -05:00
KillzXGaming
0190aef233 GFBMDL : Fix swapping meshes with multiple nodes using the same key 2019-12-11 20:37:21 -05:00
KillzXGaming
114de9ba8a Check for github release assets to prevent index issue 2019-12-11 19:13:25 -05:00
KillzXGaming
08cfbd99c9 Fix exporting opened and saved file formats from archives 2019-12-11 19:08:16 -05:00
KillzXGaming
217f53a148 Fix missing flatbuffer directory. 2019-12-11 17:09:35 -05:00
KillzXGaming
6913054fc7 Improve cubemap exporting for DDS 2019-12-10 20:29:10 -05:00
KillzXGaming
4df4c13828 Add support for GFBMDL saving and model editing.
- Models can be swapped with DAE files. You can use custom rigs, custom bones, and also import additional meshes. Materials are selected in the import settings and you can swap and export them as .json. Note there are a few models (ie trees) which break atm.
- Adds support for proper GFBMDL wrap modes from texture params.
2019-12-10 18:46:16 -05:00
KillzXGaming
56eecea8d3 Some fixes.
Fix and cleanup repack method for archives.
Fix setting up original mip count (now is a optional setting).
Fixed format and some settings being applied for multiple selected textures.
2019-12-10 16:59:40 -05:00
KillzXGaming
cbdce592ab Fix errors 2019-12-07 20:24:54 -05:00
KillzXGaming
6da93a9b34 Try to fix build 2019-12-07 20:22:28 -05:00
KillzXGaming
e4722ed1af Alot of additions.
General
- Always allow multiple instances of the tool by default. (UseSingleInstance in config.XML)
- Yaz0 now uses a new library using c code. This improves compression times and is comparable to wzst's yaz0 compressor. Thanks to AboodXD for helping port the code.
- Add flat buffer templates for gfbmdl and gfbanm.
- Redid UV editor. Now using new 2D engine with some improvements. Should work better with mutliple file formats than just bfres.
- Auto compress bfres with .sbfres extension.

BFLYT:
-Add animation reference list to panes if they have any animations.
- Note the animation editor in it is not functional yet.

GFBMDL
- Progress on model importing. Currently crashes on many tests so saving is currently disabled till i figure out why.
- Add new texture map display with UV coordinates shown. Displays how transforms are handled.
- Add option to export materials and models entirely as .json files.

DAE
- improve bone/joint check.
2019-12-07 20:16:13 -05:00
KillzXGaming
668a1a5201 Export BC4 and BC5 as older DDS versions to work with more programs. 2019-12-07 16:08:29 -05:00
KillzXGaming
8d24ab07dc Adjust DDS to use older versions if possible 2019-11-28 20:11:46 -05:00
KillzXGaming
a6246ace11 Fix alignment in SARCs in SARCs.
Should fix potential crashes or texture corruption with these.
2019-11-27 09:12:22 -05:00
KillzXGaming
eb8f70f752 Another fix 2019-11-26 20:01:29 -05:00
KillzXGaming
57f9a4fbd3 Fix build errors 2019-11-26 20:00:19 -05:00
KillzXGaming
61550ac786 Alot of Pokemon additions.
Redid gfmdl parser completely. This allows the file to be rebuilt for custom models which will be coming soon.
Textures now load in the gfmdl section to easily edit without touching bntx.
Added a basic material editor (more like a viewer atm) for gfbmdl.
Added a Pokemon viewer (requires game path to be set). This shows icons of all the pokemon and opens the archive they are located in.
Start to parse GFBANIM. Not previewable yet because of rotations breaking. If anyone wants to help though be my guest :)
Basic GFBANIMCFG support. It can be used to view animation file names.
2019-11-26 19:54:59 -05:00
KillzXGaming
b9d5eb03da Fix build errors 2019-11-26 18:01:39 -05:00
KillzXGaming
8f81c561f3 Update grezzo formats to support skeleton animations 2019-11-26 17:05:37 -05:00
KillzXGaming
1bb7c44f20 Auto hide children in tree if holding down shift. 2019-11-26 16:29:13 -05:00
KillzXGaming
8acf9e7831 Fix RGB5A1 texture decoding and some chanel issues on others 2019-11-25 17:18:15 -05:00
KillzXGaming
589d4ea39e Improve gfpak hash calculating based on pkNX 2019-11-24 20:47:41 -05:00
KillzXGaming
1c787477d1 Quick channel fix for compressed textures 2019-11-24 18:52:40 -05:00
KillzXGaming
b021e96c52 Fix BGR channels being swapped wrong 2019-11-24 16:53:25 -05:00
KillzXGaming
0571546bb9 GFBModel shader fixes/improvements 2019-11-23 17:07:31 -05:00
KillzXGaming
68f9731b98 Add DAE setting to disable vertex colors. Load gfmdl vertex colors. 2019-11-23 17:04:58 -05:00
KillzXGaming
bb5599bfd7 Fix build errors 2019-11-23 16:09:56 -05:00
KillzXGaming
940994604a Some cleanup 2019-11-23 16:06:33 -05:00
KillzXGaming
f4506d9b63 Add archive menu to opened archive files 2019-11-22 19:55:48 -05:00
KillzXGaming
f0c3fc5465 Add proper hash matching for GFPAK
Also add latest turbo muunt editor files
2019-11-21 21:46:51 -05:00
KillzXGaming
5518ea598d Archive editing improvements.
Add file/folder clearing on folders and archive.
Add folder replacing.
2019-11-18 21:10:54 -05:00
KillzXGaming
2a62ad98ab Some fixes.
Check for all meshes to apply default bfres settings.
Expand/collapse only if tree nodes have children.
2019-11-18 19:01:40 -05:00
KillzXGaming
1f37e182b5 Some cleanup. Start on gfbanm parsing 2019-11-17 20:52:03 -05:00
KillzXGaming
39d2307cd3 Some fixes.
Fix DAE exporting if textures fail to export.
Fix bone detection for FBX
Add model index for LM3 models.
2019-11-17 08:59:11 -05:00
KillzXGaming
9c5185bbde DAE : Improve bone detection on importing and fix default bone index. 2019-11-16 18:55:08 -05:00
KillzXGaming
2a330a3c20 DAE : Fix assigning materials to meshes without a controller. 2019-11-16 18:02:01 -05:00
KillzXGaming
2030582de2 DAE : Add better check for valid material index 2019-11-16 16:54:15 -05:00
KillzXGaming
7ebcb88342 Improve exporting all models for LM3 2019-11-16 16:51:20 -05:00
KillzXGaming
e2cd3ff150 Fix typos 2019-11-16 16:41:16 -05:00
KillzXGaming
181afe6b02 DAE : Add progressbar and dialog confirmation for new exporter. 2019-11-16 16:27:57 -05:00
KillzXGaming
317e4f7367 Try to support cmb rigging 2019-11-16 15:39:40 -05:00
KillzXGaming
2f328a2664 DAE : Remove spaces in attribute IDs. 2019-11-16 15:34:25 -05:00
KillzXGaming
7d4ef5adde Add option to collapse and expand any tree node type 2019-11-16 15:14:10 -05:00
KillzXGaming
25c2abfd9b Set a default vertex skin count to prevent issues with DAE exporting 2019-11-16 14:54:28 -05:00
KillzXGaming
76ff237935 Convert triangle strip primitive types for DAE. 2019-11-16 14:08:27 -05:00
KillzXGaming
e7246fb79f Fix DAE export if no skeleton is used 2019-11-16 13:48:06 -05:00
KillzXGaming
13933911cb Properly fix DAEs with zero weights 2019-11-16 13:03:24 -05:00
KillzXGaming
134a21bab0 Fix DAE decimal seperators on different languages 2019-11-16 11:03:11 -05:00
KillzXGaming
69e45dcead Try to fix file excluding 2019-11-16 10:35:29 -05:00
KillzXGaming
2f59e3dc05 Try to fix build again 2019-11-16 10:17:09 -05:00
KillzXGaming
1e4e32366e Fix build issues 2019-11-16 10:06:26 -05:00
KillzXGaming
168cd8c5ca More DAE fixes.
Fix the vertex skin groups so only rigged bones appear per mesh.
Fixed possible uv channel issue.
Possibly fixed skinning issues.
2019-11-16 09:56:47 -05:00
KillzXGaming
bb23dbb3d7 Update bfres lib 2019-11-16 08:59:28 -05:00
KillzXGaming
2d217b6b94 Add option to use previous exporter incase something breaks 2019-11-16 08:58:10 -05:00
KillzXGaming
9c3ac9ae9f Improve DAE exporting.
A brand new DAE exporter is now used built off the one used by Ploaj and Crossmod devs. This replaces the old assimp exporter which was very buggy.
The DAE exporter has many improvments such as multiple materials per mesh, node tree fixes, material improvements, and lots more.
Single binded bfres (only using a bone index) will now be rigged if exported as DAE.
More progress on CMB saving. It's almost done, still needs some adjustments.
Fixed GFMDL rigging on certain models (thanks to RTB's script to reference what controlled the bone type).
2019-11-15 19:27:03 -05:00
KillzXGaming
8fdd61253a Fix build errors 2019-11-12 17:11:35 -05:00
KillzXGaming
21a459846e Fix bones that parent no children on dae export 2019-11-12 16:50:43 -05:00
KillzXGaming
b225c942e5 A few fixes.
Fix viewport not loading base drawables.
Fix animation player having issues with new animation classes.
Fix gfmdl for pkmn lets go.
Disable vertex color loading for gfmdl for now till fixed.
2019-11-12 16:29:00 -05:00
KillzXGaming
ed4ef23eb7 Fix actor renaming for odyssey 2019-11-10 16:37:21 -05:00
KillzXGaming
7d4ad62dd0 Start to add more progress on cmb saving 2019-11-10 16:24:54 -05:00
KillzXGaming
4eb5ee8d37 Add additional batch export settings 2019-11-10 13:00:20 -05:00
KillzXGaming
616a2604c4 Add batch export option for all supported texture formats. 2019-11-10 12:36:56 -05:00
KillzXGaming
c3e070d981 Improve zlib decompression to support varied positions 2019-11-10 11:14:09 -05:00
KillzXGaming
c78251aab3 A few additions
Update primative type for meshes. This will allow custom primative types for rendering.
Add strikers and punch out wii model/texture support (older formats of LM2/LM3).
Add LM2 Arcade model support (updated format of MKAGPDX)
Add support for LM2/LM3 pck audio archives.
Add support for LM2 message/localization data.
2019-11-10 08:41:17 -05:00
KillzXGaming
622011d025 Try to fix build errors 2019-11-09 17:36:52 -05:00
KillzXGaming
0435f651e1 Add multi thread option for encoding images faster. 2019-11-07 17:40:48 -05:00
KillzXGaming
28e0edb8ad Prevent failed images from loading in opengl 2019-11-05 17:32:39 -05:00
KillzXGaming
30d4a538f1 A few more fixes and additions.
Fix LM3 meshes with large amounts of faces (ie Luigi's cutscene model).
Improvements to hashing.
Start on LM3 saving.
Start to support texture replacing.
2019-11-03 18:25:47 -05:00
KillzXGaming
d54c835bc4 Cleanup file location a bit. Fix LM3 faces for certain formats 2019-11-02 19:35:08 -04:00
KillzXGaming
1472c4e112 Exporting adjustment for faces to prevent errors 2019-11-02 19:14:22 -04:00
KillzXGaming
f5605f6878 LM3 fixes. and improvements.
Fixed UV issues which would show up broken.
Improved the tree loading. Havok files are loaded, and additional string data.
2019-10-31 18:13:42 -04:00
KillzXGaming
544a30639b Add support for Luigi's Mansion 3 Models 2019-10-30 17:43:26 -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
1ed76ac2ac Fix compression notification for .szs files if not compressed. 2019-10-24 17:29:56 -04:00
KillzXGaming
e4654f8dff Add support for exporting gamma correction if enabled 2019-10-20 20:37:37 -04:00
KillzXGaming
a8016a2868 Improve load times significantly for layout files.
Shaders are now compiled only once and load statically instead of being per material.
2019-10-20 19:30:58 -04:00
KillzXGaming
0da677980f Handle all rotations from matrix in shaders so they render accurate. 2019-10-20 16:41:58 -04:00
KillzXGaming
2205174ffe Fix visibilty anim groups for layout animations 2019-10-20 15:26:25 -04:00
KillzXGaming
871fc44178 More additions.
More progress on the basic pane animation editor. It can add and clear entries for frames, groups, etc.
Add the latest muunt editor files. A wip editor which is currently disabled. Planned to edit object placement paths paths supporting both 2D and 3D views.
2019-10-20 12:57:48 -04:00
KillzXGaming
4bea7a22f7 More theme tweaks for white theme 2019-10-19 20:59:34 -04:00
KillzXGaming
7e736fd4c1 Adjust timeline for white theme 2019-10-19 20:47:25 -04:00
KillzXGaming
a480afe31c Improve white theme 2019-10-19 20:32:44 -04:00
KillzXGaming
27a7469201 Start to implement layout animation mode.
This mode will allow properties to be keyed when finished.
Animated panes can properly be picked if moved.
Improve the fov for perspective view.
2019-10-19 17:36:16 -04:00
KillzXGaming
f63ce071a1 Color dialog fixes for alpha 2019-10-19 15:55:12 -04:00
KillzXGaming
440939f91d Fix preview scale for SMO costumes 2019-10-19 15:48:18 -04:00
KillzXGaming
5f2dbd1b56 Add fps counter to animation timeline and fix tick speed (layout editor) 2019-10-19 14:58:13 -04:00
KillzXGaming
a6d1e2d4de Improve color dialog 2019-10-17 20:13:44 -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
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
6eabbda19b Another fix for white theme 2019-10-15 18:01:43 -04:00
KillzXGaming
1ff766a199 Try to fix potential cast issue if renderer does not apply on certain themes 2019-10-15 17:56:56 -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
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
7c7f714085 Add gamma correct preview and fixes for smash ultimate bntx 2019-10-13 11:20:32 -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
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
180b1e7e7c Fix CPU usage with animation player 2019-09-28 20:52:34 -04:00
KillzXGaming
bf408b4e5d Handle font size properly. Fix animation panel close event 2019-09-28 20:24:20 -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
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
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
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
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
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
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
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
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
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
3bfbafbada Fix texture animation playback flickering 2019-09-14 20:11:08 -04:00
KillzXGaming
435fda17f1 Add support for custom block height log for WTB textures 2019-09-13 19:42:16 -04:00
KillzXGaming
149cae5a0c Add proper panel toggle by type. 2019-09-11 19:52:57 -04:00
KillzXGaming
f8d8d0ea30 Bflyt loading fixes 2019-09-11 19:23:17 -04:00
KillzXGaming
c7d2a5d8eb Add support for decompressing gz.bin files on it's own 2019-09-11 16:25:20 -04:00
KillzXGaming
f9d1a99431 Fix 3d cubemap preview 2019-09-10 19:54:36 -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
b05b526f3f Load BRLYT and BCLYT picture panes and bound boxes 2019-09-08 20:47:19 -04:00
KillzXGaming
aa374d6241 Check archives in the folder the file is for layout parts 2019-09-08 18:47:28 -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
4e63b2f5a4 Some fixes
Fixed some byaml editor issues with applying changes.
Fixed some editors updating within iarchives if files are switched.
Fixed l8 textures displaying wrong.
2019-09-07 21:16:16 -04:00
KillzXGaming
d62b5ab3a3 More accurate WTB formatting and support PKZ archives 2019-09-05 21:29:43 -04:00
KillzXGaming
746da99cef Add bflyt debug shading modes 2019-09-05 18:14:15 -04:00
KillzXGaming
ccbb566a88 Bflyt editor improvements 2019-09-05 16:24:03 -04:00
KillzXGaming
4a92d0320a Some fixes.
USD1 fixes and also start to impliment an editor for USD1.
Fix L8 and LA8 displaying.
Fix channel compents. Temporaily uses the swizzle parameter. Todo, do these by shader.
Material saving fixes for bflyt version 8 and higher
2019-09-03 18:58:58 -04:00
KillzXGaming
74f69eb1d8 Adjustments for loading archive files 2019-09-02 21:02:32 -04:00
KillzXGaming
1ded215e52 Fix batch replacing for bntx 2019-09-02 19:48:47 -04:00
KillzXGaming
1c9d419a3a Add better color dialog for bflyt properties. Display vertex alpha. 2019-09-02 15:26:26 -04:00