A bit of help please

View previous topic View next topic Go down

A bit of help please

Post  Shar on Mon Dec 17, 2012 7:08 pm

I may be able to get on NWN soon but i cant get the GOG download to work (i figured i would get a copy there for travel and just use my cdkey). any suggestions that may help? i am useing linuxmint 14 on this pc but cant get the file to run on wine.

avatar
Shar
Forum Vizier

Number of posts : 1074
Registration date : 2012-01-15

Character sheet
Character Name: Ne'Sekoleth
Race:
Overall Level: 20

Back to top Go down

Re: A bit of help please

Post  Moonchild on Mon Dec 17, 2012 7:20 pm

Give me a couple minutes, I'll have all the instructions for installing and playing on Linux for you Smile

If you do not have a physical copy of the game, I recommend simply downloading a Diamond ISO from online somewhere, since you have a legal key to the game.

---------------------------------------------------------------------------------------------

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) and extract it into the destination directory (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
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 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. (Note: Link changed from original post.)

Code:
wget [You must be registered and logged in to see this link.]
tar -xzvf nwmovies-latest.tar.gz


3. Install the Bink Video command line Player for x86 GNU/Linux.

Code:
wget [You must be registered and logged in to see this link.]
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."
avatar
Moonchild
Posting Knave

Number of posts : 59
Age : 31
Location : Beneath the gaze of moon and star, bathing in their soft light.
Registration date : 2012-09-23

Character sheet
Character Name: Mint
Race: Halfling
Overall Level: 15

Back to top Go down

Re: A bit of help please

Post  Shar on Mon Dec 17, 2012 7:32 pm

Thanks!

I love linux, but i wish running windows programs was easy.. i think its the real reason people are unwilling to make the swich; you end up loseing all your software.

If only there was a way to make wine 100% compatable with all windows software but at the moment only virtualbox seems to achieve that. Even then though its a big drain on recorces and has to be run as a seprate virtual machiene.
avatar
Shar
Forum Vizier

Number of posts : 1074
Registration date : 2012-01-15

Character sheet
Character Name: Ne'Sekoleth
Race:
Overall Level: 20

Back to top Go down

Re: A bit of help please

Post  Moonchild on Mon Dec 17, 2012 8:35 pm

Heh. I use the latest Ubuntu, myself (stable, not bleeding-edge, blegh:P), but I keep Ice XP v3 by Grishnack on hand for heavy gaming and MMOs. Anything else I just run in Linux.
avatar
Moonchild
Posting Knave

Number of posts : 59
Age : 31
Location : Beneath the gaze of moon and star, bathing in their soft light.
Registration date : 2012-09-23

Character sheet
Character Name: Mint
Race: Halfling
Overall Level: 15

Back to top Go down

Re: A bit of help please

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum