Skip to main content

Module capsule

Module capsule 

Source
Expand description

Capsule archive (ERF/RIM) extraction primitives. Capsule archive primitives.

Capsules are single archive files used in KotOR content workflows: ERF-family archives (.erf, .mod, .sav, .hak) and RIM (.rim).

§Scope

  • Read one capsule from bytes or disk.
  • Query (resref, type) payloads case-insensitively through indexed lookups.
  • Enumerate contained resources with lightweight metadata views.

Structs§

Capsule
In-memory capsule representation.
CapsuleResourceRef
Read-only capsule resource view.

Enums§

CapsuleArchive
Supported capsule archive families.
CapsuleError
Errors produced by capsule primitives.