
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
== A library for Neverwinter Nights 1/2 resource files
This package provides a library for reading, changing, and writing common file formats that are found with NWN[http://nwn.bioware.com/], a Bioware game.
They should work with NWN2 just as well, since the file format specifications did not change.
=== Features of nwn-lib
==== nwn-lib reads and writes the following file formats (hopefully bug-free!), both with an API and useful command-line tools:
==== nwn-lib can handle the following representations of GFF data:
===== read & write:
===== just write, for now:
==== Also in the box:
=== Upgrade from 0.3.6 to 0.4.x
With the release of 0.4.0, the API changed significantly. Previous yaml dumps made with 0.3.x are INCOMPATIBLE, and so are all scripts. I can't help you with your API bindings, but for your YAML dumps, a converter script has been provided (see BINARIES).
=== Upgrade from 0.4.x to 0.5.x
All with version 0.4.x produced files should be compatible with 0.5.0. Your application might require some porting to ruby 1.9.
=== Upgrade from 0.5.x to 0.6.x
YAML dumps will need to be converted due to the internal parser/generator used by ruby being replaced (syck to psych). There is a converter packaged in tools/ along with the gem distribution.
=== Quickstart
To use it, simply add the following to your Gemfile:
gem 'nwn-lib'
Also, read BINARIES for the packaged executable scripts, and HOWTO.
For nwn-lib scripts, see SCRIPTING.
For using the developer API, I suggest you start reading NWN::Gff::Struct.
The latest source is available through git[https://github.com/niv/nwn-lib].
FAQs
Unknown package
We found that nwn-lib demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.