mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
a545cb375a
* 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
23 lines
530 B
C#
23 lines
530 B
C#
using Wabbajack.DTOs.JsonConverters;
|
|
|
|
namespace Wabbajack.DTOs.BSA.ArchiveStates;
|
|
|
|
public enum BA2EntryType
|
|
{
|
|
GNRL,
|
|
DX10,
|
|
GNMF
|
|
}
|
|
|
|
[JsonName("BA2State, Compression.BSA")]
|
|
[JsonAlias("BA2State")]
|
|
public class BA2State : IArchive
|
|
{
|
|
public bool HasNameTable { get; set; }
|
|
public BA2EntryType Type { get; set; }
|
|
public string HeaderMagic { get; set; }
|
|
public uint Version { get; set; }
|
|
public uint Unknown1 { get; set; }
|
|
public uint Unknown2 { get; set; }
|
|
public uint Compression { get; set; }
|
|
} |