Skip to main content

archive_mod_id

Function archive_mod_id 

Source
pub fn archive_mod_id(archive: &ArchiveEntry) -> String
Expand description

Canonical mod_id derivation for a Wabbajack archive entry.

Used by both the scanner and the Wabbajack installer so that a profile installed via modde install wabbajack and the same modlist re-scanned via modde scan --manifest produce identical mod_id strings — otherwise retroactive-lock flows would create duplicates rather than matching existing mods.

  • Nexus-sourced archives: nexus_{game_domain}_{mod_id}_{file_id}
  • Everything else: wj_{archive_hash}