You are not logged in.

#1 2010-05-27 04:59:59

Surrender
Member
Registered: 2008-12-20
Posts: 10

[SOLVED] Black Screen in Neverwinter Nights

I'm trying to get Neverwinter Nights Platinum (4 CD version) working, using these instructions.  When I run the nwn script however, I get a black screen.  The sound is working but the screen is black.  I'm running 64-bit arch but I've installed lib32 so I don't know what the problem is.  Here is the content of my nwn script:

#!/bin/sh

# This script runs Neverwinter Nights from the current directory

export SDL_MOUSE_RELATIVE=0
export SDL_VIDEO_X11_DGAMOUSE=0
#export LIBXCB_ALLOW_SLOPPY_LOCK=1

# If you do not wish to use the SDL library included in the package, remove
# ./lib from LD_LIBRARY_PATH
#export LD_LIBRARY_PATH=./lib:./miles:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=:./miles:$LD_LIBRARY_PATH

./nwmain $@

Last edited by Surrender (2010-05-28 05:17:31)

Offline

#2 2010-05-27 23:00:59

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [SOLVED] Black Screen in Neverwinter Nights

I believe their version of SDL is older than the system version in Arch? I used to play this (a year or so back) but it doesn't start anymore.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2010-05-28 05:17:13

Surrender
Member
Registered: 2008-12-20
Posts: 10

Re: [SOLVED] Black Screen in Neverwinter Nights

ngoonee wrote:

I believe their version of SDL is older than the system version in Arch? I used to play this (a year or so back) but it doesn't start anymore.

Thank you for pointing me in the right direction.  I finally got it to work. big_smile

In case anyone else ever needs detailed instructions, this is what I did:

I copied usr/lib/libSDL-1.2.so.0.11.3 into my NWN lib directory: home/user/nwn/lib
I changed directory into my NWN directory: cd /home/user/nwn
I created a symbolic link to sdl: ln -s libSDL-1.2.so.0.11.3 lib/libSDL-1.2.so.0

Last edited by Surrender (2010-05-28 05:19:11)

Offline

#4 2010-05-28 09:10:44

Artificial Intelligence
Member
From: Denmark
Registered: 2005-09-10
Posts: 53
Website

Re: [SOLVED] Black Screen in Neverwinter Nights

It should be should be sufficient to change export LD_LIBRARY_PATH  to;

export LD_LIBRARY_PATH=:./miles:$LD_LIBRARY_PATH


| My Desktop | My Blog | My AUR Packages

Diversa ab illis virtute valemus

Offline

Board footer

Powered by FluxBB