<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.xoreos.org/index.php?action=history&amp;feed=atom&amp;title=Fixpremiumgff</id>
	<title>Fixpremiumgff - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.xoreos.org/index.php?action=history&amp;feed=atom&amp;title=Fixpremiumgff"/>
	<link rel="alternate" type="text/html" href="https://wiki.xoreos.org/index.php?title=Fixpremiumgff&amp;action=history"/>
	<updated>2026-04-30T12:47:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.6</generator>
	<entry>
		<id>https://wiki.xoreos.org/index.php?title=Fixpremiumgff&amp;diff=290&amp;oldid=prev</id>
		<title>DrMcCoy: Created page with &quot;Repair BioWare GFF files from encrypted NWN premium module HAKs.  = Synopsis =   fixpremiumgff [&lt;options&gt;] &lt;input_file&gt; &lt;output_file&gt;  = Description =  In addition to being en...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.xoreos.org/index.php?title=Fixpremiumgff&amp;diff=290&amp;oldid=prev"/>
		<updated>2016-07-02T21:00:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Repair BioWare GFF files from encrypted NWN premium module HAKs.  = Synopsis =   fixpremiumgff [&amp;lt;options&amp;gt;] &amp;lt;input_file&amp;gt; &amp;lt;output_file&amp;gt;  = Description =  In addition to being en...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Repair BioWare GFF files from encrypted NWN premium module HAKs.&lt;br /&gt;
&lt;br /&gt;
= Synopsis =&lt;br /&gt;
&lt;br /&gt;
 fixpremiumgff [&amp;lt;options&amp;gt;] &amp;lt;input_file&amp;gt; &amp;lt;output_file&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Description =&lt;br /&gt;
&lt;br /&gt;
In addition to being encrypted, the main HAK (ERF archive) of Neverwinter Nights premium modules also contains GFF files that have been deliberately broken. &amp;#039;&amp;#039;&amp;#039;fixpremiumgff&amp;#039;&amp;#039;&amp;#039; repairs those GFF files, turning them back into standard BioWare GFF files that can be read and manipulated by the usual GFF tools.&lt;br /&gt;
&lt;br /&gt;
= Options =&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;-h&amp;#039;&amp;#039;&amp;#039; &amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;--help&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: Show a help text and exit.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;--version&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
: Show version information and exit.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;--id&amp;#039;&amp;#039;&amp;#039; &amp;lt;id&amp;gt;&lt;br /&gt;
: 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 &amp;quot;IFO&amp;quot;, while an aribeth.dlg will get the &amp;quot;DLG&amp;quot; ID.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;input_file&amp;gt;&lt;br /&gt;
: The GFF file to repair.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;output_file&amp;gt;&lt;br /&gt;
: 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.&lt;br /&gt;
&lt;br /&gt;
= Examples =&lt;br /&gt;
&lt;br /&gt;
Repair the file module.ifo:&lt;br /&gt;
 fixpremiumgff module.ifo module_fixed.ifo&lt;br /&gt;
&lt;br /&gt;
Repair the file module.ifo, but overwrite the ID:&lt;br /&gt;
 fixpremiumgff --id DLG module.ifo module_fixed.ifo&lt;br /&gt;
&lt;br /&gt;
Repair the file module.ifo in-place:&lt;br /&gt;
 fixpremiumgff module.ifo module.ifo&lt;br /&gt;
&lt;br /&gt;
= See also =&lt;br /&gt;
&lt;br /&gt;
[[gff2xml]], [[unerf]]&lt;/div&gt;</summary>
		<author><name>DrMcCoy</name></author>
	</entry>
</feed>