Commit graph

651 commits

Author SHA1 Message Date
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
e744b3de26 Prepare some archive format rework 2019-05-08 16:28:04 -04:00
KillzXGaming
87d061dbe1 Add setting to auto load models when an archive is open 2019-05-08 16:13:07 -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
72579451b8 Fix bone names on import and some import errors 2019-05-06 17:19:07 -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
85c5051b36 Apply assimp matrix properly 2019-05-04 20:40:37 -04:00
KillzXGaming
d3bea4cba6 Fix assimp issues 2019-05-03 21:19:19 -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
c6cee62073 Ops use the right events 2019-05-01 17:18:29 -04:00
KillzXGaming
577466dcdd Add additional game paths for later file size calculating 2019-05-01 17:16:11 -04:00
KillzXGaming
fd4e3f4853 Add GTX editing/saving back. 2019-05-01 15:38:14 -04:00
KillzXGaming
9b1d36666b Add option to clear LOD meshes 2019-04-30 21:15:56 -04:00
KillzXGaming
9afacd835c Also check if it's disposed 2019-04-30 18:10:54 -04:00
KillzXGaming
f91006a1dc Only allow one control instance 2019-04-30 18:04:10 -04:00
KillzXGaming
8e68cc5606 Now have the console as a seperate window instead of a tabbed control 2019-04-30 18:00:08 -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
5a12bcc049 Fix updating far/near settings 2019-04-28 20:03:54 -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
fa4ada84bd Fix for image editor causing crashes 2019-04-27 11:59:57 -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
7ada057843 Apply some settings and move config settings to the library to save changes easier. 2019-04-26 17:08:21 -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
812fe2e6b5 More fixes to viewport toggle. 2019-04-25 17:13:59 -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
74973a24bb Add more fixes and improvements 2019-04-22 17:52:21 -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
589198eb3a Check formats on method to load proper menus 2019-04-21 14:54:48 -04:00
KillzXGaming
65b34e1e89 Add proper mdi container method which checks duped names 2019-04-21 14:50:57 -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
87e231a94c Fix vertex skin count output causing static models 2019-04-21 13:31:43 -04:00
KillzXGaming
01aca5cd3e Add speed if shift is held 2019-04-20 19:12:03 -04:00
KillzXGaming
d0c176bf13 Add WASD camera movement. 2019-04-20 19:07:52 -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
bab9ce9022 Fix dae exporting with only indices and no weights. Fix sharc crashes. 2019-04-09 17:24:39 -04:00
KillzXGaming
bd6627b030 Fix importing additional animations (from binary) 2019-04-08 19:41:18 -04:00
KillzXGaming
fff3d58cb3 Cleanup muunt and camera mini map stuff. Add game path settings 2019-04-08 17:01:31 -04:00
KillzXGaming
2c73c6dde6 Fix local coordinates not updating when vertex buffer is updated 2019-04-07 13:27:38 -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
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
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
08370b8d1d Remove the thing 2019-04-03 14:45:26 -04:00
KillzXGaming
67864cd64f Fix assimp issues please and add lock check for settings current frame 2019-04-01 18:14:13 -04:00
KillzXGaming
5ee7cef047 Typo 2019-04-01 15:21:00 -04:00
KillzXGaming
d411b5bb82 Change a thing 2019-04-01 15:20:32 -04:00
KillzXGaming
7bd00f6de7 Fix dae rigging for good now 2019-04-01 15:04:16 -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
d8e335f8c0 Copy direct tex folders properly 2019-03-31 15:58:04 -04:00
KillzXGaming
b06cabd811 Fix errors 2019-03-31 15:51:00 -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
7afcfc40a4 Add commit info for updater 2019-03-30 17:46:07 -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
2ee73e7857 Add new timeline by JuPaHe64 2019-03-30 11:18:15 -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
c87889963c Ops, fix the update icon to actually enable. 2019-03-28 21:08:08 -04:00
KillzXGaming
de72038a9d Add fixes to updater and appveyor 2019-03-28 20:36:25 -04:00
KillzXGaming
7abeb6c2b9 Add bone x ray option 2019-03-28 20:25:10 -04:00
KillzXGaming
8cc5e13ace Option to add active files to editor instead of new tab. Fix crash from no objects. 2019-03-28 19:48:56 -04:00
KillzXGaming
718ddfaea3 Add right click to close tabs, and double click title bar to maxamize 2019-03-28 17:28:39 -04:00
KillzXGaming
461458a17e Use the save icon 2019-03-28 16:42:31 -04:00
KillzXGaming
7ead89f039 Remove update notifcation for an icon to remove nagging 2019-03-28 16:39:23 -04:00
KillzXGaming
ba60d13972 Fix tag typo 2019-03-28 16:29:32 -04:00
KillzXGaming
c40ba88f6c Disable mdi buttons when all tabs are closed 2019-03-28 16:27:21 -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
74dc35c423
Fix updater issues please 2019-03-27 22:39:00 -04:00
KillzXGaming
ac63eff817 Copy dll to release 2019-03-27 21:41:25 -04:00
KillzXGaming
981e7f3b45 Add updater to builder 2019-03-27 21:37:45 -04:00
KillzXGaming
c879a1299c Remove framework files and use a .dll for now. Will add submodule later 2019-03-27 19:08:58 -04:00
KillzXGaming
7848428ad5 Clear window buttons when mdi window is closed 2019-03-27 18:54:25 -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
5264ec4f5d Fix bone indices not saving and bounding radius. 2019-03-25 10:06:12 -04:00
KillzXGaming
cba330d41d Fix LZ4F compression for KSA 2019-03-24 19:45:00 -04:00
KillzXGaming
05dcf8e12d Apply transforming properly when transform tool is saved 2019-03-24 17:49:32 -04:00
KillzXGaming
a47b77bc7c Load all bone anims properly when an animation is loaded so it can save properly 2019-03-24 17:02:19 -04:00
KillzXGaming
c75c171792 Fix sarc's with folders saving wrong 2019-03-24 16:44:12 -04:00
KillzXGaming
5e4313c54f Attempt to fix UV scale issue with a flag in the shader options 2019-03-24 14:40:29 -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
b30072d100 Prevent animations from playing while switching tabs 2019-03-24 13:14:53 -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
89e8980cdb Test3 2019-03-23 20:00:43 -04:00
KillzXGaming
a421bdf518 Test2 2019-03-23 20:00:20 -04:00
KillzXGaming
a410cec88f Test 2019-03-23 19:58:39 -04:00
KillzXGaming
8610f33a1e Fix spacing 2019-03-23 19:56:44 -04:00
KillzXGaming
777fd47a01 Speedup settings and use emissive pass 2019-03-23 19:51:41 -04:00
KillzXGaming
0a53c287b3 Option to reset to T pose, and fix wii u bones 2019-03-23 15:13:54 -04:00
KillzXGaming
f0c757259d Fix textures from erroring out 2019-03-23 14:53:57 -04:00
KillzXGaming
792341cfce Fix more issues 2019-03-23 14:41:59 -04:00
KillzXGaming
f305ed994a Oops, fix this 2019-03-23 13:56:08 -04:00
KillzXGaming
822a4c699e Enable updater 2019-03-23 13:55:12 -04:00
KillzXGaming
15c88c6284 Some fixes for compiling 2019-03-23 13:44:27 -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