- (2008-03-26 kivinen)
New program remove-object
Added new program called remove-object that can be used to
remove objects by tag, resref or path from the gff-files (most
likely .git files containing area info).
- (2008-01-10 kivinen)
Remap.pl has now some new modes. It can now do remapping
of tiles, and metatile appearance numbers in are files, and
it can also do remapping of feat ids and spell ids in player
character files (bic files). Trn.pm library also knows now
much more about aswm walkmesh structure.
- (2008-01-06 kivinen)
Made new tool that can print statistics of gff file. For
example gffstats.pl -t -b *.git command will print out
statistics of each area, i.e. how many objects in total
there are on the area.
- (2007-09-07 kivinen)
Made new tool that can list files from hak, mod, erf or pwc
(even if those files are inside zip file).
- (2007-08-17 kivinen)
Remap tool knows now also how to change tile variations to
- (2007-08-15 kivinen)
I made new tool that will remap appearance numbers inside
modules, erfs, haks for placeables. This will update the
placeables and environmental placeables lists and also utp
- (2007-08-02 kivinen)
Created new tool called trngraph that can extract walkmesh,
terrain, water, color etc information from trx or trn and
generate png/jpg etc pictures out of those. All features to be
printed can be turned on and off separately.
- (2007-07-02 kivinen)
Check-module now checks for complex
Check-module now complains if you have too complex triggers
having more than 100 points. Those triggers will crash dm
client if dm comes to the area. Also added new version of the
create-placeable.pl which also includes the documentation. And
created first version of the change-uiflags.pl.
- Older news
Neverwinter Nights tools
This web page contains some tools created by Tero Kivinen to parse and
write Neverwinter nights file formats. All the tools are written in
perl, so they work both on unix and windows machines. The tools are
quite generic, and they do not try to understand the actual data model
of the objects, but they allow you to do automatic changes to the lots
of files, and they are much, much faster than using toolset provided
by the bioware.
Currently there is one module that allows you to parse any GFF file to
a perl hash-structure. You can then print this out, or find items from
the hash-structure etc. If you modify the hash-structure you need to
keep format of the hash-structure proper so it can still be written
out. This includes adding type information etc for each new entries
There is another module which takes the perl hash-structure of the GFF
and writes it back to the file.
The parser module also includes function to print out the structure,
and to search for specific items, and call a perl-function when they
are found. That perl-function can then modify the gff, and when the
find ends you can write the modified version back.
There is also module to unpack and pack erf/mod etc files. This means
you can easily unpack the module modify some entries, and pack the
module back without having to touch the toolset.
Latest addition is the key file parser and bif file unpacker. This
means that you can take the existing nwn key and bif files and extract
some files out from there. This includes operation like extracting all
default script files.