Package Details: nwn-diamond 1.69-8

Git Clone URL: https://aur.archlinux.org/nwn-diamond.git (read-only)
Package Base: nwn-diamond
Description: Neverwinter Nights RPG from Bioware. Requires the Diamond Collection DVD. Update PKGBUILD with path to your DVD.
Upstream URL: http://nwn.bioware.com/
Licenses: custom:eula
Conflicts: nwn
Provides: nwn
Submitter: None
Maintainer: Slash
Last Packager: Slash
Votes: 11
Popularity: 0.005419
First Submitted: 2006-07-21 13:22
Last Updated: 2015-06-08 17:49

Latest Comments

Slash commented on 2015-12-17 01:11

It looks like bioware's site was not configured properly for some time, but nwdownloads.bioware.com and files.bioware.com are now working again.

dag commented on 2015-12-14 20:27

does not downloads nwclientgold.tar.gz nor can I find it or even get to the root address in browser ping shows 100 loss.
nwclienthotu.tar.gz
finding nwclientgold.tar.gz,nwclienthotu.tar.gz,English_linuxclient169_xp2.tar.gz and putting them in the biuld directory and then edit source for it and skip it on md5sums works. couldnt find a source to directly download from.

n3hima commented on 2014-12-02 21:05

Thanks for modernising the PKGBUILD etc., good job!

It might be worth adding lib32-nvidia-libgl as an optional dependency. The game doesn't render anything but menus without it when using the nvidia proprietary driver.

Slash commented on 2014-11-25 01:08

I modernized the PKGBUILD and updated the addon stuff to pull from Github. For a comprehensive list of changes, please see:

https://github.com/Slashbunny/archlinux-pkgbuilds/commit/9ec8cf37e526f370efea02cf0aeb58f5c26a0301

@TheCycoOne: Thanks for cleaning up the PKGBUILD in nwn-gog, it helped me clean this one up.

TheCycoONE commented on 2014-11-03 20:19

All the home.roadrunner.com links are dead. The files are now hosted at https://github.com/nwnlinux.

I have updated my own package as a reference: https://aur.archlinux.org/packages/nwn-gog/

TheCycoONE commented on 2013-07-11 01:06

I've uploaded https://aur.archlinux.org/packages/nwn-gog/ which is basically a copy of this, but with modifications to work with the GOG version. It is my first aur package so I expect and welcome feedback.

lukpod commented on 2013-07-08 12:48

As GLU was split from Mesa, this package should now depend on glu/lib32-glu instead of mesa/lib32-mesa.

omeringen commented on 2012-12-20 16:31

@extrarius,
Any news about GOG version ?

z0id commented on 2012-11-24 00:01

I think mesa and lib32-mesa should be removed and put in optdepends along with nvidia-utils/lib32-nvidia-utils.

Anonymous comment on 2012-10-08 00:24

I was reading earlier comments about the GOG version (which I do have). There is actually a way around the issue thanks to the innoextract project (in AUR). The main problems are the CDkeys (which GOG embeds in the installer) and the layout of the installation differs greatly from the DVD (the archive zips are missing) so it's basically a 1:1 copy. I'm thinking of tinkering around with the PKGBUILD to see if I can get it to play nice with the GOG installer, if I can get it to work I'll send it to you see if you can merge the two.

Gently commented on 2012-09-16 20:33

Dude, this is a beautiful PKGBUILD. Thank you so much for this.

Ideka commented on 2012-05-15 03:15

The lib32-sdl_mixer (and probably also the sdl_mixer) dependency is redundant, as binkplayer already depends on it.

Slash commented on 2012-03-01 01:05

Thanks, I updated the PKGBUILD

TheCycoONE commented on 2012-02-28 03:19

I was able to solve the segfault problem by using nwmovies-latest. (On the nwmovies page they warn that the one included in nwlinux-beta is out of date).

24a25
> "http://home.roadrunner.com/~nwmovies/nwmovies/nwmovies-latest.tar.gz" \
26c27
< noextract=('nwclientgold.tar.gz' 'nwclienthotu.tar.gz' 'English_linuxclient169_xp2.tar.gz')
---
> noextract=('nwclientgold.tar.gz' 'nwclienthotu.tar.gz' 'English_linuxclient169_xp2.tar.gz' 'nwmovies-latest.tar.gz')
31a33
> '1698a83bce2050174670e30c42b9d673'
49a52,54
>
> rm -Rf nwmovies
> tar --overwrite -zxvf $srcdir/nwmovies-latest.tar.gz -C $srcdir/

TheCycoONE commented on 2012-02-27 23:27

I'm getting a segfault as long as nwmovies.so is included in in /usr/bin/nwn. It occurs after the map has loaded just as you're about to actually play, and seems to match what is described here: https://bbs.archlinux.org/viewtopic.php?pid=1064064

I had an older version of this package that worked properly.

Anonymous comment on 2012-02-01 02:50

I'm getting white textures on outdoors. Tried with another game iso and didn't work out.
Did anyone got through this?

Slash commented on 2011-06-08 23:36

@archdria: Thanks, I updated the deps.

archdria commented on 2011-06-04 01:04

I think you need elfutils on 64 bits too, not only lib32-elfutils. At least I got a compilation error without it.

Anonymous comment on 2011-04-03 10:33

@wido: yep, that's it. But i figured out how to install my dvd manually and it runs like a charm (except for the videos).

flow commented on 2011-03-26 19:50

@tsagas, a platinum DVD is Nwn and two extensions (Shadows of Undrentide and Hordes of the Underdark )?

Slash commented on 2011-03-12 02:56

@tsagas: I have no idea, sorry.

Anonymous comment on 2011-03-11 12:46

Hello thanks for the build. Will this also work with platinum dvd?

Slash commented on 2011-02-09 04:25

I updated the PKGBUILD. I got it 99% of the way there for x86_64. Everything works with the exception of "nwmovies". It builds, it runs, all the Bink player movies play perfectly during the intro, but the game goes black and freezes (?) before you reach the main menu. Sometimes the mouse cursor shows up, but I am not able to do anything to continue. I have been messing with this all night and I am out of ideas. The fix is to remove "nwmovies.so" from LD_PRELOAD in /usr/bin/nwn if the same thing happens to you.

If you are using i686, I have not tested anything, so let me know.

Note: I added "PKGEXT='.pkg.tar'" to the PKGBUILD, which will cause makepkg to not compress the built package (it will be .pkg.tar instead of .pkg.tar.xz). I did this because the package is ~4.5G and takes a very, very long time to compress. If you want it compressed, remove this line.

Slash commented on 2011-02-08 23:17

@Ape: Judging by the error, apparently not. In the past, someone may have said it worked under 64bit with certain dependencies (the comments are long gone), but I always used a 32bit system. As mentioned in a previous comment, it might be possible to modify the scripts to use the lib32 versions of things in the code. I will look into it when I get a chance. For now, you might want to just remove those parts... Those "nwmovies" additions shouldn't be required to play the game.

Ape commented on 2011-01-08 19:41

I am getting errors on the compilation. Should this be working on 64-bit systems?

nwlogger/nwlogger_dead_link.S:16: Error: operand type mismatch for `push'
nwlogger/nwlogger_dead_link.S:17: Error: operand type mismatch for `push'
nwlogger/nwlogger_dead_link.S:23: Error: `pusha' is not supported in 64-bit mode
nwlogger/nwlogger_dead_link.S:25: Error: `popa' is not supported in 64-bit mode

Full log: http://pastebin.com/vaLi1Yce

Anonymous comment on 2011-01-02 15:26

I was actually able to fix by creating a symbolic link to /usr/include/sys/user.h in /usr/include/linux

Thanks!

Anonymous comment on 2011-01-02 14:47

I get the following error when trying to build:

NOTICE: NWMouse: nwmouse executable built. Please modify your nwn startup command to
NOTICE: NWMouse: set LD_PRELOAD to include 'nwmouse.so', before executing nwmain.
NOTICE: NWLogger: Executing: gcc -Inwlogger/libdis -g -fPIC -shared -Wl,-soname,libdisasm.so nwlogger/libdis/libdis.c nwlogger/libdis/i386.c -o nwlogger/libdis/libdisasm.so
NOTICE: NWLogger: Executing: gcc -shared -g -I/usr/include/libelf -Inwlogger/libdis -o nwlogger/nwlogger.so nwlogger/nwlogger_cookie.c nwlogger/nwlogger_dead_link.S nwlogger/nwlogger_exit_link.S nwlogger/nwlogger_load_link.S nwlogger/nwlogger_msg_link.S nwlogger/nwlogger_spwn_link.S nwlogger/nwlogger.c -ldl -lelf
nwlogger/nwlogger_cookie.c:19:24: fatal error: linux/user.h: No such file or directory
compilation terminated.
NOTICE: NWLogger: Please check for errors above
NOTICE: NWLogger: nwlogger executable built. Please modify your nwn startup command to
NOTICE: NWLogger: set LD_PRELOAD to include 'nwlogger.so', before executing nwmain.
install: cannot stat `/tmp/clyde-root/nwn-diamond/nwn-diamond/src/nwlogger/nwlogger.so': No such file or directory
Aborting...
error: Build failed

Slash commented on 2010-12-31 07:28

No, not easily. As far as I know, GOG installers are not extractable via Linux except through Wine, which complicates the build process. If you have all the data from a Windows install, you should be able to follow the steps in the PKGBUILD starting at "# Extract Game Clients" and install all that stuff on top of the Windows install. According to the GOG forums, there appears to be other problems, even in Windows, so who knows if it'll work or not. I personally own the GOG version too, but I haven't had a chance to experiment with it yet.

Hamsterkill commented on 2010-12-31 05:33

There a way to get this pkgbuild to work with files from a windows install rather than a DVD? Some people will now have the digital distribution of the game from GOG and thus lack a DVD to use for the install.

Anonymous comment on 2010-12-20 15:15

I had to change "http://files.bioware.com/neverwinternights/updates/linux/169/English_linuxclient169_xp2.tar.gz" to "http://na.llnet.bioware.cdn.ea.com/u/f/eagames/bioware/neverwinternights/updates/linux/169/English_linuxclient169_xp2.tar.gz" to make the download in clyde work.

Anonymous comment on 2010-09-23 20:51

The perl buildscripts in this package seem not to work with the new multilib configuration on 64-bit systems (they don't include the right 32-bit lib dirs). I think some judicious use of sed may be indicated. I am wondering why make or a more flexible buildsystem isn't used, though...

Slash commented on 2010-09-03 00:25

Looks like upstream removed the need for the patch, so it's been removed from the package. I also changed libelf to elfutils.

Slash commented on 2010-09-02 23:36

I'm assuming that the nwmouse/nwlogger patch failing means that they don't build correctly, either? I will look into these issues as soon as I can, but building this package is a massive pain in the ass because of the size of all the data (and too lazy to do nwn-diamond-data ;)

TheCycoONE commented on 2010-08-22 15:45

libelf depenedency is obsolete, should be elfutils. Also nwmouse.nwlogger.patch doesn't apply cleanly.

TheCycoONE commented on 2010-08-21 00:54

I was able to fix the issue by simply rebuilding the package and copying over the new nwmain.

TheCycoONE commented on 2010-08-15 17:09

libelf was recently replaced by elfutils. Unfortunitely since upgrading nwn doesn't want to work. Says: ./nwmain: error while loading shared libraries: libelf.so.0: cannot open shared object file: No such file or directory

libelf.so.0 doesn't exist anymore, there is /usr/lib/libelf.so and /usr/lib/libelf.so.1

Slash commented on 2010-07-08 02:18

Unfortunately, the fix was in the AUR comments which have been deleted. Try opening /usr/bin/nwn and modifying the following line:

export LD_PRELOAD=./nwuser.so:./nwmouse.so:./nwmovies.so:./nwlogger.so

Change this to only load one .so file at a time- or just nwuser and nwlogger. Then, try starting the game once or twice. Those modules are a bit weird, sometimes launching the game once with only one loaded at a time will get it them to work right. For example:

export LD_PRELOAD=./nwuser.so:./nwlogger.so

I don't recall the specifics of how this was resolved previously, but I remember it had something to do with the modules not working correctly for the first time.

Anonymous comment on 2010-07-04 09:38

When i'm trying to launch the game, it says:
NWUPOSSIBLE: Unmatched Path: /etc/passwd -> /etc/passwd
NOTICE: NWUser: Version 20041005.184851 Successfully loaded. (BaseDir = /opt/nwn)
NOTICE: NWUser: Version 20041005.184851 Successfully loaded. (BaseDir = /opt/nwn)
NOTICE: NWLogger: Version: 20040311.192648
NOTICE: NWLogger: Initializing handles.
WARNING: NWLogger: No INI file. Creating.
ERROR: NWLogger: Unable to create INI file. Aborting: 2

what can i do?