Edit
< Linux
To install the Diamond Edition (assuming DVDs automatically mount at /media/cdro
m):
1. Create a directory where you wish to install Neverwinter Nights (the destinat
ion directory). Neverwinter Nights Diamond requires 4.6 GB of free hard disk spa
ce.
Code: mkdir nwn cd nwn
2. Unzip Data_Shared.zip from Diamond DVD into the destination directory. Unzip
Data_linux.zip from Diamond DVD into the destination directory.
Code: unzip /media/cdrom/Data_Shared.zip unzip /media/cdrom/Data_linux.zip
3. Unzip data/XP1.zip from Diamond DVD into the destination directory (overwriti
ng all). Unzip data/XP2.zip from Diamond DVD into the destination directory (ove
rwriting all).
Code: unzip -o /media/cdrom/data/XP1.zip; unzip -o /media/cdrom/data/XP2.zip
4. Download nwclientgold.tar.gz (7.2 MB) and extract it into the destination dir
ectory (overwriting all).
Code: tar -xzf ~/nwclientgold.tar.gz
5. Download nwclienthotu.tar.gz (37.7 MB) and extract it into your nwn directory
, overwriting all.
Code: tar -xzf ~/nwclienthotu.tar.gz
6. Update to latest version (506 MB).
Code: tar -xzf ~/English_linuxclient169_xp2.tar.gz
7. Run ./fixinstall from the destination directory.
Code: ./fixinstall
8. To run Neverwinter Nights, run ./nwn or ./dmclient from the destination direc
tory to run the player client or DM client respectively.
Code: ./nwn
9. If you get this message:
Code: nwmain: ../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_r
eq) - (dpy->request)) >= 0)' failed. Aborted
- - Remove ./lib from LD_LIBRARY_PATH.
Code: sed -i~ 's|?./lib:||' nwn
Neverwinter Nights(TM) Kingmaker Setup
Unfortunately, the premium modules are only available as a Windows installer on
the Diamond DVD, so we must use Wine to run it. A registry patch is required to
tell the installer where NWN is installed. The installer is linked (or copied) t
o the NWN directory so it won't try to install the Windows patch which would bre
ak the Linux installation of NWN.
1. Install Wine.
Code: sudo apt-get install wine
2. If present, remove (or rename) wine configuration directory.
Code: rm -fr ~/.wine
3. Run winecfg then cancel, to create configuration directory.
Code: winecfg
4. Link drive letter to nwn directory (must be current working directory).
Code: ln -s $PWD $HOME/.wine/dosdevices/n?:
5. Create registry patch.
Code: cat nwn.reg nwn.reg [HKEY_LOCAL_MACHINE?Software?BioWare?NWN?Neverwinter]
"Location"="n:???" EOF
6. Apply registry patch.
Code: regedit nwn.reg[/code]
7. Link (or copy) KingmakerSetup.exe to nwn directory.
Code:[code] ln -s /media/cdrom/KingmakerSetup.exe
8. Run KingmakerSetup.exe to install the Premium Modules.
Code: wine KingmakerSetup.exe
9. Remove obsolete files.
Code: rm -f KingmakerSetup.exe nwn.reg 'premium/uninst Neverwinter Nights(TM) Ki
ngmaker.exe'
NWMovies
NWMovies puts the movies back into the Linux client just like they are on the Wi
ndows clients.
1. NWMovies v4.0 RC1 depends on libx11-dev - X11 client-side library (developmen
t headers). The Bink Video command line Player for x86 GNU/Linux depends on libs
tdc++5 - The GNU Standard C++ Library v3.
Code: sudo apt-get install libstdc++5 libx11-dev
2. Install NWMovies v4.0 RC1. (Note: Link changed from original post.)
Code: wget http://home.roadrunner.com/~nwmovies/nwmovies/nwmovies-latest.tar.gz
tar -xzvf nwmovies-latest.tar.gz
3. Install the Bink Video command line Player for x86 GNU/Linux.