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

213 Commits

Author SHA1 Message Date
KillzXGaming
95d434a058 Add option to toggle SRGB for ftex 2019-06-13 20:05:05 -04:00
KillzXGaming
9b9a44b9a4 A few more assimp adjustments 2019-06-08 14:32:03 -04:00
KillzXGaming
5ffcdcabf6 Downgrade assimp to prevent bugs like bone names being wrong. 2019-06-08 14:26:13 -04:00
KillzXGaming
890f5afcf7 Check audio amount before adding entries for bars. 2019-06-07 17:01:24 -04:00
KillzXGaming
375d054522 Add support for BARS with only meta entries 2019-06-07 16:56:54 -04:00
KillzXGaming
e531a779ed Small fixes and additions
Fixed mesh name exporting for assimp.
Fixed clearing models for bfres.
Fixed limit skin count setting.
Fixed material index breaking if a material is removed for bfres.
Update the vertex data properly if a model is imported as new.
Added AMTA editing for BARS.
Added audio player for BARS.
2019-06-07 16:31:13 -04:00
KillzXGaming
a3a6f9b98e Load the x64 folder for direct x tex by default as it causes issues without. 2019-05-31 17:12:23 -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
250e267143 Fix normals from being dark or flat sometimes. 2019-05-30 19:12:38 -04:00
KillzXGaming
b12bb34082 Another fix to prevent issues with path saving 2019-05-30 18:02:51 -04:00
KillzXGaming
225d98ae43 Improve path saving for byaml 2019-05-30 17:40:54 -04:00
KillzXGaming
d1c32844d1 Fix skeleton issues. More archive improvement. 2019-05-29 14:24:24 -04:00
KillzXGaming
394d0e8d90 Fix rigging issues. Fix bntx not keeping the same size after editing textures with same size. 2019-05-28 14:34:30 -04:00
KillzXGaming
9ad90e3b15 Some progress on chr0 exporting 2019-05-24 17:34:37 -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
6d7579e6e0 More improvements.
Camera is now centerd when a bfres is selected. This will apply to reseting the camera aswell. The method is based on Smash Forge so thanks to the devs for it.
Start on bfsha program linking for bfres materials. Dunno how far i'll take this.
Basic ortho mode added. Needs improvements to zoom in and mainly just changes the projection matrix to ortho atm. Controls are not altered.
2019-05-21 18:08:57 -04:00
KillzXGaming
50586ef978 Fix binary shape importing for switch 2019-05-20 20:03:39 -04:00
KillzXGaming
e6c911f026 Add byaml endianness converter in tools menu. Fix byaml with path nodes. 2019-05-19 17:50:21 -04:00
KillzXGaming
49314b2842 Fix bntx and switch bfres causing corruption or crashes 2019-05-19 14:25:37 -04:00
KillzXGaming
e51b1e2382 Adjustments for anims 2019-05-18 17:55:22 -04:00
KillzXGaming
d1d9619dcb Another saving fix as texture ref count won't save right for v3.4.0.1 2019-05-12 18:56:32 -04:00
KillzXGaming
ef562754b7 A few more library fixes 2019-05-12 18:44:43 -04:00
KillzXGaming
111f5c1a9e Fix texture pattern animation saving on v3.4.0.1 bfres 2019-05-12 18:38:33 -04:00
KillzXGaming
3c4d6a51a4 Support wrap and filters for bcres texture maps. 2019-05-11 20:05:27 -04:00
KillzXGaming
032e09d5a6 Load textures in viewport for bcres 2019-05-11 18:17:35 -04:00
KillzXGaming
ba6790abf5 Draw bcres and add more improvements 2019-05-11 16:11:27 -04:00
KillzXGaming
7632cc10da Add more aamp hashes 2019-05-11 12:31:50 -04:00
KillzXGaming
f36451a9eb More aamp fixes 2019-05-11 10:26:10 -04:00
KillzXGaming
9574432edc Support quat types for aamp 2019-05-11 10:23:41 -04:00
KillzXGaming
6e02fbea4b Support Wii U BFFNT 2019-05-10 19:26:45 -04:00
KillzXGaming
827e02892a Keep the same depend index for shader params (Fix WWHD crashing) 2019-05-10 17:51:59 -04:00
KillzXGaming
9db8a77afe Fix BCRES library issues 2019-05-09 15:16:46 -04:00
KillzXGaming
6f1a8ab816 Add all the working BCRES stuff. 2019-05-09 14:49:11 -04:00
KillzXGaming
84dae95c3e Fix some bfres library issues 2019-05-09 14:24:25 -04:00
KillzXGaming
4fe53128ee Fix effect alignment size 2019-05-08 19:38:35 -04:00
KillzXGaming
ab1a1ab169 Many more aamp fixes 2019-05-08 19:33:49 -04:00
KillzXGaming
b4e37f7368 Fix aamp strings on save 2019-05-08 18:29:19 -04:00
KillzXGaming
59927ba076 Another fix for rebuilding 2019-05-08 17:39:48 -04:00
KillzXGaming
b67de2ae9f Fix wii u bfres rebuilding 2019-05-08 17:30:29 -04:00
KillzXGaming
db6da0998f Auto set the texture instance for texture refs on save 2019-05-08 15:25:43 -04:00
KillzXGaming
df7ce35503 More bfres library adjustments 2019-05-07 21:36:46 -04:00
KillzXGaming
d33882b029 Bfres library fixes.
Fixed user data not relocating with proper padding.
Alignment for botw is handled a bit differently in attempt to keep the file sizes accurate
2019-05-07 21:07:58 -04:00
KillzXGaming
a9e7e03455 More fixes 2019-05-05 15:34:29 -04:00
KillzXGaming
b6da2b236d Add image box control with zoom feature 2019-05-05 12:31:44 -04:00
KillzXGaming
357fe7c12e Add more hashes 2019-05-03 16:49:37 -04:00
KillzXGaming
6303769adb More AAMP stuff. Add more import settings for dae/fbx. 2019-05-03 15:36:04 -04:00
KillzXGaming
277c3171c1 Fix major bntx issue that caused crashes. Inclduing if switch bfres saved. 2019-05-02 21:29:30 -04:00
KillzXGaming
f28295363d More AAMP v2 save fixes. Should be mostly complete now. 2019-05-02 20:49:43 -04:00
KillzXGaming
48814b4643 Load params even if null 2019-05-02 19:13:56 -04:00
KillzXGaming
704eb862a5 Load string types properly for v2 aamp 2019-05-02 18:58:17 -04:00
KillzXGaming
8961c8e592 Update aamp library. V2 almost working 2019-05-02 17:45:04 -04:00
KillzXGaming
8674b462b8 Fix assimp issues and emitter saving 2019-05-02 14:31:09 -04:00
KillzXGaming
fd4e3f4853 Add GTX editing/saving back. 2019-05-01 15:38:14 -04:00
KillzXGaming
3e9802fd05 Add some padding to buffer areas in bfres to fix potential crash issues. 2019-04-29 20:20:37 -04:00
KillzXGaming
0bbab95db6 Keep the same BNTX size if possible 2019-04-29 19:30:39 -04:00
KillzXGaming
68d244e9f7 Fix KCL importing issues 2019-04-29 18:53:18 -04:00
KillzXGaming
184e01ad01 Compile fixes 2019-04-28 19:42:22 -04:00
KillzXGaming
cde34e30c9 Fix KCL library issues 2019-04-28 19:39:14 -04:00
KillzXGaming
5a9c098a6a Add progress bar for KCL 2019-04-28 18:02:42 -04:00
KillzXGaming
1f9ce6b2fe Some fixes for PTCL editor and filters 2019-04-28 17:14:05 -04:00
KillzXGaming
bfacab21da Add sharpyaml and latest bfres wii u lib 2019-04-27 11:30:30 -04:00
KillzXGaming
432e639081 Fix boe importing not changing the parent index 2019-04-27 10:55:31 -04:00
KillzXGaming
a41737031f Fix bone visibily anims for wii u and fix the editor a bit 2019-04-26 15:43:32 -04:00
KillzXGaming
7f272c37b9 Some property fixes 2019-04-25 20:49:29 -04:00
KillzXGaming
9f7e2edef5 Fix properties missig for wii u bfres 2019-04-25 20:45:11 -04:00
KillzXGaming
cbf2f7da90 Generate better empty meshes 2019-04-25 16:44:00 -04:00
KillzXGaming
b8c8ef8395 Viewport toggle, and many more fixes
The aamp editor now acts like the byaml one.
Fixed aamp files saving with improper strings.
Added toggle for viewport in bfres editor. The setting will apply to the config so you can always disable it for quicker previewing for bfres.
More editors for bfres now dock rather than convering the whole screen.
Plugins can have icons for the toolstrip that contains the save/update icons.
Force PTCL texture injection due to an alignment thing
2019-04-25 15:21:41 -04:00
KillzXGaming
8c48f3514f Fix alignment from saving animations on wii u 2019-04-23 18:12:13 -04:00
KillzXGaming
cd8204f26b Oops fix it for real this time, and for both platforms 2019-04-23 17:36:39 -04:00
KillzXGaming
c092244612 Fix base values saving even if not used 2019-04-23 17:29:25 -04:00
KillzXGaming
e17eb54e91 Add option to replace by matching bones 2019-04-23 16:49:25 -04:00
KillzXGaming
c5ad630eaa More fixes to bfres proeprties and editor 2019-04-23 15:23:51 -04:00
KillzXGaming
d4da6db3df One more adjustment to the bone property 2019-04-22 20:43:58 -04:00
KillzXGaming
c91bb6f823 Add latest math library 2019-04-22 20:42:32 -04:00
KillzXGaming
d8deb1ac03 Hide some version specifici properties 2019-04-22 20:40:34 -04:00
KillzXGaming
8f7f859cf6 Add type converters for more property types 2019-04-22 20:19:05 -04:00
KillzXGaming
c7ee9ed16b Allow viewport to be completely disabled for potato PCs. 2019-04-22 19:36:53 -04:00
KillzXGaming
ea9110bed4 Add more properties for simple mode in bfres editor 2019-04-22 18:28:24 -04:00
KillzXGaming
e5d98dbf67 More fixes to bone exporting. 2019-04-21 20:26:12 -04:00
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