I also get an output like this:
nwn: line 13: esdctl: command not found
nwn: line 16: esdctl: command not found
But nwn starts and everything works fine. Thanks :)
Printable View
I also get an output like this:
nwn: line 13: esdctl: command not found
nwn: line 16: esdctl: command not found
But nwn starts and everything works fine. Thanks :)
Hi guys,
I've tried all the suggested solutions for this problem, and none of them seem to work for me. I'm trying to run NWN on Jaunty Beta, but I do not get any error messages at the console when launching the game.
I tried removing lib from the LD_LIBRARY_PATH in order to make the game use the Ubuntu library. - Game loads, but no sound.
I tried symlinking the Ubuntu library from within the lib folder of NWN. - Again, game loads, no sound.
I tried copying the Ubuntu library to the lib folder. - Still no luck.
I've also tried apt-getting the libSDL pulseauido plugin, and setting that as the audio driver, but no luck. Other games using libSDL seem to play audio fine.
Not really sure what to try next.
NWN worked for me in the past, but I was surprised to find that the sound had stopped working since the last time I tried it (which was probably a year or so ago).
I found I could get the sound working, simply by commenting out the line, "export SDL_AUDIODRIVER=alsa". So, the script is now as follows:
Code:#!/bin/sh
# This script runs Neverwinter Nights from the current directory
export SDL_MOUSE_RELATIVE=0
export SDL_VIDEO_X11_DGAMOUSE=0
#export SDL_AUDIODRIVER=alsa
# 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
./nwmain $@
I also have no sound, the autorun menu has sound but the actual game doesn't. I follow that up by saying I did not use the Linux installer, I'm on Ubuntu 10.4 and could not for the life of me get the linux installers (any of them) to work properly. So since my actual dvdrom is not working I created a drive in media linked that to wine and mounted a NWN Diamond iso, the game installed perfectly. Everything else works like a champ but I have no sound. Since I'm not running it with the linux files is there anything I can do or am I stuck looping the audio through my music player?
This should work regardless of the Windows/Linux file use, since the main difference is an alteration to an SDL sound card setting:
http://nectarius.net/2007/08/22/puzz...and-nwn-sound/
Here is the code that should be used in place of the existing nwn file (note that the text /GAMEINSTALLPATH/ should be changed to the directory in which you have Neverwinter Nights installed -- this is a convenience fix to allow easier launches, not the sound fix per se):
This fixed audio for me after an update seemed to cause it to stop working today, and cleared up the error messages I had previously been seeing even on successful runs, as well.Code:#!/bin/sh cd /GAMEINSTALLPATH/
# This adds a variable to make sound work properly. NWN doesn't work with
# select() function in the SDL sound library properly.
# I think this means it doesn't know how to choose which sound card to use in
# some setups.
export SDL_DSP_NOSELECT=1
# This script runs Neverwinter Nights from the current directory
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=./lib:./miles:$LD_LIBRARY_PATH
./nwmain $@
I too am having a great deal of difficulty getting sounds active in NWN (platinum CD install)...
I've altered the nwn run script in every way I've found on this, and many other forums, all to no avail.
I Did get it working for about 12 hours with the addition of the
export SDL_AUDIODRIVERS=alsa
command line, but did a system restart and it has gone kaput.
Nothing I have tried since has had any effect whatsoever besides turning my hair grey.
Currently, my nwn run script reads as -
#!/bin/sh
# This script runs Neverwinter Nights from the current directory
export SDL_MOUSE_RELATIVE=0
export SDL_VIDEO_X11_DGAMOUSE=0
#export SDL_AUDIODRIVERS=alsa
# 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
./nwmain $@
and nothing sound-wise...
(sound aside, game runs flawlessly, no high res screen flutter/flicker, no mouse lag, movies work (sans sound)
any help would be appreciated.
http://img147.imageshack.us/img147/5...cromancing.jpg
From the Ubuntu Forums Code of Conduct.
Thread closed.Quote:
If a post is older than a year or so and hasn't had a new reply in that time, instead of replying to it, create a new thread. In the software world, a lot can change in a very short time, and doing things this way makes it more likely that you will find the best information. You may link to the original discussion in the new thread if you think it may be helpful.