fixpremiumgff - Man Page

repair BioWare GFF files from encrypted NWN premium module HAKs


fixpremiumgff[options] input_file output_file


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



Show a help text and exit.


Show version information and exit.

--id id

Write the string id into the ID fields of the repaired GFF. By default, the ID is auto-detected from the file name of the broken file. For example, a broken module.ifo will by default turned into a standard GFF with an ID of “IFO”, while an aribeth.dlg will get the “DLG” ID.


The GFF file to repair.


The repaired GFF file be be written there. This can be the same as the input file, to repair a broken GFF file in-place.


Repair the file module.ifo:

$ fixpremiumgff module.ifo module_fixed.ifo

Repair the file module.ifo, but overwrite the ID:

$ fixpremiumgff --id DLG module.ifo module_fixed.ifo

Repair the file module.ifo in-place:

$ fixpremiumgff module.ifo module.ifo

See Also

gff2xml(1), unerf(1)

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


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.

Referenced By

gff2xml(1), unerf(1).

November 14, 2015