Monday, June 30, 2008

Neverwinter Nights Linux

Ok, to play never winter nights on Linux you need to get the Linux game at http://nwn.bioware.com/downloads/linuxclient.html. This pretty much explains it all.

Download:
Game File:
http://files.bioware.com/neverwinternights/updates/linux/nwresources129.tar.gz (PS is is 1.1 GB)
Linux Client:
http://files.bioware.com/neverwinternights/updates/linux/nwclient129.tar.gz
Update:
http://files.bioware.com/neverwinternights/updates/linux/168/English_linuxclient168_orig.tar.gz

Unzip the nwresources first then put the other two in the nwn folder it makes and unzip the second one. Then for the update you make a backup of the override file if you want then just type

rm -f override/*
tar -xzf English_linuxclient168_xp1.tar.gz




Now if you want to do it on Suse 10.3 64 bit, my current Linux disto of choice here is what you need to do.

1. Make certain you have the packages as follows:

What I did in Yast->Community Repositories.
Then select these:
Main Repository (NON-OSS)
Main Repository (OSS)
Main Update
Packman
I have an NVidia card so I selected NVIDIA Repository
there is one for ATI Repository
Then in the software management module:
Search for SDL,make sure you have SDL-32bit selected.
Search for xcb, make sure you have xorg-x11-libxcb-32bit
Search for libasound2, make sure you have libasound2-32bit
Search for X11, make sure you have xorg-x11-libs-32bit

I also had to add the 32 bit libelf library to get mine to work.

2. Make this script:

#!/bin/sh
# This script runs Neverwinter Nights from the current directory
cd /apps/Games/nwn
export SDL_MOUSE_RELATIVE=0
export SDL_VIDEO_X11_DGAMOUSE=0
# If you do not wish to use the SDL library included in the package, remove
# ./lib from LD_LIBRARY_PATH
export LD_LIBRARY_PATH=./miles:$LD_LIBRARY_PATH
export LIBXCB_ALLOW_SLOPPY_LOCK=1
./nwmain $@



This is all found on the forum
http://nwn.bioware.com/forums/viewtopic.html?topic=590825&forum=72