bsa/fo4.hpp file

Namespaces

namespace bsa
namespace bsa::fo4
namespace bsa::fo4::hashing

Classes

struct bsa::fo4::hashing::hash
class bsa::fo4::chunk
Represents a chunk of a file within the FO4 virtual filesystem.
struct bsa::fo4::chunk::mips_t
Unique to format::directx.
class bsa::fo4::file
Represents a file within the FO4 virtual filesystem.
struct bsa::fo4::file::header_t
Unique to format::directx.
class bsa::fo4::archive
Represents the FO4 revision of the ba2 format.

Enums

enum class compression_level { normal, xbox }
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.

Functions

template<concepts::stringable String>
auto hash_file(String&& a_path) -> hash noexcept
Produces a hash using the given path.
auto hash_file_in_place(std::string& a_path) -> hash noexcept
Produces a hash using the given path.