wabbajack/Wabbajack.Compression.BSA/BA2Archive/IFileBuilder.cs
trawzified a545cb375a
Add Starfield support (#2589)
* Add support for new Starfield BA2 versions

* Add Starfield BA2 LZ4 texture compression support (WIP, not finished)

* Work on replacing DDS.cs with DirectXTexUtility

* Fix reading Starfield BA2s with new DirectXTexUtil

* Fix builder not exporting new Starfield header options

* Fix writing LZ4 chunks in frame format instead of block format

* Rename FO4Archive to BA2Archive, merge SFArchive and FO4Archive

* Clean up testing code & CLI launch settings

* Update changelog
2024-06-17 12:10:53 -06:00

17 lines
396 B
C#

using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Wabbajack.Compression.BSA.BA2Archive;
internal interface IFileBuilder
{
uint FileHash { get; }
uint DirHash { get; }
string FullName { get; }
int Index { get; }
ValueTask WriteData(BinaryWriter wtr, CancellationToken token);
void WriteHeader(BinaryWriter wtr, CancellationToken token);
}