You are not logged in.
Pages: 1
Heya,
I've been trying to install NWN Diamond for a while now (with movies at least; the rest was easy) and noticed there was an AUR package. The package built and was installed with minimal problems (couldn't find my DVD in /media but it found it in /mnt), but now that it's installed I'm getting errors when starting nwn. In particular, this one:
WARNING: NWMovies: No INI file. Creating.
ERROR: NWMovies: Unable to create INI file. Aborting: 2
The package mentioned something like this after the install, and said to do the following:
>>> If something throws an error saying it cannot create the .ini file,
>>> try modifying the export LD_PRELOAD line in /usr/bin/nwn to
>>> include just one additional library at a time. For example:
>>>
>>> export LD_PRELOAD=./nwuser.so (start nwn)
>>> export LD_PRELOAD=./nwuser.so:./nwmouse.so (start nwn)
>>> export LD_PRELOAD=./nwuser.so:./nwmouse.so:./nwmovies.so (start nwn)
Now I added these to that file and it now looks like this:
#!/bin/bash
cd "/opt/nwn"
# Uncomment to make SDL Sound work on Software Mixers
#export SDL_AUDIODRIVER=esd
# Hardware Mouse Cursor
export XCURSOR_PATH=/opt/nwn
export XCURSOR_THEME=nwmouse
# Enable AA on NVidia cards (/usr/share/doc/NVIDIA_GLX-1.0/README.txt)
# 3 = 1.5 x 1.5 super sampling
# 4 = 2x2 super sampling
export __GL_FSAA_MODE=4
# Per-User Settings Support, Hardware Mouse Cursor Support, Linux Movies Support
#export LD_PRELOAD=./nwuser.so:./nwmouse.so:./nwmovies.so
export LD_PRELOAD=./nwuser.so
export LD_PRELOAD=./nwuser.so:./nwmouse.so
export LD_PRELOAD=./nwuser.so:./nwmouse.so:./nwmovies.so
# Run Neverwinter Nights
./nwn $*
exit $?
I removed the (start nwn)'s because I guessed they were annotations of some kind (they also stopped nwn from launching when they were there).
I tried looking for similar issues in the AUR entry and couldn't find any. So does anyone know what I can do to make this work? I feel like I misinterpreted the LD_PRELOAD message.
Thanks in advance!
Offline
30 second follow-up:
I commented out all the LD_PRELOADS and got nwn to launch, but I get the "xcb" error:
nwmain: xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.
I fixed this problem in my previous install by removing "./lib" from /opt/nwn/nwn's "export LD_LIBRARY_PATH". However, a look at the nwn forums suggests that this may keep the videos from working. Below is the contents of /opt/nwn/nwn:
#!/bin/sh
# 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 $@
The reason I am posting my problems here is that many posts on the NWN Linux forums suggest there are distro specific issues. I just want to see if anyone has a similar experience.
Last edited by eljoeb (2008-01-29 17:24:58)
Offline
Alright, I thought I would post what happened with this for me. While I got a working game by removing the ./lib from nwn, the movies would not work. I just tried it in wine and it works perfectly. Not sure if the native client is worth the effort.
Offline
I know this thread is a tad old, but just thought I'd chime in and let ya know that rebuilding sdl 1.2.13 with the 1.2.11 patch from the nwmovies site and symlinking /usr/lib/libSDL-1.2.so.0 to the lib directory in the nwn folder and running "./nwmovies_install.pl path/to/nwn/lib/libSDL-1.2.so.0" fixes the movie issue.
I had nwn installed in my home folder so my actual command series of commands was
cd /home/user/nwn
rm -rf nwmovies*
wget http://home.woh.rr.com/nwmovies/nwmovie … est.tar.gz
tar -zxf nwmovies-latest.tar.gz
Then I had to update sdl
su -
pacman -R sdl
logout (to exit su and build sdl with makepkg)
makepkg
su -
pacman -U sdl-1.2.13-1-i686.pkg.tar.gz
ln -s /usr/lib/libSDL-1.2.so.0 /home/user/nwn/lib/
./nwmovies_install.pl /home/user/nwn/lib/libSDL-1.2.so.0
Here's the PKGBUILD I modified to use
# $Id$
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=sdl
pkgver=1.2.13
pkgrel=1
pkgdesc="A library for portable low-level access to a video framebuffer, audio output, mouse, and keyboard"
arch=(i686 x86_64)
license=('LGPL')
depends=('glibc' 'libxext' 'libxrender' 'libx11')
options=('!libtool')
makedepends=('alsa-lib' 'esd' 'mesa')
source=(http://download340.mediafire.com/vun2mcqwrzxg/mreyqo4zmgz/SDL-1.2.13.tar.gz)
#url="local"
#md5sums=('c6660feea2a6834de10bc71b2f8e4d88')build() {
cd ${startdir}/src/SDL-${pkgver}
patch -p1 < fullscreen-toggle-1211.patch
./configure --prefix=/usr --disable-nasm --enable-alsa --enable-esd --with-x
make || return 1
make DESTDIR=${startdir}/pkg install
}
I uploaded SDL-1.2.13.tar.gz with the SDL/NWN FullScreen toggling patch modified to run on 1.2.13 instead of 1.2.11
Hope this helps anyone unable to play movies with nwn
Last edited by muaythaimaster74 (2008-07-01 02:56:40)
Offline
If you guys play online, what server do you play on?
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
I know this a really kind of late but the link for the movies folder is dead any chance of getting a new link thanks.
Offline
I know this a really kind of late but the link for the movies folder is dead any chance of getting a new link thanks.
Offline
Pages: 1