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

EXAMPLES

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

SEE ALSO

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

AUTHORS

110     This program is part of the xoreos-tools package, which in turn is part
111     of the xoreos project, and was written by the xoreos team.  Please see
112     the AUTHORS file for details.
113
114BSD                              June 27, 2018                             BSD
Impressum