Introduction
A BSA file is a game data archive of The Elder Scrolls and Fallout series: Morrowind, Oblivion, Fallout 3, Fallout: New Vegas, Skyrim and Skyrim Special Edition use it. Bethesda’s later archive format is BA2.
Structure
In the versions from Oblivion on, a file starts with the bytes BSA and a
zero byte, then a version number (103 for Oblivion, 104 for Fallout 3, New Vegas and
Skyrim, 105 for Skyrim Special Edition), a directory offset, archive flags, counts of
directories and files, the lengths of their names and file flags. Files may be
compressed: with zlib, or with LZ4 in version 105.
Not described
This page is a first outline. The layout is not yet described in full here.
Known, not yet covered
- Reference: the directory and file records, the flags and the Morrowind version.
- Viewer: the site has no viewer for this format.
Links
Software
- BSA Browser – browses and extracts Bethesda archives
- flpak – archive utility that extracts and creates BSA files
Developers
- bsa-rs – reader and writer for the Creation Engine archives (Rust)
Reference
- bethesda-structs: BSA – source of a parser, with the header layout (Python)