B.A.E. - Bethesda Archive Extractor by jonwd7
Fallout 4 » Utilities
Added: 10/11/2015 - 09:04AM
Updated: 04/12/2015 - 07:25PM

5,608 Endorsements

0.04 Latest version

55,287 Unique D/Ls

83,642 Total D/Ls

301,337 Total Views

Uploaded by jonwd7


Last updated at 19:25, 4 Dec 2015 Uploaded at 9:04, 10 Nov 2015

B.A.E. - Bethesda Archive Extractor v0.03 ALPHA

Before Anyone Else... there was Bethesda Archive Extractor.
Please make a bug report for any issues you have (please check the Known Issues).

B.A.E. can extract BA2 and BSA files, with some caveats:


The Texture BA2s are an optimized format. They do not hold complete DDS files but instead are optimized for streaming certain miplevels  into the game.  Additionally, they use texture formats which are DX10+ and which are not widely supported by DDS tools.   This affects normal maps in particular, so for the time being normal maps will very likely be incorrect and loose normal files will very likely not work correctly.

To quote ianpatt (F4SE):
There are two types of ba2 archives: general, and texture. General archives can contain anything, while texture archives are optimized for storing textures. There is no significant size advantage when comparing the two, but texture archives store textures in a more intelligent way that is friendlier to the runtime texture streamer. When reading a DDS file, finding the lower resolution textures requires seeking to, and therefore decompressing most of the file. This is inefficient, because in most cases you will care about the lower resolution mips first, when the object is off in the distance. Texture archives store any mips higher than 256x256 in their own separate blocks, while the 256x256 and below are all in their own block.
Please note that the values in the DDS header are not present in the original texture archive, and were chosen for compatibility rather than accuracy. Color textures are accurate, but DXGI_FORMAT_BC5_UNORM (normal maps) and DXGI_FORMAT_BC7_UNORM are definitely wrong.

Known Issues
- Checking/Unchecking files takes increasingly long with the number of files inside a BA2.

Version History
0.01 - Initial Commit
0.02 - Significantly faster open times on all BA2s, especially Fallout4 - MeshesExtra.ba2
which took several minutes (now takes ~1s).
0.03 - Width/Height were actually listed as Height/Width in the BA2 so non-square textures were
    incorrectly extracted.
     - Gave window a minimum width/height as Windows 10 users complained of the window being too small.
     - Can open multiple archives via the file dialog, or by dragging to the executable.

Special Thanks
ianpatt and behippo for helping with my understanding of the new formats.