Commit graph

681 commits

Author SHA1 Message Date
KillzXGaming
2647aec5a4 BFRES : Update library to fix bounding box issues 2019-12-27 13:10:20 -05:00
KillzXGaming
c2ac556a13 Improve amb maps more 2019-12-19 21:01:48 -05:00
KillzXGaming
fbb86955ba Add support for loading amb green channels (shading) 2019-12-19 20:17:20 -05:00
KillzXGaming
b1cf8a25a9 Add support for viewing GFBMDL ambient occusion maps (amb, red channel inverted) 2019-12-19 20:00:06 -05:00
KillzXGaming
794e8e884f Update brawl lib for chr0 imports 2019-12-18 17:54:42 -05:00
KillzXGaming
d9248dfbf8 Fix saving issues with bntx using user data 2019-12-17 19:32:25 -05:00
KillzXGaming
c3f87fe24c Fix errors 2019-12-17 17:31:06 -05:00
KillzXGaming
57b721c8af More BNTX fixes with user data and UTF-8 characters 2019-12-17 17:26:30 -05:00
KillzXGaming
f4ad1030dc Fix UTF-8 User data in BNTX files 2019-12-16 17:17:31 -05:00
KillzXGaming
8840fb0191 BFRES : Fix user data UTF-8 encoding/Japanese characters. 2019-12-15 20:31:40 -05:00
KillzXGaming
114de9ba8a Check for github release assets to prevent index issue 2019-12-11 19:13:25 -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
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
880ab08e79 Add option to reset settings to default 2019-12-02 18:18:09 -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
8acf9e7831 Fix RGB5A1 texture decoding and some chanel issues on others 2019-11-25 17:18:15 -05:00
KillzXGaming
d02ffca772 GFBModel shader improvements 2019-11-24 14:59:54 -05:00
KillzXGaming
0571546bb9 GFBModel shader fixes/improvements 2019-11-23 17:07:31 -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
7e38484a3e BNTX : Add support for D32_FLOAT_S8X24_UINT 2019-11-17 09:24:53 -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
383613f7c2 Finally fix Z fighting on AMD and INTEL (set depth bit to 24) 2019-11-13 19:21:21 -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
132f312484 Try to fix updates failing 2019-11-10 10:13:56 -05:00
KillzXGaming
fb81cc93b0 Fix MKAGPDX models mssing mesh data 2019-11-09 13:40:48 -05:00
KillzXGaming
a2a9f21035 KCL: Update lib to load proper material presets 2019-11-06 21:08:47 -05:00
KillzXGaming
92e535948e Some fixes to hash calculator 2019-11-06 20:06:22 -05:00
KillzXGaming
c1d25c8372 Add brute force options for NLG hashes 2019-11-06 19:40:19 -05:00
KillzXGaming
14982b80be A few additions
Add NLG hash calculator.
Add option to swap bone transform from csv max script.
2019-11-03 10:38:17 -05:00
KillzXGaming
44fb94584a Update bfres lib 2019-10-27 19:26:52 -04:00
KillzXGaming
0b9fd1767d Fix gl framwork build 2019-10-27 16:10:10 -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
5e7b65c669 AAMP V2 saving improvements.
AAMP files with strings should save perfectly fine. These should output identically to the original now if saved back and should have no issues.
2019-10-23 18:40:49 -04:00
KillzXGaming
9d91d967a6 KCL lib fixes and adjustments 2019-10-22 19:56:52 -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
a480afe31c Improve white theme 2019-10-19 20:32:44 -04:00
KillzXGaming
347fd412ce Scale bones according to preview scale properly 2019-10-19 17:49:20 -04:00
KillzXGaming
bbd3c89e18 Fix sarc's breaking from hashes calculating wrong 2019-10-17 19:42:07 -04:00
KillzXGaming
60a8cca957 Improve bfres shaders 2019-10-17 18:06:48 -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
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
KillzXGaming
419a76a508 Fix btye order for image decoding gc images 2019-07-19 17:24:54 -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
f37fe42728 Try to fix assimp issues 2019-07-18 14:31:27 -04:00
KillzXGaming
4c15462c7f Adjust assimp again 2019-07-18 14:09:54 -04:00
KillzXGaming
f3f94a1e87 Fix build errors 2019-07-18 13:43:28 -04:00
KillzXGaming
7dc00e4bf3 Tons more bffnt progress. Adjust assimp version to fix issues 2019-07-18 13:33:16 -04:00
KillzXGaming
81326b61f0 Form loading adjustments 2019-07-17 15:03:48 -04:00
KillzXGaming
dfb41d0d80 Adjust main form loading a bit 2019-07-16 21:36:08 -04:00
KillzXGaming
9e01d29127 Update direct x tex 2019-07-16 18:39:17 -04:00
KillzXGaming
6d683f1c08 Fix octokit for updater 2019-07-16 18:35:21 -04:00
KillzXGaming
492eae9ed7 Test 2019-07-16 18:29:26 -04:00
KillzXGaming
32fbd1496b Try to fix some build issues 2019-07-16 18:15:49 -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
53587d6005 Another bmd fix 2019-07-15 16:50:50 -04:00
KillzXGaming
8d66c3e19e Fix parsing MAT4 for bmd 2019-07-15 16:49: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
7bf92f8fc4 Reinstall assimp 2019-07-14 14:39:02 -04:00
KillzXGaming
fc6f78c0f4 Some assimp fixes 2019-07-14 13:54:09 -04:00
KillzXGaming
dbc3e9220a Adjustment to assimp dll 2019-07-14 13:36:16 -04:00
KillzXGaming
72ed8ac327 Fix the curve index data type for texture pattern infos 2019-07-14 11:48:07 -04:00
KillzXGaming
bc3ea50d37 Another alignment adjustmenet for v2 aamp to be more accurate 2019-07-14 11:40:01 -04:00
KillzXGaming
2c0abce7df Fix an issue with aamp v2 strings with improper alignment at the end 2019-07-14 11:38:12 -04:00
KillzXGaming
89aa259cf8 Make sure the sub index is -1 for pattern infos 2019-07-14 11:08:06 -04:00
KillzXGaming
631f59ef93 Add audio meta data icons 2019-07-13 15:54:39 -04:00
KillzXGaming
fbec00de01 Add better audio check for bars 2019-07-13 15:04:56 -04:00
KillzXGaming
d74988583f Allow for empty texture paths 2019-07-12 20:06:31 -04:00
KillzXGaming
d9db8c3b09 Adjust assimp version to a more stable build. Add bmd replacing/exporting 2019-07-12 19:44:17 -04:00
KillzXGaming
7364a1d6e1 A few generic shader tweaks 2019-07-12 17:57:41 -04:00
KillzXGaming
d87426fbd8 bmd fixes and fix image editor issues 2019-07-12 15:28:14 -04:00
KillzXGaming
8c0c625ab5 Fix material names 2019-07-11 21:02:30 -04:00
KillzXGaming
3d8b8f7263 Get bmd materials properly by remap index 2019-07-11 20:56:11 -04:00
KillzXGaming
3c3ab5fc32 Add getters/setters for bmd materials 2019-07-11 20:46:45 -04:00
KillzXGaming
9c5917cc6a Load bmd textures to opengl 2019-07-11 19:51:28 -04:00
KillzXGaming
7f679b9fa6 Add bmd drawing 2019-07-11 19:38:29 -04:00
KillzXGaming
5081e39414 More format additions and fixes.
Fixed MKAGPDX models a bit so they aren't all missing mesh data. Skinned ones are still buggy!
 BMD wip support using SuperBMDLib.
 Adjusted gui loading a little bit.
2019-07-11 17:22:59 -04:00
KillzXGaming
a28606e150 Fix some ptcl saving issues from bfres having null data 2019-07-10 19:21:53 -04:00
KillzXGaming
61ef67ea29 Don't check for string table magic due to some bfres not having it 2019-07-06 11:44:19 -04:00
KillzXGaming
ab80051646 More additions and fixes.
Added GMX rendering (note explodes atm)
Fixed mario tennis aces/ultra compression (now uses external dll from Simon)
Fixed a bug where file sizes for IArchives (TMPK and ME01) would not adjust on save. casuing corrupted file data.
2019-07-05 14:45:16 -04:00
KillzXGaming
9d203da716 Add option to automatically compress on save with no notification 2019-07-03 12:56:28 -04:00
KillzXGaming
7a396e2095 Fix BARS that have null audio entries for certain slots 2019-07-02 20:01:10 -04:00
KillzXGaming
48859f6041 Few more relocation table fixes for 0.9 bfres 2019-06-29 19:15:28 -04:00
KillzXGaming
74cc67c055 More 0.9 bfres save fixes 2019-06-29 19:12:49 -04:00
KillzXGaming
fff2d5926c Fix botw shader fresnel lighting 2019-06-29 13:55:04 -04:00
KillzXGaming
f9ec221c1a Fix specular map display for botw when used in debug shading 2019-06-29 13:25:40 -04:00
KillzXGaming
402c2cee5e Fix bntx texture format issues with R8G8_SNORM 2019-06-29 12:33:27 -04:00
KillzXGaming
f776b46138 Fix 0.9 bfres savig with material animations 2019-06-28 18:02:11 -04:00
KillzXGaming
c52556e8e1 Automatically check if direct x tex is loaded properly or not 2019-06-27 20:39:38 -04:00
KillzXGaming
b2b1907046 Attempt to resolve direct x tex assembly if it's bad. Hopefully fixes crashes. 2019-06-27 14:58:51 -04:00
KillzXGaming
47ca70a015 Fix 0.9 bfres with scene animations. Add toggle for direct x tex decoder 2019-06-27 14:38:13 -04:00
KillzXGaming
141be9ff4f Fix reading v0.8 bfsha 2019-06-26 19:53:09 -04:00
KillzXGaming
04383b262d More rebuilding fixes for 0.9 bfres 2019-06-26 19:16:15 -04:00
KillzXGaming
3edbaece3f Allow saving for 0.9. Note this will crash if it has animations 2019-06-26 18:30:10 -04:00
KillzXGaming
e88d42b4ce Add toggle to frame bfres on select 2019-06-26 15:58:28 -04:00
KillzXGaming
108600e930 Fix 0.9 bfres skeletal animations 2019-06-26 15:32:15 -04:00
KillzXGaming
1444594fd1 More v0.9 switch bfres fixes (NO SAVING YET) 2019-06-26 15:13:49 -04:00
KillzXGaming
bbb0cbf933 Some fixes to 0.9 switch bfres 2019-06-26 13:56:10 -04:00
KillzXGaming
0d4f208365 Fix legacy mode 2019-06-25 17:08:25 -04:00
KillzXGaming
07c37ef3d4 Fix material exporting and bfres saving for user data that contains non string types 2019-06-24 20:51:35 -04:00
KillzXGaming
6798db20de Add massive speed boost and memory improvements for archives with 1000s of files
This also fixes transparency on PBR shader.
Fixes odyssey costume viewer framing bfes
2019-06-24 15:45:54 -04:00
KillzXGaming
7395d78d67 Fix string entries not being relocated properly for user data (switch bfres) 2019-06-22 18:45:43 -04:00
KillzXGaming
09e9bf0e95 Better gfbmdl materials 2019-06-21 22:24:33 -04:00
KillzXGaming
067244555a Improve gfmdl support. Fix raw astc exporting 2019-06-21 18:18:22 -04:00
KillzXGaming
0fbb18ac85 Update preview scale for kcl 2019-06-20 17:20:06 -04:00
KillzXGaming
ad1c4aed4e Improve lighting view in pbr shader. Start on SEModel support. 2019-06-20 15:29:04 -04:00
KillzXGaming
acc7dcd9c9 Update switch bfres library 2019-06-20 08:58:02 -04:00
KillzXGaming
307747ba1b Cleanup tool menu 2019-06-19 18:58:36 -04:00
KillzXGaming
a9f26c2670 More framework updates 2019-06-19 17:46:43 -04:00
KillzXGaming
cae1d75173 Update to latest gl framework 2019-06-19 17:05:44 -04:00
KillzXGaming
54c4bac8bc Add MKAGPDX model viewing and exporting 2019-06-19 14:57:59 -04:00
KillzXGaming
8f849bf260 Add working SDF (Mario and Rabbids) archive support. 2019-06-16 19:35:46 -04:00
KillzXGaming
2ed4dd0971 Make sure to only use transparency if enabled for pbr shader 2019-06-16 10:01:36 -04:00
KillzXGaming
5b156b8c24 Reinstall assimp to fix errors 2019-06-15 14:26:24 -04:00
KillzXGaming
a7db504a5a Update back to latest assimp and now use a new work around for bone names 2019-06-15 09:14:35 -04:00
KillzXGaming
c756089aad Fix srgb toggle for off for ftex 2019-06-14 20:26:46 -04:00
KillzXGaming
a8698a2ef4 Add LZARC support and a few random fixes. 2019-06-14 17:23:02 -04:00
KillzXGaming
95d434a058 Add option to toggle SRGB for ftex 2019-06-13 20:05:05 -04:00
KillzXGaming
add182f902 Rework form editors a bit for later loading docked for archives 2019-06-13 18:40:29 -04:00
KillzXGaming
18120fa028 Some sampler fixes for odyssey 2019-06-12 16:18:30 -04:00
KillzXGaming
05516ed3df Gamma fix pbr diffuse color 2019-06-12 15:57:24 -04:00
KillzXGaming
29cee96d39 Adjust settings for tphd path 2019-06-11 21:03:17 -04:00
KillzXGaming
35f547e9a7 Nearly working now 2019-06-11 19:51:27 -04:00
KillzXGaming
4536246d6f Sort bone indices properly to prevent possible stretching. 2019-06-11 16:44:59 -04:00
KillzXGaming
06a26c586f Fix label scaling in settings 2019-06-11 15:50:27 -04:00
KillzXGaming
41adcfffc1 Tons more RSTB progress (Note file in archives don't work yet) 2019-06-11 15:39:23 -04:00
KillzXGaming
d39ca57044 Fix windows scaling for tool 2019-06-10 20:03:27 -04:00
KillzXGaming
b2f48fa8e9 Add support for channel components for bfres shaders, 2019-06-10 18:06:31 -04:00
KillzXGaming
cce69d12e2 Some more fixes and optmizations. 2019-06-10 16:30:06 -04:00
KillzXGaming
bb691dcd0b Start to add multiple editor switching for archive files 2019-06-09 20:03:56 -04:00
KillzXGaming
8b052bf4b4 Fix font scaling on title bar 2019-06-09 17:27:07 -04:00
KillzXGaming
f6fdae96f6 A few fixes to archives 2019-06-08 20:19:55 -04:00
KillzXGaming
9b9a44b9a4 A few more assimp adjustments 2019-06-08 14:32:03 -04:00
KillzXGaming
5ffcdcabf6 Downgrade assimp to prevent bugs like bone names being wrong. 2019-06-08 14:26:13 -04:00
KillzXGaming
890f5afcf7 Check audio amount before adding entries for bars. 2019-06-07 17:01:24 -04:00
KillzXGaming
375d054522 Add support for BARS with only meta entries 2019-06-07 16:56:54 -04:00
KillzXGaming
e531a779ed Small fixes and additions
Fixed mesh name exporting for assimp.
Fixed clearing models for bfres.
Fixed limit skin count setting.
Fixed material index breaking if a material is removed for bfres.
Update the vertex data properly if a model is imported as new.
Added AMTA editing for BARS.
Added audio player for BARS.
2019-06-07 16:31:13 -04:00
KillzXGaming
157ff75b79 Add model cycling if multiple models are active in an editor.
Models can be cycled in the same editor. The active one now gets properly set. You can adjust the combo box to preview multiple models in the scene.
Fixed a bug where some models would project on the top of the screen as duplicates.
2019-06-06 15:40:32 -04:00
KillzXGaming
f4f946fce5 Fix specular map issues causing a texture overlayif unused. 2019-06-05 17:44:23 -04:00
KillzXGaming
13b346ddde Display emblem on karts properly 2019-06-04 20:17:19 -04:00
KillzXGaming
e40c081560 Pass the specular texture to the reflection pass for better reflections 2019-06-03 20:59:54 -04:00
KillzXGaming
537da9866b Some crash fixes when playing an animation 2019-06-03 20:53:11 -04:00
KillzXGaming
8a22275cd5 Animation fixes for playing last frame 2019-06-03 20:04:15 -04:00
KillzXGaming
47cd45b4e0 Add support for specular colors if used 2019-06-03 19:00:46 -04:00
KillzXGaming
e14286d871 Quick fix for saving nutexb with file save rather than right clicking and save. 2019-06-03 17:22:36 -04:00
KillzXGaming
7d09926899 Prevent cursor from reseting to 0 for param editing 2019-06-02 16:15:33 -04:00
KillzXGaming
f52b605dce Adjust wiki link 2019-06-02 14:42:27 -04:00
KillzXGaming
bf2e9b4d81 More fixes for permissions 2019-06-01 19:09:27 -04:00