Commit graph

237 commits

Author SHA1 Message Date
KillzXGaming
9db860f0b8 Start to implement 3ds texture encoding. (Todo ETC1 and L4/A4) 2019-08-07 17:15:31 -04:00
KillzXGaming
91e5ce78dc U8 fixes and cleanup 2019-08-06 18:52:48 -04:00
KillzXGaming
e5bb9fa9d5 Use file streams for non archive based writing. Allow giant file saving from opened streams. 2019-08-06 17:35:18 -04:00
KillzXGaming
a80f6c31b5 Fix BMD issues converting wrap and filter modes 2019-08-06 15:57:36 -04:00
KillzXGaming
3ee6cd887a Support DDS editing 2019-08-05 21:30:47 -04:00
KillzXGaming
714be7d126 Fix bti 2019-08-05 21:08:04 -04:00
KillzXGaming
2fd6077172 Palette bti fixes and U8 fixes 2019-08-05 20:46:20 -04:00
KillzXGaming
a8f8deacd4 Add option to export individual LM2 models 2019-08-05 19:00:06 -04:00
KillzXGaming
33fff8e4de Add in proper replacing for raw texture types 2019-08-05 18:48:14 -04:00
KillzXGaming
4b461f2d23 More pak fixes. Nearly saves identically now 2019-08-05 17:56:48 -04:00
KillzXGaming
09a60fc008 Pak please be smaller ram wise 2019-08-05 17:26:07 -04:00
KillzXGaming
f1439db314 Save compressed bytes properly and save data within archives for pak 2019-08-05 17:04:24 -04:00
KillzXGaming
1357627e2d Add pak saving 2019-08-05 16:47:40 -04:00
KillzXGaming
a655ea24d7 Rework IGZ reading and add writing back (for textures) 2019-08-05 15:38:03 -04:00
KillzXGaming
aa92482f15 Fix some dialog issues and paste the full data size for IGZ to prevent size issues 2019-08-04 21:12:36 -04:00
KillzXGaming
15ab766a56 Load IGZ textures 2019-08-04 20:29:37 -04:00
KillzXGaming
4eeb05e3d2 Remove libwii sharp as it's not used anymore 2019-08-04 19:57:38 -04:00
KillzXGaming
dceb4a93cd Adjust license for lzma 2019-08-04 19:39:08 -04:00
KillzXGaming
badfde22e5 Quick fix some weird issue on boot 2019-08-04 19:32:14 -04:00
KillzXGaming
bd0953477a Decompress IGA Pak and start parsing IGZ textures 2019-08-04 19:28:32 -04:00
KillzXGaming
575dfe521c Fix TPL width/height mixed up 2019-08-04 13:46:54 -04:00
KillzXGaming
51e96ec1a5 Support the other normal TPL formats 2019-08-04 13:45:11 -04:00
KillzXGaming
10a3aa5017 Add suoport for SMB TPL 2019-08-04 13:31:16 -04:00
KillzXGaming
ea2b941b93 Parse TPL 2019-08-04 12:21:28 -04:00
KillzXGaming
5729b20c43 Add the latest bflyt files 2019-08-04 11:50:57 -04:00
KillzXGaming
248fed502e Try to fix build 2019-08-04 11:50:04 -04:00
JohnFiddleystein
1f9cb7e46d Fix appveyor issues by removing _ = 2019-08-04 16:05:12 +01:00
JohnFiddleystein
9ae15ee63c Remove redundant skip padding function 2019-08-04 15:38:21 +01:00
JohnFiddleystein
3011a153aa Cleanup BTI, Finalize TXE with the help of KILLZ 2019-08-04 15:27:00 +01:00
JohnFiddleystein
7a4a443b5c Try and fix up TXE.cs a bit 2019-08-04 14:44:05 +01:00
JohnFiddleystein
dd33b5e6c5 Add support for basic BTI and TXE 2019-08-04 14:15:34 +01:00
KillzXGaming
1f8bd2e19e Parse the skeletal animation format CSAB 2019-08-03 19:33:29 -04:00
KillzXGaming
61ede33e29 Auto set the audio device to an active one 2019-08-03 18:00:51 -04:00
KillzXGaming
602594aa3a Fix cmb full modes 2019-08-03 17:12:09 -04:00
KillzXGaming
61cd136c41 Fix loading ZAR files 2019-08-03 16:07:52 -04:00
KillzXGaming
1540f86a88 Texturemap material fixes for cmb 2019-08-03 15:57:23 -04:00
KillzXGaming
1ab2164339 Rewrite all the texture modes to use proper enums 2019-08-03 15:23:05 -04:00
KillzXGaming
db065e1c57 Some texture map fixes 2019-08-03 13:57:30 -04:00
KillzXGaming
231a6ee9c6 Add support for LM3DS GAR 2019-08-03 13:33:02 -04:00
KillzXGaming
11ebded46b More material improvements 2019-08-02 22:06:45 -04:00
KillzXGaming
e0b8ca5e27 Parse cmb materials almost completely 2019-08-02 21:24:13 -04:00
KillzXGaming
9e5e8d72b5 ZSI progress 2019-08-02 20:08:51 -04:00
KillzXGaming
9308bfd565 Some buffer check fixes and adjust sarc description 2019-08-02 17:31:27 -04:00
KillzXGaming
f06cfbd053 CMB model previewing and parsing 2019-08-02 17:27:44 -04:00
KillzXGaming
b445590961 Add preview to single textures (ie NUTEXB) 2019-08-01 19:28:37 -04:00
KillzXGaming
e2edd2e923 Load texture icons via before expand event 2019-08-01 19:16:50 -04:00
KillzXGaming
a9b92e42e2 Some platform swizzle fixes and preview textures for bmd 2019-08-01 18:11:56 -04:00
KillzXGaming
f4e4afa2f7 Cleanup. Start to impliment texture preview icons in tree 2019-08-01 17:47:35 -04:00
KillzXGaming
2340d6a7a4 Improve file removing from object editor 2019-07-31 20:11:10 -04:00
KillzXGaming
25bc66e505 Support loading multiple IArchive and node types from a single format within an archive file 2019-07-31 19:45:03 -04:00
KillzXGaming
2df6d35d17 Add interface to not dispose data (for NSP, NCA, XCI, etc) 2019-07-31 19:33:45 -04:00
KillzXGaming
8afae95e2c Fix vertex increase from assimp's tans/bitans (calculate with ST) 2019-07-30 15:38:42 -04:00
KillzXGaming
c4ac54acd0 Default botw normal map blue component to always 1 if bc5 unorm 2019-07-29 18:55:06 -04:00
KillzXGaming
1d71983f1d Fix some skin count issues 2019-07-29 18:40:40 -04:00
KillzXGaming
3a7cd6cb4c Apply the same weight handling for all formats 2019-07-29 18:22:21 -04:00
KillzXGaming
857e34fce7 Fix Format_8 encoding for weights 2019-07-29 18:09:53 -04:00
KillzXGaming
030f9effc2 Fix null parameters 2019-07-29 16:48:24 -04:00
KillzXGaming
7bed6627fe Add all the new archive stuff to narc 2019-07-29 16:13:21 -04:00
KillzXGaming
b7e55f2769 check gzip magic for narc 2019-07-29 15:55:18 -04:00
KillzXGaming
326b11aef6 More format fixes. Add custom parameters for not swapping red and green channels 2019-07-29 15:48:36 -04:00
KillzXGaming
e1d9dff336 Force ptcl for wii u to generate mip offsets 2019-07-29 15:05:50 -04:00
KillzXGaming
f58efacbef Automatically generate GX2 mipoffsets if null or empty 2019-07-29 14:55:43 -04:00
KillzXGaming
691d4c7d35 Decompress hyrule warriors (Wii U) gz files 2019-07-29 14:40:12 -04:00
KillzXGaming
dd273d88ed Rework ptcl color handling so it works better 2019-07-29 11:19:34 -04:00
KillzXGaming
f70a18c3f8 Add option to export all GT1 textures 2019-07-29 10:54:19 -04:00
KillzXGaming
994557b3b4 More GT1 format fixes 2019-07-29 10:47:05 -04:00
KillzXGaming
8f140ab6ef Fix GT1 files getting invalid data positions and sizes 2019-07-29 10:40:12 -04:00
KillzXGaming
ce85ad3835 Add GT1/G1T support 2019-07-28 21:58:28 -04:00
KillzXGaming
9011f2a4c7 Try to dispose rarc properly 2019-07-28 12:45:39 -04:00
KillzXGaming
2da0d605fe Fix loading 3ds bflim 2019-07-27 21:05:12 -04:00
KillzXGaming
f599ea9b41 Add parameters class to textures to configure how to display the texture 2019-07-27 18:25:35 -04:00
KillzXGaming
c0e40462cc Fix bffnt for wii u applying invalid widths on replacing 2019-07-27 15:43:14 -04:00
KillzXGaming
64be5b2408 More buffer and exploding fixes for LM2 2019-07-27 14:48:55 -04:00
KillzXGaming
9c7494ce9e Flip uvs for LM2 automatically 2019-07-27 12:53:44 -04:00
KillzXGaming
e9d9634bb4 Normalize the normals and some shader improvements 2019-07-27 12:41:38 -04:00
KillzXGaming
5b55e210ed Fix normals. Load vertex colors for some types 2019-07-27 12:29:38 -04:00
KillzXGaming
1885319061 Some buffer fixes for LM2 2019-07-27 11:49:47 -04:00
KillzXGaming
df9641faab Bfres library fixes, and some form fixes 2019-07-26 15:35:15 -04:00
KillzXGaming
6e87f9b2d3 Apply saving opened file fomrats for rarc 2019-07-25 21:02:15 -04:00
KillzXGaming
76c0b560ad restet saved lists for rarc on save 2019-07-25 20:56:28 -04:00
KillzXGaming
ffafe66ee4 Include saved nodes for the total node count for rarc 2019-07-25 20:14:33 -04:00
KillzXGaming
ee6ed0461e More rarc fixes 2019-07-25 20:07:08 -04:00
KillzXGaming
128045ecb5 Apply the ftex instace on converted texture pattern animations 2019-07-25 19:28:52 -04:00
KillzXGaming
a03a852867 Fix saving step curve frames 2019-07-25 19:02:51 -04:00
KillzXGaming
eb288d36b9 More rarc fixes 2019-07-25 18:54:58 -04:00
KillzXGaming
e0df03cc26 Wip zar, gar,, and more rarc saving progress 2019-07-25 16:49:04 -04:00
KillzXGaming
d5b084e4e4 Fix reading frames for some animations on wii u bfres 2019-07-25 10:00:31 -04:00
KillzXGaming
ab00bcd09a Add batch export for lm2 textures 2019-07-25 09:43:34 -04:00
KillzXGaming
5582f31c38 Add option to export lm2 dark moon models 2019-07-25 09:36:49 -04:00
KillzXGaming
1fb66d4490 Always dispose file streams once everything is loaded 2019-07-24 21:15:21 -04:00
KillzXGaming
4e6fc6270a Try to fix ptcl not saving from being active 2019-07-24 17:21:00 -04:00
KillzXGaming
cd0e3377b4 Sarc fixes and more windows 7 fixes 2019-07-24 15:10:05 -04:00
KillzXGaming
f9395b2144 Fix build issues 2019-07-23 19:03:52 -04:00
KillzXGaming
337de8a8be Support sonic forces pac archives 2019-07-22 21:16:52 -04:00
KillzXGaming
eac9022938 Fix files in archives not compressing back 2019-07-22 21:01:05 -04:00
KillzXGaming
73056fa735 Try to fix build errors 2019-07-22 19:03:41 -04:00
KillzXGaming
8be02596e6 More adjustments 2019-07-22 19:01:29 -04:00
KillzXGaming
667ec7c752 rgba8 channel fix for non direct x tex 2019-07-22 18:26:23 -04:00
KillzXGaming
2dbee751b2 A few more LM2 model fixes 2019-07-22 17:17:07 -04:00
KillzXGaming
68a3933362 Draw LM2 models. Extreemly glitchy atm 2019-07-22 16:44:03 -04:00
KillzXGaming
1429a00178 More fixes and additions
Archives now use a link list for archive infos and treenodes. Handling replaced treenodes is easier and fixes renaming issues if a file was opened and renamed.
More LM2 archive improvements, with more chunk loading.
2019-07-22 15:06:49 -04:00
KillzXGaming
1059113cee More chunk accurate chunk code 2019-07-21 21:16:23 -04:00
KillzXGaming
131af671bf More LM2 archive improvements 2019-07-21 20:08:16 -04:00
KillzXGaming
d25d10c22b Fix LM2 textures with multiple image blocks 2019-07-21 13:25:18 -04:00
KillzXGaming
3e40842844 SPC file path fixes 2019-07-21 10:33:00 -04:00
KillzXGaming
8d2b2c0d4d Load sonic all stars racing transformed archives for PC 2019-07-21 10:29:54 -04:00
KillzXGaming
b9344b0d9f More bntx fixes 2019-07-21 09:56:47 -04:00
KillzXGaming
6e4e50fb30 Fix cached list giving nutexb crashes 2019-07-21 09:53:04 -04:00
KillzXGaming
ee5f01e44d Add sonic all stars transformed archive as it's basically an older version of SP2 2019-07-20 20:56:22 -04:00
KillzXGaming
ece27fd3f8 Fix downgrading bfres for wii u from new to very old versions 2019-07-20 14:38:33 -04:00
KillzXGaming
0a7a94bcb9 A fix for editing specific splices in bntx 2019-07-19 21:45:37 -04:00
KillzXGaming
5735fcf806 Fix dim settings 2019-07-19 21:33:37 -04:00
KillzXGaming
92cf46372c Apply original surface dims. Fix bntx properties for bffnt 2019-07-19 21:19:22 -04:00
KillzXGaming
10fbdcdf3a Fix bntx saving inside bffnt 2019-07-19 20:47:17 -04:00
KillzXGaming
2455e720bf A few more material mapping fixes for bmd 2019-07-19 19:17:32 -04:00
KillzXGaming
c0c1e621a4 A few additions and fixes
Add custom color option for image editor background.
Start on character exporting for bffnt. as xlor.
Fix sarc hashes.
Fix bflims in archive editors
2019-07-19 15:11:55 -04:00
KillzXGaming
6aa135adf0 Fix bffnt images if the format, width or height is changed 2019-07-18 20:19:42 -04:00
KillzXGaming
643ccb24d0 Add additional sarc extension for botw font 2019-07-18 20:02:37 -04:00
KillzXGaming
64639c4886 Add option to make new sarcs 2019-07-18 19:19:16 -04:00
KillzXGaming
38af392160 Clear IArchive files properly 2019-07-18 18:05:27 -04:00
KillzXGaming
e5b57de5e8 Fix sorting bone weights with duplicate indices 2019-07-18 17:50:46 -04:00
KillzXGaming
72cb2b1763 Some fixes for converting xml to byaml 2019-07-18 17:10:11 -04:00
KillzXGaming
a254788ea5 Allow byaml to convert back 2019-07-18 16:56:26 -04:00
KillzXGaming
2e55d789ae Add the newest archive stuff to sarc 2019-07-18 16:42:27 -04:00
KillzXGaming
49ab034d46 Adjus bc5 decoder to prevent errors on re encoding 2019-07-18 15:58:50 -04:00
KillzXGaming
4c15462c7f Adjust assimp again 2019-07-18 14:09:54 -04:00
KillzXGaming
84ec951612 Fix padding if there is no kerning section on save 2019-07-18 13:48:47 -04:00
KillzXGaming
7dc00e4bf3 Tons more bffnt progress. Adjust assimp version to fix issues 2019-07-18 13:33:16 -04:00
KillzXGaming
92cec3da0b More bffnt improvements 2019-07-17 22:02:57 -04:00
KillzXGaming
718f793980 Adjust sarc 2019-07-17 20:01:47 -04:00
KillzXGaming
ff9c598d99 Add IContextMenuContainers to IArchives 2019-07-17 19:59:17 -04:00
KillzXGaming
de13d285b1 Parse cmap properly for newer bffnt 2019-07-17 19:10:52 -04:00
KillzXGaming
80655a6aaa Parse cmap sections, and add a block check 2019-07-17 19:01:06 -04:00
KillzXGaming
aa0bbfc57c Fix exporting individual levels as dds for bffnt 2019-07-17 16:42:47 -04:00
KillzXGaming
9b15a3d5fe Some bffnt stuff 2019-07-17 16:14:55 -04:00
KillzXGaming
1978197afb Fix assimp error for bones with indices and no weights 2019-07-16 18:41:05 -04:00
KillzXGaming
7cf2e9c571 Cleanup 2019-07-16 17:45:10 -04:00