Commit graph

334 commits

Author SHA1 Message Date
KillzXGaming
b73d392a63 Add basic PTCL texture replacing 2019-04-21 17:14:49 -04:00
KillzXGaming
78efb8884c Fix camera flag error for Splatoon 1 and other wii u games 2019-04-21 14:19:28 -04:00
KillzXGaming
ae25f2989b Some more fixes.
Revert the GX2 one more time since swizzling is a bit bugged, but add a more up to date code as a backup.
Fix the swizzle pattern settings
2019-04-17 14:59:08 -04:00
KillzXGaming
67f713bf22 Update simple mode for bfres editor. Disable some gx2 things to test swizzle issues 2019-04-16 18:24:10 -04:00
KillzXGaming
79036ecb95 Fix bfres importing bugs and alignment corruption from importing sections 2019-04-12 15:34:42 -04:00
KillzXGaming
270d441dcc More fixes
Many fixes to the enum data for switch bfres. Filter data can be edited properly.
UVs in UV editor can be transformed
2019-04-11 18:05:15 -04:00
KillzXGaming
bd6627b030 Fix importing additional animations (from binary) 2019-04-08 19:41:18 -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
c173edd611 Fix sub files issues 2019-04-06 18:30:22 -04:00
KillzXGaming
8185fce35d Fix some bfres issues on saving 2019-04-04 00:37:28 -04:00
KillzXGaming
1d99b14bfe More fixes
Fixed timeline issues
KCL now has presets for games. This will fix crashing in Splatoon, MK9, and many more games
2019-04-03 21:03:01 -04:00
KillzXGaming
0984066b13 More dll fixes. Please work 2019-03-31 17:17:48 -04:00
KillzXGaming
b87cc40857 Fix hash only sarcs from saving 2019-03-31 17:06:12 -04:00
KillzXGaming
9e44973f72 Cleanup dll mess 2019-03-31 16:22:01 -04:00
KillzXGaming
44c5ee988a Add direct x tex dlls to exe folder to prevent errors. Add newest sarc lib. 2019-03-31 15:47:53 -04:00
KillzXGaming
f20e1d26c9 Cleanup some stuff 2019-03-31 15:41:29 -04:00
KillzXGaming
a773074933 Fix appveyor issues 2019-03-31 15:29:36 -04:00
KillzXGaming
e691dab92d Fix animation exporting issues 2019-03-31 14:43:32 -04:00
KillzXGaming
3a10c4cf43 More timeline fixes 2019-03-31 14:28:00 -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
82758d64a3 Add SRGB toggle for BNTX textures 2019-03-30 14:00:49 -04:00
KillzXGaming
0cc8c89b14 Use max alignment in sarc lib to prevent sarc crashes 2019-03-30 12:40:06 -04:00
KillzXGaming
240cc5f0b3 Apply the kcl viewport to work better with bfres 2019-03-29 21:05:53 -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
110d589086 Fix older binaries from crashing 2019-03-26 17:32:53 -04:00
KillzXGaming
f4370ab63a Improve binary file exporting greatly.
Fixed version issues between swapping binarys from bfres sections.
Fixed FMDL exports from crashing.
Fixed FSCN and FBNV from not having a replace option
2019-03-26 17:04:45 -04:00
KillzXGaming
ddcd0285b3 More fixes
Fixed samplers for switch not mapping properly.
Fixed DDS files exporting mip maps wrong. Would cause them to not import back with size errors.
Fixed bntx alignment causing corrupted textures.
Fixed bfres not opening from null bone indices/unrigged meshes.
2019-03-26 15:24:20 -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
5edb6d4174 Fix mip map number displaying in properties for bntx textures 2019-03-25 10:17:10 -04:00
KillzXGaming
cba330d41d Fix LZ4F compression for KSA 2019-03-24 19:45:00 -04:00
KillzXGaming
c0328e3b82 Fix bntx corrupting textures on save and round params for displaying. 2019-03-24 13:56:09 -04:00
KillzXGaming
f0c757259d Fix textures from erroring out 2019-03-23 14:53:57 -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