1UNERF(1)                  BSD General Commands Manual                 UNERF(1)
2

NAME

4     unerf — BioWare ERF (.erf, .mod, .nwm, .sav) archive extractor
5

SYNOPSIS

7     unerf [options] command archive [file ...]
8

DESCRIPTION

10     unerf extracts BioWare ERF archives, found in many BioWare games as files
11     with the extension .erf, .mod, .nwm or .sav.  Moreover, in some games, a
12     .rim file might be an ERF instead of a RIM.
13
14     There's several different versions of ERFs.  This tool supports the ver‐
15     sion V1.0, V1.1, V2.0, V2.2 and V3.0.
16
17     Supported features:
18     ·   Archives with stripped filenames. The name hash is searched for in a
19         big lookup table.  If it is not found, the file is listed and
20         extracted as a hexadecimal representation of the hash
21     ·   zlib-compressed files are supported and transparently decompressed
22     ·   Blowfish-encrypted archives are supported and are, provided you know
23         the password, transparently decrypted
24     ·   Archives that contain full paths are supported.  You can either strip
25         the directory and extract the plain filenames, or substitute the
26         directory separator with a ‘=’
27     ·   Archives with numerical extension IDs belonging to different games
28         can be aliased accordingly.
29
30     Unsupported features:
31     ·   XOR-encrypted archives
32     ·   Creating directories when extracting archives with full paths.
33
34         Please also note that by stripped the directories of files in these
35         archives, you might overwrite already extracted files
36

OPTIONS

38     -h
39     --help
40           Show a help text and exit.
41     --version
42           Show version information and exit.
43     --nwn2
44           Alias file types according to Neverwinter Nights 2 rules.
45
46           Neverwinter Nights 2 reuses a few file extension IDs differently
47           than other BioWare games.
48     --jade
49           Alias file types according to Jade Empire rules.
50
51           Jade Empire reuses a few file extension IDs differently than other
52           BioWare games.
53     --pass hex
54           Password to decrypt this archive.  This password needs to be speci‐
55           fied in hexadecimal notation, even if it's an ASCII string.  For
56           example, “4CF223AB” would be a valid password string.  “Foobar”
57           would not.
58     --nwm file
59           Calculate the MD5 of this NWM file to complement the decryption key
60           of a HAK file for a Neverwinter Nights premium module.
61     command
62           i   Display meta-information about the archive
63           l   List archive contents
64           v   List archive contents with full paths
65           e   Extract files to current directory
66           s   Extract files to current directory with full name
67     archive
68           The ERF archive to read.
69     file  One or more files to extract.  If none are given, the whole archive
70           is extracted.
71

EXAMPLES

73     View meta-information of the archive Shadowlords1.mod:
74
75           $ unerf i Shadowlords1.mod
76
77     List all files contained in the archive Chapter1.nwm:
78
79           $ unerf l Chapter1.nwm
80
81     List all files, with full path, in the archive areas.erf:
82
83           $ unerf v areas.erf
84
85     Extract all files from the archive foo.mod:
86
87           $ unerf e foo.mod
88
89     Extract the file area1.are from the archive foo.mod:
90
91           $ unerf e foo.mod area1.are
92
93     Extract all files, with full path, in the archive areas.erf:
94
95           $ unerf s areas.erf
96
97     Extract the file areas\area1.are from the archive areas.erf:
98
99           $ unerf s areas.erf areas\\area1.are
100

SEE ALSO

102     fixpremiumgff(1), unherf(1), unrim(1)
103
104     More information about the xoreos project can be found on its website:
105     https://xoreos.org/.
106

AUTHORS

108     This program is part of the xoreos-tools package, which in turn is part
109     of the xoreos project, and was written by the xoreos team.  Please see
110     the AUTHORS file for details.
111
112BSD                            November 14, 2015                           BSD
Impressum