You are not logged in.

#1 2007-12-01 16:37:31

haukew
Member
From: Hamburg, Germany
Registered: 2007-10-25
Posts: 96
Website

Neverwinter Nights - in pacman?

Hi!
I've been looking for Neverwinter Nights in Pacman, is there anything? Or does anybody have a PKGBUILD?

Thanks in advance, Hauke

Offline

#2 2007-12-01 16:54:55

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: Neverwinter Nights - in pacman?

There's a PKBUILD in Aur, it requires the "Diamond Collection DVD Release" though:
http://aur.archlinux.org/packages.php?d … =1&ID=6083

Offline

#3 2007-12-01 22:45:25

FizDev
Member
From: Canada
Registered: 2007-06-29
Posts: 57

Re: Neverwinter Nights - in pacman?

smoon wrote:

There's a PKBUILD in Aur, it requires the "Diamond Collection DVD Release" though:
http://aur.archlinux.org/packages.php?d … =1&ID=6083

But you can easily adapt it to fit with your version.... so what's your version?

Offline

#4 2007-12-01 23:02:38

haukew
Member
From: Hamburg, Germany
Registered: 2007-10-25
Posts: 96
Website

Re: Neverwinter Nights - in pacman?

I got the original retail-cd-edition, it's 3 CDs. No expansion pack etc.

Offline

#5 2007-12-07 00:42:16

haukew
Member
From: Hamburg, Germany
Registered: 2007-10-25
Posts: 96
Website

Re: Neverwinter Nights - in pacman?

Ok - the PKGBUILD is this:

# Contributor: Slash <demodevil5[at]yahoo[dot]com>
# Contributor: Adam Griffiths <adam_griffithsAATTdart.net.au>

pkgname=nwn-diamond
pkgver=1.68
pkgrel=1
pkgdesc="Neverwinter Nights is an RPG from Bioware. This requires the Diamond Collection DVD Release."
url="http://nwn.bioware.com/"
license=('custom')
arch=('i686')
depends=('libelf' 'mesa' 'sdl' 'libxcursor' 'perl' 'binkplayer' 'libgl')
makedepends=('unzip' 'p7zip' 'perl')
provides=('nwn')
conflicts=('nwn')
install=nwn.install
source=("http://nwdownloads.bioware.com/neverwinternights/linux/gold/nwclientgold.tar.gz" \
"http://nwdownloads.bioware.com/neverwinternights/linux/161/nwclienthotu.tar.gz" \
"http://files.bioware.com/neverwinternights/updates/linux/168/English_linuxclient168_xp2.tar.gz" \
"http://home.woh.rr.com/nwmovies/nwuser/nwuser-latest.tar.gz" \
"http://home.woh.rr.com/nwmovies/nwmovies/nwmovies-latest.tar.gz" \
"http://home.woh.rr.com/nwmovies/nwmouse/nwmouse-latest.tar.gz" \
"http://home.woh.rr.com/nwmovies/cursors.tar.gz" \
"nwn.launcher" "nwn.desktop" "nwn.install")
md5sums=('0a059d55225fc32f905e86191d88a11f'
         '376cdece07106ea058d42b531f3146bb'
         '59da99ffee12be8c1308b510055e5abf'
         '0ff1296e4afb43844b6eb2544e40cab9'
         'fc4242f72e2b9165cac863afb70e501e'
         '099627511d9d4d2a062c4f81ad508f3f'
         '7be935418f0ececb5660f53b7a902b38'
         '9415db8598c6923e00d03b790a485c86'
         'bd7f80f5faa5ee1203371b4e8ec40638'
         '51763168470d3a2214868148b26fed09')

# Directory where the NWN Diamond DVD is Mounted
_dvdpath=/media/dvd

# NWN Diamond CD-Keys (Neverwinter Nights, Shadows of Undrentide, and Hordes of the Underdark)
_key_nwn=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
_key_sou=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
_key_hou=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

build()
{
    cd $startdir/src/

    # Create Destination Directory
    install -d $startdir/pkg/opt/nwn

    # Extract Data Files from DVD ROM
    unzip $_dvdpath/Data_Shared.zip -d $startdir/pkg/opt/nwn/ || return 1
    unzip $_dvdpath/Data_linux.zip  -d $startdir/pkg/opt/nwn/ || return 1
    unzip -o $_dvdpath/data/XP1.zip -d $startdir/pkg/opt/nwn/ || return 1
    unzip -o $_dvdpath/data/XP2.zip -d $startdir/pkg/opt/nwn/ || return 1

    # Extract Game Clients
    tar -zxvf $startdir/src/nwclientgold.tar.gz -C $startdir/pkg/opt/nwn/
    tar -zxvf $startdir/src/nwclienthotu.tar.gz -C $startdir/pkg/opt/nwn/

    # Extract Kingmaker Files
    7z x $_dvdpath/KingmakerSetup.exe -xr0\!*PLUGINSDIR* -xr\!*.exe -xr\!*.dat \
        -o$startdir/src/kingmakertmp/

    # Install Kingmaker Files
    cp -r $startdir/src/kingmakertmp/\$0/* \
        $startdir/pkg/opt/nwn/

    # Extract Latest Patch
    tar -zxvf $startdir/src/English_linuxclient168_xp2.tar.gz -C $startdir/pkg/opt/nwn

    # Check the Installation
    cd $startdir/pkg/opt/nwn/
    ./fixinstall

    # Remove Unneeded Files & Directories
    rm -r $startdir/pkg/opt/nwn/SDL-1.2.5/

    # Install CD Key File
    cat << EOF > $startdir/pkg/opt/nwn/nwncdkey.ini
;These are your CD Keys for Neverwinter Nights.
;DO NOT share these CD Keys with ANYONE.
;Apart from this installation, or when registering with the Official Neverwinter Nights Community Site [http://nwn.bioware.com], BioWare and Infogrames will NEVER ask you for this CD Key.

[CDKEY]
Key3=$_key_hou
Key2=$_key_sou
Key1=$_key_nwn
EOF

    cd $startdir/src/

    # Movies in Linux Client Support for NWN
    ./nwmovies_install.pl /usr/lib/libSDL.so
    install -D -m 755 -t $startdir/pkg/opt/nwn/ \
        $startdir/src/nwmovies/{nwmovies.so,nwmovies.pl}
    install -D -m 755 $startdir/src/nwmovies/binklib.so \
        $startdir/pkg/opt/nwn/nwmovies/binklib.so
    install -D -m 755 $startdir/src/nwmovies/libdis/libdisasm.so \
        $startdir/pkg/opt/nwn/nwmovies/libdis/libdisasm.so

    # SymLink BinkPlayer to the NWN Directory so the Movie Launcher (nwmovies.pl) can find it
    ln -s /usr/bin/binkplayer $startdir/pkg/opt/nwn/BinkPlayer

    # Per-User Settings Support for NWN
    ./nwuser_install.pl
    install -D -m 755 $startdir/src/nwuser/nwuser.so \
        $startdir/pkg/opt/nwn/nwuser.so

    # Hardware Mouse Cursors Support for NWN
    ./nwmouse_install.pl
    install -D -m 755 $startdir/src/nwmouse/nwmouse.so \
        $startdir/pkg/opt/nwn/nwmouse.so
    install -D -m 755 $startdir/src/nwmouse/libdis/libdisasm.so \
        $startdir/pkg/opt/nwn/nwmouse/libdis/libdisasm.so

    # Install Cursors
    install -d $startdir/pkg/opt/nwn/nwmouse/cursors/
    tar -zxvf $startdir/src/cursors.tar.gz -C $startdir/pkg/opt/nwn/nwmouse/cursors/

    # Install Custom License
    install -D -m 644 $_dvdpath/EULA.txt \
        $startdir/pkg/usr/share/licenses/$pkgname/EULA.txt

    # Install Launcher (Client)
    install -D -m 755 $startdir/nwn.launcher \
        $startdir/pkg/usr/bin/nwn

    # Install Desktop File
    install -D -m 644 $startdir/src/nwn.desktop \
        $startdir/pkg/usr/share/applications/nwn.desktop

    # Install Icon File
    install -D -m 644 $_dvdpath/nwn.ico \
        $startdir/pkg/usr/share/pixmaps/nwn.ico

    # Fix Whacky Permissions
    chown -R root:root $startdir/pkg/
    chmod -R o+r $startdir/pkg/
}

Can i  simply cut out the Expansionpack lines?

Offline

#6 2007-12-11 00:34:22

FizDev
Member
From: Canada
Registered: 2007-06-29
Posts: 57

Re: Neverwinter Nights - in pacman?

haukew wrote:

Can i  simply cut out the Expansionpack lines?

Yes, and you will also very probably need to modify the locations of the datafiles to extract.

Offline

#7 2007-12-11 16:38:32

Don-DiZzLe
Member
From: Nederland
Registered: 2007-03-31
Posts: 233

Re: Neverwinter Nights - in pacman?

How about a PKGBUILD for the linux client version 1.68?

Offline

Board footer

Powered by FluxBB