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

52 Commits

Author SHA1 Message Date
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
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
KillzXGaming
1becccb4ec Map bmd materials by index rather than name for opengl 2019-07-12 17:53:57 -04:00
KillzXGaming
d87426fbd8 bmd fixes and fix image editor issues 2019-07-12 15:28:14 -04:00
KillzXGaming
134eff9401 More BMD fixes and adjustments 2019-07-11 20:23:47 -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
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
eab5c3ee55 Make batch exporting for all supported wii u texture types 2019-07-05 16:55:50 -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
ade73e6560 More render texture improvements. Fix a fix model importing issues. 2019-06-28 14:58:17 -04:00
KillzXGaming
1c49911d47 Add cubemap previewer to image editor 2019-06-27 19:08:12 -04:00
KillzXGaming
9fe7f254ff Generate mip maps for custom irradiance maps if they have none (prevents black skyboxes) 2019-06-20 16:05:07 -04:00
KillzXGaming
cc2e7df037 Fix shader issue from multiple viewports 2019-06-19 19:41:35 -04:00
KillzXGaming
cae1d75173 Update to latest gl framework 2019-06-19 17:05:44 -04:00
KillzXGaming
d39ca57044 Fix windows scaling for tool 2019-06-10 20:03:27 -04:00
KillzXGaming
f6fdae96f6 A few fixes to archives 2019-06-08 20:19:55 -04:00
KillzXGaming
921b267b44 Improve legacy support and a few fixes.
Cursor for param editing doesn't reset anymore to the top right of the screen.
Fixed some direct c tex issues with loading.
2019-05-31 15:08:14 -04:00
KillzXGaming
3b4bb242c5 Starto to add material presets. Add option to add empty meshes 2019-05-30 15:28:43 -04:00
KillzXGaming
0e72164823 Load bones the same way 2019-05-20 16:10:57 -04:00
KillzXGaming
bccb8f3af4 Optmize model/shader loading for bfres. Save block setting to 1MB for KSA to not crash 2019-05-20 16:01:43 -04:00
KillzXGaming
304b00fe49 More PBR improvements. Fix skybox to be a proper skybox 2019-05-16 16:01:22 -04:00
KillzXGaming
9767d71f75 Update custom cubemaps on viewport if changed 2019-05-15 19:54:45 -04:00
KillzXGaming
cd57a856fc Add improvements from yesterday.
PBR shader slghtly improved.
Skyobx toggle now works while viewport is active,
Cubemaps now have a check wether or not the file given is a valid cube map dds.
Update column sizing so forms load much faster
Option to right click and clear paths in settings if set
2019-05-15 15:35:05 -04:00
KillzXGaming
82f1f54e16 Add toggle between diffuse and specular cube map skybox 2019-05-14 19:15:52 -04:00
KillzXGaming
5c91e66c08 Adjust bone size for botw automatically based on shader name 2019-05-14 18:51:57 -04:00
KillzXGaming
5160d0f688 More fixes with cubemaps and skybox rendering 2019-05-14 18:21:38 -04:00
KillzXGaming
6c8fac8bc1 Add and load custom pbr diffuse and specular cube maps 2019-05-14 18:09:49 -04:00
KillzXGaming
713370881f Fix orientation cube texture conflict finally! 2019-05-13 17:17:36 -04:00
KillzXGaming
1f9ce6b2fe Some fixes for PTCL editor and filters 2019-04-28 17:14:05 -04:00
KillzXGaming
74973a24bb Add more fixes and improvements 2019-04-22 17:52:21 -04:00
KillzXGaming
76ca51d20a Fix more bugs. Additional probe stuff 2019-04-10 15:36:10 -04:00
KillzXGaming
6414744c28 Add probe lighting object to muunt editor 2019-04-09 19:43:24 -04:00
KillzXGaming
f8a754058a Set model matrix to fix some transform issues 2019-04-05 19:52:59 -04:00
KillzXGaming
7bea95b199 Update to the latest opengl framework and more bug fixes 2019-04-05 19:47:21 -04:00
KillzXGaming
ab44950984 Fix preview scale 2019-03-24 11:31:19 -04:00
KillzXGaming
d1f03b161f Add files for the new one.
Rework UI from scratch with proper themes and custom controls. MDI windows are now used for workspaces, comparing docs, and multiple usages. Tabs organise multiple workspaces and you can keep mdi windows maximized if you want to only use tabs. Themes currently include dark and white theme but plan to have XML files with list of color and styles
Alot of things optimized. UI is very fast and snappy now
Dae rigging fixed.
Dae bones can be imported.
Dae with textures can be imported and exported to a folder
Custom sampler editor for sampler data.
Texture refs, shader options, params, render info, and basically all material data can be added/removed and edited
User data editor
Update opengl framework by JuPaHe64 to the newest. Includes an origintation cube, multiple models in a scene, and many improvements
Skeleton can be viewed
GFPAK with some fixes in saving
NUTEXB has proper mip map viewing
PTCL Editor (Wii U and Switch). Can edit colors ( Wii U) and view textures. Also EFFN files in smash ultimate can be previewed
Files can be associated with the program and opened with on clicking them
ASTC textures can be viewed
UVs can be viewed. Includes wrap modes and also translating and scaling for some basic edits
Textures use a new editor. It includes channel viewing and some new editing options
Fixed black textures on some wii u bfres
Fixed saving sarcs in sarcs
Shortcut keys have been added in. CTRL + S can save the active file in the currently used window
Fix more issues with bfres crashing
File - New includes BNTX for creating new bntx files from scatch
Raw shader binaries can be extracted from bnsh and bfsha. Yuzu and Ryujinx can decompile these
Sharc files can have source data previewed and shader programs in XML
Aamp v1 and v2 data can be previewed. v1 can be edited and saved atm, v2 will be at a later update
Byaml uses it's own editor instead of a seperate window for easy saving within sarcs
Archives have a hex viewer
Dae exporting greatly improved and can export rigged meshes
Scene, shader param, srt, color, and texture pattern animations can all be previewed (in a list)
Memory usage is greatly improved
Narc (Nitro Archives) can be viewed and extracted.
Fixed importing TGA images
Support importing ASTC textures for bntx
Added in PBR lighting for bfres from my implimentaion in forge
Added gradient background for viewport. This can be edited in the settings
Added skybox background option for viewport. Can load cubemaps
Added grid with customizable cells for viewport.
DDS decompression no longer requires Direct X tex.
Zlib decompression has been improved for opening files that use it
Rigid bones are properly ordered on importing a mesh. May fix some exploding issues.
Endianness for KCL can be toggled for saving. Will be set to what it was using orignally
Tangents can be filled with a constant value. Will allow them to not cause seams nor flat lighting however normal maps may not work as good
Vertex buffers can be added and removed. Also re encoded
Parameters now use drop down panels with values for easier editing
Reworked the bone editor. Everything for a bone can be fully edited now besides the index, billboard index and parent index  which get set automatically
Fixed animation scaling for skeletal animations finally!
Textures can be loaded in a tab now with thumbnail displaying for easy real time edits while previewing in the viewport

Fixed support for audio files to be big endian in BARS
Textures for switch now use their own folder. You can easily add textures to this and add textures to bfres that have no bntx. If there are no textures then the bfres will automatically not have one on save.
Animations are split into multiple sub sections for switch's material animation for easier access
Bfres for wii u has better binary exporting and is fully compatiable with Wexos Toolbox (to and from)
Every section can be added in as new for both wii u and switch.
Every section can be renamed properly and mostly everything can be edited. (Key frame editing and a more in depth curve editor later)
Added option to copy UV channel
Bone weights can be previewed
Tons of fixes for the switch bfres library with more games working. Splatoon 2 (more work now), BOTW, Kirby Star Allies, and more!
Fixed 3.3 Wii U bfres from not opening
Wii U Sharcfb files can have shader program data previewed (XML)

And possibly alot more things i missed! All this is still experimental but will improve over the next few weeks
2019-03-23 12:55:09 -04:00
KillzXGaming
00875d5aec Thanos the old tool. 2019-03-23 12:52:50 -04:00
KillzXGaming
2c8f5d2c6c Combine texture methods and functions into one main class. 2018-12-12 21:28:57 -05:00
KillzXGaming
716d1c4520 More clean up and additions
- Starting to make all texture classes use STGenericTexture. This will make all functions usable between each one and converting through other classes much easier.
- Many bug fixes to the texture importer like duped texture importing, dds opening the window, index out of range issues, etc.
- Start on titlebar information.
- Start on ASTC texture format support.
- Support TGA images.
- Support FTEX importing and saving properly.
- Export models properly along with textures (with generic classes). Todo, support rigs and bones.
2018-12-10 18:48:51 -05:00
KillzXGaming
5cfec193bf Rework GTX swizzle thanks to abood and rebuild nutexb 2018-11-30 22:00:43 -05:00
KillzXGaming
50ea4183ef Tons of stuff!
- Compress BC1 with alpha.
- Add GFPAK rebuilding.
- Fix some lag issues with bntx textures loading
- Fix saving multiple files.
- Support DDS cubemap importing
- Support rigged DAE/FBX files.
- Support animation playing thanks to smash forge.
- Some minor stuff to prepare custom animations.
- Many bug fixes.
2018-11-22 10:20:12 -05:00