Monday, September 11, 2006

Neverwinter Nights On My Ubuntu-Laptop

Today I finally decided to spend some time and try to install Neverwinter Nights on my laptop, since I absolutely still love that game. Of course: you could follow this howto, but since I don't have NWN Platinum or Diamond, I had to follow other instructions. I didn't want to pirate the game (I legally own the original and the two expansions, so I figured that would work too).

Instead I followed the instructions from Bioware, congrats to them for making this game available on a Linux (and Mac) platform!

Step 1: "Installing Using Downloaded Linux Client Resources"

Download the Linux Client Resources v1.29 (from BioWare). Extract this archive somewhere (e.g.: /home/user/Programs/nwn).

We will do the English install, for other languages: follow the Bioware instructions, these instructions are just narrowed down and compressed...

Also download the Linux Client 1.29 binaries (tar.gz, 5.3 MB). (Make sure you are logged in into the Bioware site, registering is free.) And also extract these into your installation folder. Make sure you overwrite all existing files - this is a rule for all further archives, unless stated otherwise.

If you have SoU and HoU, don't update to the latest version yet. And wait with playing the game ;).

Step 2: "Installing Shadows of Undrentide Expansion Pack"

Make sure step 1 completed succesfully. Since the Linux installer on the disk is broken, we will do it ourselves.

Make sure you can access the following files, they are in the CDs root folder.

Extract them into your installation folder in the above order (overwrite)!

Then delete the following files from your installation folder if they exist:


And then execute the following command from a terminal:


Step 3: "Installing Hordes of the Underdark Expansion Pack"

Make sure you completed steps 1 and 2.

Remove the following files if they exist:
/INSTALL/ xp1patch.key

Again: get the following archives from the HoU CD root and unzip them into your installation folder in the following order:

Download nwclienthotu.tar.gz and also extract it into your nwn directory, overwriting all.

Again, run ./fixinstall from your installation directory.

Step 4: updating

Now update the game, download the patch here. To update, just overwrite-extract the archive you have downloaded in the installation map.

Step 5: fixing

I got the following error when starting Neverwinter with the ./nwn command:
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Creating link /home/username/.kde/socket-hostname.
can't create mcop directory

To fix this, I executed:
mkdir ~/.kde/socket-hostname
Replace hostname with your own hostname, of course (it is mentioned in the error).

Then everything worked perfectly fine: NWN starts and I can enter my CD keys, the game doesn't run like it does on my gaming machine, but I'm satisfied that it runs at all with such a small Thinkpad X60 with quite a crappy graphics chip.

Again: thanks to Bioware for making this available (which other game company would host a one-gigabyte file on their servers?).

Happy adventuring!


  1. Thank you for the installation guide. I was wondering if you might help me, as I'm new to Ubuntu and you seem a deft hand. After following your steps, I tried running /.nwn and got this output:
    Locking assertion failure. Backtrace:
    #0 /usr/lib/ [0xb6bfa767]
    #1 /usr/lib/ [0xb6bfa8b1]
    #2 /usr/lib/ [0xb6d421bd]
    #3 ./lib/ [0xb7cbf53d]
    #4 ./lib/ [0xb7cba78c]
    #5 ./lib/ [0xb7cbc457]
    #6 ./lib/ [0xb7cb1f66]
    #7 ./lib/ [0xb7c947de]
    #8 ./lib/ [0xb7c948dc]
    #9 ./nwmain(SDL_SetVideoMode+0x293) [0x804f98b]
    #10 /lib/tls/i686/cmov/ [0xb7b50450]
    #11 ./nwmain(AIL_WAV_info+0x39) [0x804f851]

    The screen flickered black, and then nothing. Do you have any suggestions?

    Thank you very much.


  2. Ah, Please Ignore the above comment. I edited the nwn and nwn.ini files and got it running very nicely indeed. Thank you again for the fine tutorial.