B.A.E. - Bethesda Archive Extractor v0.02
	by jonwd7 w/ Special Thanks to ianpatt and behippo

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

TEXTURE BA2s
------------
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 repeat:

**THE TEXTURES WHICH ARE EXTRACTED ARE NOT THE TRUE TEXTURES**

In case you want another point of view, here is a quote from 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).


Credits
-------
Special thanks to ianpatt and behippo for helping with my understanding of the new formats.