Enum bsa::v104::ArchiveFlagV104 [−][src]
#[repr(u32)]
pub enum ArchiveFlagV104 {
IncludeDirectoryNames,
IncludeFileNames,
CompressedArchive,
RetainDirectoryNames,
RetainFileNames,
RetainFileNameOffsets,
Xbox360Archive,
RetainStringsDuringStartup,
EmbedFileNames,
XMemCodec,
}
Variants
The game may not load a BSA without this bit set.
The game may not load a BSA without this bit set.
This does not mean all files are compressed. It means they are compressed by default.
Unknown, but observed being set in official BSA files containing sounds (but not voices). Possibly instructs the game to retain file names in memory.
Hash values and numbers after the header are encoded big-endian.
Embed File Names. Indicates the file data blocks begin with a bstring containing the full path of the file. For example, in "Skyrim - Textures.bsa" the first data block is $2B textures/effects/fxfluidstreamdripatlus.dds ($2B indicating the name is 43 bytes). The data block begins immediately after the bstring.
This can only be used with CompressedArchive. This is an Xbox 360 only compression algorithm.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ArchiveFlagV104
impl Send for ArchiveFlagV104
impl Sync for ArchiveFlagV104
impl Unpin for ArchiveFlagV104
impl UnwindSafe for ArchiveFlagV104
Blanket Implementations
Mutably borrows from an owned value. Read more