Snowblizzard


 
HomeSearchFAQRegisterLog in

Share | 
 

  [Linux] Install Diamond Edition, Original Edition + 1.69 Update + NWMovies

Go down 
AuthorMessage
DM-Rugby
Admin
Admin
avatar

Posts : 179
Points : 483
Join date : 2010-04-29

PostSubject: [Linux] Install Diamond Edition, Original Edition + 1.69 Update + NWMovies   Thu May 31, 2012 11:45 am

: 11/16/2008:
This is an updated version of Wolfram's previous guide for Installing Neverwinter Nights Diamond Edition For Linux - revised for the Final v1.69 Update and also including instructions for NWMovies! Also provided is a link to the procedure to install the 3-disc Original NWN Edition. (2012-01-25)

Editor's Note: Due to the limitations of the message formatting, backslashes have been represented in the following code expressions with a question mark "?". Please substitute a backslash character (where applicable) at each occurrence before you execute the code.

To install the Diamond Edition (assuming DVDs automatically mount at /media/cdrom):

1. Create a directory where you wish to install Neverwinter Nights (the destination directory). Neverwinter Nights Diamond requires 4.6 GB of free hard disk space.

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 (overwriting all). Unzip data/XP2.zip from Diamond DVD into the destination directory (overwriting all).

Code:
unzip -o /media/cdrom/data/XP1.zip
unzip -o /media/cdrom/data/XP2.zip


4. Download nwclientgold.tar.gz (7.2 MB) http://nwdownloads.bioware.com/neverwinternights/linux/gold/nwclientgold.tar.gz and extract it into the destination directory (overwriting all).

Code:
tar -xzf ~/nwclientgold.tar.gz

5. Download nwclienthotu.tar.gz (37.7 MB) http://nwdownloads.bioware.com/neverwinternights/linux/161/nwclienthotu.tar.gz and extract it into your nwn directory, overwriting all.

Code:
tar -xzf ~/nwclienthotu.tar.gz

6. Update to latest version (506 MB). http://files.bioware.com/neverwinternights/updates/linux/169/English_linuxclient169_xp2.tar.gz

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 directory 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_req) - (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) to the NWN directory so it won't try to install the Windows patch which would break 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

7. Link (or copy) KingmakerSetup.exe to nwn directory.

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) Kingmaker.exe'

To install the Original NWN Edition (i.e. the set of 3 CD-Rom discs):

Follow the instructions furnished by Skildron listed below.

NWMovies

NWMovies puts the movies back into the Linux client just like they are on the Windows clients.

1. NWMovies v4.0 RC1 depends on libx11-dev - X11 client-side library (development headers). The Bink Video command line Player for x86 GNU/Linux http://www.radgametools.com/bnkdown.htm depends on libstdc++5 - The GNU Standard C++ Library v3.

Code:
sudo apt-get install libstdc++5 libx11-dev

2. Install NWMovies v4.0 RC1. http://home.roadrunner.com/~nwmovies/nwmovies/ (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.

Code:
wget http://www.radgametools.com/down/Bink/BinkLinuxPlayer.zip
unzip BinkLinuxPlayer.zip
chmod 755 BinkPlayer


4. Modify the 'nwn' startup script.

Code:
sed -i~nwmovies '?|?./nwmain|iexport LD_PRELOAD=./nwmovies.so' nwn

5. Optionally enable Screen Flickering at movie beginning/end fix:

Code:
sed -i '?|nwmovies|aexport NWMOVIES_GRAB_HACK=1' nwn

6. Run NWN.

Code:
./nwn

7. You get this message:

Code:
NOTICE: NWMovies: INI File written: Now exiting. This is perfectly normal!
NOTICE: Your next run of NWN should be complete, and include movies.

- - Run NWN a second time.

Code:
./nwn

Tested on Ubuntu.
--
Wolfram Ravenwolf
(Stefan Daniel Schwarz)

NWMovies Issue 01: Skipping movies

A fix furnished by Skildron on 9/3/2011...

"I switched the kde desktop effects off and through this disabled the composite manager. Lo and behold, the intro movies are playing fine again."
Back to top Go down
View user profile http://snowblizzard.forumotion.com
 
[Linux] Install Diamond Edition, Original Edition + 1.69 Update + NWMovies
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Snowblizzard :: Neverwinters Nights EE :: Technical :: Technical-
Jump to: