The zip contains 3 binaries as a supplement for the Neverwinter Nights Extender NWNX4 (http://www.nwnx.org).
The supplied binaries allow running nwn2server together with nwnx4 and its plugins on wine in a Linux or Solaris environment.
This package is a provisorical release. Possibly the code will make its way into the NWNX4 main branch, once it is accepted there.
Consider this an intermediate solution for the impatient. You will still need the other files from NWNX4, like the plugins, ini files and such.
This version still has a minor bug, which requires the nwnx4 install to be in the nwn2 server directory. This will get fixed in the future.
Anyone interested in the altered source files, please feel free to drop me an email to mckillroy at gmail dot com.
Update June 2008: The solution is going upstream at NWNX (Testing in the moment). You can get it here: Link Therefore the file has been removed.
Cheers for NWNX!
Update April 2009:
It appearts some people have trouble getting nwnx4 running on Wine/Linux.
A workaround is to use a program to edit the PE header of the nwnserver executable to require the hook dll of nwnx. I'll post an update as soon as I have it ready.
I don't know what was wrong on your side, I just know it worked well for me and others with wine.
It has been reported, that non-recent versions of wine (below 0.9.48) caused issues.
I didn't have much time to work further on the issue the last weeks, but everyone interested in
building and bugfixing for oneself can get the sourcecode of my changes. Just drop me a message.
Once I dig into the problem again I'll post updates. _________________________ /Yorlik
Alright, I'm afraid I have to give up for now. This works fine on Windows; but on WINE the hook simply doesn't load. I'm unfortunately out of time to spend on it... _________________________ The Grinning Fool The World of Khalidine, a unique RP PW.
alright, found the culprit: where in this code I have "nwnhome", in your original code you have NULL. This is causing the languages resources (tlk file) to not load correctly, data resources to not be found, etc.
Did some mre digging and messing about. I built the changes myself locally, and unforutnately encountered the same results. I also disabled all plugins, to ensure that they weren't contributing in some way.
Finally - xp_chat also uses madcodehook; I /think/ I"ve successfully updated it to use Detours, but unfortunately can't test it yet due to preceding issues... _________________________ The Grinning Fool The World of Khalidine, a unique RP PW.
Well... mixed results so far. The results I see are consistent on both Wine and Windows:
1) launching the process seems to work fine. nwn2server loads. On wine, the last message displayed is "No process termination in case of problems coded yet". On Windows, there is one additinal line : " Hook installed and initialized..."
2) NWN2 server GUI appears, but only half-initialized -- almost all text is blanked/grey.
3) The module selected does not autoload.
4) Manually selecting the module /appears/ to load it - however, on WINE the server logs indicate that none of the module startup scripts are loading.
5) Attempting to connecct to the server running on Windows or Wine through the modified process gives me an 'incompatible language' error from NWN2.
On WINE, when I kill the server process it does not restart. On Windows, it does restart.
As I write this up, I wonder how many of the issues are language-related. Were you binaries compiled for a specific locale? I can't see that this /should/ matter, but... _________________________ The Grinning Fool The World of Khalidine, a unique RP PW.
Nice work, I'll be taking a look over the next week or two. Have all available plugins been confirmed to work correctly? _________________________ The Grinning Fool The World of Khalidine, a unique RP PW.
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone