rollNW
rollNW is an homage to Neverwinter Nights in C++ and Python. See the docs and tests for more info, or open an IDE in browser in the quickstart section below.
This library is a work-in-progress. There will be serious refactoring and until there is a real release, it should be assumed the library is a work-in-progress.
Features
- The beginnings of a novel Rules System designed for easily adding, overriding, expanding, or removing any rule and reasonable performance
- A combat engine built on the above that's nearing being able to simulate melee battles.
- Objects (i.e. Creatures, Waypoints, etc) are implemented at a toolset level. Or in other words their features cover blueprints, area instances, with support for effects and item properties. Loading objects from resman or the filesystem is whether in GFF or JSON format is transparent.
- A recursive decent NWScript Parser
- Implementations of pretty much every NWN File Format
- An Model Parser. See the arclight project for some model viewing.
- A Resource Manager that can load all NWN containers (e.g. erf, key, nwsync) and also Zip files.
- An implementation of NWN's Localization System focused on utf8 everywhere.
Goals
- aims to implement an RPG engine inspired by NWN, excluding graphics and networking.
- focuses on usage, instead of doing things the Aurora Engine Way.
- follows utf8 everywhere.
- hews as close to C++ Core Guidelines as possible.
- aims to be as easily bindable as possible to other languages. I.e. only library specific or STL types at API boundaries.
Building / Installing
The library uses CMakePresets.json as its build system. The naming convention for non-ci presets is {platform}-dev[-{build tool}][-python][-debug]. In debug presets, build files are written to build-debug, otherwise build. In the python presets, python bindings will be built, otherwise only tests and benchmarks are built. On macOS and Linux, ninja is always to the build tool of choice so it is omitted. On windows the default build tool is Visual Studio 2022.
Examples:
$ cmake --preset=linux-dev-python
$ cmake --preset=macos-dev-debug
$ cmake --preset=windows-dev-vs2019-debug
$ cmake --preset=windows-dev-ninja-python
$ cmake --preset=windows-dev
Once your configuration is done, everything is the same between platforms. To build:
$ cmake --build --preset=default
$ cmake --build --preset=debug
To install all binaries and test data to local bin dir (build or build-debug):
$ cmake --install build --prefix=.
$ cd bin
$ ./rollnw_benchmark
To run ctest:
$ ctest --preset=default
History
A lot of what's here was written in the 2011-2015 range as part of personal minimalist toolset, modernized and with new EE stuff added. In some sense, it's a work of historical fiction -- it's what I'd have suggested at the start of NWN:EE: get the game and the community on the same set of libraries. Similarly to an older project that asked "what if Bioware had stuck with Lua?". The answer to that was pretty positive: a decade ahead, at least, of nwscript.
Credits
- Bioware, Beamdog - The game itself
- abseil - Foundational
- GoogleTest - Testing
- glm - Mathematics
- loguru, fmt - Logging
- stbi_image, NWNExplorer, SOIL2 - Image/Texture loading.
- inih - INI, SET parsing
- nholmann_json - JSON
- libiconv, boost::nowide - i18n, string conversion
- doxygen, sphinx, breathe - documentation
Metadata
Release files for rollnw 0.45.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rollnw-0.45.0.tar.gz | 48.9 MB | Without provenance | Details for rollnw-0.45.0.tar.gz |
Built distributions (wheels)
Total release size: 151.6 MB
Release files / rollnw-0.45.0.tar.gz
| Download URL | rollnw-0.45.0.tar.gz |
|---|---|
| Size | 48.9 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e6909e9206a9d9bd461fc4d1e82f33c585f76e6463a32da3a48d35444bf5bb7a
|
|
BLAKE2b-256 checksum How to use checksums |
43cd2af424629358f4cc3dd9e6f86047c587d0dae0e94fd1a9c5caf28f975509
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp313-cp313-win_amd64.whl
| Download URL | rollnw-0.45.0-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
5139b6f0a1216ce98e9981807d8931c8e5e1ecafc6ec22f7e9a8433d4055c2b6
|
|
BLAKE2b-256 checksum How to use checksums |
2baa11980e9d2fbdd508e8549c50ba31ccb96c80351b95d41c7915e2f0995ce5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp313-cp313-manylinux_2_28_x86_64.whl
| Download URL | rollnw-0.45.0-cp313-cp313-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.3 MB |
| Tags | CPython 3.13 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
6814f6ca1a800ef9c7800b27793262151b2a40f5cefa7d28d222e9714dc9f087
|
|
BLAKE2b-256 checksum How to use checksums |
fcae1fc83de83846d7d61d5f954b2be62116220f96f41425c425d338574360bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp313-cp313-macosx_13_0_x86_64.whl
| Download URL | rollnw-0.45.0-cp313-cp313-macosx_13_0_x86_64.whl |
|---|---|
| Size | 8.4 MB |
| Tags | CPython 3.13 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
e78a08574c3763286298783bdaefb56edad5facb6e82e0c72effd2f3932714c2
|
|
BLAKE2b-256 checksum How to use checksums |
0f665238a84e55d4cf784984249746ec9d6084d6592024b04254aad59f94af6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp313-cp313-macosx_13_0_arm64.whl
| Download URL | rollnw-0.45.0-cp313-cp313-macosx_13_0_arm64.whl |
|---|---|
| Size | 8.4 MB |
| Tags | CPython 3.13 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
cf0cea1adbaaefeda8a532906543564431c620a591b81c0d1e75e6010b96692e
|
|
BLAKE2b-256 checksum How to use checksums |
3f7d217f54efaca23b6f313a6371026a51d6366e1c5ee9965cab1a1fd2dd68e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp312-cp312-win_amd64.whl
| Download URL | rollnw-0.45.0-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
9e28b9dbbbeb46b12bf345dbcff528db039ab980f721f39460f0d50b89f5daa9
|
|
BLAKE2b-256 checksum How to use checksums |
8e2ecdba07e1a090e3fc2360f927aeec2d0975f952cde3f9fecc2422202879e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp312-cp312-manylinux_2_28_x86_64.whl
| Download URL | rollnw-0.45.0-cp312-cp312-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.3 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
5ae3112609a1a90cc657f3720bca3cffc8e562f8ffb27b64a63ec436c2921fd7
|
|
BLAKE2b-256 checksum How to use checksums |
d96ad8fbcc60fa654bc3b49138d660ac39911ecc41ebbcf7a1c9fd57ffbe1053
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp312-cp312-macosx_13_0_x86_64.whl
| Download URL | rollnw-0.45.0-cp312-cp312-macosx_13_0_x86_64.whl |
|---|---|
| Size | 8.4 MB |
| Tags | CPython 3.12 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
beeddfe32fdbbc049a95479314983fcb504fb02cecfc14cecec0da471749eaac
|
|
BLAKE2b-256 checksum How to use checksums |
36f841e6823ebd81f5af2858a958b3ab97044e18fa44a2a90e33178da56d57c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp312-cp312-macosx_13_0_arm64.whl
| Download URL | rollnw-0.45.0-cp312-cp312-macosx_13_0_arm64.whl |
|---|---|
| Size | 8.4 MB |
| Tags | CPython 3.12 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0d6e6d3c0899d27581db7079c67aad7c860d5b60cd4fa0105b18fe700bfe4e49
|
|
BLAKE2b-256 checksum How to use checksums |
37ce61c0c753a8996e22f0ce1105156a741c011a8b8f05a563b72b0d0bc3ae09
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp311-cp311-win_amd64.whl
| Download URL | rollnw-0.45.0-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
337c4cb7d69649d18609b372b5b44f2a8e6cdbab4aa95147f54356b1f702b9cc
|
|
BLAKE2b-256 checksum How to use checksums |
a75d867e9e13d97182d1b0da1c9cd0d8870ca50b8355bf3f7578d7afcce7ce48
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp311-cp311-manylinux_2_28_x86_64.whl
| Download URL | rollnw-0.45.0-cp311-cp311-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.3 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
47dd41f3f715451dcd307629b823e81b89d96f08cdd8f07f9dff8928542cb054
|
|
BLAKE2b-256 checksum How to use checksums |
a20c479e8891131d4f0802488b3ccdf257a31fc980abdd804ff157175f90f767
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp311-cp311-macosx_13_0_x86_64.whl
| Download URL | rollnw-0.45.0-cp311-cp311-macosx_13_0_x86_64.whl |
|---|---|
| Size | 8.3 MB |
| Tags | CPython 3.11 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
246d31cf9dd0beb71e7d632cd968c671823ff69c5c0f4ceaa1fe0bf60e096a5e
|
|
BLAKE2b-256 checksum How to use checksums |
327e7e3d4c1996755cb49c05dba2d8dac339f8686f5c27aa42b0e327de0aa7ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp311-cp311-macosx_13_0_arm64.whl
| Download URL | rollnw-0.45.0-cp311-cp311-macosx_13_0_arm64.whl |
|---|---|
| Size | 8.3 MB |
| Tags | CPython 3.11 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
56e534b9d27204571dc8f9b6771b9b1d0237843713fe8c790797de07f50a8804
|
|
BLAKE2b-256 checksum How to use checksums |
9be958ac7349b51d7436b2749b43136947995dc84c7a8b6f1fb87ad699843132
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp310-cp310-win_amd64.whl
| Download URL | rollnw-0.45.0-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 3.6 MB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a514f2fe9848180be047fe59538a252e289431f5552e2b4f1f750ed547746dfb
|
|
BLAKE2b-256 checksum How to use checksums |
c153f3e000954c332e846f64ccf27fb775e2200635923627b71d3c9dc2f31b73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp310-cp310-manylinux_2_28_x86_64.whl
| Download URL | rollnw-0.45.0-cp310-cp310-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.3 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
c2a1735fc26f9873e03994a181878fd0bcfe6ada5e2dc91296ad6cc60d196178
|
|
BLAKE2b-256 checksum How to use checksums |
39dd676bde04f1e2c1146b7a6572482c048c8b2e62481b0be32cc31c33ed00da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp310-cp310-macosx_13_0_x86_64.whl
| Download URL | rollnw-0.45.0-cp310-cp310-macosx_13_0_x86_64.whl |
|---|---|
| Size | 8.3 MB |
| Tags | CPython 3.10 macOS 13.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
e4cd3a277803ac9cc99d5e68d7b7f295c691dec7d019ae56b15f73977d2ca22b
|
|
BLAKE2b-256 checksum How to use checksums |
d9b6d395d45c9bdb9a770487b9f4583ec488c4c919de5cb26062df187d9252f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Release files / rollnw-0.45.0-cp310-cp310-macosx_13_0_arm64.whl
| Download URL | rollnw-0.45.0-cp310-cp310-macosx_13_0_arm64.whl |
|---|---|
| Size | 8.3 MB |
| Tags | CPython 3.10 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7348281fca6e0a05ec2bd36ce578492ccec25140ec9b47935e5385bc18220d42
|
|
BLAKE2b-256 checksum How to use checksums |
a2d6d301b36d51c28c013d83cdcfa42a073e7aee6953cb32bf8fcd8e9d56a0c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.7
|
Security for rollnw 0.45.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.