nwn-lib-d

Tools

nwn-lib-d tools are a set of command-line tools for manipulating Neverwinter Nights 2 files (and some NWN1 files). They are multi-platform (usable on Windows or GNU/Linux) and do not require the game to be installed.

The tools can be downloaded on the Github release page.
More information on the tools can be found in the project's readme.

nwn-gff

GFF file tool (bic, utc, jrl, ...)

  • Convert to text or JSON
  • Edit GFF tree
  • Set local variables
  • Remove empty localizations

nwn-tlk

TLK file tool

  • Dump to readable text

nwn-erf

ERF file tool (hak, erf, mod, pwc)

  • Create or extract ERF containers
  • Set ERF date for reproducible haks

nwn-2da

2DA file tool

  • Check 2DA format
  • Re-format / fix issues
  • Merge rows into an existing 2DA

nwn-trn

TRN file tool (trx, trn)

  • Export / import terrain data (3D mesh, textures, ...)
  • Dump walkmesh data
  • Prototype area baking tool

nwn-srv

Server requesting tool

  • Ping server
  • Request information (player count, module, etc.)

nwn-bdb

Foxpro / campaign database tool (dbf + ctx + fpt)

  • View / search database

Library

nwn-lib-d is also a library written in D, documented here.

You can add the library as a dependency in your dub config file:

// dub.sdl
dependency "nwn-lib-d" version="~>1.0.0"
// dub.json
"dependencies": {
	"nwn-lib-d": "~>1.0.0"
},