Commit graph

119 commits

Author SHA1 Message Date
KillzXGaming
47ca70a015 Fix 0.9 bfres with scene animations. Add toggle for direct x tex decoder 2019-06-27 14:38:13 -04:00
KillzXGaming
7b18d66991 Export images with channel components enabled if used in image editor 2019-06-25 15:28:48 -04:00
KillzXGaming
d664a47426 Add big speed and memory improvements to bfres, bntx, and other formats 2019-06-25 14:56:19 -04:00
KillzXGaming
55fa5381fa Another adjustment 2019-06-22 09:37:50 -04:00
KillzXGaming
067244555a Improve gfmdl support. Fix raw astc exporting 2019-06-21 18:18:22 -04:00
KillzXGaming
54c4bac8bc Add MKAGPDX model viewing and exporting 2019-06-19 14:57:59 -04:00
KillzXGaming
b8aad096ff Update image formats a bit. Add a fill editor option so editors update properly for archive viewer. 2019-06-17 19:19:27 -04:00
KillzXGaming
ae1f2ebb79 Fix exporting individual objects 2019-06-16 09:53:41 -04:00
KillzXGaming
a520ff1dd9 Add basic probe bounding box converter 2019-06-06 17:57:55 -04:00
KillzXGaming
04c43b8bd5 Add option to smooth normals between multiple meshes 2019-06-05 22:02:35 -04:00
KillzXGaming
60a1e52dfe Fix error dialog label size 2019-06-01 15:16:39 -04:00
KillzXGaming
d46df12ecf Default the compression mode for BC7 to fast if edited via default program feature. 2019-06-01 09:28:07 -04:00
KillzXGaming
ed2a3b8041 Disable opengl texture loading for legacy 2019-05-31 15:38:49 -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
2a92afa122 Chr0 animation importing, dae exporting and tons more improvements!
Chr0 can be imported/replaced.
More fixes to importing sections including some errors and proper filtering.
Dae epxorting now has a progress bar and an option to idsable texture exporting.
Bfska can now be swapped between platforms. More sections will handle this method soon!.
Fixed spaces on files from "Export All".
Display multiple texture maps in bcres materials
2019-05-24 15:15:35 -04:00
KillzXGaming
3a85f06ac7 Tons more DDS fixes from yesterday. RGB textures also aren't blue anymore. 2019-05-22 15:26:25 -04:00
KillzXGaming
02de27faad More fixes for BC7 compression speed 2019-05-20 18:48:49 -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
49314b2842 Fix bntx and switch bfres causing corruption or crashes 2019-05-19 14:25:37 -04:00
KillzXGaming
b759a293fe Some adjustments for animations 2019-05-17 21:09:24 -04:00
KillzXGaming
2c265c876d Improe channel import/replacer 2019-05-17 15:50:03 -04:00
KillzXGaming
cd721af0eb DDS fixes. Add BC7 normal mode for slower but better quality compression 2019-05-17 15:35:10 -04:00
KillzXGaming
304b00fe49 More PBR improvements. Fix skybox to be a proper skybox 2019-05-16 16:01:22 -04:00
KillzXGaming
85cd8dcafc Make placeholder textures optional on import 2019-05-14 20:27:14 -04:00
KillzXGaming
f2439f2fdc More image editor improvements
Array textures can be exported to DDS.
Specific channels can be edited.
Uncompressed formats for dds greatly improved.
Array textures can be exported from non dds formats as multiple images.
2019-05-14 15:12:26 -04:00
KillzXGaming
713370881f Fix orientation cube texture conflict finally! 2019-05-13 17:17:36 -04:00
KillzXGaming
67d1b6920a Some improvements from yesterday. Start to improve uv editor.
Basic tex 3ds support
BC4 textures will be rendered grayscale in opengl (not using opengl decoder)
Fix a few format issues with 3ds
Mip total method is one function in STGeneric texture
Weight format default to floats again until i find a proper fix for the 888 unform format.
2019-05-13 15:29:40 -04:00
KillzXGaming
c11ebce612 Fix texture names on import having improper names in some special cases. 2019-05-12 16:53:55 -04:00
KillzXGaming
0b2dd29bae Fix sampler saving and lod options for wii u samplers 2019-05-12 11:26:05 -04:00
KillzXGaming
1118111b7e Color fix for opengl 3ds textures 2019-05-11 18:36:10 -04:00
KillzXGaming
032e09d5a6 Load textures in viewport for bcres 2019-05-11 18:17:35 -04:00
KillzXGaming
2eab9c2532 Load mip maps for bcres properly 2019-05-09 15:41:41 -04:00
KillzXGaming
df9ace9e0e Add bflim creation from image 2019-05-09 14:31:19 -04:00
KillzXGaming
e744b3de26 Prepare some archive format rework 2019-05-08 16:28:04 -04:00
KillzXGaming
f1e4124066 More fixes for bone transforms 2019-05-07 21:55:24 -04:00
KillzXGaming
b6da2b236d Add image box control with zoom feature 2019-05-05 12:31:44 -04:00
KillzXGaming
c48b2a3f02 Update texture editors with theme controls. Add 3DS texture importer 2019-05-04 19:21:37 -04:00
KillzXGaming
6a7fe523e3 Load channel ocmponents for some formats 2019-05-04 13:38:18 -04:00
KillzXGaming
489d47243b Support R4G4 decoding 2019-05-04 12:48:23 -04:00
KillzXGaming
017c1ab1e3 More fixes to 3ds formats. Fix gzip decompressing giving wrong size. 2019-05-04 12:03:07 -04:00
KillzXGaming
ed33ef65f9 Start to support 3DS ptcl 2019-05-03 20:53:48 -04:00
KillzXGaming
fd4e3f4853 Add GTX editing/saving back. 2019-05-01 15:38:14 -04:00
KillzXGaming
de43529cca Use the current array and mip level for editing textures 2019-04-29 15:16:59 -04:00
KillzXGaming
1f9ce6b2fe Some fixes for PTCL editor and filters 2019-04-28 17:14:05 -04:00
KillzXGaming
812fe2e6b5 More fixes to viewport toggle. 2019-04-25 17:13:59 -04:00
KillzXGaming
e79f266651 Fix bone hiding 2019-04-25 16:31:59 -04:00
KillzXGaming
dd15ef59c5 Many more improvements and additions
Added NUT support (viewing GX2 and DDS texture data)
Fixed importing uncompressed dds using the mask data.
Add EFE support from smash 4 wii u and 3ds.
Redo the shader param editor. Uses a list again for faster access and viewing. I will have items drop down from a floating window next to the item soon.
2019-04-24 21:17:29 -04:00
KillzXGaming
c5ad630eaa More fixes to bfres proeprties and editor 2019-04-23 15:23:51 -04:00
KillzXGaming
da8d56be47 More fixes to viewport/opengl disabling 2019-04-22 19:44:12 -04:00
KillzXGaming
74973a24bb Add more fixes and improvements 2019-04-22 17:52:21 -04:00
KillzXGaming
4dcc523125 Fix normals from model importing if the model's scale was transformed 2019-04-12 16:21:00 -04:00
KillzXGaming
2197414b5f Fix normals changing when model is scaled from transform tool 2019-04-12 16:00:03 -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
7bea95b199 Update to the latest opengl framework and more bug fixes 2019-04-05 19:47:21 -04:00
KillzXGaming
325f1e25f6 Add basic file removale. Will be improved later 2019-04-01 16:19:07 -04:00
KillzXGaming
7238de5d37 Set DDS depth count for generic textures to 1. 2019-03-30 16:43:07 -04:00
KillzXGaming
ea00287462 Fix dds exporting for DX10 textures 2019-03-30 16:40:44 -04:00
KillzXGaming
48c7477467 Increase opening bfres with animations significantly!
Load context menus for FSKA only when expanded .
2019-03-30 14:40:46 -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
a1606187b4 Add option to hide specific bones 2019-03-28 20:19:13 -04:00
KillzXGaming
01fda68f93 Fix bone issues and skeleton importing 2019-03-27 14:50:33 -04:00
KillzXGaming
e58e456c1a Update texture maps properly if edited 2019-03-26 18:15:19 -04:00
KillzXGaming
ab44950984 Fix preview scale 2019-03-24 11:31:19 -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
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