NWN1 command-line utilities
![niv](https://forums.beamdog.com/uploads/userpics/676/nCA2YEXQE1HPI.jpg)
Hello,
I've written a new set of cli utiltiies (and the needed backing library). These utilities were used to develop needed changes for NWN. For example, they are used to repack the data files, removing duplication and redoing the structure. They are also used to package the shrunk-down docker images.
You can find them here: https://github.com/niv/neverwinter_utils.nim
They are the spiritual successor to ruby's nwn-lib. They are somewhat raw, but I think they might be of use to someone. There are no binary releases yet (and no real versioning beyond git commit sha). They work on all three supported platforms (actually, all that nim can target).
Before asking any questions, check the README.md and the individual programs (under src/); they all contain documentation headers.
I've written a new set of cli utiltiies (and the needed backing library). These utilities were used to develop needed changes for NWN. For example, they are used to repack the data files, removing duplication and redoing the structure. They are also used to package the shrunk-down docker images.
You can find them here: https://github.com/niv/neverwinter_utils.nim
They are the spiritual successor to ruby's nwn-lib. They are somewhat raw, but I think they might be of use to someone. There are no binary releases yet (and no real versioning beyond git commit sha). They work on all three supported platforms (actually, all that nim can target).
Before asking any questions, check the README.md and the individual programs (under src/); they all contain documentation headers.
8
Comments
thank you for these tools! I'm using them for getting into version control with json. They are working wonderful!
But with the newest version on github I have some probs. The release you shared, seem that they don't work for my system (Win 10 x64), so I tried to build (also with nim 19) them myself. I've got more errors then before
I'll share some here next day. I'll be happy if you could share your thougts about?
Dunahan
As to the binaries, thanks for letting me know. I had cross-compiled them in wine (some effort of mine to compile all 3 supported platforms on the same machine) and testing had shown them to work fine, but maybe something went wrong.
Here is the Message Box it shows if called from cmd (or if double clicked. Beware for the others, it's in german
---------------------------
Nicht unterstützte 16 Bit-Anwendung
---------------------------
Das Programm bzw. das Feature "\??\nwn_erf.exe" kann aufgrund einer
Inkompatibilität mit 64 Bit-Versionen von Windows nicht gestartet bzw.
ausgeführt werden. Wenden Sie sich an den Softwarehersteller, um zu
erfahren, ob eine mit 64 Bit-Windows kompatible Version verfügbar ist.
---------------------------
OK
---------------------------
Die Version von \??\nwn_erf.exe ist mit der ausgeführten Windows-Version
nicht kompatibel. Überprüfen Sie die Systeminformationen des Computers,
und wenden Sie sich anschließend an den Herausgeber der Software.
I think @niv shouldn't have a problem with it, for the others: It seems, that the compiled binaries are at the moment 16bit versions.
Okay, I'll try to install v18 of nim and get it to work