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

1025 Commits

Author SHA1 Message Date
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
5e4ec3d131 Start to add a base for multi select tree for layout editor 2020-02-17 19:54:50 -05:00
KillzXGaming
eb0ddc7864 Some color selector improvements 2020-02-17 19:50:18 -05:00
KillzXGaming
d8676959ec Add some additional text pane properties 2020-02-16 20:15:02 -05:00
KillzXGaming
d0b6d132c7 Save current byaml text format to config to stay when reopened 2020-02-16 12:24:31 -05:00
KillzXGaming
9e0f3e0516 Some byaml improvements
Add XML format to byaml text editor.
Disable reference nodes in text editor for now till i find a better method to handle them.
2020-02-16 11:55:47 -05:00
KillzXGaming
07b0259805 Some more layout editor improvements
Textures in the list keep aspect ratio now.
Fix creating new user data. and remove any if empty.
2020-02-16 11:18:18 -05:00
KillzXGaming
1a548f9f80 A few more layout editor improvements 2020-02-15 20:57:21 -05:00
KillzXGaming
454268a740 Improve the color dialog more 2020-02-15 19:13:41 -05:00
KillzXGaming
7751ebed52 Add selection outlines for vertex color selector 2020-02-15 18:40:09 -05:00
KillzXGaming
bffa623e01 Some quick bone index fixes 2020-02-15 18:24:35 -05:00
KillzXGaming
180f2e5b91 Improve the vertex color selector for layout editor.
Hitboxes improved and should detect clicks much better.
Sides can now be selected to adjust the whole side color of the pane.
2020-02-15 17:39:22 -05:00
KillzXGaming
af8a8f17f6 Add latest files
Start on base for BLO. These will probably not be usable for awhile and is wip.. Currently aiming to support more varied layouts so this can help improve the code base.
Add BRFNT and BCFNT support. All merged as BXFNT class.
Fix bflim 3ds with LA4 textures.
Fix loading/saving part panes with property user data.
Fix texture coordinates to default centered UVs for layout panes with no textures.
Cleanup some files and directories.
2020-02-14 18:25:08 -05:00
KillzXGaming
ba43fa5633 Fix periods for SMD again, this time on the right save method 2020-02-13 18:55:57 -05:00
KillzXGaming
2138a4b954 Cleanup how archive files update for layout editor 2020-02-12 17:50:10 -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
89d5b621b2 Giant layout update. Support BRLYT and BCLYT files!
BRLYT can now be edited and saved.
BCLYT can now be edited and saved.
BRLYT shaders greatly improved using ported shaders from WiiLayoutEditor. Plan to expand upon it for more accuacte shader rendering.
Add support for saving per character transforms.
Add support for BNR files.
Fixed flags so orientation can be edited properly.
Fix issues decoding some gamecube textures.
Fix animation timeline breaking at times for multi selecting animations.
2020-02-11 19:19:23 -05:00
KillzXGaming
9918b811a8 Fix SMD exporting for different culture decimal seperators 2020-02-11 17:55:57 -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
2076905094 Some cleanup 2020-02-08 17:17:49 -05:00
KillzXGaming
f86519c81c Rebuild cmb vertex buffers when saving 2020-02-08 15:24:54 -05:00
KillzXGaming
217771ce83 Fix the total mip counter to adjust sizes based on format limits 2020-02-08 15:11:53 -05:00
KillzXGaming
1e62b23013 Some more fixes 2020-02-08 15:09:40 -05:00
KillzXGaming
817367343a Fix errors 2020-02-08 14:54:18 -05:00
KillzXGaming
e39eec97cb Resize width/height to fit proper 3ds texture limits 2020-02-08 14:48:04 -05:00
KillzXGaming
e3c1525cfe Fix L4 and A4 alpha issues 2020-02-08 14:40:20 -05:00
KillzXGaming
8534f6862c Fix L4 encoding 2020-02-08 14:36:16 -05:00
KillzXGaming
bfc02c117d Add ETC1 compressor 2020-02-08 14:06:01 -05:00
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