Commit graph

1089 commits

Author SHA1 Message Date
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
KillzXGaming
d4fdeca032 Reset the file format instance if an archive file is opened, closed, and then replaced 2019-09-01 21:36:58 -04:00
KillzXGaming
2f1468a83f More bflyt saving fixes 2019-09-01 20:06:46 -04:00
KillzXGaming
2576399711 Add color selector/dialog to properties editor 2019-09-01 14:09:02 -04:00
KillzXGaming
e793719189 More adjustments for saving layouts 2019-09-01 13:29:24 -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
4b330c475b Swap R and B manually decoded textures for opengl rendering 2019-08-30 19:23:39 -04:00
KillzXGaming
e4cb00c237 Add BCLYT support. Some ram usage optmization for bflyt editor 2019-08-30 18:53:45 -04:00
KillzXGaming
0f587d2624 Fix botw switch sesetlist/ptcl saving 2019-08-29 20:51:41 -04:00
KillzXGaming
668265dd13 Adjust the editor a bit to later add bclyt 2019-08-29 16:33:23 -04:00
KillzXGaming
47fc8b39cb Add latest bflyt progress and add some animation fixes 2019-08-29 15:45:32 -04:00
KillzXGaming
a3f76e99d0 Add additional root node and adjust method for root obtaining 2019-08-28 16:32:58 -04:00
KillzXGaming
d426bb490e Properly batch edit mip maps if multiple textures are selected in the importer 2019-08-27 19:03:01 -04:00
KillzXGaming
bb77a80ad3 Add alot of bflyt progress 2019-08-27 16:38:06 -04:00
KillzXGaming
56d7287b54 Some file explorer adjustments 2019-08-26 16:52:32 -04:00
KillzXGaming
4c49056b81 Some cleanup and remove gl shader logs notifcations 2019-08-26 16:46:41 -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
71a7d06ad0 Merge branch 'master' of https://github.com/KillzXGaming/Switch-Toolbox 2019-08-25 20:49:24 -04:00
KillzXGaming
cea6f264cd Some swizzle pattern fixes (Also fixes bflim issues) 2019-08-25 20:46:19 -04:00
LockeExile
a8b96185ca resolve a few warnings 2019-08-25 13:08:32 -07:00
LockeExile
549a83604b remove some more unused files 2019-08-24 23:09:04 -07:00
LockeExile
29e2b104c1 change debug output directory 2019-08-24 22:20:05 -07:00
LockeExile
a245dac9a8 clean STB Library debug build outputs 2019-08-24 22:01:16 -07:00
KillzXGaming
a5da5c8609 Always use linear types for anim rotation because angular breaks for some reason 2019-08-23 19:58:31 -04:00
KillzXGaming
ef9db11f03 Fix .anim exporting 2019-08-23 19:54:16 -04:00
KillzXGaming
a6c691bd82 Some shader and sampler fixes 2019-08-21 17:08:24 -04:00
KillzXGaming
4a137d34cc Make alpha seperate from colors in the hue selector for ptcl 2019-08-20 19:56:47 -04:00
KillzXGaming
1815168479 Shader fixes 2019-08-20 19:46:06 -04:00
KillzXGaming
2bed8a49a6 Fix UV editor if no textures are present 2019-08-20 17:22:01 -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
8b68c749d3 Adjust combobox control 2019-08-19 18:43:39 -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
3769cc12c2 EFFN ptcl fixes and add saving back 2019-08-17 09:58:17 -04:00
KillzXGaming
de84563377 Improve nutexb context menus 2019-08-16 17:18:44 -04:00
KillzXGaming
655cdff142 Add some useful shortcuts. Add Text editor fixes. 2019-08-16 17:06:34 -04:00
KillzXGaming
2264c8117b Add support for v4 PACx files 2019-08-15 17:20:14 -04:00
KillzXGaming
751c1dc550 Batch create bntx with New From File - BNTX From Image 2019-08-14 16:36:19 -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
9ad828bbca Lots more uv editor fixes 2019-08-12 20:09:35 -04:00
KillzXGaming
89ce65908c Load all containers to uv editor if drawables is set to preview al 2019-08-12 19:37:57 -04:00
KillzXGaming
9e61c677ed Add option to create screenshots 2019-08-12 19:27:48 -04:00
KillzXGaming
693fc7f934 Some anim exporting fixes 2019-08-12 16:34:57 -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
e15e00c2c0 Adjust program to use one instance for loading files (can be disabled in config) 2019-08-11 11:10:32 -04:00
KillzXGaming
9a70890924 Msbt editor fixes 2019-08-11 10:16:32 -04:00
KillzXGaming
9f829b714b Link botw actors to msbt for defining and organsing. Load msbt labels. 2019-08-10 20:52:58 -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
84f9811f93 Fix some tool menu extensions from the plguin 2019-08-09 21:33:26 -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
79d78f64ad Textue importer improvements and some gui fixes 2019-08-08 15:26:08 -04:00
KillzXGaming
b5f50c824c Fix bffnt with bntx that changes the sheet size 2019-08-07 21:53:59 -04:00
KillzXGaming
feecbeef55 Image editor fixes for bffnt 2019-08-07 21:14:18 -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
c11389fb4f Fix IArchive propery file counter 2019-08-06 19:02:09 -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
23324a2233 Reset the camera when the movement mode is changed 2019-08-06 16:22:24 -04:00
KillzXGaming
c559b2c674 limit dds format support properly 2019-08-05 21:35:25 -04:00
KillzXGaming
de0382a08e Adjust DDS header properly when edited 2019-08-05 21:33:42 -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
33fff8e4de Add in proper replacing for raw texture types 2019-08-05 18:48:14 -04:00
KillzXGaming
a655ea24d7 Rework IGZ reading and add writing back (for textures) 2019-08-05 15:38:03 -04:00
KillzXGaming
aa92482f15 Fix some dialog issues and paste the full data size for IGZ to prevent size issues 2019-08-04 21:12:36 -04:00
KillzXGaming
4eeb05e3d2 Remove libwii sharp as it's not used anymore 2019-08-04 19:57:38 -04:00
KillzXGaming
bd0953477a Decompress IGA Pak and start parsing IGZ textures 2019-08-04 19:28:32 -04:00
KillzXGaming
2a19d4c75b Improve multiple image icon loading speed 2019-08-04 14:26:52 -04:00
KillzXGaming
51e96ec1a5 Support the other normal TPL formats 2019-08-04 13:45:11 -04:00
KillzXGaming
10a3aa5017 Add suoport for SMB TPL 2019-08-04 13:31:16 -04:00
KillzXGaming
ea2b941b93 Parse TPL 2019-08-04 12:21:28 -04:00
KillzXGaming
5729b20c43 Add the latest bflyt files 2019-08-04 11:50:57 -04:00
JohnFiddleystein
dd33b5e6c5 Add support for basic BTI and TXE 2019-08-04 14:15:34 +01:00
KillzXGaming
89aecaec34 Add proper audio exporting in player 2019-08-03 18:18:26 -04:00
KillzXGaming
61ede33e29 Auto set the audio device to an active one 2019-08-03 18:00:51 -04:00
KillzXGaming
1ab2164339 Rewrite all the texture modes to use proper enums 2019-08-03 15:23:05 -04:00
KillzXGaming
231a6ee9c6 Add support for LM3DS GAR 2019-08-03 13:33:02 -04:00
KillzXGaming
e0b8ca5e27 Parse cmb materials almost completely 2019-08-02 21:24:13 -04:00
KillzXGaming
9e5e8d72b5 ZSI progress 2019-08-02 20:08:51 -04:00
KillzXGaming
95a50d03ec Fix skeleton not hiding when drawables switched 2019-08-02 17:39:00 -04:00
KillzXGaming
f06cfbd053 CMB model previewing and parsing 2019-08-02 17:27:44 -04:00
KillzXGaming
894e53ea07 Choose when to end the thread 2019-08-01 21:16:48 -04:00
KillzXGaming
72cce64583 Update the image only after decoding is entirely finished 2019-08-01 21:11:57 -04:00
KillzXGaming
531feeff78 Resize the preview automatically if the image is directly set 2019-08-01 21:05:02 -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
de20881676 Update single texture based image icons 2019-08-01 20:02:38 -04:00
KillzXGaming
b445590961 Add preview to single textures (ie NUTEXB) 2019-08-01 19:28:37 -04:00
KillzXGaming
e2edd2e923 Load texture icons via before expand event 2019-08-01 19:16:50 -04:00
KillzXGaming
a9b92e42e2 Some platform swizzle fixes and preview textures for bmd 2019-08-01 18:11:56 -04:00
KillzXGaming
f4e4afa2f7 Cleanup. Start to impliment texture preview icons in tree 2019-08-01 17:47:35 -04:00
KillzXGaming
aa006fd389 Fix double click again because windows keeps breaking it from generated code 2019-08-01 09:22:35 -04:00
KillzXGaming
c4a2c3f7e1 Some form fixes 2019-07-31 21:13:58 -04:00
KillzXGaming
ccde8d3276 Add option to dock the search panel 2019-07-31 21:11:06 -04:00
KillzXGaming
d744e0b339 Update mainform for file format adding to editor 2019-07-31 20:42:40 -04:00
KillzXGaming
9c98ff2c83 Load IArchives if added to object editor 2019-07-31 20:40:16 -04:00
KillzXGaming
d244ceab0a Add proper file remove dialog and update the menus 2019-07-31 20:27:46 -04:00
KillzXGaming
2340d6a7a4 Improve file removing from object editor 2019-07-31 20:11:10 -04:00
KillzXGaming
25bc66e505 Support loading multiple IArchive and node types from a single format within an archive file 2019-07-31 19:45:03 -04:00
KillzXGaming
2df6d35d17 Add interface to not dispose data (for NSP, NCA, XCI, etc) 2019-07-31 19:33:45 -04:00
KillzXGaming
116d114c77 Make double click optional on searching nodes 2019-07-31 17:53:26 -04:00
KillzXGaming
f376f16dcc Dispose of the search window iif the object editor is closed 2019-07-31 17:48:31 -04:00
KillzXGaming
c83d7e7f1e Fix treeview not firing double click event, ops 2019-07-31 17:31:50 -04:00
KillzXGaming
d19aa09c32 More improvements for searching 2019-07-31 17:25:41 -04:00
KillzXGaming
01d74e3839 Add functional search window 2019-07-31 17:08:00 -04:00
KillzXGaming
4576364e13 Disable opengl on very old opengl versions to prevent crashes 2019-07-30 16:24:10 -04:00
KillzXGaming
8afae95e2c Fix vertex increase from assimp's tans/bitans (calculate with ST) 2019-07-30 15:38:42 -04:00
KillzXGaming
030f9effc2 Fix null parameters 2019-07-29 16:48:24 -04:00
KillzXGaming
326b11aef6 More format fixes. Add custom parameters for not swapping red and green channels 2019-07-29 15:48:36 -04:00
KillzXGaming
e1d9dff336 Force ptcl for wii u to generate mip offsets 2019-07-29 15:05:50 -04:00
KillzXGaming
f58efacbef Automatically generate GX2 mipoffsets if null or empty 2019-07-29 14:55:43 -04:00
KillzXGaming
691d4c7d35 Decompress hyrule warriors (Wii U) gz files 2019-07-29 14:40:12 -04:00
KillzXGaming
4ef0025fe2 Add color/alpha preview combo as a control 2019-07-29 12:23:15 -04:00
KillzXGaming
dd273d88ed Rework ptcl color handling so it works better 2019-07-29 11:19:34 -04:00
KillzXGaming
f70a18c3f8 Add option to export all GT1 textures 2019-07-29 10:54:19 -04:00
KillzXGaming
ce85ad3835 Add GT1/G1T support 2019-07-28 21:58:28 -04:00
KillzXGaming
2af2b11ad5 Add proper folding to text edtior and align margins better 2019-07-28 18:44:18 -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
9011f2a4c7 Try to dispose rarc properly 2019-07-28 12:45:39 -04:00
KillzXGaming
2ac0fcef2d
Adjust bc5 channel settings 2019-07-27 22:25:26 -04:00
KillzXGaming
2da0d605fe Fix loading 3ds bflim 2019-07-27 21:05:12 -04:00
KillzXGaming
f599ea9b41 Add parameters class to textures to configure how to display the texture 2019-07-27 18:25:35 -04:00
KillzXGaming
64be5b2408 More buffer and exploding fixes for LM2 2019-07-27 14:48:55 -04:00
KillzXGaming
25aa49cc29 Some fixes for file paths for newly added files 2019-07-26 21:30:51 -04:00
KillzXGaming
e15aa39eb9 Some archive fixes 2019-07-26 16:44:22 -04:00
KillzXGaming
df9641faab Bfres library fixes, and some form fixes 2019-07-26 15:35:15 -04:00
KillzXGaming
76c0b560ad restet saved lists for rarc on save 2019-07-25 20:56:28 -04:00
KillzXGaming
eb288d36b9 More rarc fixes 2019-07-25 18:54:58 -04:00
KillzXGaming
e0df03cc26 Wip zar, gar,, and more rarc saving progress 2019-07-25 16:49:04 -04:00
KillzXGaming
40c0fcae11 Try to fix the file loader disposing streams 2019-07-25 14:31:33 -04:00
KillzXGaming
5582f31c38 Add option to export lm2 dark moon models 2019-07-25 09:36:49 -04:00
KillzXGaming
1fb66d4490 Always dispose file streams once everything is loaded 2019-07-24 21:15:21 -04:00
KillzXGaming
4ba79980c9 Automatically clear the playlist for the audio player to prevent dupes 2019-07-24 17:42:59 -04:00
KillzXGaming
fdca563b07 Fix reference path 2019-07-24 17:30:51 -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
a386d2e85e Adjust direct x tex 2019-07-24 15:50:46 -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
f9395b2144 Fix build issues 2019-07-23 19:03:52 -04:00
KillzXGaming
82d96d4a73 Return raw bytes for compressing without direct x tex 2019-07-22 21:18:52 -04:00
KillzXGaming
eac9022938 Fix files in archives not compressing back 2019-07-22 21:01:05 -04:00
KillzXGaming
8be02596e6 More adjustments 2019-07-22 19:01:29 -04:00
KillzXGaming
667ec7c752 rgba8 channel fix for non direct x tex 2019-07-22 18:26:23 -04:00
KillzXGaming
e7256f607a Adjust decoding rgb8 without direct x tex 2019-07-22 16:48:15 -04:00
KillzXGaming
68a3933362 Draw LM2 models. Extreemly glitchy atm 2019-07-22 16:44:03 -04:00
KillzXGaming
1429a00178 More fixes and additions
Archives now use a link list for archive infos and treenodes. Handling replaced treenodes is easier and fixes renaming issues if a file was opened and renamed.
More LM2 archive improvements, with more chunk loading.
2019-07-22 15:06:49 -04:00
KillzXGaming
571dad0776 Some archive fixes 2019-07-21 14:58:57 -04:00
KillzXGaming
ba6fef722d Adjust the vertex color view to clamp values above 255 2019-07-21 14:51:50 -04:00
KillzXGaming
976c214799 Add option to always dispay all models 2019-07-21 14:09:25 -04:00
KillzXGaming
d25d10c22b Fix LM2 textures with multiple image blocks 2019-07-21 13:25:18 -04:00
KillzXGaming
8d2b2c0d4d Load sonic all stars racing transformed archives for PC 2019-07-21 10:29:54 -04:00
KillzXGaming
ee5f01e44d Add sonic all stars transformed archive as it's basically an older version of SP2 2019-07-20 20:56:22 -04:00
KillzXGaming
419a76a508 Fix btye order for image decoding gc images 2019-07-19 17:24:54 -04:00
KillzXGaming
0699a50408 Another fix for .anim with keyed frames 2019-07-19 16:45:19 -04:00
KillzXGaming
c4279e6404 Fix some anim exporting issues 2019-07-19 16:05:53 -04:00
KillzXGaming
395a9bd65d Some dds edit fixes 2019-07-19 15:39:25 -04:00
KillzXGaming
da46126e8b Update image editor properly if edited 2019-07-19 15:27:30 -04:00
KillzXGaming
c0c1e621a4 A few additions and fixes
Add custom color option for image editor background.
Start on character exporting for bffnt. as xlor.
Fix sarc hashes.
Fix bflims in archive editors
2019-07-19 15:11:55 -04:00
KillzXGaming
643ccb24d0 Add additional sarc extension for botw font 2019-07-18 20:02:37 -04:00
KillzXGaming
64639c4886 Add option to make new sarcs 2019-07-18 19:19:16 -04:00
KillzXGaming
557fb17232 Option to add new folders to IArchives 2019-07-18 18:16:45 -04:00
KillzXGaming
38af392160 Clear IArchive files properly 2019-07-18 18:05:27 -04:00
KillzXGaming
e5b57de5e8 Fix sorting bone weights with duplicate indices 2019-07-18 17:50:46 -04:00
KillzXGaming
4428dd20ef File check fixes if the position is too big for base stream 2019-07-18 17:14:09 -04:00
KillzXGaming
b6de4bf6a4 Properly check for text converting support for archive files 2019-07-18 16:55:41 -04:00
KillzXGaming
043983fdad Set the file format instance on editor load for saving back 2019-07-18 16:52:46 -04:00
KillzXGaming
1a420f65a3 Fix save button for archive editors 2019-07-18 16:48:52 -04:00
KillzXGaming
2e55d789ae Add the newest archive stuff to sarc 2019-07-18 16:42:27 -04:00
KillzXGaming
49ab034d46 Adjus bc5 decoder to prevent errors on re encoding 2019-07-18 15:58:50 -04:00
KillzXGaming
7dc00e4bf3 Tons more bffnt progress. Adjust assimp version to fix issues 2019-07-18 13:33:16 -04:00
KillzXGaming
ff9c598d99 Add IContextMenuContainers to IArchives 2019-07-17 19:59:17 -04:00
KillzXGaming
80655a6aaa Parse cmap sections, and add a block check 2019-07-17 19:01:06 -04:00
KillzXGaming
aa0bbfc57c Fix exporting individual levels as dds for bffnt 2019-07-17 16:42:47 -04:00
KillzXGaming
9b15a3d5fe Some bffnt stuff 2019-07-17 16:14:55 -04:00
KillzXGaming
9e01d29127 Update direct x tex 2019-07-16 18:39:17 -04:00
KillzXGaming
6cfb6a214f Adjust the toolbox name to no longer include "Switch" in it. 2019-07-16 17:35:21 -04:00
KillzXGaming
43081a4086 Texture decoder cleanup. Also fix wii u texture patterns with null issues 2019-07-16 16:54:46 -04:00
KillzXGaming
ea26ebc82f Attribute fixes for bfres and gmx 2019-07-15 15:41:02 -04:00
KillzXGaming
b50d8925e4 Some gmx and bmd fixes 2019-07-14 21:08:47 -04:00
KillzXGaming
4a87ceb8a0 More fixes to tex regs 2019-07-14 19:16:36 -04:00
KillzXGaming
7e89e63fe3 More swizzle adjustments 2019-07-14 18:59:52 -04:00
KillzXGaming
df1ec92e92 Fix illegal character check for exporting in iarchive files 2019-07-14 18:17:45 -04:00
KillzXGaming
ddcf80a6d7 More gx2 reg fixes 2019-07-14 18:13:00 -04:00
KillzXGaming
f84753aa11 Add viewer for TPHD file tables 2019-07-14 17:36:52 -04:00
KillzXGaming
cd4a9f1788 Generate GX2 tex registers 2019-07-14 16:43:08 -04:00
KillzXGaming
7bf92f8fc4 Reinstall assimp 2019-07-14 14:39:02 -04:00
KillzXGaming
3312f5ab00 Another shortcut adjustment 2019-07-14 12:58:42 -04:00
KillzXGaming
a2f01c7748 Fix double click event for treeview 2019-07-14 12:57:07 -04:00
KillzXGaming
8a89bce579 Check ctrl key for shortcuts 2019-07-14 12:51:51 -04:00
KillzXGaming
ff8b6bccc8 Check the node on key down to check if shortcut has been used 2019-07-14 12:13:09 -04:00
KillzXGaming
11c850ba77 Fix a dumb error 2019-07-13 19:25:55 -04:00
KillzXGaming
1f9b82ddda Fix double clicking window title bar to go full screen 2019-07-13 19:25:41 -04:00
KillzXGaming
7e3b2c16da Adjust default bntx format 2019-07-13 18:22:47 -04:00
KillzXGaming
631f59ef93 Add audio meta data icons 2019-07-13 15:54:39 -04:00
KillzXGaming
716e2c254f Start on SMO kingdom loading 2019-07-13 10:56:21 -04:00
KillzXGaming
384185ab4a Start on scene loader 2019-07-13 09:58:44 -04:00
KillzXGaming
5fc6522449 Add more bmd material conversion. Reorder bmd object draw, and check transparency 2019-07-12 21:48:56 -04:00
KillzXGaming
530c86e672 Use bmd cull modes 2019-07-12 20:13:27 -04:00