diff --git a/docs/api/changelog.rst b/docs/api/changelog.rst index 4e567b68..33eab7c2 100644 --- a/docs/api/changelog.rst +++ b/docs/api/changelog.rst @@ -2,6 +2,17 @@ Version History *************** +0.29.1 - Unreleased +=================== + +Removed +------- + +- A warning is no longer logged when two archive files loaded by the same + plugin both appear to contain the same asset file path. The removed log + message had the format ``The folder and file with hashes and + in "" are present in another Bethesda archive.``. + 0.29.0 - 2026-02-04 =================== diff --git a/src/archive/parse.rs b/src/archive/parse.rs index 007fe4f7..059fba58 100644 --- a/src/archive/parse.rs +++ b/src/archive/parse.rs @@ -9,7 +9,6 @@ use super::error::{ArchiveParsingError, ArchivePathParsingError}; use crate::{ escape_ascii, logging::{self, format_details}, - plugin::has_ascii_extension, }; use super::{ba2, bsa}; @@ -35,41 +34,23 @@ pub(crate) fn assets_in_archives(archive_paths: &[PathBuf]) -> BTreeMap bool { - if !has_ascii_extension(archive_path, "ba2") { - return true; - } - - let filename = archive_path - .file_name() - .unwrap_or_default() - .to_string_lossy() - .to_ascii_lowercase(); - - filename.starts_with("fallout4 - ") || filename.starts_with("dlcultrahighresolution - ") -} - fn get_assets_in_archive( archive_path: &Path, ) -> Result>, ArchivePathParsingError> {