Commit graph

248 commits

Author SHA1 Message Date
KillzXGaming
1487422c38 Readd param XML swapping from 0.8 2019-04-13 12:01:01 -04:00
KillzXGaming
c4e343b07d Fix bflim issues 2019-04-12 20:30:42 -04:00
KillzXGaming
932bab3c75 Add collision type window. Not editable just yet 2019-04-12 19:32:38 -04:00
KillzXGaming
79036ecb95 Fix bfres importing bugs and alignment corruption from importing sections 2019-04-12 15:34:42 -04:00
KillzXGaming
007376e891 Another fix 2019-04-11 20:25:00 -04:00
KillzXGaming
6fbcc163cb Fix vertex count breaking the numberic UD max 2019-04-11 20:21:42 -04:00
KillzXGaming
b9fdf08695 Fix error 2019-04-11 20:12:21 -04:00
KillzXGaming
d580c37a21 Add vertex count display for shape editor 2019-04-11 20:11:25 -04:00
KillzXGaming
854bee2a56 Fix errors 2019-04-11 19:43:49 -04:00
KillzXGaming
dada4bb9c3 Add seperate export filer for FMDL to remove unused types atm 2019-04-11 19:43:04 -04:00
KillzXGaming
4779b4cff1 More image editor fixes 2019-04-11 19:28:35 -04:00
KillzXGaming
3a153b5ed1 Flip UVs on export 2019-04-10 17:44:35 -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
bab9ce9022 Fix dae exporting with only indices and no weights. Fix sharc crashes. 2019-04-09 17:24:39 -04:00
KillzXGaming
7fe264136c Skip array/depth levels for GX2 for now till that gets fixed 2019-04-08 21:33:18 -04:00
KillzXGaming
b59148d262 Add GX2 swizzle function to GX2 class. 2019-04-08 20:19:50 -04:00
KillzXGaming
353e8588d2 Cleanup swizzle function. Remove old one 2019-04-08 20:09:17 -04:00
KillzXGaming
d9b8b45d12 Fix tile mode warning 2019-04-08 19:52:13 -04:00
KillzXGaming
fff3d58cb3 Cleanup muunt and camera mini map stuff. Add game path settings 2019-04-08 17:01:31 -04:00
KillzXGaming
44860c2a0b Camera stuff for tomorrow 2019-04-07 21:24:05 -04:00
KillzXGaming
454c13f6b9 Add even more path objects 2019-04-07 21:14:39 -04:00
KillzXGaming
5c5e130613 Fix typo 2019-04-07 19:40:00 -04:00
KillzXGaming
e830ca7278 Cleanup. 2019-04-07 19:37:31 -04:00
KillzXGaming
ef1cfadb98 Update course muunt viewport better to reflect hding and selection 2019-04-07 18:28:29 -04:00
KillzXGaming
9f1a4d4d12 Change color for item paths 2019-04-07 17:56:41 -04:00
KillzXGaming
aecd4a0d7b Add proper null checks 2019-04-07 17:54:37 -04:00
KillzXGaming
08b4f3296e Fix some bugs 2019-04-07 17:14:55 -04:00
KillzXGaming
19852762c6 Fix incorrect skeleton scaling and rotations from applying in editor 2019-04-07 12:52:06 -04:00
KillzXGaming
be829619a2 Some fixes.
Fixed bone editor not showing properly.
Fixed viewport not updating properly.
Removed bad tile mode for GX2 and fix altering them.
2019-04-07 12:26:43 -04:00
KillzXGaming
732811119e Set muunt editor as viewport container 2019-04-06 21:48:09 -04:00
KillzXGaming
8d9c78cdc9 Fix path getting for proper hiding 2019-04-06 21:45:25 -04:00
KillzXGaming
5d35c62e56 Don't limt swizzle value atm till i fix a few things 2019-04-06 21:34:44 -04:00
KillzXGaming
dd4f352082 Add more paths 2019-04-06 21:30:25 -04:00
KillzXGaming
a0b28dc7ae More improvements 2019-04-06 20:34:12 -04:00
KillzXGaming
47dee0ea3d More course muunt stuff 2019-04-06 20:16:41 -04:00
KillzXGaming
f4189a9e39 Cleanup muunt editor 2019-04-06 19:11:59 -04:00
KillzXGaming
c173edd611 Fix sub files issues 2019-04-06 18:30:22 -04:00
KillzXGaming
4865ca1a8f Rename GTX class to GX2 2019-04-06 15:58:20 -04:00
KillzXGaming
fba66217d1 Some encoding fixes to GTX 2019-04-06 15:52:09 -04:00
KillzXGaming
3bccc3ca5e Add enemy paths to muunt editor 2019-04-06 15:13:55 -04:00
KillzXGaming
9c28afdfe2 Apply path moving to node data so it saves back 2019-04-06 13:46:35 -04:00
KillzXGaming
c7851c8d16 Load lap path properties on select 2019-04-06 13:29:42 -04:00
KillzXGaming
37a34b8ef5 Fix renderable object in course muunt editor to be movable 2019-04-06 13:07:23 -04:00
KillzXGaming
ea099ee2dd More fixes and try to load depth data 2019-04-06 11:37:50 -04:00
KillzXGaming
62cbad92dd Add actor file renamer for SZS files in odyssey 2019-04-05 21:10:57 -04:00
KillzXGaming
7bea95b199 Update to the latest opengl framework and more bug fixes 2019-04-05 19:47:21 -04:00
KillzXGaming
edb5c230ca Add textures to later ptcl versions 2019-04-03 21:57:34 -04:00
KillzXGaming
85530715bb Try to fix errors 2019-04-01 20:06:31 -04:00
KillzXGaming
7bd00f6de7 Fix dae rigging for good now 2019-04-01 15:04:16 -04:00
KillzXGaming
9c439f099d Massive speed improvement to bfres saving with animations + bug fixes
Fixed bfres from taking too long to save with 100s or even 1000s of animations. From 30 - 70 minutes, to over 8- 20 seconds!
Fixed weights and buffers not importing properly.
Fixed byaml editor's dialog buttons improperly placed on resize.
2019-03-30 21:54:19 -04:00
KillzXGaming
383dc2add1 Fix issue with models being hidden causing lag 2019-03-30 15:57:01 -04:00
KillzXGaming
46b9587908 Update container list for texture loader 2019-03-30 14:55:04 -04:00
KillzXGaming
9be1d645f0 Fix crash when scrolling through 100s of textures in importer 2019-03-30 13:21:01 -04:00
KillzXGaming
525d6d0b27 Use generic format from DDS for converting formats instead. 2019-03-30 11:24:52 -04:00
KillzXGaming
3821db69d5 Fix all the DX10 BCN formats for dds imports 2019-03-30 11:20:56 -04:00
KillzXGaming
4b681ef745
Fix be dx10 textures 2019-03-29 23:43:01 -04:00
KillzXGaming
3fb31a0130
Fix bc1 dx10 textures 2019-03-29 23:38:25 -04:00
KillzXGaming
5d0254a5e2 Double click to hide contents of the timeline, console, and texture viewer 2019-03-29 18:57:54 -04:00
KillzXGaming
2bcae8c2eb Check for unused names for unswizzled nutexb types 2019-03-29 17:36:54 -04:00
KillzXGaming
d5f50d91b8 More fixes to UI and file saving. Also add in bflim editing.
Fixed the shader param editor not adjusting the height for float4 types.
Fixed the shape editor not adjusting some lists properly.
Fixed hash based sarcs not saving right (menu.szs for example).
Fixed bflim sarc alignment from being corrupted.
Add alignment for effect file formats in sarc.
Add bflim to the texture loader in sarc for batch previewing/edits
2019-03-29 15:28:35 -04:00
KillzXGaming
088f9a00e2 Use floats for weights to help prevent exploding since IDK why 8888_unorm breaks :( 2019-03-28 21:13:15 -04:00
KillzXGaming
2707c72182 Fix updater not opening exe properly 2019-03-28 18:11:04 -04:00
KillzXGaming
72f80eb8a2 Fix Y and Z axis bone positions swapped for the bone editor. 2019-03-28 17:32:22 -04:00
KillzXGaming
183b093997 Fix model importer with proper theme style. 2019-03-28 16:24:00 -04:00
KillzXGaming
025d186c66 Update modle importer window to adjust the theme style 2019-03-28 16:15:01 -04:00
KillzXGaming
d37652aaae Add appveyor config 2019-03-27 21:05:01 -04:00
KillzXGaming
9c8bb26a8f Another error fix 2019-03-27 19:20:29 -04:00
KillzXGaming
0b139da8b9 Fix params from not applying right 2019-03-27 15:25:29 -04:00
KillzXGaming
c7eba775b9 Fix param colors not workig properly 2019-03-27 14:59:43 -04:00
KillzXGaming
01fda68f93 Fix bone issues and skeleton importing 2019-03-27 14:50:33 -04:00
KillzXGaming
1e0ea5660e Fix user data not removing entries 2019-03-26 18:24:31 -04:00
KillzXGaming
211326d253 More bug fixes
Fix bymls with path nodes from saving.
Fix material list not loading when another object is selected.
Fix skeletons not exporting
Fix materials missing a name and not updating in the editor properly
- Fix dds and bftex not showing on the filter for bntx/nutexb properly
2019-03-25 16:50:05 -04:00
KillzXGaming
f9d33324ce More bug fixes
Load drawables on constructor for viewport for scene to be loaded properly.
Detect XML formatting for text documents loaded from an archive.
2019-03-24 14:23:11 -04:00
KillzXGaming
c0328e3b82 Fix bntx corrupting textures on save and round params for displaying. 2019-03-24 13:56:09 -04:00
KillzXGaming
c8b77411fa Switch to viewport only if models are present. Fix tex2 swizzle value not loading 2019-03-24 12:12:51 -04:00
KillzXGaming
233b11a022 Fix bugs related to bones.
Fixed bones not displaying when creating new skeletons.
Fixed importing dae bones not displaying properly in the tree.
Fixed bones not clearing when a model is removed
2019-03-24 11:24:40 -04:00
KillzXGaming
cda5329779 Fix kcl generation from not saving 2019-03-23 17:19:32 -04:00
KillzXGaming
0a53c287b3 Option to reset to T pose, and fix wii u bones 2019-03-23 15:13:54 -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
d96f4dec43 Cleanup with new open/save methods. Also add gtx rebuilding. 2018-12-04 21:40:03 -05:00
KillzXGaming
307a8832c5 Alot of clean up. 2018-12-02 17:30:46 -05:00
KillzXGaming
785f5657b2 Update GTX code and update data types. 2018-12-02 15:01:51 -05:00
KillzXGaming
5cfec193bf Rework GTX swizzle thanks to abood and rebuild nutexb 2018-11-30 22:00:43 -05:00
KillzXGaming
f51dd17f94 Many improvements and new formats.
Add in nutexb file format. While not finished, it can preview and export them.
Batch exporting for nuteb (tools menu).
Rework GTX code. This is WIP and not finished.
Add XTX code. Unifnished atm.
Add saving for wii u and include fmat exporting.
Proper error handling for assimp and texture swizzling.
2018-11-27 21:21:31 -05:00
KillzXGaming
b5ba944b69 Cleanup and some optimizations 2018-11-23 15:39:16 -05:00
KillzXGaming
216d772dbb Update placeholder textures and fill channel types by format 2018-11-23 12:51:08 -05:00
KillzXGaming
4e1c4a5266 Update library and clean up some things 2018-11-22 19:40:36 -05:00
KillzXGaming
c3c26f6a4c Rework UI loading 2018-11-22 13:08:50 -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
KillzXGaming
d302808d24 Add mip maps to importer 2018-11-19 13:08:41 -05:00
KillzXGaming
1649456d6b Add all DDS compression methods 2018-11-19 12:39:06 -05:00
KillzXGaming
d30f94eb9a Fix compile issues and update to latest 2018-11-18 12:09:54 -05:00
KillzXGaming
5849962617 Add latest 2018-11-17 17:33:00 -05:00
KillzXGaming
5b888b98c7 Add file format plugin 2018-11-11 20:51:12 -05:00