nwn-lib-d 0.0.1

Library & tooling for Neverwinter Nights 2 resource files


To use this package, run the following command in your project's root directory:

nwn-lib-d

Multi-platform D library & tooling for handling Neverwinter Nights 1 & 2 resource files

Build Status codecov

GitHub license

Features

Command-line tools

  • nwn-gff
    • Read / write GFF files (ifo, are, bic, uti, ...)

    FormatParsingSerializationComment
    gff:whitecheckmark::whitecheckmark:NWN binary. Generated binary file match exactly official NWN2 files (needs to be tested with NWN1)
    json:whitecheckmark::whitecheckmark:Json, compatible with Niv nwn-lib
    json_minified:whitecheckmark::whitecheckmark:Same as json but minified
    pretty:x::whitecheckmark:Human-readable

Library

[API reference](https://cromfr.github.io/nwn-lib-d/)

  • GFF
    • Read / Write / Modify
  • TLK
    • Read only
  • 2DA
    • Read only
    • May refuse to parse official 2da when incorrect

Build

Requirements

  • dmd (D language compiler)
  • dub (D build system)

Build

# Build library
dub build

# Build tools
dub build :nwn-gff

# Eventually you can append --build=release
dub build :nwn-gff --build=release

Command-line usage

./nwn-gff --help

Examples

# Print gff file in console
./nwn-gff -i mycharacter.bic

# Write mycharacter.bic to mycharacter.bic.txt in pretty format
./nwn-gff -i mycharacter.bic:gff -o mycharacter.bic.txt:pretty

# Read gff from stdin, write to stdout in pretty format
./nwn-gff -i -:gff -o -:pretty
Authors:
  • Thibaut CHARLES (CromFr)
Sub packages:
nwn-lib-d:nwn-gff
Dependencies:
none
Versions:
0.0.4 2018-Sep-04
0.0.3 2018-Jul-16
0.0.2 2018-Jun-26
0.0.1 2016-Jun-02
~master 2019-Oct-14
Show all 8 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 44 downloads total

Score:
1.0
Short URL:
nwn-lib-d.dub.pm