Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: NeverWinter Nights Sound Issues

  1. #11
    Join Date
    Mar 2008
    Beans
    41

    Re: NeverWinter Nights Sound Issues

    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

  2. #12
    Join Date
    Nov 2007
    Location
    London
    Beans
    6
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: NeverWinter Nights Sound Issues

    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.

  3. #13
    Join Date
    Oct 2008
    Location
    San Francisco, California
    Beans
    82
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: NeverWinter Nights Sound Issues

    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 $@

  4. #14
    Join Date
    Jun 2009
    Location
    Georgia, Kutaisi
    Beans
    178
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: NeverWinter Nights Sound Issues

    Quote Originally Posted by Brian Vaughan View Post
    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 $@
    dude thanks that worked!

  5. #15
    Join Date
    Aug 2010
    Beans
    3

    Re: NeverWinter Nights Sound Issues

    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?

  6. #16
    Join Date
    Aug 2005
    Beans
    9
    Distro
    Ubuntu Development Release

    Re: NeverWinter Nights Sound Issues

    Quote Originally Posted by Lady_Dark_Kitten View Post
    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):

    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 $@
    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.

  7. #17
    Join Date
    Oct 2012
    Beans
    5

    Re: NeverWinter Nights Sound Issues

    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.

  8. #18
    Join Date
    Feb 2007
    Beans
    23,086
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: NeverWinter Nights Sound Issues


    From the Ubuntu Forums Code of Conduct.
    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.
    Thread closed.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •