It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
high rated
Hello fellow Linux gamers!

Here you’ll find scripts allowing you to build packages for Debian, Arch Linux and any derivative (Ubuntu, Manjaro, Linux Mint, etc.) from your GOG installers for Neverwinter Nights games.
You will then be able to easily install these packages with you favourite packages manager.

Download links and usage instructions can be found on the following pages:
Neverwinter Nights

We hope you’ll enjoy the ease-of-use provided by these scripts as much as we enjoy writing and tweaking them ;)

Here you go for more supported games!

-----

Salut camarades Linuxiens !

Vous trouverez ici des scripts vous permettant de construire des paquets pour Debian, Arch Linux ou n’importe quelle distribution dérivée de celles-ci (Ubuntu, Manjaro, Linux Mint, etc.) à partir de vos installeurs GOG pour la série Neverwinter Nights.
Ces paquets pourront ensuite être installés facilement via votre gestionnaire de paquets habituel.

Les liens de télechargement et les instructions d’utilisation se trouvent sur les pages suivantes :
Neverwinter Nights

Nous espérons que vous apprécierez le confort apporté par ces scripts autant que nous apprécions les écrire et les améliorer ;)

Pour plus de jeux, rendez-vous par ici !
Post edited September 02, 2018 by vv221
avatar
vv221: Hello fellow Debian users, Ubuntu lovers and Mint freaks!

Here you’ll find scripts allowing you to build a .deb package from your Windows installer for Neverwinter Nights. You can install it through DPKG and remove it through any APT front-end (apt-get, aptitude, synaptic, etc.).
The game built via this script will not use WINE but the native Linux client released by Bioware.

Download links and usage instructions can be found on the following page:
Neverwinter Nights

I hope you’ll enjoy the comfort provided by these scripts as much as I enjoy writing and tweaking them ;)

Here you go for more supported games!

-----

Salut camarades Debianistes, Ubunteros et fanas de Linux Mint !

Vous trouverez ici des scripts vous permettant de construire un paquet .deb à partir de votre installeur pour Windows de Neverwinter Nights. Vous pouvez l’installer via DPKG le supprimer via n’importe quelle interface à APT (apt-get, aptitude, synaptic, etc.).
Le jeu construit par ce script n’utilisera pas WINE mais le client natif publié par Bioware.

Les liens de télechargement et les instructions d’utilisation se trouvent sur la page suivante :
Neverwinter Nights

J’espère que vous apprécierez le confort apporté par ces scripts autant que j’apprécie les écrire et les améliorer ;)

Pour plus de jeux supportés, ça se passe par ici !
You are my hero! I've been using wine all this time. I'll give this a try!
avatar
Tallima: (…)
I hope it will work flawlessly for you, as it does for me ;)
Be sure to report here afterwards to tell me how it went!

And if you have suggestions of improvments or new features you would like to see added to this script (or the usage guide), feel free to post them here too.
Post edited January 21, 2016 by vv221
I've tried this today with the Spanish version, both with/without the movies. Both of them doesn't seem to work, all I get is a black screen when i launch the game and after 3 seconds it closes.

I appreciate the effort, but it doesn't seem to work for me :(, so 100+ merci!

I'm using mint btw, other native 3D games have worked just fine, so I have no clue of what can it be...

PD: I have just tried the English version, it happens the same.

If i run "neverwinter-nights" in the terminal and it gives me the following feedback repeated 4 times before crashing with movie support:

ERROR: ld.so: object './nwmovies.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.

WIthout movie support I just get this (removing the ./lib from LD_LIBRARY_PATH still causes the same issue):

Segmentation fault
Post edited January 23, 2016 by duapruis
avatar
duapruis: I've tried this today with the Spanish version, both with/without the movies. Both of them doesn't seem to work, all I get is a black screen when i launch the game and after 3 seconds it closes.
Looks like some kind of bug with the game engine.
Can you run the following command in a console and post its output here?
neverwinter-nights
-----

Okay, I’ve just seen you already figured out the needed command ;)
Sadly a segmentation fault can come from a great number of reasons…

What is the graphic driver you use?
Post edited January 23, 2016 by vv221
avatar
duapruis: I've tried this today with the Spanish version, both with/without the movies. Both of them doesn't seem to work, all I get is a black screen when i launch the game and after 3 seconds it closes.
avatar
vv221: Looks like some kind of bug with the game engine.
Can you run the following command in a console and post its output here?

neverwinter-nights
avatar
vv221: -----

Okay, I’ve just seen you already figured out the needed command ;)
Sadly a segmentation fault can come from a great number of reasons…

What is the graphic driver you use?
nvidia-352(recommended)
avatar
duapruis: (…)
Okay, can you switch to the open-source nouveau driver just the time to give a try to the game, and tell me if it still triggers a segmentation fault?
avatar
duapruis: (…)
avatar
vv221: Okay, can you switch to the open-source nouveau driver just the time to give a try to the game, and tell me if it still triggers a segmentation fault?
Same thing.
avatar
duapruis: (…)
Thanks, I’ll experiment on this game during the week-end and try to reproduce your crash. If I manage to do it I might be able to find a fix.
Meanwhile you might want to give a try to an alternative to my scripts that can be found here:
https://www.gog.com/forum/neverwinter_nights_series/modern_patch_for_neverwinter_nights_native_linux_version

If you do, please come back to tell me if the crash still happens with Ganni1987’s method for installing the Linux client.
avatar
duapruis: (…)
avatar
vv221: Thanks, I’ll experiment on this game during the week-end and try to reproduce your crash. If I manage to do it I might be able to find a fix.
Meanwhile you might want to give a try to an alternative to my scripts that can be found here:
https://www.gog.com/forum/neverwinter_nights_series/modern_patch_for_neverwinter_nights_native_linux_version

If you do, please come back to tell me if the crash still happens with Ganni1987’s method for installing the Linux client.
I will try that later today, I've seen people getting this error in the past because "It turned out they had to set up GLX accelleration for their video card becuase it turns out they were still using the "nv" driver."

Also I've launched the ./fixinstall and it gives me 1 "failed":

FAILED: chitin.key missing
Post edited January 23, 2016 by duapruis
I'm starting out now.

This is what I get to start with:

dad@MintyDesktop ~/GOG Games/NWN $ sh ./play-neverwinter-nights_gog-2.0.0.15.sh

Checking dependencies…

Error:
realpath not found.
Install it before running this script.

I'll see if I can install something called realpath and get back to you!

And now:

dad@MintyDesktop ~/GOG Games/NWN $ sh ./play-neverwinter-nights_gog-2.0.0.15.sh

Checking dependencies…

Error:
unar not found.
Install it before running this script.

But I already installed unar. Both command line and .... I'm an idiot. I got unrar. Hehehe. Whoopsy. Back to it!

and now this:
Error:
Hashsum mismatch.
/home/dad/GOG Games/NWN/nwclientgold.tar.gz is not the expected file, or it is corrupted.

I'll redownload it.



Same result. Checked the checksum:

dad@MintyDesktop ~/GOG Games/NWN $ md5sum nwclientgold.tar.gz
c00d8d6cdfaf2a3e7e6a58961276d434 nwclientgold.tar.gz


And now I'm stuck. Time to try ToEE!
Post edited January 23, 2016 by Tallima
avatar
Tallima: (…)
I just re-downloaded nwclientgold.tar.gz to be sure my MD5 sum is right, and I get the same one that’s used in the script:
0a059d55225fc32f905e86191d88a11f

Looks like something wrong happened during the download. Do you use the link given in the instructions guide to download it?
If you’re sure your file is the right one and isn’t corrupted despite not having the same checksum, you can bypass the check to allow the building to continue via the following option:
sh ./play-neverwinter-nights_gog-2.0.0.15.sh --checksum=none
avatar
Tallima: (…)
avatar
vv221: I just re-downloaded nwclientgold.tar.gz to be sure my MD5 sum is right, and I get the same one that’s used in the script:
0a059d55225fc32f905e86191d88a11f

Looks like something wrong happened during the download. Do you use the link given in the instructions guide to download it?
If you’re sure your file is the right one and isn’t corrupted despite not having the same checksum, you can bypass the check to allow the building to continue via the following option:

sh ./play-neverwinter-nights_gog-2.0.0.15.sh --checksum=none
avatar
vv221:
I used the link under the 64-bit w/ movies section. I redownloaded it, too. Weird. I'll try the checksum=none option. Thanks!
I'm used the quotation marks this time, and got further. Seems I need another dependency. I'm off to install it!

MintyDesktop NWN # dpkg -i "/home/dad/GOG Games/NWN/neverwinter-nights_1.69.8109-gog2.0.0.15_i386.deb"
Selecting previously unselected package neverwinter-nights.
(Reading database ... 235185 files and directories currently installed.)
Preparing to unpack .../neverwinter-nights_1.69.8109-gog2.0.0.15_i386.deb ...
Unpacking neverwinter-nights (1.69.8109-gog2.0.0.15) ...
dpkg: dependency problems prevent configuration of neverwinter-nights:
neverwinter-nights depends on mpv:amd64 | mpv; however:
Package mpv is not installed.

dpkg: error processing package neverwinter-nights (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:

Alright. I got it working! Thank you!

The movies did not work, though I tried to do the 64-bit movies install. I may have messed up somewhere in there. And I had to do the no checksum route (I downloaded 3 different times and got the same result each time -- 64-bit w/ movies English version).

Here's my output in case it helps for any future endeavor.

MintyDesktop NWN # apt-get install fakeroot gcc gcc-multilib icoutils libelf-dev:i386 libsdl1.2-dev unar
Reading package lists... Done
Building dependency tree
Reading state information... Done
fakeroot is already the newest version.
gcc is already the newest version.
gcc-multilib is already the newest version.
icoutils is already the newest version.
icoutils set to manually installed.
unar is already the newest version.
libsdl1.2-dev is already the newest version.
libelf-dev:i386 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
MintyDesktop NWN # ls
English_linuxclient169_xp2.tar.gz
neverwinter-nights_1.69.8109-gog2.0.0.15_i386.deb
nwclientgold.tar.gz
nwclienthotu.tar.gz
nwmovies-mpv.tar.gz
play-anything.sh
play-neverwinter-nights_gog-2.0.0.15.sh
setup_nwn_diamond_2.0.0.15-1.bin
setup_nwn_diamond_2.0.0.15-2.bin
setup_nwn_diamond_2.0.0.15.exe
MintyDesktop NWN # ls
English_linuxclient169_xp2.tar.gz play-neverwinter-nights_gog-2.0.0.15.sh
nwclientgold.tar.gz setup_nwn_diamond_2.0.0.15-1.bin
nwclienthotu.tar.gz setup_nwn_diamond_2.0.0.15-2.bin
nwmovies-mpv.tar.gz setup_nwn_diamond_2.0.0.15.exe
play-anything.sh
MintyDesktop NWN # sh ./play-neverwinter-nights_gog-2.0.0.15.sh --with-movies

Checking dependencies…

Checksum method set to: md5sum
Compression method set to: none
Installation prefix set to: /usr/local
Movies handling enabled.
Game language set to: en

Looking for target files…
Using /home/dad/GOG Games/NWN/setup_nwn_diamond_2.0.0.15.exe
Using /home/dad/GOG Games/NWN/setup_nwn_diamond_2.0.0.15-1.bin
Using /home/dad/GOG Games/NWN/setup_nwn_diamond_2.0.0.15-2.bin
Using /home/dad/GOG Games/NWN/nwclientgold.tar.gz
Using /home/dad/GOG Games/NWN/nwclienthotu.tar.gz
Using /home/dad/GOG Games/NWN/English_linuxclient169_xp2.tar.gz
Using /home/dad/GOG Games/NWN/nwmovies-mpv.tar.gz

Checking target files integrity…
This might take several minutes.
Checking integrity of setup_nwn_diamond_2.0.0.15.exe…
Checking integrity of setup_nwn_diamond_2.0.0.15-1.bin…
Checking integrity of setup_nwn_diamond_2.0.0.15-2.bin…
Checking integrity of nwclientgold.tar.gz…

Error:
Hashsum mismatch.
/home/dad/GOG Games/NWN/nwclientgold.tar.gz is not the expected file, or it is corrupted.

MintyDesktop NWN # sh ./play-neverwinter-nights_gog-2.0.0.15.sh --with-movies

Checking dependencies…

Checksum method set to: md5sum
Compression method set to: none
Installation prefix set to: /usr/local
Movies handling enabled.
Game language set to: en

Looking for target files…
Using /home/dad/GOG Games/NWN/setup_nwn_diamond_2.0.0.15.exe
Using /home/dad/GOG Games/NWN/setup_nwn_diamond_2.0.0.15-1.bin
Using /home/dad/GOG Games/NWN/setup_nwn_diamond_2.0.0.15-2.bin
Using /home/dad/GOG Games/NWN/nwclientgold.tar.gz
Using /home/dad/GOG Games/NWN/nwclienthotu.tar.gz
Using /home/dad/GOG Games/NWN/English_linuxclient169_xp2.tar.gz
Using /home/dad/GOG Games/NWN/nwmovies-mpv.tar.gz

Checking target files integrity…
This might take several minutes.
Checking integrity of setup_nwn_diamond_2.0.0.15.exe…
Checking integrity of setup_nwn_diamond_2.0.0.15-1.bin…
Checking integrity of setup_nwn_diamond_2.0.0.15-2.bin…
Checking integrity of nwclientgold.tar.gz…

Error:
Hashsum mismatch.
/home/dad/GOG Games/NWN/nwclientgold.tar.gz is not the expected file, or it is corrupted.

MintyDesktop NWN # sh ./play-neverwinter-nights_gog-2.0.0.15.sh --with-movies --no-checksum

Warning:
--no-checksum: unknown option.
It will be ignored.

Checking dependencies…

Checksum method set to: md5sum
Compression method set to: none
Installation prefix set to: /usr/local
Movies handling enabled.
Game language set to: en

Looking for target files…
Using /home/dad/GOG Games/NWN/setup_nwn_diamond_2.0.0.15.exe
Using /home/dad/GOG Games/NWN/setup_nwn_diamond_2.0.0.15-1.bin
Using /home/dad/GOG Games/NWN/setup_nwn_diamond_2.0.0.15-2.bin
Using /home/dad/GOG Games/NWN/nwclientgold.tar.gz
Using /home/dad/GOG Games/NWN/nwclienthotu.tar.gz
Using /home/dad/GOG Games/NWN/English_linuxclient169_xp2.tar.gz
Using /home/dad/GOG Games/NWN/nwmovies-mpv.tar.gz

Checking target files integrity…
This might take several minutes.
Checking integrity of setup_nwn_diamond_2.0.0.15.exe…
Checking integrity of setup_nwn_diamond_2.0.0.15-1.bin…
Checking integrity of setup_nwn_diamond_2.0.0.15-2.bin…
Checking integrity of nwclientgold.tar.gz…

Error:
Hashsum mismatch.
/home/dad/GOG Games/NWN/nwclientgold.tar.gz is not the expected file, or it is corrupted.

MintyDesktop NWN # sh ./play-neverwinter-nights_gog-2.0.0.15.sh --with-movies --checksum=none

Checking dependencies…

Checksum method set to: none
Compression method set to: none
Installation prefix set to: /usr/local
Movies handling enabled.
Game language set to: en

Looking for target files…
Using /home/dad/GOG Games/NWN/setup_nwn_diamond_2.0.0.15.exe
Using /home/dad/GOG Games/NWN/setup_nwn_diamond_2.0.0.15-1.bin
Using /home/dad/GOG Games/NWN/setup_nwn_diamond_2.0.0.15-2.bin
Using /home/dad/GOG Games/NWN/nwclientgold.tar.gz
Using /home/dad/GOG Games/NWN/nwclienthotu.tar.gz
Using /home/dad/GOG Games/NWN/English_linuxclient169_xp2.tar.gz
Using /home/dad/GOG Games/NWN/nwmovies-mpv.tar.gz

Building package directories…
This might take several minutes.
Extracting data from setup_nwn_diamond_2.0.0.15.exe…
Extracting data from nwclientgold.tar.gz…
Fixing file rights…
Extracting data from nwclienthotu.tar.gz…
Fixing file rights…
Extracting data from English_linuxclient169_xp2.tar.gz…
Fixing file rights…
Extracting icons from nwn.exe…
Extracting data from nwmovies-mpv.tar.gz…
Building NWMovies…
Done.

Writing launcher script for Neverwinter Nights…
Writing menu entry for Neverwinter Nights…

Writing package meta-data for Neverwinter Nights…
Building package for Neverwinter Nights…
This might take several minutes.
Done.

Install Neverwinter Nights by running the following commands as root:
dpkg -i /home/dad/GOG Games/NWN/neverwinter-nights_1.69.8109-gog2.0.0.15_i386.deb
apt-get install -f

Have fun ;)

MintyDesktop NWN # dpkg -i "/home/dad/GOG Games/NWN/neverwinter-nights_1.69.8109-gog2.0.0.15_i386.deb"
Selecting previously unselected package neverwinter-nights.
(Reading database ... 235185 files and directories currently installed.)
Preparing to unpack .../neverwinter-nights_1.69.8109-gog2.0.0.15_i386.deb ...
Unpacking neverwinter-nights (1.69.8109-gog2.0.0.15) ...
dpkg: dependency problems prevent configuration of neverwinter-nights:
neverwinter-nights depends on mpv:amd64 | mpv; however:
Package mpv is not installed.

dpkg: error processing package neverwinter-nights (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
neverwinter-nights
MintyDesktop NWN # dpkg -i "/home/dad/GOG Games/NWN/neverwinter-nights_1.69.8109-gog2.0.0.15_i386.deb"
(Reading database ... 235781 files and directories currently installed.)
Preparing to unpack .../neverwinter-nights_1.69.8109-gog2.0.0.15_i386.deb ...
Unpacking neverwinter-nights (1.69.8109-gog2.0.0.15) over (1.69.8109-gog2.0.0.15) ...
Setting up neverwinter-nights (1.69.8109-gog2.0.0.15) ...
MintyDesktop NWN #
Now time for ToEE!



P.S. Is there a way to open the starter screen where I can pick the Toolset and DM client? Thanks!
Post edited January 23, 2016 by Tallima
avatar
Tallima: dpkg: dependency problems prevent configuration of neverwinter-nights:
neverwinter-nights depends on mpv:amd64 | mpv; however:
Package mpv is not installed.

dpkg: error processing package neverwinter-nights (--install):
dependency problems - leaving unconfigured
The "apt-get install -f" commande (as root) is here to install any missing dependencies. Anyway I’m not sure the mpv package is really needed as a mpv binary is already provided by the package. I’ll need to check that.
EDIT: I was wrong here, the playing on the movies is dependant on mpv being installed on your system.

About your missing movies, can you post what you get in the console after running the "neverwinter-nights" command?

avatar
Tallima: Is there a way to open the starter screen where I can pick the Toolset and DM client? Thanks!
Hmm, I can remember no such screen with the native Linux client. But there is surely a way to add to the package a menu entry and a console command to launch them. I’ll work on that in the next days ;)

-----

By the way, I notice you’re running the script as root, that’s not needed and might even cause problems (not sure about this though) while building NWMovies.
Only the apt-get and dpkg commands in the guide need to be run as root, everything else should be done via your standard user.
Post edited January 24, 2016 by vv221