1
0
mirror of synced 2024-11-14 19:17:39 +01:00
Commit Graph

584 Commits

Author SHA1 Message Date
KillzXGaming
fa65123521 Fix erorrs 2020-03-18 11:44:41 -04:00
KillzXGaming
be11a08a65 Some fixes to batch exporting. Add batch compression 2020-03-18 11:42:17 -04:00
KillzXGaming
101b0aaa8e Fix Wii U bfres visibility animation curves 2020-03-15 17:30:22 -04:00
KillzXGaming
6747035109 Fix saving bfres with visibily animations (would be invisible) 2020-03-15 16:48:20 -04:00
KillzXGaming
bfdc4000fa
Quick error fix 2020-03-09 20:54:20 -04:00
KillzXGaming
979b39d374 Try to fix errors 2020-03-08 18:57:18 -04:00
KillzXGaming
574590e869 Start to add batch export option (only works on g1m and cmb atm) 2020-03-08 18:48:18 -04:00
KillzXGaming
7714fbecac Fix bug saving v1 aamp strings 2020-03-03 21:25:26 -05:00
KillzXGaming
0b0a42a870 Some AAMP v1 fixes from yaml 2020-03-03 21:17:03 -05:00
KillzXGaming
37b49d131e Add more aamp hashes 2020-03-03 17:25:26 -05:00
KillzXGaming
00a48d4b4a Some adjustments 2020-02-28 16:52:24 -05:00
KillzXGaming
284f727e9a Revert assimp to previous version 2020-02-28 16:49:18 -05:00
KillzXGaming
fada66dbe9 Fix some DPI scaling glitches 2020-02-24 19:07:14 -05:00
KillzXGaming
9d0dd3cb94 Use texture name instead of file name for batch exporting single file textures 2020-02-19 18:52:58 -05:00
KillzXGaming
cc81f88c9a Update assimp to the latest.
This build will fix DAE vertex colors importing wrong. May fix other potential importing issues.
2020-02-17 20:12:47 -05:00
KillzXGaming
d32f8bfb24 Make sure to disable 32 bit option for release so libraries don't break 2020-02-13 16:00:23 -05:00
KillzXGaming
c17b7c85ef Fix a crash when saving wii u bfres with params using no constants. 2020-02-12 20:08:58 -05:00
KillzXGaming
e5f0745818 Improve gfbmdl UV transformation for diffuse textures 2020-02-12 19:15:31 -05:00
KillzXGaming
6129ab2b4e Many more bug fixes and layout rendering improvements.
Add support for BCLAN.  (It's basically the same as BRLAN)
Fix saving for BRLAN.
Fix 3DS textures being upside down for BCLYT.
Improve BCLYT rendering.
Improve texture transforms for BCLYT and BFLYT.
Fix tev stage properties not appearing for BCLYT editor.
Fix C4 and C8 decoding.
2020-02-12 16:56:16 -05:00
KillzXGaming
6931350fac Fix RGBA Snorm textures. Remove file extension from batch export folders. 2020-02-12 15:54:16 -05:00
KillzXGaming
946fa08518 BFRES : Fix some more importing bugs
Only align buffers when using a single buffer.
2020-02-11 16:49:27 -05:00
KillzXGaming
bfc02c117d Add ETC1 compressor 2020-02-08 14:06:01 -05:00
KillzXGaming
868ce95cd0 Remove extension for batch export 2020-02-07 15:54:59 -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
d991a23980 Add support for G1M model files. Rewrite some bone properties. 2020-02-06 19:47:32 -05:00
KillzXGaming
978cb5b8c8 Fix errors again 2020-02-06 18:29:42 -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
d70fef1f9f BFLYT : Improve saving (material flags and part panes) 2020-02-03 17:17:49 -05:00
KillzXGaming
c01be70a71 Add dialog to copy skeletal animations 2020-02-02 20:40:26 -05:00
KillzXGaming
018a55c63e Fix 0.9 BFRES with model user data (TMS#FE save fix) 2020-01-30 18:42:01 -05:00
KillzXGaming
ef12ed15d4 BFRES : Add buffer alignment for stride of 12 for single attribute/buffer,
This will fix potential corruption in certan games.
2020-01-29 17:02:32 -05:00
KillzXGaming
056fdb3e1a Add game setting presets to BFRES importing.
These can cause signicant improvement to models with smaller sizes and potentially fix exploding and corruption (ie WWHD, SM3DW). Botw should have fixed crash issues now that the file size is signifcantly lower.
2020-01-27 18:44:03 -05:00
KillzXGaming
12e566df37 Some more fixes with KCL editor 2020-01-26 18:35:05 -05:00
KillzXGaming
35fa7f4633 Add options to add comment string for json files 2020-01-26 18:05:32 -05:00
KillzXGaming
283673ac08 Fix preset typo 2020-01-26 17:05:08 -05:00
KillzXGaming
89b899beef Fix json encoding isse 2020-01-26 17:02:42 -05:00
KillzXGaming
706c03f4ac Update material presets 2020-01-26 16:58:13 -05:00
KillzXGaming
31c48c66fb New KCL preset UI with json files to configure them. 2020-01-26 16:51:04 -05:00
KillzXGaming
a5d58aa268 Fix KCL AttributeByml generation for SMO materials 2020-01-22 19:14:20 -05:00
KillzXGaming
176f67c52f KCL : Improve odyssey default values and fix material prefix support 2020-01-19 19:42:25 -05:00
KillzXGaming
fec4f23d1e KCL : Impliment custom SMO collision editor which updates Attribute.byml 2020-01-19 19:30:17 -05:00
KillzXGaming
fad6721fce Update bfres libraries to latest 2020-01-16 21:04:02 -05:00
KillzXGaming
48af05941f Some BCRES/BCH adjustments 2020-01-16 20:51:23 -05:00
KillzXGaming
22e59e6684 BCRES/BCH : Some fixes with combiners 2020-01-15 18:53:38 -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
e639ac58b0 BFRES : Fix scene animations saving for switch. 2020-01-10 19:18:10 -05:00
KillzXGaming
26bb57fbce BARS : One more alignment fix for SMM2 and other games. 2020-01-03 20:02:30 -05:00
KillzXGaming
da8600be9a BARS : Fix file alignment so files save 1 to 1 2020-01-03 19:55:34 -05:00
KillzXGaming
f5c6797023 Add the option to reset UV transforms for GFBMDL imports 2019-12-29 16:11:07 -05:00
KillzXGaming
abe60bec56 Fix shaders erroring out on certain graphic cards from bad float returns. 2019-12-29 15:33:48 -05:00
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