Files
libloot/docs/api
Oliver Hamlet 38cecac07d Add support for checking assets in BA2 files
They're used by Fallout 4.

BA2 file and folder hashes are 32-bit, so collisions are much more
likely than with BSAs, which use 64-bit hashes. I put in some logging
to check the likelihood of collisions, and found that the largest
number of assets loaded was by Fallout4.esm (no surprise), which loaded
371182 files across 5746 folders, with the most files in one folder
being 124871. That puts the probability of a hash collision within that
folder at above 80%.

I did see different Fallout4 -*.ba2 files contain files with the same
combination of folder and file hashes, and similar for
DLCUltraHighResolution -*.ba2 files, so I'm going to try calculating
64-bit hashes from the file paths stored in the BA2 files.
2022-12-31 18:55:43 +00:00
..
2018-11-17 18:43:07 +00:00
2021-09-24 22:04:21 +01:00
2022-02-27 10:20:29 +00:00