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

NAME

4     fixpremiumgff — repair BioWare GFF files from encrypted NWN premium mod‐
5     ule HAKs
6

SYNOPSIS

8     fixpremiumgff [options] input_file output_file
9

DESCRIPTION

11     In addition to being encrypted, the main HAK (ERF archive) of Neverwinter
12     Nights premium modules also contains GFF files that have been deliber‐
13     ately broken.  fixpremiumgff repairs those GFF files, turning them back
14     into standard BioWare GFF files that can be read and manipulated by the
15     usual GFF tools.
16

OPTIONS

18     -h
19     --help
20           Show a help text and exit.
21     --version
22           Show version information and exit.
23     --id id
24           Write the string id into the ID fields of the repaired GFF.  By
25           default, the ID is auto-detected from the file name of the broken
26           file.  For example, a broken module.ifo will by default turned into
27           a standard GFF with an ID of “IFO”, while an aribeth.dlg will get
28           the “DLG” ID.
29     input_file
30           The GFF file to repair.
31     output_file
32           The repaired GFF file be be written there.  This can be the same as
33           the input file, to repair a broken GFF file in-place.
34

EXAMPLES

36     Repair the file module.ifo:
37
38           $ fixpremiumgff module.ifo module_fixed.ifo
39
40     Repair the file module.ifo, but overwrite the ID:
41
42           $ fixpremiumgff --id DLG module.ifo module_fixed.ifo
43
44     Repair the file module.ifo in-place:
45
46           $ fixpremiumgff module.ifo module.ifo
47

SEE ALSO

49     gff2xml(1), unerf(1)
50
51     More information about the xoreos project can be found on its website:
52     https://xoreos.org/.
53

AUTHORS

55     This program is part of the xoreos-tools package, which in turn is part
56     of the xoreos project, and was written by the xoreos team.  Please see
57     the AUTHORS file for details.
58
59BSD                            November 14, 2015                           BSD
Impressum