bsa::fo4 namespace

Namespaces

namespace hashing

Classes

class archive
Represents the FO4 revision of the ba2 format.
class chunk
Represents a chunk of a file within the FO4 virtual filesystem.
class file
Represents a file within the FO4 virtual filesystem.

Enums

enum class compression_format { zip, lz4 }
A list of all compression methods supported by the ba2 format.
enum class compression_level { fo4, fo76 = fo4, fo4_xbox, sf }
Specifies the compression level to use when compressing data.
enum class format: std::uint32_t { general = detail::constants::gnrl, directx = detail::constants::dx10 }
Represents the file format for an archive.
enum class version: std::uint32_t { v1 = 1, v2, v3, v7 = 7, v8 }
Indicates the version of an archive.

Enum documentation

enum class bsa::fo4::compression_format
#include <bsa/fo4.hpp>

A list of all compression methods supported by the ba2 format.

Enumerators
zip

The default compression format, compatible with all games that utilize the ba2 format.

lz4

A more specialized format leveraging lz4's fast decompression to improve streaming time.

enum class bsa::fo4::compression_level
#include <bsa/fo4.hpp>

Specifies the compression level to use when compressing data.

Enumerators
fo4

Fallout 4.

fo76

Fallout 76.

fo4_xbox

Fallout 4 on the xbox.

sf

Starfield.

enum class bsa::fo4::format: std::uint32_t
#include <bsa/fo4.hpp>

Represents the file format for an archive.

Enumerators
general

A general archive can contain any kind of file.

directx

A directx archive can only contain .dds files.

enum class bsa::fo4::version: std::uint32_t
#include <bsa/fo4.hpp>

Indicates the version of an archive.

Enumerators
v1

Initial format introduced in Fallout 4.

v2

Intoduced in Starfield.

v3

Intoduced in Starfield.

v7

Intoduced in the Fallout 4 next-gen update.

v8

Intoduced in the Fallout 4 next-gen update.