Scroll to navigation

ERF(1) General Commands Manual ERF(1)

NAME

erfBioWare ERF (.erf, .mod, .nwm, .sav) archive packer

SYNOPSIS

erf [options] output_archive [file ...]

DESCRIPTION

erf packs files together into a BioWare ERF archive, found in many BioWare Games as files with the extension .erf, .mod, .nwm or .sav. Moreover, in some games, a .rim file might be an ERF instead of a RIM.

There's several different versions of ERFs. This tool supports only version V1.0, as used by , Knights of the Old Republic, Knights of the Old Republic II, Jade Empire and .

Unsupported Features:

  • Generation of archives with stripped filenames.
  • Generation of zlib-compressed archives.
  • Generation of Blowfish-encrypted archives.
  • Generation of XOR-encrypted archives.
  • Setting of a description for archives.
  • Usage of paths in archives.

OPTIONS

 
Show a help text and exit.
Show version information and exit.
Set archive ID to ERF.
Set archive ID to MOD.
Set archive ID to HAK.
Set archive ID to SAV.
Unalias file types according to Jade Empire rules.

Jade Empire reuses a few file extension IDs differently than other BioWare games. To correctly write Jade Empire ERF archives, use this flag.

output_archive
The ERF archive to be written.
files
One or more files to pack together.

EXAMPLES

Pack some files together into an ERF archive:

$ erf archive.erf file1.dat file2.dat file3.dat

Pack some files together into a SAV archive:

$ erf --sav archive.sav file1.dat file2.dat file3.dat

SEE ALSO

unerf(1), unherf(1)

More information about the xoreos project can be found on its website.

AUTHORS

This program is part of the xoreos-tools package, which in turn is part of the xoreos project, and was written by the xoreos team. Please see the AUTHORS file for details.

June 27, 2018 Debian