NWNX With SQLite Notes

From Nwnx

Author: incubus

Source: CoPaP Devwiki

Well I figured it out, not using MySQL, it was much easier with SQLite, and for the people who don't know a thing about this AT ALL i made some step by step solutions for you: very easy :


( You must download nwnx2 and odbc2 to make this work )

OK, first copy the aps_demo.mod file to your \\NeverwinterNights\ wn\\modules directory

Second copy all the .dll files to the \\NEverwinterNights\\Nwn directory

Third, Copy all the .dll files and the .exe file from the nwnx2 zip file to your \\NeverwinterNights\ wn directory

Now you make a copy of the file "NWNX.ini" from the nwnx2 zip file in the \\NeverwinterNights\\Nwn Directory

In the odbc zip is a file called example.ini. You need to copy the lines out of it to the end of the \\NeverwinterNights\ wn\\NWNX.ini file

In that file you should set the module name to aps_demo and set the [ODBC2] settings for what ever database you want. In the case of sqlite the defaults are there just un-comment them


for your custom module you should do the following first before you change the aps_demo to your actual module name you want hosted:

Open your mod in the toolset. Import the aps2.erf file from the odbc zip file and re-compile that mod

Personal tools