1
0
mirror of synced 2024-11-15 03:27:38 +01:00
Commit Graph

18 Commits

Author SHA1 Message Date
KillzXGaming
28e0edb8ad Prevent failed images from loading in opengl 2019-11-05 17:32:39 -05: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
6ec78fa2c5 More layout rendering fixes 2019-09-18 20:50:52 -04:00
KillzXGaming
f9d1a99431 Fix 3d cubemap preview 2019-09-10 19:54:36 -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
4b330c475b Swap R and B manually decoded textures for opengl rendering 2019-08-30 19:23:39 -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
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
326b11aef6 More format fixes. Add custom parameters for not swapping red and green channels 2019-07-29 15:48:36 -04:00
KillzXGaming
aa0bbfc57c Fix exporting individual levels as dds for bffnt 2019-07-17 16:42:47 -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
134eff9401 More BMD fixes and adjustments 2019-07-11 20:23:47 -04:00
KillzXGaming
1747e5976d Fix samplers for Tokyo Mirage Sessions 2019-07-07 15:27:31 -04:00
KillzXGaming
3b571a0319 Ops don't disable that 2019-07-07 15:22:32 -04:00
KillzXGaming
8f15b9fab0 Add fix for rare case of textures only using mipdata for ftex 2019-07-07 15:21:44 -04:00
KillzXGaming
e1bb711bdb Don't load array levels by default 2019-07-07 15:02:20 -04:00
KillzXGaming
ade73e6560 More render texture improvements. Fix a fix model importing issues. 2019-06-28 14:58:17 -04:00