View Full Version : HOWTO: Installing Neverwinter Nights Platinum
leech
January 6th, 2006, 02:23 AM
Easy Howto.
1: Enable the Universe repository; Open up Synaptic Package Manager, System -> Administration -> Synaptic Package Manager. Enter in your Password. Click on Settings, and select Repositories. Click Add. Then put check marks in the box for Community maintained (Universe) and while you're at it, may as well put one in Non-free (Multiverse)
2: After clicking OK on both dialogs, click Search and type in unshield. It will show three packages, just double click on unshield and it will ask you if you also want to mark libunshield, which is required. Click Mark. Click Search again and type in msttcorefonts. Double click it to queue the package and click Apply. This will download and install both Unshield and the fonts required by Nevewinter Nights. Unshield is required by the installer.
3: Download the script (attached). Extract it, then right click on the script in the File Manager and select properties. Then select the Permissions tab. On the Owner line, put a check in Execute. Click close.
4: Double click on the install-nwn.sh and select Run in Terminal.
Note for Edgy Eft users! You must first change the /bin/sh symbolic link. To do this simply run sudo dpkg-reconfigure dash Select No, and it'll change your shell to bash. After installing the game, you'll probably want to switch back to using dash, as to not mess up any advantages of speed that dash may provide. Run the command again and select Yes.
5: A terminal window will open, asking if you're installing the Platinum or Diamond edition. Then it will ask for CD or DVD version. Select the proper one, then enter. Then it asks for the cdrom path. On Ubuntu, this will be /media/cdrom for the first drive. Next is the install directory. By default this is /usr/local/games/nwn. Change this if you'd like. If you're going to install there, you will need to use sudo. If you don't have multiple people using your computer, then just put it in /home/<username>/nwn. Next it asks for the current patch version that is located in the users home directory (1.66 is the newest patch. There is a 1.67beta4, but the installer doesn't directly support that yet).
Important: When the script asks "Do you wish for the script to mount the CD (Y/n)" you'll want to choose NO. This is because Ubuntu will automatically mount the CDs for you when you insert them. For the group, it is safe enough to just hit enter (since you should already be in the users group.) If you'd like, you can also change group to games. If you do this, then only users in the games group can play it. This of course could be useful if you have children with their own accounts on your computer, and you ground them from games. Just make sure that you add yourself the the group games.
Last but not least, start inserting the CDs. It starts off with disk 2. (Hint: You'll know when to hit enter on the script, because Nautilus will open up a window showing what is on the CD/DVD you just inserted. This shows that it is mounted and the script can do it's thing) To eject a CD/DVD, right click on the icon on the desktop and select eject.
6: There is no step number 6
7: After installation, if you want an icon either on the desktop or on the menu you will need to edit the nwn start up script. Just gedit ~/nwn/nwn and add a line cd /home/<username>/nwn
Mine looks like this;
#!/bin/sh
# This script runs Neverwinter Nights from current directory
cd /home/leech/nwn
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
export LD_PRELOAD=./nwmovies.so
./nwmain $@
7a: For a desktop Icon, simply right click on the desktop, and select Create Launcher. Enter the Name (Neverwinter Nights), You don't really need Generic name or Comment. For the command you can either Browse to /home/<username>/nwn and select the nwn file. For the Icon, you can click on the button that says No Icon, and then browse to /home/<username>/nwn and select nwn.ico.
7b: For a menu entry. Select Applications -> System Toos -> Applications Menu Editor. Then in the left hand column, select Games. Then press the New Entry button. The rest is exactly like installing the desktop Launcher above. Then quit the Menu Editor and you will have a Neverwinter Nights menu entry under Applications -> Games.
8: Now load the game up. After the initial boot screen, you will be asked for the CD-Keys. They are printed inside the front cover of your manual. You will have to enter the key for the Original Neverwinter Nights twice. I have no idea why, but it asks for it twice. The others are only required once.
Please note that this is for the Platinum or Diamond Editions of Neverwinter Nights. For the Original, Gold, Shadows of Undertide or Hordes of the Underdark there is a graphical installer located at http://icculus.org/~ravage/nwn/
Update:Now supports Diamond edition and 1.67 patch. Thanks go to the creator of the Install Script.
Neverwinter Nights with Movies!
Get the latest version here. (http://home.roadrunner.com/~nwmovies/)
Bink video player is here. (http://www.radgametools.com/down/Bink/BinkLinuxPlayer.zip)
1) Copy nwmovies-latest.tar.gz into your nwn directory and untar it with 'tar xfvzp nwmovies-latest.tar.gz'
2) Install development packages for SDL and ELF, also you'll need gcc, etc. sudo apt-get install build-essential libelfg0-dev libsdl1.2-dev libsdl-gfx1.2-4 libsdl-gfx1.2-dev libsdl-mixer1.2
3) Run the nwmovies_install.pl with './nwmovies_install.pl /usr/lib/libSDL-1.2.so.0' (as a side note, if you installed nwn to /usr/local/games/nwn with sudo, you'll also need to run the script with sudo.)
4) Edit the nwn script. Put the line 'export LD_PRELOAD=./nwmovies.so' right above the line that says './nwmain $@'
5) Copy BinkPlayer.zip into your nwn folder and unzip it with 'unzip BinkPlayer.zip' then run 'chmod +x BinkPlayer'
Now run nwn as you normally would, the first time that you run it, will create a cache for your movies, as the text instructs, just run it a second time and you should have movies within the game!
Additional Note: You do not need to remove the ./lib from the nwn script as it says. As a user has discovered, that will break the movies. Not sure why this is, since we specified to use the System SDL library, but there must be some incompatibilities.
Hope this is helpful.
Leech
P.S. This was originally posted in http://ubuntuforums.org/showthread.php?t=77466&page=3&highlight=neverwinter I created a new thread for it since it's been asked about a few times and this is easier to find.
Update: Placed the fix for Edgy users in a more obvious place.
FizDev
January 6th, 2006, 02:31 AM
Wow, this seems much less complicated than what Bioware was saying to do... I'll go and try right away! =)
I've tried and it works perfectly! It runs as smoothly as in Windows... maybe even more. Thanks for this howto.
leech
January 6th, 2006, 04:34 AM
Not a problem :D
Leech
J-B
January 6th, 2006, 04:35 AM
Well this would have been nice to know yesterday! Lol, I followed the instructions in the Bioware forums which forces you to decompress each cd manually, and install everything manually. I spent about eight hours and several tries on it total before I got it working. Oh well, good tutorial, hope it helps some people out there.
fizdev- NWN actually does run more smoothly under Ubuntu, at least for me. I've noticed a marked difference from my windows install.
leech
January 6th, 2006, 05:33 AM
Maybe we should either have this as a sticky or entered into the Ubuntu Games list. This howto has been in this forum for quite some time but it was buried in that other thread. That hurts that it took 8 hours. This way doesn't take much time at all.
Leech
J-B
January 6th, 2006, 05:41 AM
Maybe we should either have this as a sticky or entered into the Ubuntu Games list. This howto has been in this forum for quite some time but it was buried in that other thread. That hurts that it took 8 hours. This way doesn't take much time at all.
Leech
Agreed. Sticky this, it's a great tutorial.
Zodiac
January 6th, 2006, 11:11 AM
Would this be the same for the Diamond edition as well???
leech
January 6th, 2006, 01:59 PM
I'm not sure. The diamond edition is the same as the platinum, except it has the Kingmaker module. Does it have a separate CD for that?
Leech
Zodiac
January 6th, 2006, 02:08 PM
Not sure... it arrives tomorrow ;)...
I was under the impression however that it was all on one DVD...
leech
January 6th, 2006, 03:09 PM
http://nwn.bioware.com/forums/viewtopic.html?topic=461746&forum=72
I think this thread pretty much sums up the current situation. Hopefully Bioware will figure out a way around this. To think I probably would have bought the Kingmaker CD, except that I haven't even had time to complete the original campaign, let alone Shadows of Undertide and Hordes of the Underdark.
Leech
Maelgwyn
January 11th, 2006, 12:09 AM
I tried this, and got as far as the script, but when I got to the point where I needed to define the cdrom path, when I entered the info and pressed enter, it just closed the script.
leech
January 11th, 2006, 01:25 AM
Did it give you any sort of error?
INVALID DEVICE! Please check the device and try again
That's what it gave me if I entered the wrong device. I have /media/cdrom0 and put in /media/cdrom which gave me the error.
Could also be that the creator of this script has changed it from the one I have, somehow breaking it.
I posted it at http://thefnords.org/install-nwn.sh.
Leech
Maelgwyn
January 11th, 2006, 01:43 AM
nope, no error :S It just closed...
leech
January 11th, 2006, 02:37 AM
Try the one from my website, it works here without problems.
Leech
Maelgwyn
January 11th, 2006, 02:50 AM
Try the one from my website, it works here without problems.
that's http://thefnords.org/install-nwn.sh ?
leech
January 11th, 2006, 02:54 AM
That's the one. Hosted by your's truely.
Leech
blacklantern
January 11th, 2006, 10:08 PM
*laughs* I knew I'd manage to screw it up. When I get past step 6, the terminal window closes, and after I insert the DVD, nothing happens other than the contents of the CD being shown in the file browser. the directory /usr/<username>/games/nwn doesn't exist. Does the script create it, or should I do it beforehand?
edit:
Nevermind. Reading is fundamental. :P
leech
January 12th, 2006, 07:59 PM
Now the big question is, for everyone who has it working... when are we going to play? :D My server is currently running the Pool of Radiance module, which is great for 3-6 players. In essence you start out in town and the town council has several jobs that you go do. Pretty good module, based off the old Advanced Dungeons and Dragons one.
Of course if you have any other suggestions for a module, I'd be glad to serve it up. I was thinking that we could get groups to sign up for a particular game of it, and have the time set up, so that we could play that module weakly or whatever. I could probably have a saved session afterwards and so host several different games at different times.
What does everyone think of that?
Leech
Sandlst
January 13th, 2006, 12:28 AM
I just wanted to drop by and say Thanks Leech for the great guide! I havent gotten it working yet because I think my cdrom is dying-a lot of the time it shows only the title of the cd being loaded but no data on it unfortunatly :P. I also wanted to add that, for the above posters who say the terminal exits with no error, you could try to open up a new terminal, click edit, then current profile, and under the 'title and command' tab, at the very bottom you can set the terminal to stay open when it normally would close, and thus hopefully display an error you can see to solve when you try again.
EDIT: just in case someone else has the above cd-reading problem, it sometimes works to unmount the cd manually (I have mine setup to auto-eject with the button) and re-enter it.
leech
January 13th, 2006, 02:00 AM
Not a problem, though maybe you should save the thanks until it's working :D Fortunately for you, new DVD/CD-ROMS aren't all that expensive.
That's really very strange that people are having the terminal actually closing on them. Thanks for the advice for that.
Leech
mr_mop
January 13th, 2006, 06:42 AM
Yes thanks for the guide, not tried it yet, but will be shortly.
I recommend this brand new custom module. It only requires NWN, the 2 expansions and CEP. You don't need any other downloads.
http://www.ferhan.org/
They also run their own Nordock server which I frequent and its quite fun. Quite a bit of DM interaction.
http://nordock.ntfm.org/
chronusdark
January 13th, 2006, 05:30 PM
excellent how to im installing now
this really simplifys the whole process
leech
January 14th, 2006, 04:08 AM
Yes thanks for the guide, not tried it yet, but will be shortly.
I recommend this brand new custom module. It only requires NWN, the 2 expansions and CEP. You don't need any other downloads.
http://www.ferhan.org/
They also run their own Nordock server which I frequent and its quite fun. Quite a bit of DM interaction.
http://nordock.ntfm.org/
The Ferhan website isn't exactly friendly to Firefox is it? I just tried giving it a look over and it wasn't usable at all (could be because I'm using the Dapper Firefox, but who knows.)
Leech
chronusdark
January 14th, 2006, 12:15 PM
alright leech i ordered the diamond compliation should be here tuesday.
we should organize some offical ubuntuforums nwn games what do ya say?
chronusdark
January 14th, 2006, 02:01 PM
The Ferhan website isn't exactly friendly to Firefox is it? I just tried giving it a look over and it wasn't usable at all (could be because I'm using the Dapper Firefox, but who knows.)
Leech
right click on the middle section of the page and select this frame only
and you can read it alright
mr_mop
January 14th, 2006, 03:47 PM
The Ferhan website isn't exactly friendly to Firefox is it? I just tried giving it a look over and it wasn't usable at all (could be because I'm using the Dapper Firefox, but who knows.)
Leech
I'm looking at it now, on Windows firefox and seems Ok. Breezy firefox is also Ok. I wonder what's different in Dapper?
Anyway, its the module thats more important right :)
leech
January 14th, 2006, 04:48 PM
alright leech i ordered the diamond compliation should be here tuesday.
we should organize some offical ubuntuforums nwn games what do ya say?
I agree. I don't know how many have tried logging into my server, but it's been running solid since I set it up.
Leech
leech
January 14th, 2006, 04:55 PM
right click on the middle section of the page and select this frame only
and you can read it alright
That worked, though not exactly a good solution... So this is a Persistent World?
We could all join up on this, if that's what everyone would prefer. I was thinking more along the lines of a group just going through modules, but this works too.
The problem with the page could be due to Firefox 1.5, Dapper, or my own screwed up set up. Not sure. Works fine in Konqueror too. Go figure.
Leech
chronusdark
January 15th, 2006, 02:23 PM
hey im up for just going through modules do we want to have a DM or just play regular?
while the persistant world idea is really cool i play neverwinter nights to avoid the persistant world type games (world of warcraft)
leech
January 16th, 2006, 05:03 AM
hey im up for just going through modules do we want to have a DM or just play regular?
while the persistant world idea is really cool i play neverwinter nights to avoid the persistant world type games (world of warcraft)
I agree with you on this, I prefer just the modules. The one I'm running right now doesn't require a DM, but we could put up a poll on what modules people would like to play. I wouldn't mind doing the Dragon Lance Adventures. Though back when I first tried it out they felt very amatuerish, since the Dialogs were just horrible. But I think in the updates of the modules, a lot of that was fixed.
Leech
Elvish Legion
January 20th, 2006, 04:12 PM
Check out http://dreunoctem.com/
I used to play there a bit
Elvish Legion
January 20th, 2006, 11:02 PM
How do I change the resolution? It tries to resize my screen and I get mode not supported...is it in the config.ini?
leech
January 21st, 2006, 07:17 AM
It is in nwn.ini. It is line 8 and 9.
Leech
sir_cheats_a_lot
January 26th, 2006, 04:36 PM
I'm having problems with this method. at the end of install process i get the following message:
"Testing for ImageMagick convert
convert not found!
convert is a part of the Image Magick tools, used here to make the nwn.iso a Linux friendly nwn.xps
Skipping image conversion"
i get it with both the diamond edition(when it works) and the platinum edition. when i load neverwinter nights, i just get prompted for my keys, and it never gets any farther. it just keeps prompting for the keys over and over again. any suggestions?
leech
January 27th, 2006, 06:13 PM
Have you tried installing Imagemagick? I always thought it was installed by default. 'sudo apt-get install imagemagick'
Leech
sir_cheats_a_lot
January 28th, 2006, 03:35 AM
no didn't install Imagemagick, but in anycase i got Neverwinter nights installed and working, but it runs kinda slow. my previous problem was i just installed it in the default location which for some reason you don't have permissions to edit files, so i just changed the install location. also text on the game seems to be kinda mis-aligned...do you think Imagemagick would correct this or would this be a problem caused by my graphics card(ati 9200 128MB AGP)?
*note*
I am in the process of migrating from windows, so please be patient with me.
leech
January 28th, 2006, 11:29 AM
Well, I would install imagemagick anyhow, since it's used by a lot of things.
As far as the text goes, I don't know, I don't have an ATI card, though I do know if you don't have certain fonts installed, you will get no text at all. Make sure you have msttcorefonts installed.
( sudo apt-get install msttcorefonts )
Leech
Jedeye
January 31st, 2006, 10:11 PM
Worked great until I got to the part where it needed the cd key... apparently I lost the manual but was able to hold onto the box/cd fold out book. perhaps it will turn up around the same time I find where I backed up my old characters...
RaiSuli
February 2nd, 2006, 03:01 PM
I'm getting this error message when the script tries to access disk 2 on my cdrom drive:
Cannot read "/media/cdrom/disk2.zip".
Please check that disk 2 is in /media/cdrom
Press Enter to continue.
I've got two dvd/cd drives, I've tried changing the path to cdrom0 and cdrom1, doesn't work. Nautilus displays the contents, but that's just it. :-|
Any ideas?
impact201
February 13th, 2006, 03:01 AM
Does anyone have the install script saved that they could mirror for me? It seems the install-nwn.sh has been removed from the host, and I need to reextract the game :-| For some reason, installing from the Bioware download pack isn't working for me, but the script worked great last time I did it. Hopefully someone kept it around...
Thanks!
leech
February 14th, 2006, 08:51 AM
I still have it, and I just tried the link in the first post and it still works. Try http://thefnords.org/install-nwn.sh
Leech
psychosushi
February 22nd, 2006, 06:56 AM
For me for some reason fonts don't work at all. I can open the game, but when I see the window, none of the buttons have any test in them. Also, it requires me to enter the cd-key every time I get into the game. The cd-key works, but I can't stay in the game.
leech
February 22nd, 2006, 09:39 AM
For the fonts, it is due to lack of the msttcorefonts package. Make sure you have this installed.
In fact, I should smack myself for not including that in the howto. I just added that in, so hopefully anyone else with this problem will know how to fix it.
For the CD-Key issue, I have a guess. Check to make sure that your nwn is writable by the user that you loaded the game with. It saves the keys themselves in nwncdkey.ini. This is the file that will need to have write permissions. If you have multiple users that all use this same game yet have different accounts, I would make the file and save directories be part of the games group, and make sure that the people you want playing the game to be in the games group. If you need help with that, I will explain it later on.
Leech
leech
February 22nd, 2006, 10:07 AM
I'm getting this error message when the script tries to access disk 2 on my cdrom drive:
Cannot read "/media/cdrom/disk2.zip".
Please check that disk 2 is in /media/cdrom
Press Enter to continue.
I've got two dvd/cd drives, I've tried changing the path to cdrom0 and cdrom1, doesn't work. Nautilus displays the contents, but that's just it. :-|
Any ideas?
My first question would be, do you have the DVD or CD version? I only have the CD version myself, so I'm not sure exactly how different the DVD version is. disk2.zip is on my Disk 2 of the game for the CD version. You could try checking all the CDs and see if for some reason you were unlucky and your disks are just mislabled.
Leech
psychosushi
February 22nd, 2006, 11:01 AM
actually, I have the msttcorefonts package installed, that doesn't help. Interestingly, verything, including the fonts worked when I installed neverwinter in my home directory instead of /usr/local/games. I don't know why that would fix the fonts problem, but anyway, everything works now.
Sasha
leech
February 23rd, 2006, 12:27 AM
Not quite sure why the fonts would not work, but as I said before, everything will work if you have the proper permissions. I should add to the HOWTO information on if you have a multi-user system, though I don't know if nwn is even programmed to work that way, since it just uses the one saves folder, and I think that is what would be most imporant as far as a multi-user setup.
Leech
P.S. According to this site http://icculus.org/~dolson/mdkxp/ you can use a script for multi-user set ups.
sir_cheats_a_lot
February 23rd, 2006, 01:19 AM
it was a permissions issue...i had the same problem with missing fonts and having to enter keys over and over again. as soon as i installed it into a folder that i had the permissions to write in the problem was solved. however, i do wounder why it was even allowed to install in a folder that the user couldn't write to. :-k
drgreborn
February 28th, 2006, 04:43 AM
I have a problem. I can't seem to run the game. I did everything as stated yet it still can't boot.
Coelocanth
March 5th, 2006, 09:22 PM
I don't have Platinum, but I have the original NWN and both SoU and HotU (all bought when they were released). Any reason this wouldn't work to get them installed?
Thanks for any answers you can provide.
(Forgive me if this is a dumb question, but I'm a noob at Linux).
leech
March 6th, 2006, 05:12 AM
I think the installers you want for those would be at http://icculus.org/~ravage/nwn
Leech
sharperguy
March 7th, 2006, 02:52 PM
ok, i didn't follow the instructions here because i wasn't sure if it would work phor seperate bought disks. I installed via a windows install.
Anyway when i try to play the whole system freezes and im not usre if it my graphics card or the game.
I am using Radeon 8500.
Not sure how compatible it is with linux.
leech
March 8th, 2006, 09:33 AM
ok, i didn't follow the instructions here because i wasn't sure if it would work phor seperate bought disks. I installed via a windows install.
Anyway when i try to play the whole system freezes and im not usre if it my graphics card or the game.
I am using Radeon 8500.
Not sure how compatible it is with linux.
Could be your video drivers. The 8500 should be covered by the radeon or ati driver that is built into X.org. Sorry, but my experience with ATI cards under linux is very limited. Someone else hopefully will know. I know Nwn even worked on the Matrox Parhelia's first openGL drivers for linux, so it should work with the ATI DRI driver that has been in the making for many years.
Leech
sharperguy
March 9th, 2006, 01:50 PM
well i followed the instructions for installing the ATI drivers. After which i could not play it at all! Though now (not sure what i did) it works w/o crashing but very slowly and stuttery.
leech
March 9th, 2006, 05:25 PM
Run from a terminal. glxinfo |grep direct It should say "direct rendering: yes" If not, that would be your problem.
So does this mean you're using the fglrx drivers? I wish someone else with that card would speak up here. It's much harder to trouble shoot something when you don't have that hardware, especially since ATI's driver situation is a mess.
Leech
sharperguy
March 9th, 2006, 06:36 PM
your right it was no
any idea how i wol enable it?
ok:
when i run sudo dpkg-reconfigure xserver-xorg and select ati the game opens but very stuttery
however
if i select fglrx it says "failed to initialise graphics"
hmm...
sharperguy
March 10th, 2006, 06:39 PM
can anyone help me then?
Dont ask how but i got it working :)
so whens the next game?
leech
March 11th, 2006, 07:30 PM
Glad to hear you got it working. Maybe someone should set up a page that lists when games will be played.
Leech
Bokonon
March 14th, 2006, 04:42 AM
I got the diamond version working (less kingmaker) by following the directions on the neverwinter forums (linked above). Now I just need some free time to play it.
Thanks for the posts here--everything helped.
EDIT: Got Kingmaker working easily by following the same guide (on Bioware's forum, linux general support). One more nail in Window's coffin!
~KoN~
April 3rd, 2006, 07:13 PM
Used your install guide Leech, its brilliant. The first guide that actually worked for me! :-D
Except, that i can't see any text. Yes, i installed the font as you instructed, but i don't know if it worked. Seeing as its not displaying the text i figure something went wrong somewhere, any advice on how to fix it up?
btw, just in case it makes a difference, my graphics card is a GeForce FX 5200 and as far as i can tell i installed the graphics drivers correctly.
Anyway, thanks to anyone for any help i get.
~KoN~
psychosushi
April 4th, 2006, 02:46 AM
To get the fonts working in NWN install it in your home directory and not in /usr or /usr/local. There appear to be some premissions issues.
Sasha
Bokonon
April 4th, 2006, 05:39 AM
To get the fonts working in NWN install it in your home directory and not in /usr or /usr/local. There appear to be some premissions issues.
Sasha
I got it working in /usr/local/games/nwn but I had to chmod -R everything. Probably easier just to install it in your home directory. Since I am the only user on my machine, that is exactly what I plan to do next time.
NWN2 comming soon? ](*,)
glotz
April 4th, 2006, 06:35 AM
Agreed. Sticky this, it's a great tutorial.
Now it's stickied, how aboyt wicky it? https://wiki.ubuntu.com/Games
Don't have an account there myself. That's where it needs to be.
~KoN~
April 4th, 2006, 09:02 PM
but I had to chmod -R everything
How do i do that? I assume its quicker than a re-install . . . :-k
To get the fonts working in NWN install it in your home directory
I'll give this a go if no-one explains chmod to me.
Also, is there a CEP linux install script for the CEP installer (which i have downloaded (also re-installing NWN on Windows incase i need to copy)) or do i just copy over the CEP files? The update, well i can just do the same as for the CEP.
~KoN~
psychosushi
April 5th, 2006, 09:45 AM
How do i do that? I assume its quicker than a re-install . . . :-k
I'll give this a go if no-one explains chmod to me.
Also, is there a CEP linux install script for the CEP installer (which i have downloaded (also re-installing NWN on Windows incase i need to copy)) or do i just copy over the CEP files? The update, well i can just do the same as for the CEP.
~KoN~
cd /path-to-nwn-directory/nwn
sudo chmod -R *
Sasha
franklee
April 6th, 2006, 02:01 AM
Guys and Gals, my Laptop is an Acer Aspire with a Turion 64bit chip and 512meg of ddr....my problem is that my graphics are run by onboard SIS....up to 128 meg of ram can be designated to my graphics output. This has led to Ubuntu installing in the default VESA mode available at 1024-768 resolution. Im wondering if installing NWN is worth the time, with only onboard graphics. It runs ok in Lamedoze but I REFUSE to use M$.
So...err....any opinions?
leech
April 6th, 2006, 12:47 PM
Which Sis chip is it? Firstly, edit your xorg.conf sudo gedit /etc/X11/xorg.conf Do a search for vesa and change Driver "vesa" into Driver "sis"
That will at least give you better 2D desktop. The problem is, most Sis chipsets don't have 3D support. If you go to this page, http://www.winischhofer.at/linuxsisvga.shtml it'll explain everything you need to know about Sis chipsets under Linux (and probably a lot of stuff you didn't need to know :D )
Leech
leech
April 6th, 2006, 12:50 PM
Now it's stickied, how aboyt wicky it? https://wiki.ubuntu.com/Games
Don't have an account there myself. That's where it needs to be.
It doesn't look like it's stickied. I need to update it soon. I'll add NWMovies to it, and installing the CEP to it as well.
Maybe what I need to do is change it so that installs in /usr/local/games/nwn, which is where it should be.
Though that means I have to re-install it again... guess that's not too bad.
Leech
leech
April 6th, 2006, 12:53 PM
How do i do that? I assume its quicker than a re-install . . . :-k
I'll give this a go if no-one explains chmod to me.
Also, is there a CEP linux install script for the CEP installer (which i have downloaded (also re-installing NWN on Windows incase i need to copy)) or do i just copy over the CEP files? The update, well i can just do the same as for the CEP.
~KoN~
There is, it's located at http://liflg.org/?catid=6&gameid=65 I think I need to add this to the HOWTO as well as the Movies and Hardware Cursor. Just haven't had the time to do so.
Leech
franklee
April 8th, 2006, 10:40 PM
Cheers Ears.
I gedit the xorg.conf and discover there isnt one....haha how weird is that??
K.Mandla
April 9th, 2006, 06:48 PM
Just a quick thank-you to the OPer. This was far easier to install than the Bioware instructions, and call me crazy, but I do think the Linux version runs faster than the Windows version.
I should mention that I didn't have any luck with the automatic download and install of the client and update. I ended up downloading them separately and putting them into a nearby directory, and that did the trick. But aside from that slight detour, everything installed exactly as you described.
Thanks again!
l0c0dantes
April 14th, 2006, 06:04 PM
How Do you update the gold version?
Mookawaka
April 15th, 2006, 10:39 AM
Are there any known issues for running NWN in Ubuntu online with custom HAK packs and override files?
l0c0dantes
April 15th, 2006, 11:04 AM
W00t, I got it all patched up
Anyone know of any good noob friendly online servers?
And I have no Idea mookwaka
leech
April 17th, 2006, 01:17 AM
Are there any known issues for running NWN in Ubuntu online with custom HAK packs and override files?
None that I know of. You just install the hak packs just like you would in Windows. The folders are all laid out the same, as far as I recall.
Leech
leech
April 17th, 2006, 01:18 AM
How Do you update the gold version?
If I recall, the Gold Edition is just Neverwinter Nights + Shadows of Undertide. Whereas the Platinum Edition is Neverwinter Nights + Shadows of Undertide + Hordes of the Underdark.
You'd basically have to get a copy of Hordes of the Underdark and then run the installer from http://www.liflg.org
Leech
leech
April 17th, 2006, 01:22 AM
Just a quick thank-you to the OPer. This was far easier to install than the Bioware instructions, and call me crazy, but I do think the Linux version runs faster than the Windows version.
I should mention that I didn't have any luck with the automatic download and install of the client and update. I ended up downloading them separately and putting them into a nearby directory, and that did the trick. But aside from that slight detour, everything installed exactly as you described.
Thanks again!
I think I may know the problem behind that one. I attempted to install it via sudo and it did the same thing. The problem was that it downloads it to ~/ which is the variable for the user's home directory. So if you run it with sudo, then ~/ is actually /root/. If you run it as your normal user it'll be /home/<username>/ where it looks for the patch. It doesn't always download it to where it then looks for it.
Leech
timHEMIwalker
April 17th, 2006, 08:20 PM
I tried this HOWTO for neverwinter nights gold edition, and it worked pretty sweet until disk 2 where i had a problem with some language .zip file or something. in any case, i hopped over and tried the bioware walkthrough and i got the game running, but my issue is that when i enter my CD key at the opening of the game. it says that it is incorrect, or invalid or some nonsense like that. and i can be a simpleton at times, but i am sure that i entered it correctly. i mean really, i checked, double checked, and triple checked. i got it right from the inside of my manual, and i don't understand why it isn't working. is it maybe looking in the wrong place to verify my CD key? do i have any idea what i'm talking about? the answer the the latter question is probably not. actually no. i'm brand spankin new to linux, but i'm giving it a shot. help me out? thanks a bunch.
zgerrz
April 19th, 2006, 12:49 AM
What is the exact name of the file/script used to run the game after installation? I installed the game in /home/user/nwn, but when I open that folder, I can't find anything that looks like a startup script for the game. I used the DVD install option as well.
leech
April 19th, 2006, 07:28 PM
I tried this HOWTO for neverwinter nights gold edition, and it worked pretty sweet until disk 2 where i had a problem with some language .zip file or something. in any case, i hopped over and tried the bioware walkthrough and i got the game running, but my issue is that when i enter my CD key at the opening of the game. it says that it is incorrect, or invalid or some nonsense like that. and i can be a simpleton at times, but i am sure that i entered it correctly. i mean really, i checked, double checked, and triple checked. i got it right from the inside of my manual, and i don't understand why it isn't working. is it maybe looking in the wrong place to verify my CD key? do i have any idea what i'm talking about? the answer the the latter question is probably not. actually no. i'm brand spankin new to linux, but i'm giving it a shot. help me out? thanks a bunch.
This howto is specifically for the Platinum Edition. For the Gold edition what you'll want to do is download the installer (graphical even!) from http://icculus.org/~ravage/nwn/
I'll put this on the original post, since I think you're not the only one to ask this. That page also includes installers for the original, and the two expansion packs. So even if you have the Gold Edition (which is the Original and Shadows of Undertide) you can still use the installer for Hordes of the Underdark if you have that Expansion Pack as well.
Leech
leech
April 19th, 2006, 07:29 PM
What is the exact name of the file/script used to run the game after installation? I installed the game in /home/user/nwn, but when I open that folder, I can't find anything that looks like a startup script for the game. I used the DVD install option as well.
Step #7 states that it is simply 'nwn' I do need to clean it up a bit. So in your case, it will be /home/user/nwn/nwn.
Leech
zgerrz
April 19th, 2006, 08:10 PM
zgerrz@ubuntu:~$ /home/zgerrz/nwn/nwn
bash: /home/zgerrz/nwn/nwn: No such file or directory
I don't know why there's nothing there. Is the installer script supposed to close itself when it's done without any warning? I thought it was strange that after installing for awhile the script just closed without saying that it was finished installing. Just wondering if that might explain something.
leech
April 20th, 2006, 10:06 AM
The end of the script should state PASSED: ambient directory exists
PASSED: data directory exists
PASSED: music directory exists
FAILED: override directory missing
Add "cd /home/leech/nwn" to "/home/leech/nwn/nwn" to be able to run Neverwinter Nights from anywhere. You may also want to add a symbolic link to it from a bin directory, or somewhere else in your PATH.
Enjoy!
Testing for ImageMagick convert...
Making nwn.xpm...
Though I think the last message on the check where it says FAILED: override directory missing, is due to a bug in the installer, it said that it couldn't find the patch that I had it download. I'll figure out a workaround for that.
Leech
leech
April 20th, 2006, 11:18 AM
Ok, apparently there is a problem with the script. I'm not sure how exactly he has it set up, but you basically have to download the patch, then tell it where it is, otherwise the patch will not be applied, and it will give an error saying that it cannot find it. I emailed the author of the script so hopefully we can get this problem fixed. Hell, I wish I could program, I'd take the loki installer and update it so that it worked with the Platinum Edition, and maybe even the Diamond Edition as well.
Leech
zgerrz
April 21st, 2006, 01:28 PM
Yeah, if we get this problem sorted out that would be great.
I was wondering where the hell the installer is downloading all these patches to on my hard disk?
martzgfx
April 21st, 2006, 04:18 PM
Hello guys,
just tried (many, many times) to install and run Neverwinter Platinum religiously following instructions as per Leech's HOW-TO guide, to no avail.
Installation goes fine, but when I try to run the game (bash# ./nwn), I get that same error all the time:
./nwn: line 12: ./nwmain: cannot execute binary file
I did add the extra line "cd /home/user/nwn" in nwn with pico, also did the ./fixinstall, well I tried them all. Even tried Bioware Linux resource files and patches! :sad:
I have Ubuntu Breezy (5.10) installed on a Powermac G4 AGP - and I have been using NWN Platinum on DVD (WIN version). Could something be missing, or I simply cannot install it on a PPC architecture? :confused:
Thanks in advance!
::: martzgfx :::
leech
April 22nd, 2006, 09:33 AM
It's because you're on the PPC architecture. The binary would have to be completely different for it to run on a PPC.
Leech
leech
April 22nd, 2006, 09:47 AM
Yeah, if we get this problem sorted out that would be great.
I was wondering where the hell the installer is downloading all these patches to on my hard disk?
It should just download it to wherever you ran the script from. I ran mine from my /home/leech directory, and that is where the patch is located. I know that the auto-download of the patch works, it's just looking for it in the wrong area, because it always says that the file does not exist, unless you run the script a second time, then tell it to not download it, and then tell it to find the patch in ~/ and it will work.
The problem really lies in the script itself not knowing where it downloaded the patch to. I haven't received a reply from the author of the script yet. Here's hoping that this can be worked out.
Leech
zgerrz
April 22nd, 2006, 03:26 PM
It should just download it to wherever you ran the script from. I ran mine from my /home/leech directory, and that is where the patch is located. I know that the auto-download of the patch works, it's just looking for it in the wrong area, because it always says that the file does not exist, unless you run the script a second time, then tell it to not download it, and then tell it to find the patch in ~/ and it will work.
The problem really lies in the script itself not knowing where it downloaded the patch to. I haven't received a reply from the author of the script yet. Here's hoping that this can be worked out.
Leech
Well I figured out a way around the installer's error. I searched my computer to find where the patches were installed, and they actually ended up in my /tmp folder. So, I copied them to three different places. The folder where I ran the script from, the folder where I installed the game (/home/zgerrz/nwn), and the patch folder within the nwn folder (/home/zgerrz/nwn/patch).
I don't know which folder helped the installer find the patches more easily, but it worked! One of these areas helped the installer complete the installation, and now everything runs beautifully. If the installer can't be fixed soon, at least it should be noted that copying over these patches to these directories has fixed the problem for me.
leech
April 24th, 2006, 08:44 AM
I did make a change stating that you had to download the patch first, before running the script to fix the problem with the auto-download. The problem is, the new script was created with makeself, so it's not just plain text. Otherwise I could probably modify the script to look for the patch in the right place myself. I am looking into changing the old script to support both the 1.66 patch, perhaps the 1.67b4 patch as well. So that it will auto-download and install.
My other thoughts were to create a Loki installer for it. The only problem is my programming skills suck (I can do Hello World, and that's about it!)
Leech
leech
April 28th, 2006, 10:55 PM
I've now contacted Brian Whisler, who created the installation script that is now in the Howto. He's working on a Universal installer, so that it should support all variations of Neverwinter Nights. He's also working on getting the installer to set up the Movies and Hard ware mouse as well.
Maybe we can get a debian package made, one that just has Unshield as a dependency, then runs the install script, plus installs everything to compile the movies library, etc.
Leech
Nikusan
April 29th, 2006, 09:56 AM
If I recall, the Gold Edition is just Neverwinter Nights + Shadows of Undertide. Whereas the Platinum Edition is Neverwinter Nights + Shadows of Undertide + Hordes of the Underdark.
You'd basically have to get a copy of Hordes of the Underdark and then run the installer from http://www.liflg.org
Leech
I've got the plain old versions of nwn, sod and hotu. Should I install with the graphical installers at http://icculus.org/~ravage/nwn/ ? After they are installed what is the best way to update them? Will the updaters at http://www.liflg.org/?catid=6&gameid=65 work for me? :confused:
leech
April 29th, 2006, 10:27 PM
I've got the plain old versions of nwn, sod and hotu. Should I install with the graphical installers at http://icculus.org/~ravage/nwn/ ? After they are installed what is the best way to update them? Will the updaters at http://www.liflg.org/?catid=6&gameid=65 work for me? :confused:
Yeah, that's exactly what you should use :D
Leech
Nikusan
April 30th, 2006, 12:54 AM
Yeah, that's exactly what you should use :D
Leech
Awesome! I'm up and running with 1.67 + the fix from the bioware forum. Quick question: I'm trying to install the module Tale of a Mage (http://nwvault.ign.com/View.php?view=Modules.Detail&id=4129).
I created the ~/nwn/tlk dir for ToM_2.tlk but when I try to load the module in game it complains about a missing required custom tlk file. Is this a problem with my install or with the module?
leech
April 30th, 2006, 04:18 AM
I recall at one point in time that it's an issue with case sensitivity, and looking into the logs, I am right. What you'll have to do is take all the files that this module requires, and make all capital letters lower case.
Unfortunately it requires the CEP 1.52 package, which apparently it's been a while since installed any new modules, because I still have an older version of CEP installed in linux. But once you change the filenames to all lower case, it should run fine.
Leech
Nikusan
April 30th, 2006, 04:47 AM
I recall at one point in time that it's an issue with case sensitivity, and looking into the logs, I am right. What you'll have to do is take all the files that this module requires, and make all capital letters lower case.
Unfortunately it requires the CEP 1.52 package, which apparently it's been a while since installed any new modules, because I still have an older version of CEP installed in linux. But once you change the filenames to all lower case, it should run fine.
Leech
I had a feeling that could be it! Keep on rocking :)
Fallom
June 13th, 2006, 08:24 PM
I have the Diamond DVD placed in the drive /media/dvdrecorder but when I give that location to the script it says "INVALID DEVICE!"
What's the deal?
weasel fierce
June 21st, 2006, 11:55 PM
I tried using the script, but when mounting the cd as it appears in the filesystem (/media/cdrom0) it doesnt find the CD. I tried the alternate drive as well, after pointing it to cdrom1 but no cookie there either.
userundefine
June 23rd, 2006, 12:18 PM
*laughs* I knew I'd manage to screw it up. When I get past step 6, the terminal window closes, and after I insert the DVD, nothing happens other than the contents of the CD being shown in the file browser. the directory /usr/<username>/games/nwn doesn't exist. Does the script create it, or should I do it beforehand?
edit:
Nevermind. Reading is fundamental. :P
Ok, maybe *I'm* thick, but how did you get past this? I enter all the information, hit enter after the Groups question and it just exits. Doesn't do anything. I've read the steps several times, I don't see the magic I'm missing.
?
Edit: Nevermind. I used this howto (http://nwn.bioware.com/forums/viewtopic.html?topic=469853&forum=72) instead and installed it quickly.
~KoN~
June 29th, 2006, 07:09 AM
[EDIT]Fixed my problems, but i have the wrong install script and the link provided is screwing up. The install script install's my platinum as just the first expansion pack. If someone has the script and can provide a link that'd be great.
~KoN~[\EDIT]
vem0m
July 22nd, 2006, 02:18 PM
links for main script DEAD
vem0m
July 22nd, 2006, 02:36 PM
nevermind found it but its not working found it last one found wasn't the right one http://www.paradoxinc.net/files/install-nwn.sh there it is
~KoN~
July 22nd, 2006, 11:59 PM
Thanks for the new link vem0m.
:-D
~KoN~
mlind
August 10th, 2006, 04:59 PM
There's very neat patch available for libsdl package that allows you to toggle NWN to fullscreen/windowed mode http://home.woh.rr.com/nwmovies/libsdl.html
I just tried it and it works perfectly. You can put patched libSDL soname on NWN's lib/ folder and just change the symlink to that file.
I'll attach patched libSDL alsa version (for Dapper). Alt+Enter toggles the window state.
leech
August 10th, 2006, 05:37 PM
nevermind found it but its not working found it last one found wasn't the right one http://www.paradoxinc.net/files/install-nwn.sh there it is
The horrible thing is, I could have sworn I changed that link one day. I wonder if it was reverted at some point because the forums had gone down. I'll fix it on the first page (Again).
Leech
leech
August 10th, 2006, 06:01 PM
Oops, my bad again. This is actually not the same script I was using before. I talked to the guy who made the original one on there some time ago, but apparently his hosted site has disappeared. I'll tar.gz it up and post it here.
Leech
joecomstock
August 13th, 2006, 03:11 AM
Thanx for the How-To, I have installed NWN diamond off the BioWare setup. This was much easier. Anyhow thanx for you work.
nso
August 17th, 2006, 02:16 PM
Umm I have similar problems as everyone else except my terminal exits out as soon as I answer which release I'm installing. Can I get some help?
leech
August 22nd, 2006, 07:38 PM
Umm I have similar problems as everyone else except my terminal exits out as soon as I answer which release I'm installing. Can I get some help?
Which script did you use? The one I posted not too long ago works quite nicely here. I've tried it on Dapper Drake, Debian Sid, and Edgy Eft. With the exception of Edgy Eft (which I made a note of on the bottom) it works fine with no modifications. With Edgy, as stated, you need to revert the link for /bin/sh back to /bin/bash (since in Edgy it uses /bin/dash instead.)
Leech
illu45
August 27th, 2006, 07:18 PM
Umm I have similar problems as everyone else except my terminal exits out as soon as I answer which release I'm installing. Can I get some help?
Make sure that you've installed unshield and libunshield, as they are required for the installer. I know it sounds silly, but I missed it the first time I tried. ](*,)
I'm having a bit of a problem myself. I've installed the game and the install went fine. However, everytime I launch the game, it goes into a black screen which I cannot seem to get out of without doing a hard reboot. The rest of the system works fine (I can still hear my music playing) but I cannot see anything.
Any ideas?
-illu45
EDIT: If it helps any, I also cannot seem to disable FullScreen mode (by editing the nwn.ini file)
EDIT: I played around with some of the SDL files and installed the patch that allows for fullscreen/windowed mode switching. The game now launches and I everything looks fine, however, after about 30-60 seconds, my computer freezes :(
EDIT (probably last one for now): I updated my video card drivers and it seems to have solved the crashing problem. No sound, though... May try updating sound card drivers later.
EDIT: It was going to my integrated sound card, fixed that by disabling it in BIOS :)...
So, when's the next game?
bplus
September 4th, 2006, 08:04 AM
anyone know if this method works with the NWN delux collection. (Bought in the UK).
leech
September 4th, 2006, 09:32 AM
What does the deluxe edition come with?
Leech
leech
September 4th, 2006, 09:40 AM
Edit: Double Post.
Leech
bplus
September 4th, 2006, 11:37 AM
it comes with nvn, hordes of the underdark, shadows of the undrentide.
See thing is I ve got installed on unbuntu by using the 1 gig resources file on the bioware site. I followed the instructions on installing it and it worked fine. (and patched up to latest versions)
I just haven't got a clue how to get the videos working, so was thinking of trying your method.
thanks.
SentientFluid
September 6th, 2006, 06:25 PM
I ran through the How-to and NWN successfully brought me to the screen to enter my serial, however there was no text at all. I checked and I have msttcorefonts installed, AND I told the script to install to ~/Games/nwn. I, of course, have full access to everything in there.
So I renamed ~/Games/nwn to ~/Games/nwn_old and ran through the How-to again (this time with . Now, no matter where I try to run the nwn script from (new folder, old folder, launcher on desktop or in menu) nothing happens at all.
If I go into Terminal and cd to either the nwn_old or nwn folder and run the nwn script I get this message:
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Creating link /home/geoff/.kde/socket-ubuntu64.
can't create mcop directory
So my question is... what did I do and how can I fix it? :D
leech
September 7th, 2006, 02:08 AM
I think the mcop error is something from KDE, not sure if you run that or not, or quite possibly you have a KDE daemon running somewhere. Shouldn't be really relevant though to Neverwinter Nights.
The installer that is attached in the How To should set your permissions properly for the fonts, etc. I do know that the issue of the fonts not showing up is a permissions issue.
For now, try to run 'chmod 755 -R ~/Games/nwn' and make sure the nwn script itself points to the right directory.
Leech
beeldings
September 8th, 2006, 11:33 AM
I recently reinstalled Dapper and had to reinstall NWN Platinum as result. I noticed that after configuring the game to play the movies, it runs very slow. Prior to installing the movies patch, the game ran full speed at 1280x1024, but when I run it with the movies enabled, the mouse lags on the menu screen with everything either turned off or set to run at the lowest settings. Is there a way I can remove the movies without having to reinstall NWN? My system runs Dapper 32 on an AMD Athlon 64 2.2 Ghz, 2 GB DDR RAM, and the video card is an XFX GeForce 6800XT 512 MB AGP (with latest drivers through envy).
daemoncat
September 12th, 2006, 08:38 PM
Well, downloaded all the patches, etc. looked over the script, setup directories, and ran the shell ... pretty purple messages says:
Cannot read "/media/cdrom0/disk2.zip" ... well, wazzup? I checked that the path was correct, it was. so ... ls -l /mount/cdrom0 gives me ... disk2.bzf ... BZF?:confused: ? WTM$ crap is this??? so ... after googling and finding some obscure reference to it beinga texture and info file ... nothing on the bioware forums ... nothing here. Is my set of disks the ONLY one ever made with this silliness? :frown: So ... is there any way to get the .bzf file to behave? Thanks.
daemoncat
September 12th, 2006, 10:59 PM
Well, downloaded all the patches, etc. looked over the script, setup directories, and ran the shell ... pretty purple messages says:
Cannot read "/media/cdrom0/disk2.zip" ... well, wazzup? :confused: I checked that the path was correct, it was. so ... ls -l /mount/cdrom0 gives me ... disk2.bzf ... BZF? :confused: ? WTM$ is this??? :shock: so ... after googling and finding some obscure reference to it being a texture and info file ... I find a solution ... biounzip! :biggrin:
... but biounzip segfaults before it can do anythinguseful! :( The make output was full of incompatible implicit declaration of built in function 'exit' errors :frown: So ... is there any way to get the .bzf file to behave? ](*,) Thanks.
Artificial Intelligence
September 13th, 2006, 05:38 AM
Well I just put everything down from CD to harddrive. Easy solution.
leech
September 13th, 2006, 07:16 AM
I recently reinstalled Dapper and had to reinstall NWN Platinum as result. I noticed that after configuring the game to play the movies, it runs very slow. Prior to installing the movies patch, the game ran full speed at 1280x1024, but when I run it with the movies enabled, the mouse lags on the menu screen with everything either turned off or set to run at the lowest settings. Is there a way I can remove the movies without having to reinstall NWN? My system runs Dapper 32 on an AMD Athlon 64 2.2 Ghz, 2 GB DDR RAM, and the video card is an XFX GeForce 6800XT 512 MB AGP (with latest drivers through envy).
That's quite odd, I have a 6800GT and don't suffer that problem. At least that I can recall, I haven't played it in a while though.
It's easy enough to disable movies without uninstalling. Simply put a # in front of the line for exporting the nwmovies.so in your nwn start up script.
Leech
bplus
September 13th, 2006, 03:04 PM
I m having problems with movies bit of your guide leech:
I installed nwn using the 1 gig resource file from bioware. Then I installed Shadows if undrentide and hordes of the underdark.
I ve got everything up to date with most recent patch. (one with the cloaks). Everything seemed to work.
I followed the bit of your guide about getting the movies to work.
The movies bit in the menu isn't greyed out any more and the movies play, except they have no sound! Also all the in game music doesn't play at all either now!
The movies do play with sound however outside the game e.g:
./BinkPlayer /home/bbyrne/nwn/movies/XP2_Intro.bik
works fine.
Any ideas?
Im thinking of trying to install everything using the cds and your guide if I cant figure this out. Thanks for making for making the guide in the first place!
beeldings
September 13th, 2006, 11:39 PM
That's quite odd, I have a 6800GT and don't suffer that problem. At least that I can recall, I haven't played it in a while though.
It's easy enough to disable movies without uninstalling. Simply put a # in front of the line for exporting the nwmovies.so in your nwn start up script.
Leech
What's really strange is that after I disabled the movies, the game still ran extremely slow. This was under GNOME, so I tried something different and ran the game under XFCE. With XFCE, the game ran flawlessly, with and without movies. I reinstalled Dapper AGAIN so now I'm going to attempt another installation of NWN. I'll report back when it's finished.
On. Clarkii
September 14th, 2006, 11:49 AM
Ok, so I got through the installation and go to my nwn directory and sh nwn. I get this in response:
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Creating link /home/darren/.kde/socket-Hobbiton.
can't create mcop directory
any ideas what this is all about? I have an Nvidia card and all else is good--running dapper.
duncan128
September 15th, 2006, 08:16 AM
On. Clarkii
All you have to is create the directory yourself, i.e.
mkdir /home/darren/.kde/socket-Hobbiton
This has happened to me twice (with GAIM and NWN) when I installed KDE once and then removed it.
daemoncat
September 15th, 2006, 07:58 PM
Well I just put everything down from CD to harddrive. Easy solution.
:confused: and it just ran after that? :? Silly me! I thought it would be harder than that. I'll give that a try. Thanks! :lol:
Carbon Based
September 16th, 2006, 10:00 PM
I installed NWN Diamond using this HOWTO, and it works great for me so far. The only problem is that, as I installed it in /usr/local/games, I have to run it using gksudo, otherwise I get an error when I try to create a character ("unable to load module"). I've done "chmod 777 -R *" in the nwn directory, that made fonts actually show up, but still the module error. Other than that it runs great using gksudo, there was only some strange flickering in the textures of characters that I fixed by tweaking the video settings in the game. Thanks for this great HOWTO.
bob3000
September 16th, 2006, 10:07 PM
I tried installing it this way, but it didnt work 4 me. I installed it with wine, and it installed great! One problem... I opened nwn, pressed play, and a message popped up saying "insert nwn disk" the disk was inserted. what do I do!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!](*,) ](*,) ](*,) ](*,) ](*,)
BTW what is a no-cd crack, and would it help? if so, where do I get one?
I am new to linux.:-\"
leech
September 17th, 2006, 03:36 AM
I'll try to answer what I can in one post...
@ bplus;
The sound problem could be related to the version of libsdl you have, make sure you're running the alsa version. Or 'sudo apt-get install alsa-oss' may also help. That's kind of an odd issue that the music worked before but doesn't after putting in the movies.
@ Carbon Based;
Strange, usually that'll work. I generally just install nwn in the home directory, it isn't really programmed for multi-user set ups anyhow. There is a hack for setting it up with multi-users, but I've never attempted it myself.
@ bob3000;
What exactly does not work with the method put forth in my how to? You'll be better off running the native version, and not through Wine. A No-CD crack is in essence something that removes a CD check that most games have. Unfortunately Wine itself doesn't really provide the wrapper for this sort of software, due to copyright and IP issues. The Native version of Neverwinter Nights has never asked for the CD to be inserted.
Leech
bplus
September 17th, 2006, 09:33 AM
firstly thanks for the response leech!
Howeve I ve just switched to 64 bit ubuntu. Again Im trying to get the movies in working in neverwinter, but now I cant even get bink player working!
if I ./BinkPlayer <some nwn movie file> I get the following error:
./BinkPlayer: error while loading shared libraries: libvorbisfile.so.3: cannot open shared object file: No such file or directory
also when I run nwmovies_install.pl these errors appear at the end:
nwmovies/nwmovies_link.S:17: Error: `pusha' is not supported in 64-bit mode
nwmovies/nwmovies_link.S:19: Error: `popa' is not supported in 64-bit mode
then when running the actual games (./nwn) i get:
ERROR: ld.so: object './nwmovies.so' from LD_PRELOAD cannot be preloaded: ignored.
is there a way to get nwmovies working on ubuntu 64?
thanks in advance!
Artificial Intelligence
September 17th, 2006, 10:15 AM
I installed NWN Diamond using this HOWTO, and it works great for me so far. The only problem is that, as I installed it in /usr/local/games, I have to run it using gksudo, otherwise I get an error when I try to create a character ("unable to load module"). I've done "chmod 777 -R *" in the nwn directory, that made fonts actually show up, but still the module error. Other than that it runs great using gksudo, there was only some strange flickering in the textures of characters that I fixed by tweaking the video settings in the game. Thanks for this great HOWTO.
You can't install as root (well you can, but then you'll taking a security risk if you play nwn with sudo).
Instead install in your home folder.
I usually installs game in /home/<username>/.Games (hidden) and makes shortcut to them.
bob3000
September 17th, 2006, 01:02 PM
Leech: my problem with the installer... I downloaded patch 1.65 from the script, but it doesn't recognize it. how do i manually install it?
also, there is no writing in the window that asks for the key, and no matter how many times i enter it, nothing happens.
I use Dapper.
BTW has anyone gotten "the battle for middle earth" (1 NOT II) to work on their machine?
It
leech
September 18th, 2006, 01:14 PM
firstly thanks for the response leech!
Howeve I ve just switched to 64 bit ubuntu. Again Im trying to get the movies in working in neverwinter, but now I cant even get bink player working!
if I ./BinkPlayer <some nwn movie file> I get the following error:
also when I run nwmovies_install.pl these errors appear at the end:
then when running the actual games (./nwn) i get:
is there a way to get nwmovies working on ubuntu 64?
thanks in advance!
Try installing libvorbisfile3 first, that's what package the libvorbis.so.3 file is in.
Leech
leech
September 18th, 2006, 01:16 PM
Leech: my problem with the installer... I downloaded patch 1.65 from the script, but it doesn't recognize it. how do i manually install it?
also, there is no writing in the window that asks for the key, and no matter how many times i enter it, nothing happens.
I use Dapper.
BTW has anyone gotten "the battle for middle earth" (1 NOT II) to work on their machine?
It
Firstly, why the 1.65? The newest installer that is on the page now supports 1.67 (the 1.68 is out now, but it's just a matter of extracting that on top of your nwn directory to get it to work). You may have the older version of the script which did have that problem of automatically downloading the patches. The one that is currently on there should work just fine.
Leech
bob3000
September 26th, 2006, 02:50 PM
in the windows version, there is a bar called "tools" on the start menu. how do I get this?
I am using 1.67
leech
September 26th, 2006, 10:29 PM
It's been a long time since I played it on Windows, so I could be wrong about this. But I think the TOOLS option is for the Aurora toolset, which is not ported to Linux. http://neveredit.sourceforge.net/cgi-bin/moin.cgi is what you'll want to look at.
Leech
bob3000
September 30th, 2006, 10:25 AM
sorry, but being the linux noob i am, how do i get neveredit running?](*,)
i use dapper
leech
September 30th, 2006, 08:07 PM
No clue :D I tried it myself quite a while ago and it still needed some work. Not sure how good it is now. If I recall it uses Python and you just need to run the script.
Leech
glenn45
October 1st, 2006, 02:07 AM
Hi! Is this HOWTO good for 64bit ubuntu?
Thanks in advance.
leech
October 1st, 2006, 04:05 PM
Give it a shot and let us all know if it works in 64bit linux. I haven't tried it myself, but I don't see why it wouldn't work.
Leech
glenn45
October 3rd, 2006, 05:44 AM
Give it a shot and let us all know if it works in 64bit linux. I haven't tried it myself, but I don't see why it wouldn't work.
Leech
Okey. I'll try tonight. hehehe:)
TheFlamingBush
October 4th, 2006, 10:29 PM
Hi Leech!....ive just read through your entire thread and have to say ive been impressed with the thought youve put into this. Well done mate! :)
Ok i have NWN, SOU, and HOU, all bought at various times in the last few years. No diamond or gold or whatever editions. I have been wanting to try it out on Linux, even if it is just to play it a bit....probably with CEP added so that it can be played on a server.
Ive run into a bit of a problem though....EDIT!
I fixed it i think!
leech
October 5th, 2006, 03:17 AM
You know what the really funny thing is? I've basically become Ubuntu Tech Support for Neverwinter Nights. Yet, I haven't even played the game in ages! I want to get back into it, but just haven't found the time.
Leech
dolphinsonar
October 5th, 2006, 03:19 AM
I forbit the use of the text "LOL" unless acompanied by an audio file of you actually laughing out loud, that must be directly downloadable in a non-proprietary format from the text "LOL (http://pardubice.misto.cz/_MAIL_/Motorola_MPx200/Tones/lyde/laughing.wav)" when you type it.
Thank you for your cooperation.
Well this would have been nice to know yesterday! Lol, I followed the instructions in the Bioware forums which forces you to decompress each cd manually, and install everything manually. I spent about eight hours and several tries on it total before I got it working. Oh well, good tutorial, hope it helps some people out there.
fizdev- NWN actually does run more smoothly under Ubuntu, at least for me. I've noticed a marked difference from my windows install.
leech
October 5th, 2006, 04:18 AM
I forbit the use of the text "LOL" unless acompanied by an audio file of you actually laughing out loud, that must be directly downloadable in a non-proprietary format from the text "LOL (http://pardubice.misto.cz/_MAIL_/Motorola_MPx200/Tones/lyde/laughing.wav)" when you type it.
Thank you for your cooperation.
I agree! The most annoying thing in the world right now to me (well as far as computers go, people themselves will always be the worst...) is that when talking to someone who uses MSN Messenger on Windows does a LOL or Yup or even something like They and it puts this huge YUP or makes a laughing guy and a huge LOL, even worse on They because it makes it say tHEY, with the HEY flashing. Is there any possible way to turn that crap off?
Leech
TheFlamingBush
October 5th, 2006, 10:30 PM
I agree! The most annoying thing in the world right now to me (well as far as computers go, people themselves will always be the worst...) is that when talking to someone who uses MSN Messenger on Windows does a LOL or Yup or even something like They and it puts this huge YUP or makes a laughing guy and a huge LOL, even worse on They because it makes it say tHEY, with the HEY flashing. Is there any possible way to turn that crap off?
Leech
Leech, i used the Auto download for my individual packages. I also went through step 1 and 2 in your origional article. I then downloaded 1.68 update for linux, and installed that to the letter, however i cant seem to get the game to run at all!
In fact i cant find the NWN main, its in the NWN directory of course but it looks like an executable text file.
Theres NWMain, which is an application/x-executable, and then there is the NWN file that is a application/x-shellscript. Neither of these open the game. The best i get is whether i want to run in terminal, display, run etc....when i start up the shell script. The other file, which i suspect is the file i need simply doesnt respond at all...nothing, nada, nix!
Im a bit flumoxed!..... 3 gigs on the disk and nothing at all.
I tried using the HOTU cd to start the game but that doesnt seem to work either, although i get sound and a small pic if i press install, so at least i know there is potential! ;)....
have i failed to do something script wise? I have msttcorefonts installed, and unshield which of course allowed me to use the auto install.
Drat!....i was actually looking forward to seeing how this working in Linux. Although to be honest i was more interested in building some mods in my spare time, so the tool set will be required, and i gather it isnt working or available in Linux?
leech
October 6th, 2006, 06:13 AM
It's just the nwn shell script that you need to run. Open a terminal, cd into your nwn directory, then simply type ./nwn and it should work.
Leech
leech
October 6th, 2006, 06:26 AM
That was rather annoying. I just tried to load up Neverwinter Nights, and the sound played, but there was no video. Then it totally crashed my X after I tried to go to the console and kill it.
Figured it was Beryl's fault (I'm running Edgy with Beryl and all it's 3D goodness), but then upon rebooting, I tried it with Metacity. Worked fine, then I enabled Beryl again, and it worked fine. So chalk that up as a random crash.
Leech
TheFlamingBush
October 6th, 2006, 08:17 AM
thanks lEECH.....BUT i tried that also last night and the reply i got back was that it was a directory, and thats it...nothing more!...:-/
i dumped the game, and will reinstall today and see if it works, if not i'll use it on my XP partition, and download falconsnest for my Linux partition.
shame!.....still lets give it one more go! ;)
oh and i guess this might have been asked before. But if i install it on the middle fat32 share partition i have, for sharing stuff between Ubuntu and XP, can i just play it through wine in Ubuntu.....or doesnt that work?
leech
October 6th, 2006, 11:11 AM
Wine is so overrated, when it works natively.
Sounds like the problem you're having is that instead of going into the nwn directory, then running ./nwn you're running it from your home directory.
So let's say your user name is flamingbush. If you installed it in your home directory, it'd be /home/flamingbush/nwn. What you'd want to do is then open up a terminal, which will automatically be in your home directory, then type cd nwn
So then the line would look something like flamingbush@ubuntu:~/nwn$
Then all you would need to type is ./nwn
The confusion here is that both the execution script and the folder is named 'nwn' You could conceivably just use /home/<user>/NeverwinterNights/ when you install it to save yourself from this confusion. I do also talk about how to create an icon in your menu for launching the game (at least I did in one of my drafts, it's been so long now that I forgot if it's still on the full post.)
As far as running it on a fat32 partition. I'd shy away from that, Fat32 pretty much sucks anymore. You could always try the ntfs3g driver, but again, that would probably be a bit on the complicated side to set up. I say forget Windows and play it natively!
Leech
MrBlond83
October 17th, 2006, 10:48 AM
I tried the part for NWN movies. Without it, my NWN worked perfectly, but once I add "export LD_PRELOAD=./nwmovies.so", the movies work, but the background music stops working!
The funny thing is that sound effects like when clicking on buttons work, it's just the music that doesn't! and also no music or sound in the movies at all.
When I remove that line it all goes back to normal, what's up with that?
EDIT: The problem seems even weirder - the music inside the game works, the music in the main menu after going back to it works, the only time music doesn't work is while playing the movies, and while being in the menu for the first time after playing the movies.
Strangely, when playing movies directly using Bink from the command line, their sound works fine.
Has anyone found a solution to this yet?
mage2
October 17th, 2006, 08:36 PM
I installed NWN diamond once everything was great.
My kbuntu died a horrible death, so like any geek I reinstall and reinstall NWN using the same setup and the same hardware. And following the same instructions.
Now I do not have any text when I start the game in the field where it should ask for the key, all the fields are empty. I have uninstalled the msttfontcores and the unshield and the libunshield. I also removed the /usr/local/games/nwn directory and started over. Still nothing.
I am trying yet again.
Does anyone have any ideas?
MrBlond83
October 18th, 2006, 12:47 PM
Where is leech I heard he is the undisputable master of NWN in linux.
Who can summon him :)
leech
October 19th, 2006, 04:34 PM
Sorry, been busy working on some of my own issues :D
As far as the fonts not showing up, that's a permissions issue. As stated in the How To, it's easier just to install Neverwinter Nights in your home directory. The installer should take care of your file permissions, so the text should work right away.
With the movies not playing music? This is just me hazarding a guess, but do you have libesd-alsa0 installed? Also the other one you could try to make sure you have is libsdl1.2debian-alsa.
Leech
MrBlond83
October 19th, 2006, 07:25 PM
I have libesd-alsa0 and libsdl1.2debian-all installed.
What puzzles me is that playing movies using BinkPlayer directly works perfectly, but when played through the game in the exact same manner there is no sound.
Very strange.
Uuranor
October 21st, 2006, 08:37 AM
Uh, maybe someone can help me.
I've recently re-installed NWN on my linux box (edgy), and now it is really slow. In Windows XP it runs without any problem, and so on my old installation of NWN (in dapper).
My glxgear -printfps give me this output:
7070 frames in 5.0 seconds = 1413.983 FPS
7047 frames in 5.0 seconds = 1409.251 FPS
7047 frames in 5.0 seconds = 1409.353 FPS
7048 frames in 5.0 seconds = 1409.588 FPS
7047 frames in 5.0 seconds = 1409.317 FPS
7047 frames in 5.0 seconds = 1409.353 FPS
... but the command "cat /proc/driver/nvidia/agp/status" give me:
Status: Disabled
AGP initialization failed, please check the ouput
of the 'dmesg' command and/or your system log file
for additional information on this problem.
Someone has any hint to make NWN speedy?
factotum218
October 21st, 2006, 02:18 PM
Here here!
I dont have the platinum edition or any of the expansion packs atm, but after getting the game a few years back, running through it and moving on...
Installing it on ubuntu and following the walkthrough on the bioware site; it's a breath of new life into this game! Runs so much smoother than I recall on my old win2k setup.
Im crossing my fingers that NWN 2 will at the very very least have wine support. I haven't seen anything regarding a native port yet.
Anyone know differently?
factotum218
October 21st, 2006, 02:23 PM
Here are the factors I see.
1> Running Edgy.
Really this probably isn't the problem but you never know.
2> The xorg.conf might be off.
What is you graphics card model? I think even if its something like a recent onboard intel it should be usable. Look into enabling AGP in your xorg.conf. I always had to manually set this up when I was running Slackware, its not difficult. Plenty of documentation around to get it done, especially in this ever-growing Ubuntu community.
Uuranor
October 22nd, 2006, 08:32 AM
Here are the factors I see.
1> Running Edgy.
Really this probably isn't the problem but you never know.
2> The xorg.conf might be off.
What is you graphics card model? I think even if its something like a recent onboard intel it should be usable. Look into enabling AGP in your xorg.conf. I always had to manually set this up when I was running Slackware, its not difficult. Plenty of documentation around to get it done, especially in this ever-growing Ubuntu community.
Ok, I've modified xorg.conf by changing NvAGP from "1" to "3", and now the status doesn't have any problem. BTW the game is still not smoother like my old installation of Ubuntu, or WinXP :(
leech
October 22nd, 2006, 01:20 PM
First off, I would run [code]glxinfo |grep direct[\code] though it does sound by your glxgears like you should have direct rendering. Secondly, I would check to make sure your resolution settings aren't too high. I can honestly say that it's been a long time since I have actually played the game, I did try it though in Edgy along with AIGLX and the new nvidia beta driver and Beryl loaded and it actually still worked!
I'll run some more tests though, since as I said, I didn't play it long, just long enough to load up my character.
Oh and to the poster who had just the original version, I would suggest next time you have to re-install to use the installer at http://www.liflg.org where they have a native loki installer for Neverwinter Nights and the CEP
Leech
theplatypus
October 26th, 2006, 08:13 AM
I've followed the instructions found here to get movies working, but upon running the game I get the following error. The game works fine , but I still don't have the movies. Any ideas?
ERROR: ld.so: object './nwmovies.so' from LD_PRELOAD cannot be preloaded: ignored.
MrBlond83
October 26th, 2006, 05:49 PM
Can you see the nwmovies.so file in your main NWN directory?
If not, then maybe you extracted the nwmovies some place else by mistake. The newmovies archive includes several files (which are actually symbolic links) that should be in your main NWN directory, plus an "nwmovies" directory.
This happened to me when first installing it as I put the archive file in the NWN directory and extracted it to "nwmovies" directory, which resulted the files that should be in the main NWN directory being in "NWN/nwmovies", and the directory of nwmovies being in "NWN/nwmovies/nwmovies"...
So that would be my guess :)
theplatypus
October 27th, 2006, 07:49 AM
Can you see the nwmovies.so file in your main NWN directory?
If not, then maybe you extracted the nwmovies some place else by mistake. The newmovies archive includes several files (which are actually symbolic links) that should be in your main NWN directory, plus an "nwmovies" directory.
This happened to me when first installing it as I put the archive file in the NWN directory and extracted it to "nwmovies" directory, which resulted the files that should be in the main NWN directory being in "NWN/nwmovies", and the directory of nwmovies being in "NWN/nwmovies/nwmovies"...
So that would be my guess :)
This is what is listed in my main NWN directory. If I understand you correctly it is incorrect. How do I go about fixing this mess? localvault nwnplayer.ini
.. logs NWNv129.txt
ambient miles nwserver
BinkLinuxPlayer.zip modules override
BinkPlayer movies-OC.txt patch.key
chitin.key .mssdebug.log portraits
data music readme.linuxserver.txt
dialog.tlk nwclient129.tar.gz readme-SDL.txt
dmclient nwm readme.txt
dmvault nwmain saves
docs nwmovies-latest.tar.gz servervault
EULA.txt nwmovies-latest.tar.gz_FILES tempclient
fixinstall nwn texturepacks
hak nwncdkey.ini
lib nwn.ini
God Of Atheism
October 27th, 2006, 11:18 AM
First I did not manage to run the game in Dapper, although the install did seem to work, now in Edgy I run into other troubles.
When running the script I get:
-en Enter the install directory. (/usr/local/games/nwn):
/media/sdb2/nwn
[: 64: ==: unexpected operator
-e Possible write error
-e Please try a different folder or change permissions on /media/sdb2/nwn
The -e at the start, or -en in most cases, appears on the preceding screens as well, something seems to be wrong with the character encoding of the script, the locale is not recognized (when opening it as a textfile) and this might be a possible cause of the error, although I'm not sure. In addition, I noticed that the Edgy install did change some thing in /etc/fstab (see below), which might be the cause of the write error above. I did change permissions on /media/sdb2/nwn, but was not able to change the group, so instead created the listed group and added myself as a member of that group, but the error message remains unchanged
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda2 -- converted during upgrade to edgy
UUID=<long identifier> / ext3 defaults,errors=remount-ro 0 1
# /dev/sda5 -- converted during upgrade to edgy
UUID=<long identifier> /home ext3 defaults 0 2
# /dev/sda1 -- converted during upgrade to edgy
UUID=<medium identifier> /media/sda1 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
# /dev/sda3 -- converted during upgrade to edgy
UUID=<medium identifier> /media/sda3 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
# /dev/sdb2 -- converted during upgrade to edgy
UUID=<short identifier> /media/sdb2 vfat defaults,utf8,umask=007,gid=46 0 1
# /dev/sdb3 -- converted during upgrade to edgy
UUID=<long identifier> none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Where <long/medium/short identifier> is a hexadecimal number in the long case interrupted by several dashes, in the short case by one dash and in the medium case by none and having 32/16/8 hexadigit length.
Any ideas as to how to solve this problem?
d3v1ant_0n3
October 27th, 2006, 09:55 PM
Randomly found this thread the other day. Found my NVW disc today, got all excited. And my dvd drive decided to take its ball and go home ](*,) I hate this machine sometimes.
SO I'm presently being pleasantly suprised by the download speeds from Biowares site for the resources tar.
And dammit, I WILL complete it this time (never made it past the first few chapters before, kept getting distracted by HL2 on PC.).
leech
October 28th, 2006, 06:58 AM
Randomly found this thread the other day. Found my NVW disc today, got all excited. And my dvd drive decided to take its ball and go home ](*,) I hate this machine sometimes.
SO I'm presently being pleasantly suprised by the download speeds from Biowares site for the resources tar.
And dammit, I WILL complete it this time (never made it past the first few chapters before, kept getting distracted by HL2 on PC.).
Sounds like my week! I was putting together a computer for a friend. It was built around the Core 2 Duo, an Asus P5B-E motherboard, etc. Anyhow, without going into too many details, Ubuntu was being a pain in the butt to install, so I pulled out my SATA dvd burner, popped it in there to try to install again, and then when I put it back in my main system, everything seemed to blow up (lost all my data on my main windows drive, had to re-create my grub, etc.)
I also never passed the original campaign, mainly because of getting to a point where it pissed me off, then stopping, then picking it up a year later, then stopping, then maybe a year later again starting again... It's a HUGE game, plus the two expansions, plus all the free modules out there. You could basically play the game forever and not have to buy another one ever.
Leech
leech
October 28th, 2006, 07:03 AM
First I did not manage to run the game in Dapper, although the install did seem to work, now in Edgy I run into other troubles.
When running the script I get:
-en Enter the install directory. (/usr/local/games/nwn):
/media/sdb2/nwn
[: 64: ==: unexpected operator
-e Possible write error
-e Please try a different folder or change permissions on /media/sdb2/nwn
The -e at the start, or -en in most cases, appears on the preceding screens as well, something seems to be wrong with the character encoding of the script, the locale is not recognized (when opening it as a textfile) and this might be a possible cause of the error, although I'm not sure. In addition, I noticed that the Edgy install did change some thing in /etc/fstab (see below), which might be the cause of the write error above. I did change permissions on /media/sdb2/nwn, but was not able to change the group, so instead created the listed group and added myself as a member of that group, but the error message remains unchanged
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda2 -- converted during upgrade to edgy
UUID=<long identifier> / ext3 defaults,errors=remount-ro 0 1
# /dev/sda5 -- converted during upgrade to edgy
UUID=<long identifier> /home ext3 defaults 0 2
# /dev/sda1 -- converted during upgrade to edgy
UUID=<medium identifier> /media/sda1 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
# /dev/sda3 -- converted during upgrade to edgy
UUID=<medium identifier> /media/sda3 ntfs defaults,nls=utf8,umask=007,gid=46 0 1
# /dev/sdb2 -- converted during upgrade to edgy
UUID=<short identifier> /media/sdb2 vfat defaults,utf8,umask=007,gid=46 0 1
# /dev/sdb3 -- converted during upgrade to edgy
UUID=<long identifier> none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Where <long/medium/short identifier> is a hexadecimal number in the long case interrupted by several dashes, in the short case by one dash and in the medium case by none and having 32/16/8 hexadigit length.
Any ideas as to how to solve this problem?
Just a shot in the dark, firstly. What filesystem is on /media/sdb2? By my guess it's either a SCSI drive or an SATA one. But either way, it's not your home directory, I would make sure that you indeed do have write permissions on it (for example, if it's NTFS, you need the ntfs-3g packages plus change the /etc/fstab to ntfs-3g.
It looks like it's a vfat drive, but vfat is really not a good idea to install Neverwinter Nights on. Remember, Linux is case sensitive, and so is Neverwinter Nights for Linux. For example, you have to change the case on a lot of player made modules before they'll work.
Leech
d3v1ant_0n3
October 28th, 2006, 08:58 AM
Well I only have the main campaign installed, but that will more than do me for now! And it was really painless. Download. Unzip. Unzip another tar. Patch (By, yep, unzipping another tar). Run.
Only thing I had issues with was changing the resolution up to 1024*768(native for this screen)- It made the screen go black. This might have been due to the fact I was running it over Beryl tho. Performance wasn't bad for this box either. Hurrah!
EVen tho I blatantly haven't used this guide, thanks for the inspiration to make me play Neverwinter again:D
_francis
October 28th, 2006, 06:16 PM
installed nwn diamond today on a brand new edgy took the files from a windows installation and followed the guide at [URL="http://nwn.bioware.com/downloads/linuxclient.html"] i updated to 1.68 and game is running smoothly. but after trying to enable the movies (it worked without a problem under dapper) i got the following outpput at the command line:
ERROR: ld.so: object './nwmovies.so' from LD_PRELOAD cannot be preloaded: ignored.
libGL warning: 3D driver claims to not support visual 0x4b
anyone got an idea?
as long as the game is running it's not a big problem but i really would like to see the movies without starting bink in a terminal...
MrBlond83
October 29th, 2006, 03:20 PM
leech, my problem is even weirder now. Last time I reported not being able to hear sound in movies playing inside nwn, despite being able to hear sounds just fine when they were played directly using nwmovies.pl or binkplayer.
Well, yesterday I decided to get to the bottom of another problem I was having, which was alsa streaming sound through the analog port of my soundcard and not the digital one (I was able to make gstreamer stream to the digital output simply by selecting IEC958 in the sound preferences, but that did not affect alsa of course). So I started reading on, and eventually realized all it takes was a small change to /etc/asound.conf - replace "hw:0,0" with "hw:0,2" (which was the address for the IEC958).
Since the main reason I wanted to fix this was so I can listen to Pandora music through my 5.1 system and not through headphones (which i keep connected to the analog output), I went on happily with my day. But then when I started NWN I was suprised to find out that now sound in movies does indeed work! The music in the main menu still did not work when first entering the menu (it worked before installing nwmovies, and it works when coming back to the menu after loading a game), so that leads me to think that it is unrelated (it was also reported by other users and is pretty marginal so who cares). But what really puzzles me is how come sound in movies inside nwn refuses to play through hw:0,0...
Anyway, I have no real solution, just thought I would share this and maybe someone will see in it more than I do :)
techstop
October 30th, 2006, 09:22 PM
I had a quick look in the thread, I don't think this has been answered....
I had this working fine on Dapper, and I did a clean install to Edgy (from scratch, formatted drive etc). I made a backup of my nwn directory to DVD first though. What is involved in getting this to work again? Do I have to do the whole install process again, or can I just copy the nwn folder back to my Edgy installation? Cheers.
hirumono
October 31st, 2006, 02:56 AM
Uh, maybe someone can help me.
I've recently re-installed NWN on my linux box (edgy), and now it is really slow. In Windows XP it runs without any problem, and so on my old installation of NWN (in dapper).
Hi, I had just the same problem when I switched from Breezy to Edgy. Nwn was outstandingly smooth and fast before, and then it stuttered sadly, together with the mouse which moved at "steps".
Finally I looked into Synaptic and found that Edgy had installed nVidia modules for a 64-bit platform (???); when I switched to 386 binaries (and the system reloaded my kernel, too), nwn ran just as smooth and fast as before.
Maybe your problem is the same?
Cheers!
daedalusman
November 1st, 2006, 12:13 AM
In edgy I am getting this error even though I have set both user and group permissions to allow both file and directory creation and read write...
-en Enter the install directory. (/usr/local/games/nwn):
/home/tyrion/nwn/
[: 64: ==: unexpected operator
-e Possible write error
-e Please try a different folder or change permissions on /home/tyrion/nwn/
Can some one help me out here, I really would like to finally be able to play a descent rpg in linux since I no longer have windows installed at all. This really annoying. Thanks for any help.
leech
November 1st, 2006, 10:23 AM
In edgy I am getting this error even though I have set both user and group permissions to allow both file and directory creation and read write...
-en Enter the install directory. (/usr/local/games/nwn):
/home/tyrion/nwn/
[: 64: ==: unexpected operator
-e Possible write error
-e Please try a different folder or change permissions on /home/tyrion/nwn/
Can some one help me out here, I really would like to finally be able to play a descent rpg in linux since I no longer have windows installed at all. This really annoying. Thanks for any help.
Here is the answer to this one..... lousy Edgy and it's usage of DASH!
What you'll need to do is temporarily (or permanently) change sh to point to bash. This is actually rather easy, at least.
sudo rm /bin/sh
sudo ln -s /bin/bash /bin/sh then you can run the install script. Note that it no longer has the funky -en and that it now will actually download the patch etc.
To return to using dash, just simply sudo rm /bin/sh
sudo ln -s /bin/dash /bin/sh
Leech
leech
November 1st, 2006, 10:36 AM
I had a quick look in the thread, I don't think this has been answered....
I had this working fine on Dapper, and I did a clean install to Edgy (from scratch, formatted drive etc). I made a backup of my nwn directory to DVD first though. What is involved in getting this to work again? Do I have to do the whole install process again, or can I just copy the nwn folder back to my Edgy installation? Cheers.
You should be able to just copy your nwn folder back to your Edgy installation, the only problem I've seen so far from running it on Edgy is the installation script was broken due to the move to using Dash over Bash.
Leech
leech
November 1st, 2006, 11:01 AM
So I worked on this a bit more and cleaned things up a bit, organized here and there and added the fix for Edgy Eft.
There probably is still more work to do on it, but who cares as long as it gets people going on playing the game 100% natively :D
Leech
daedalusman
November 1st, 2006, 03:07 PM
Thanks leech for the info and help. I actually ended up just installing in manually last night with a tutorial from the bioware nwn forums and got it working that way. But it works 100% natively and I'm now happy. Again thanks and keep up the good work.
edit
Also maybe a better way to change from dash to bash would be to use dpkg-reconfigure dash. Also note that in needs to be run by root and that answering no will change to bash. Just thought you would like to know. Thanks
techstop
November 1st, 2006, 06:03 PM
You should be able to just copy your nwn folder back to your Edgy installation, the only problem I've seen so far from running it on Edgy is the installation script was broken due to the move to using Dash over Bash.
Leech
OK, I had a fair bit of trouble with this, but it's working now. I kept getting errors like this;
barney@edgy:~/nwn$ ./nwn
./nwmain: error while loading shared libraries: libmss.so.6: cannot open shared object file: No such file or directory
Here's what I did;
1. Copy /nwn/miles to /usr/lib (this was recommended in a few threads on these forums, see link below) and run ldconfig. Others also advised to change the export path in the nwn script. By itself, these steps didn't work.
2. Add symlinks as found in this post;
http://nwn.bioware.com/forums/viewtopic.html?topic=347606&forum=72
Scroll down a bit till you come to this section;
These files should also have the following symbolic links:
* ./lib/libSDL-1.2.so.0 -> libSDL-1.2.so.0.0.5
* ./miles/libmss.so -> libmss.so.6
* ./miles/libmss.so.6 -> libmss.so.6.5.2
If these links are missing, you should create them yourself using these commands:
user @ host nwn $ cd lib
user @ host lib $ ln -s libSDL-1.2.so.0.0.5 libSDL-1.2.so.0
user @ host lib $ cd ..
user @ host nwn $ cd miles
user @ host miles $ ln -s libmss.so.6.5.2 libmss.so.6
user @ host miles $ ln -s libmss.so.6 libmss.so
user @ host miles $ cd ..
So, I made those symlinks, and all is working again! I don't know if this helps anyone, but it looks like others have the same problem;
http://www.ubuntuforums.org/showthread.php?t=188755
leech
November 1st, 2006, 07:04 PM
Thanks leech for the info and help. I actually ended up just installing in manually last night with a tutorial from the bioware nwn forums and got it working that way. But it works 100% natively and I'm now happy. Again thanks and keep up the good work.
edit
Also maybe a better way to change from dash to bash would be to use dpkg-reconfigure dash. Also note that in needs to be run by root and that answering no will change to bash. Just thought you would like to know. Thanks
Thanks, unfortunately I did all this early in the morning. I should have remembered dpkg-reconfigure for this. Big Duh on my part :D I'll fix it.
Leech
silthenru
November 3rd, 2006, 07:44 PM
Hey... after struggling and struggling with Bioware's linux install manual, I happily found this one (I'm not the best with technical aspects of linux).
So... I've got to step 4/5 on your list.... where I right click "install-nwn.sh" and open with terminal.
It says "opening install-nwn.sh" in the window list for a while... but then it goes away and nothing has opened. that's all. Can I be helped?
I'm trying to load NWN Plat onto Dapper Drake. I can't figure out what's wrong.
Thanks.
NEVER MIND. I think I figured it out by opening terminal then typing "exec ./Desktop/install-nwn.sh"
leech
November 6th, 2006, 11:38 AM
Yeah, that'll work too. I just tried to explain it using the graphical method, since some people are scared of the terminal. You can just start it with going into the directory where it is and just using ./install-nwn.sh.
Leech
hobieone
November 9th, 2006, 07:15 PM
as popular that this game is this thread need to be stickied:-D
recently had to redo my system and had to dig thru the forums to find this thread again it definatly easier that biowares way
daedalusman
November 9th, 2006, 09:30 PM
Thanks, unfortunately I did all this early in the morning. I should have remembered dpkg-reconfigure for this. Big Duh on my part :D I'll fix it.
Leech
Hey no worries, I only mentioned it as I just saw it on the dash wiki page and thought I would mention it here.
djprotoss
November 28th, 2006, 07:44 AM
mostly a FYI since I haven't had a chance to sit down and look at the code.
Short version: nwmovies doesn't compile on amd64.
Lots of warnings about casting to pointer from integer of different size, and finishes up with:
nwmovies/nwmovies_link.S: Assembler messages:
nwmovies/nwmovies_link.S:13: Error: suffix or operands invalid for `push'
nwmovies/nwmovies_link.S:14: Warning: 4294967272 shortened to 232
nwmovies/nwmovies_link.S:15: Error: suffix or operands invalid for `push'
nwmovies/nwmovies_link.S:17: Error: `pusha' is not supported in 64-bit mode
nwmovies/nwmovies_link.S:19: Error: `popa' is not supported in 64-bit mode
now the operand stuff I can cope with fairly easily, but the pusha might be more fun. May post a followup once I've had a chance to investigate.
thedude98
December 1st, 2006, 01:38 AM
I ran thru all of the instructions at the start of this thread. After inserting the dvd into the drive I'm not sure how to start the install. Should the script notice the disk?? Most seem to get it so sorry for my thickhead. I have the Diamond edition...
techstop
December 1st, 2006, 02:03 AM
I ran thru all of the instructions at the start of this thread. After inserting the dvd into the drive I'm not sure how to start the install. Should the script notice the disk?? Most seem to get it so sorry for my thickhead. I have the Diamond edition...
So in Step 4 you have executed "install-nwn.sh" to launch the installer and it has asked you to insert the disc? Then what happens?
thedude98
December 3rd, 2006, 08:51 PM
I run this script (http://www.paradoxinc.net/files/install-nwn.sh), answer all of the questions and after I press enter to accept the default (user) group, the window closes. My guess is that's when I should be prompted to load the dvd.
ceno-byte
December 20th, 2006, 10:08 PM
first off i must say this is a great HOWTO guid for installing Neverwinter Nights thnxs very much Leech. I followed it but i ran into a problem when i tried to install the movies i followed everything in the guide but when i go to run NWN from the terminal i get this error " ERROR: ld.so: object './nwmovies.so' from LD_PRELOAD cannot be preloaded: ignored. "
here is my nwn script :
#!/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
export LD_PRELOAD=./nwmovies.so
./nwmain $@
is there something i did wrong im not really sure what to do from here if it helps im running ubuntu 6.10
besides this little snag everything else works perfectly :)
PacShady
December 22nd, 2006, 07:18 AM
Hey, having trouble with trying to get the movies working.
Firstly, I've got the same problem mentioned previously about having no background music. As for the movies, they're not playing at all. The 'Movies' button on the main menu is clickable, but none of the movies in there play either, nor do the startup movies etc.
Here's the details that come up in the terminal when I run 'sudo ./nwn' in my /opt/games/nwn directory (I install most of my non-deb programs here for easy finding):
NOTICE: NWMovies: Version: 20060113.161108
NOTICE: SDL Library determined to be: ./lib/libSDL-1.2.so.0
NOTICE: NWMovies: Patch 0 Address: 0x08076939
NOTICE: NWMovies: Patch 1 Address: 0x0807694d
NOTICE: NWMovies: Patch 2 Address: 0x0815973c
NOTICE: NWMovies: Patch 3 Address: 0x08159756
NOTICE: NWMovies: Patch 4 Address: 0x0807680b
NOTICE: NWMovies: Patch 5 Address: 0x08204e41
NOTICE: NWMovies: Patch 6 Address: 0x08204e64
NOTICE: NWMovies: PrePatch0: 8b 80 48 02 00 00 5d c3
NOTICE: NWMovies: PrePatch1: 8b 80 4c 02 00 00 5d c3
NOTICE: NWMovies: PrePatch2: e8 bf d2 f1 ff 83 ec 08
NOTICE: NWMovies: PrePatch3: eb 58 83 ec
NOTICE: NWMovies: PostPatch0: b8 00 00 00 00 90 5d c3
NOTICE: NWMovies: PostPatch1: b8 00 00 00 00 90 5d c3
NOTICE: NWMovies: PostPatch2: 90 90 90 90 90 83 ec 08
NOTICE: NWMovies: PostPatch3: 90 90 83 ec
NOTICE: NWMovies: PrePatch4: 56 8d 5d e8 53
NOTICE: NWMovies: PostPatch4: e9 80 d5 ea af
NOTICE: NWMovies: MoviesPrePatch: 6a 00 53 bf 00 00 00 3f e8 ae fd 29 00 8b 43 60 8b 10 c7 04 24 00 00 80 3f 57 57 57 50 ff 52 44 83 c4 1c
NOTICE: NWMovies: MoviesPostPatch: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
NOTICE: NWMovies: SDL_WM_GrabInput() address: b7d08900
NOTICE: NWMovies: (Calculated) SDL_WM_GrabInputRaw() address: b7d08864
NOTICE: NWMovies: Initialized.
I'm running NWN Vanilla with SOU and HOTU as expansions (ie. NOT as Diamond/Gold/Platinum/etc). I installed NWN using the Ravage installer, then installed SOU and HOTU manually (the Ravage installers wouldn't play nice with me for the expansions). I then patched the game up to 1.68. I'm running an AMD AthlonXP 2.0GHz with 768MB RAM and an Ati Raedon 9550 with propriety drivers installed onto Kubuntu Dapper. The game runs fine normally (sans movies), and the movies are playable using the BinkPlayer executable in the NWN directory. Any ideas?
'Shady
EDIT: Seems nwmovies thinks it IS playing movies when it isn't. Here's the contents of a fresh log file:
./nwmovies.pl AtariLogo >> nwmovies.log 2>&1
NOTICE: NWMovies.pl playing: AtariLogo: Fri Dec 22 21:48:33 2006
NOTICE: NWMovies: Executing: ./BinkPlayer ./movies/AtariLogo.bik
1166788113.586763: BinkLib: SDL_PRELOAD Initialized
NOTICE: NWMovies.pl finished playing: AtariLogo: Fri Dec 22 21:48:33 2006
./nwmovies.pl BiowareLogo >> nwmovies.log 2>&1
NOTICE: NWMovies.pl playing: BiowareLogo: Fri Dec 22 21:48:33 2006
NOTICE: NWMovies: Executing: ./BinkPlayer ./movies/BiowareLogo.bik
1166788113.820340: BinkLib: SDL_PRELOAD Initialized
NOTICE: NWMovies.pl finished playing: BiowareLogo: Fri Dec 22 21:48:33 2006
./nwmovies.pl WotcLogo >> nwmovies.log 2>&1
NOTICE: NWMovies.pl playing: WotcLogo: Fri Dec 22 21:48:34 2006
NOTICE: NWMovies: Executing: ./BinkPlayer ./movies/WOTCLogo.bik
1166788114.028571: BinkLib: SDL_PRELOAD Initialized
NOTICE: NWMovies.pl finished playing: WotcLogo: Fri Dec 22 21:48:34 2006
./nwmovies.pl fge_logo_black >> nwmovies.log 2>&1
NOTICE: NWMovies.pl playing: fge_logo_black: Fri Dec 22 21:48:34 2006
NOTICE: NWMovies: Executing: ./BinkPlayer ./movies/fge_logo_black.bik
1166788114.309309: BinkLib: SDL_PRELOAD Initialized
NOTICE: NWMovies.pl finished playing: fge_logo_black: Fri Dec 22 21:48:34 2006
./nwmovies.pl NWNIntro >> nwmovies.log 2>&1
NOTICE: NWMovies.pl playing: NWNIntro: Fri Dec 22 21:48:34 2006
NOTICE: NWMovies: Executing: ./BinkPlayer ./movies/NWNintro.bik
1166788114.519343: BinkLib: SDL_PRELOAD Initialized
NOTICE: NWMovies.pl finished playing: NWNIntro: Fri Dec 22 21:48:34 2006
leech
December 23rd, 2006, 07:19 AM
I would suggest posting in the nwn.bioware.com forums. The person who wrote the nwmovies script is zzqzzq_zzq and he helps people out there.
Of course you could also always email him, his email address is easily found by just doing a search for nwmovies on google.
Leech
aleska
December 29th, 2006, 05:30 PM
Leech - first off, many many thanks.
I went through the how-to (seemingly without a hitch). But, I am having the problems with no text appearing. I read through the entire thread, and it appears that the answer to text not appearing is one of permissions; but I'm confused.
I'm running Edgy. I checked to see if msttcorefonts is installed, and indeed it is. Also, I installed nwn to a folder under my home directory /home/aleska/nwn rather than under /usr. I thought that by installing to a folder under my home directory I shouldn't run into any permissions issues. Right?
So, I'm not sure what to try next. I'm optimistic as I can get through the splash screen and to the main menu...however, without the text there I'm pretty much dead.
So, any suggestions are greatly appreciated.
ps - I can't wait to start playing this again...since converting from windows 6 months ago I thought I had to kiss NWN goodbye...until I came across this how-to. I've only played the single player campaign before, so also looking forward to trying out multi-player with some of you. thx
leech
December 29th, 2006, 08:31 PM
You can just right-click on the nwn folder in Nautilus and tell it to allow your user to read and write all then click the "Apply to all enclosed files" that should work.
Leech
aleska
December 29th, 2006, 10:12 PM
Thanks again Leech!
Well, you know, I tried that...even made it read write executable for anyone.
I actually have all files and directories in nwn as rwxrwxrwx...so, I'm thinking it isn't a permission thing (at least that's my understanding...I am only 6 months new to linux).
Before I got your reply, I posted a similar inquiry on nwn.bioware.com/forums
zzqzzq_zzq had this to say:
dialog.tlk is missing/unreadable/corrupt.
Check your installation and try again.
David
Possibly confirming this response, I searched my nwn directory, and sure enough, there is no dialog.tlk file.
But, I'm not sure what this means. So, I don't have it for some reason. Where in the nwn's directory structure should it be located (i.e. what folder)? Should this be a file that is on one of the four install disks? If so, would I be able to find it on the cds and copy and paste into an appropriate directory and be good to go? Or would something like this require a reinstallation?
Upon fixing the issue, I'll be sure to post what steps I needed to take to fix. But, for now, still need a little hand holding.
TIA!
rstreeks
December 30th, 2006, 11:37 AM
I am running Dapper on a AMD64 when I tried to run the BinkPlayer I found out that there where some libraries missing.
see ldd output:
/usr/local/games/nwn$ ldd BinkPlayer
linux-gate.so.1 => (0xffffe000)
libSDL-1.2.so.0 => /usr/lib32/libSDL-1.2.so.0 (0x5557d000)
libpthread.so.0 => /lib32/libpthread.so.0 (0x55605000)
libSDL_mixer-1.2.so.0 => /usr/lib32/libSDL_mixer-1.2.so.0 (0x55618000)
libstdc++.so.5 => /usr/lib32/libstdc++.so.5 (0x55686000)
libm.so.6 => /lib32/libm.so.6 (0x55740000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0x55762000)
libc.so.6 => /lib32/libc.so.6 (0x5576d000)
libasound.so.2 => /usr/lib32/libasound.so.2 (0x5589c000)
libdl.so.2 => /lib32/libdl.so.2 (0x55959000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0x5595c000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0x55a42000)
/lib/ld-linux.so.2 (0x55555000)
libvorbisfile.so.3 => not found
libvorbis.so.0 => /usr/lib32/libvorbis.so.0 (0x55a4f000)
libogg.so.0 => /usr/lib32/libogg.so.0 (0x55a78000)
libsmpeg-0.4.so.0 => not found
libXau.so.6 => /usr/lib32/libXau.so.6 (0x55ad6000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0x55ad9000)
I am also running gentoo from this distribution I have copied the libraries that where missing.
The missing libraries where copied in to the following directory: /emul/ia32-linux/usr/lib according to the debian/ubuntu documentation this is the place to put them. The following libraries I have copied and created the same symbolic links as in my gentoo distribution. All the files you see here are used by either NWN extensions nwmouse, nwmovies etc or for the BinkPlayer.
/emul/ia32-linux/usr/lib$ ls -l
total 396
lrwxrwxrwx 1 root root 11 2006-12-27 15:26 libelf.so -> libelf.so.1
-rwxr-xr-x 1 root root 76260 2006-12-27 15:25 libelf.so.1
lrwxrwxrwx 1 root root 21 2006-12-29 10:22 libsmpeg-0.4.so.0 -> libsmpeg-0.4.so.0.1.3
-rwxr-xr-x 1 root root 250144 2006-12-29 10:14 libsmpeg-0.4.so.0.1.3
lrwxrwxrwx 1 root root 22 2006-12-29 10:21 libvorbisfile.so -> libvorbisfile.so.3.1.0
lrwxrwxrwx 1 root root 22 2006-12-29 10:21 libvorbisfile.so.3 -> libvorbisfile.so.3.1.0
-r-xr-xr-x 1 root root 25564 2006-12-29 10:13 libvorbisfile.so.3.1.0
lrwxrwxrwx 1 root root 19 2006-12-27 15:49 libXcursor.so -> libXcursor.so.1.0.2
lrwxrwxrwx 1 root root 19 2006-12-27 15:49 libXcursor.so.1 -> libXcursor.so.1.0.2
-rwxr-xr-x 1 root root 34336 2006-12-27 15:48 libXcursor.so.1.0.2
I edited/created the configuration file for ldconfig: /etc/ld.so.conf
and add the following two lines into it.
/emul/ia32-linux/lib
/emul/ia32-linux/usr/lib
Then I ran ldconfig which recreates the ld.so.cache
From this point onwards I could run the *.bik files by the BinkPlayer.
I had downloaded the latests beta release off the nwmovies, nwlogging, nwmouse and nwuser from: http://home.woh.rr.com/nwmovies/nwlinux-beta.tar.bz2
(http://home.woh.rr.com/nwmovies/nwlinux-beta.tar.bz2) and followed his instructions.
I am still using the original SDL libary from the game. My next step will be to create my own upgraded SDL library that has the SDL_WM_GrabInputRaw visible.
I know I have cheated by getting the missing libraries from my gentoo distribution. If any one can explain where to get those libraries from a regular source or how to compile them. I would be much happier.
aleska
December 30th, 2006, 02:41 PM
So, after doing an md5checksum from the bioware guys, it was apparent that not only were three files missing or unreadable, but another 11 failed to match. So, I decided to try a complete reinstall, this time using patch 167 in the script.
Install seemed to go smoothly...
I created a desktop launcher...and then, it doesn't launch, rather I get this error message.
Details: Failed to execute child process "/home/aleska/nwn" (Permission denied)
Any ideas?
aleska
December 30th, 2006, 07:42 PM
FYI - got it working...
Following the technical questions sticky thread at bioware http://nwn.bioware.com/forums/myviewtopic.html?topic=347606&forum=72 the first piece of advice is to make sure permissions are set correctly.
root @ host nwn # chown -R user:group .
root @ host nwn # chmod -R ugo=rX,ug+w .
So, I followed the above, using sudo and now everything seems to work properly.
I found the keycode entries to be quirky. If anyone was problems with that, let me know, I can at least tell you what I had to do to make them work.
Now, gameplay seems to be fine...however, sound is choppy. I'll search this thread again to see if this issue was raised and resolved. Otherwise, if anyone can tell me the quick fix for getting sound to be normal and not choppy, I'd be grateful.
Thanks! Looking forward to playing with some of you. Is there anyone who is interested?
aleska
December 30th, 2006, 09:56 PM
...and once again the bioware forums gave me the simple answer. In the nwn script, I just needed to remove ./lib from the ld_library_path (as is explicitly commented in the file). Apparently, this uses the ubuntu distro's libSDL as opposed to the one that comes with nwn. Simple enough.
I'm sure this wasn't news to any of you, but just in case, thought I'd restate it for purpose of solving choppy sound issue.
I've been playing for a half hour now with no problems whatsoever! W00t! Thanks to all!
Again, anybody interested in some multiplayer action, please let me know.
leech
January 11th, 2007, 09:38 AM
/emul/ia32-linux/usr/lib$ ls -l
total 396
lrwxrwxrwx 1 root root 11 2006-12-27 15:26 libelf.so -> libelf.so.1
-rwxr-xr-x 1 root root 76260 2006-12-27 15:25 libelf.so.1
lrwxrwxrwx 1 root root 21 2006-12-29 10:22 libsmpeg-0.4.so.0 -> libsmpeg-0.4.so.0.1.3
-rwxr-xr-x 1 root root 250144 2006-12-29 10:14 libsmpeg-0.4.so.0.1.3
lrwxrwxrwx 1 root root 22 2006-12-29 10:21 libvorbisfile.so -> libvorbisfile.so.3.1.0
lrwxrwxrwx 1 root root 22 2006-12-29 10:21 libvorbisfile.so.3 -> libvorbisfile.so.3.1.0
-r-xr-xr-x 1 root root 25564 2006-12-29 10:13 libvorbisfile.so.3.1.0
lrwxrwxrwx 1 root root 19 2006-12-27 15:49 libXcursor.so -> libXcursor.so.1.0.2
lrwxrwxrwx 1 root root 19 2006-12-27 15:49 libXcursor.so.1 -> libXcursor.so.1.0.2
-rwxr-xr-x 1 root root 34336 2006-12-27 15:48 libXcursor.so.1.0.2
I edited/created the configuration file for ldconfig: /etc/ld.so.conf
and add the following two lines into it.
/emul/ia32-linux/lib
/emul/ia32-linux/usr/lib
Then I ran ldconfig which recreates the ld.so.cache
From this point onwards I could run the *.bik files by the BinkPlayer.
I had downloaded the latests beta release off the nwmovies, nwlogging, nwmouse and nwuser from: http://home.woh.rr.com/nwmovies/nwlinux-beta.tar.bz2
(http://home.woh.rr.com/nwmovies/nwlinux-beta.tar.bz2) and followed his instructions.
I am still using the original SDL libary from the game. My next step will be to create my own upgraded SDL library that has the SDL_WM_GrabInputRaw visible.
I know I have cheated by getting the missing libraries from my gentoo distribution. If any one can explain where to get those libraries from a regular source or how to compile them. I would be much happier.
I believe in my revisions to the HOW TO for the movies, I listed the packages required. But here's a little hint on Debian and Ubuntu. If there is a particular library that you need installed, and you don't know which package it is in, go to http://packages.debian.org (for Debian) or http://packages.ubuntu.com (for Ubuntu.)
Then scroll down to where it says "Search for Contents of Packages". Just cut and paste or type in the library (for example libXcursor.so.1.0.2) then select the distribution you are using and hit the search button. Then you'll have what package(s) have that file in them. In the case of libXcursor.so.1.0.2, the packages are libxcursor1 and libxcursor1-dbg.
Leech
leech
January 11th, 2007, 09:40 AM
...and once again the bioware forums gave me the simple answer. In the nwn script, I just needed to remove ./lib from the ld_library_path (as is explicitly commented in the file). Apparently, this uses the ubuntu distro's libSDL as opposed to the one that comes with nwn. Simple enough.
I'm sure this wasn't news to any of you, but just in case, thought I'd restate it for purpose of solving choppy sound issue.
I've been playing for a half hour now with no problems whatsoever! W00t! Thanks to all!
Again, anybody interested in some multiplayer action, please let me know.
Glad to hear you've got it working. The weird thing is, if I comment out the ./lib from the nwn script, my movies don't work. Another poster had the same problem. Glad to hear it's working. I think the main reason the sound was chopping for you was that the SDL that comes with nwn is probably not compiled with the proper alsa compatibility.
Leech
mistermax
January 18th, 2007, 05:02 PM
The version I've got is the "Best of Atari" one, I don't know if this is the same as the platinum or whatever?
Bascially, I've now tried the Linux client install from the icculus site and it seemed to have worked, however, when I run the nwn launcher, the screen goes dark and it crashes out...
If I run it from the shell, I see this:
max@ghengis:~/nwn$ ./nwn
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Link points to "/tmp/ksocket-max"
can't create mcop directory
Sorry if I'm going over old questions, but I've not found out what I'm doing wrong yet.
Cheers guys (and guy-ettes)
parradux
January 22nd, 2007, 01:08 AM
I have the platinum edition of this game. I have fully followed this guide and when I try to run this game I get this error:
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
I have no idea what is the problem.
leech
January 22nd, 2007, 10:15 AM
I think there is a program called fixinstall in the nwn directory.
Try running that with ./fixinstall and then load up nwn.
Leech
parradux
January 22nd, 2007, 03:20 PM
Checking for required files
PASSED: ambient directory exists
PASSED: data directory exists
PASSED: music directory exists
PASSED: override directory exists
PASSED: miles directory exists
PASSED: nwm directory exists
FAILED: chitin.key missing
Its been missing the key ever since I've updated.
I still get the same error.
leech
January 22nd, 2007, 08:33 PM
I have a chitin.key file here, it's 943.4KB. Look for it on your CD. If you can't find it, I'll try to attach it in the morning after I get back from work.
Leech
parradux
January 22nd, 2007, 09:26 PM
I dont think thats the problem, because i've tried to run the game without updating it, and there was the same problem.
Any case please post the file.
mistermax
January 23rd, 2007, 05:30 PM
I get the same thing - missing chitin.key?
I've searched the 3 discs and can't find it. But these discs are the UK issue "Best of Atari", possibly a bit different?
I've got my serial inside it. But no chitin key....
parradux
January 23rd, 2007, 11:33 PM
Ok i've fixed mostly everything. No more SDL dumps or whatsoever.
What I get now is this:
Aborted (core dumped)
And then nothing.
Can someone help me?
leech
January 24th, 2007, 11:56 AM
Do your log files show anything? I'm not sure if attaching my chitin.key file is going to help, but I'll do so.
According to http://nwn.bioware.com/forums/viewtopic.html?topic=463726&forum=74 a re-install is about all that is going to help.
Leech
mmafterme
January 24th, 2007, 02:42 PM
Does the install script from the first post support the 1.68 patch? Or do I need to download the 1.66 first and then manually update it to 1.68?
I couldn't find a definititive answer.
podfish
January 24th, 2007, 10:34 PM
No Joy. Using the uberscript under Edgy, fresh install, with some Automatix additions, NWN Platinum DVD, 1.67 patch, I am unable to:
1) Start the game in under 2 minutes
2) Start any module, including the basic Neverwinter Nights module.
3) Save any settings whatsoever.
4) 1280x1024 doesn't work. 1280x960 and below does. Defaults to 800x600, and, again, can't save settings.
I have done the following to attempt to fix this.
1) sudo chown -R root:users /usr/local/games/nwn/
2) sudo chmod -R 755 /usr/local/games/nwn
3) Changed from the pre-installed nwn sdl libs to the ubuntu by changing the line in nwn.ini.
4) prayed to Jebus to save my machine.
5) wondered why this isn't a .deb.
6) checked and rechecked the configs.
7) reinstalled imagemagick.
8) reinstalled libsdl
9) reinstalled video drivers
10) re-added myself to the /etc/group users entry
11) added myself to /etc/group -- games entry, even though nothing is owned by games, see Item 1.
12) whinged and cried and complained that, for some reason, ubuntu and apt appear to be giving me more trouble than gentoo and portage ever did.
13) scoured google, the ubuntu forums, and other distro forums for similar threads, and solutions that didn't include only "chown and chmod", or "just install it as a user, not root." That's not a solution that works for me--multiple users on the machine should be able to use this installation--and i'm not symlinking to my /home/steve from another user's homedir. That's ugly as heck.
Gonna run off to forums.gentoo.org to see if i can find my posts on a manual install. Meantime, any suggestions or questions as to what configs you might want posted would be appreciated! thread looks pretty active, so, I'm hoping I get a response.
Thanks for supporting linux games on ubuntu--still a good distro, even if I'm too dumb to get it to work. :-P :guitar:
Podfish
mmafterme
January 24th, 2007, 11:53 PM
Does the install script from the first post support the 1.68 patch? Or do I need to download the 1.66 first and then manually update it to 1.68?
I couldn't find a definititive answer.
After trying it out, the install script works fine with the 1.68 patch.
I went further and set up nwmovies only to find out there was no sound while watching the movies from the client, but they played fine with binkplayer. So, I did a little searching on the bioware forums and someone suggested to add the following line in ./nwn
export SDL_AUDIODRIVER=esd
It works perfectly, I get full sound everywhere, except when I first load into the menu.
podfish
January 25th, 2007, 09:08 PM
OK. Did something else, and I can get the game to work, with fonts, etc, keys installed, and the game runs without any major problems at low resolutions.
To get that to happen, I did a
sudo chmod -R 770 /usr/local/games/nwn/
I still, however, get this error when I set a resolution higher than 1024x768:
steve@monolith:~$ nwn
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 135 (XFree86-VidModeExtension)
Minor opcode of failed request: 10 (XF86VidModeSwitchToMode)
Value in failed request: 0x187
Serial number of failed request: 133
Current serial number in output stream: 135
This happens whether I run as root or as myself.
I tried installing the newest nVidia drivers from nVidia. No problems making that install happen, but still no joy. If you want to see my xorg.conf, it is posted here as well:
Section "ServerLayout"
Identifier "X.org Configured"
Screen "Screen0" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Module"
# This loads the DBE extension module.
Load "dbe" # Double buffer extension
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
# This loads the Type1 and FreeType font modules
Load "type1"
# Load "speedo"
Load "freetype"
# Load "xtt"
# This loads the GLX module
Load "glx"
# This loads the DRI module
# Load "dri"
EndSection
Section "ServerFlags"
#Option "Xinerama" "on"
EndSection
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Speedo/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/TrueType/"
FontPath "/usr/share/fonts/freefont/"
FontPath "/usr/share/fonts/corefonts"
# The module search path. The default path is shown here.
EndSection
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSection
Section "InputDevice"
Identifier "Keyboard1"
# Driver "kbd"
Driver "keyboard"
Option "XkbModel" "logiaccess"
Option "XkbLayout" "us"
Option "XkbVariant" "basic"
EndSection
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "Auto"
Option "Device" "/dev/input/mice"
Option "ZAxis Mapping" "4 5"
Option "Buttons" "7"
EndSection
Section "Monitor"
Identifier "Monitor0"
HorizSync 30.0-107.0
VertRefresh 48 - 160
EndSection
#Section "Monitor"
# Identifier "Monitor1"
# HorizSync 30.0-80.0
# VertRefresh 50-100
#EndSection
Section "Device"
Identifier "card0"
Driver "nvidia"
VideoRam 131072
Option "TwinView" "True"
Option "RenderAccel" "true"
Option "UseEdidFreqs" "True"
Option "MetaModes" "1280x1024,1280x1024;1280x1024,NULL;1280x960,1280x9 60;1280x960,NULL;1024x768,NULL;1024x768,1024x768;8 00x600,800x600;800x600,NULL;640x480,640x480;640x48 0,NULL;1600x1200,NULL"
Option "HWCursor" "On"
Option "AllowGLXWithComposite" "true"
Option "NvAGP" "2"
Option "TwinView" "true"
Option "SecondMonitorHorizSync" "30-64"
Option "Second MonitorVertRefresh" "50-100"
Option "TwinViewOrientation" "RightOf"
# Option "Xinerama" "on"
Screen 0
# Insert Clocks lines here if appropriate
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Viewport 0 0
Depth 1
Modes "2560x1024" "1280x1024" "2560x960" "1280x960" "1024x768" "2048x768" "1600x600" "800x600" "1280x480" "640x480" "1600x1200"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
Modes "2560x1024" "1280x1024" "2560x960" "1280x960" "1024x768" "2048x768" "1600x600" "800x600" "1280x480" "640x480" "1600x1200"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
Modes "2560x1024" "1280x1024" "2560x960" "1280x960" "1024x768" "2048x768" "1600x600" "800x600" "1280x480" "640x480" "1600x1200"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "2560x1024" "1280x1024" "2560x960" "1280x960" "1024x768" "2048x768" "1600x600" "800x600" "1280x480" "640x480" "1600x1200"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "2560x1024" "1280x1024" "2560x960" "1280x960" "1024x768" "2048x768" "1600x600" "800x600" "1280x480" "640x480" "1600x1200"
EndSubSection
EndSection
I'm really having a hard time figuring out what I'm doing wrong; and I'm stymied by the fact that this was easier under another distribution, and permissions aren't causing this. The only 2 things I can think of are the "ARGBGLXVISUALS" argument in xorg (I'll check that in a sec) and perhaps that the "latest" ubuntu version of the sdl libraries just aren't supporting what I'm wanting to do, which I've run into in the past. Could the nvidia "twinview" xinerama implementation be causing this problem? I'll try running with a backup xorg without twinview enabled, and see what happens...
leech
January 26th, 2007, 01:20 AM
My guess is that it is due to the TwinView. I did have it working across three screens with my Matrox Parhelia, but maybe it has problems either with nVidia's OpenGL itself, or with not finding the right resolution.
Though I don't remember exactly, but I think you might have to just manually change the nwn.ini to the resolution you want.
Give that a try.
Leech
podfish
January 26th, 2007, 03:13 AM
Pretty sure it was twinview. I de-installed the newer nvidia drivers because it was wreaking havoc with the "restricted-module" for my wireless card, which I also need, and causing actual driver conflicts between atheros and emu10k1 (audigy) under alsa, if you can believe that noise. Anyhow it's all working now, except the other monitor. I'll probably keep twinview, and just run NWN on another display.
Anyhow, if you get rid of twinview, it seems to work a lot better--although, i'm going to say it again, didn't have a problem under (ahem) gentoo. My guess is the stock ubuntu libsdl package isn't compiled with xinerama support.
by the way, if anyone tries the "new" driver, it's full of cool whiz-bang features, like gui-level twinview setup in nvidia-settings, auto resolution capability detection (if supported by the monitor) and all kinds of neato stuff. However, you'll probably break other things inadvertantly; so when you decide to revert back and wait for the cool driver to show up, or find a bleeding-edge repository, you can run the nvidiaxxxxxxx.run script with the --uninstall option. You may find after re-installing apt's nvidia-glx that things are broken. This is because the nvidia installer steps all over ubuntu's symlinks in the x config directories. To fix, all you have to do is reinstall xserver-xorg-core, and reinstall your linux-restricted-modules packages, and nvidia-kernel-common and nvidia-glx for good measure. reboot, and you should be good to go.
Again, thanks for being here with support. This is probably the 2nd best support environment i've seen around the OSS community...and you're definitely gaining on 1st place. keep up the good work, and you'll get guys like me to poke my nose around and help (or more likely hinder) once in a while!
By the way, anyone know what directories the save-files and character backups live in? I'd kind of like to copy my old files over, since I'm near to finishing the original module, and don't want to start over. Also, somone wanna point me to a good server/servers? Are the ones mentioned earlier in the thread still OK?
The Podfish
podfish
January 26th, 2007, 11:55 PM
Game looks great, movies work awesome, never seen them before, so kind of cool. Little bit choppy at my resolution--tested it by 1600x1200, and it worked surprisingly well. Much better at 1280x960... :0)
saves live in ..../nwn/saves (go figure.) Was able to continue campaign where I left off, so way cool.
Thanks again for the great howto.
MaximB
January 27th, 2007, 07:18 AM
Thanks for your great guide, it did helped me installing NWN although I didn't use your script but managed to combine my windows installation with the bioware Linux client files.
I have a small problem , I've followed your guide but I still can't run the game movies.
I use edgy and I did made "sudo dpkg-reconfigure dash".
My nwmovies.log :
./nwmovies.pl AtariLogo >> nwmovies.log 2>&1
NOTICE: NWMovies.pl playing: AtariLogo: Sat Jan 27 13:02:56 2007
NOTICE: NWMovies: Executing: ./BinkPlayer ./movies/AtariLogo.bik
NOTICE: ZoomSurface functions unavailable. The error was: libSDL_gfx.so: cannot open shared object file: No such file or directory
1169895776.493422: BinkLib: SDL_PRELOAD Initialized
*** glibc detected *** ./BinkPlayer: double free or corruption (out): 0x0809f8b0 ***
thanks in advance !
P.S - my movie files are in the /home/maxim/maxddark/games/nwn/movies I do NOT run this game from the CD/DVD.
leech
January 27th, 2007, 06:37 PM
Damn! I thought I had added that a long time ago!
You need to install libsdl-gfx1.2-dev
I'll fix the HOW TO.
Leech
MaximB
January 28th, 2007, 06:15 AM
I did it but the movies are still not running.
maybe I did something wrong in the process ?
here is my movies installation :
maxim@maxim:~/maxddark/games/nwn$ ./nwmovies_install.pl /usr/lib/libSDL-1.2.so.0
NOTICE: NWMovies: Executing: gcc -Wall -Inwmovies/libdis -g -fPIC -shared -Wl,-soname,libdisasm.so nwmovies/libdis/libdis.c nwmovies/libdis/i386.c -o nwmovies/libdis/libdisasm.so
NOTICE: NWMovies: Executing: gcc -Wall -shared -g -Wl,-soname,binklib.so nwmovies/binklib.c -o nwmovies/binklib.so /usr/lib/libSDL-1.2.so.0 -ldl -lelf -lm
NOTICE: NWMovies: Executing: gcc -Wall -shared -g -DSDLLIB=\"/usr/lib/libSDL-1.2.so.0\" -I/usr/include/libelf -Inwmovies/libdis -o nwmovies/nwmovies.so nwmovies/nwmovies.c nwmovies/nwmovies_lookup.c nwmovies/nwmovies_cookie.c nwmovies/nwmovies_crumb.c nwmovies/nwmovies_link.S /usr/lib/libSDL-1.2.so.0 -ldl -lelf
NOTICE: NWMovies: Please check for errors above
NOTICE: NWMovies: nwmovies executable built. Please modify your nwn startup command to
NOTICE: NWMovies: set LD_PRELOAD to 'nwmovies.so', before executing nwmain.
is everything fine ? was is wrong then ?
leech
January 28th, 2007, 10:34 AM
Looks good to me. I don't see why that wouldn't work. Again after installing the libsdl-gfx1.2-dev package, post up your nwmovies.log and we'll see if it's missing something else.
Leech
MaximB
January 28th, 2007, 11:26 AM
ok, here is it :
./nwmovies.pl AtariLogo >> nwmovies.log 2>&1
NOTICE: NWMovies.pl playing: AtariLogo: Sun Jan 28 17:24:02 2007
NOTICE: NWMovies: Executing: ./BinkPlayer ./movies/AtariLogo.bik
1169997842.786819: BinkLib: SDL_PRELOAD Initialized
*** glibc detected *** ./BinkPlayer: double free or corruption (out): 0x0809f5c8 ***
leech
January 30th, 2007, 02:54 AM
Try this.
Open a Terminal, cd into your nwn directory and then run ./BinkPlayer movies/AtariLogo.bik
That should run the movie, if it does not, than BinkPlayer has an issue, which is what I expect is the issue. Looks like it's having an issue with glibc.
Leech
MaximB
January 30th, 2007, 09:02 AM
strange - it RUNS well in the Terminal
but NOT in the game.
what could it be...?
mistermax
January 30th, 2007, 05:52 PM
Okay- I contacted Atari support and they say that the UK released Best of Atari is the same as the "Gold" edition.
So I went and got the icculus gold installer.
The only thing the installer keeps asking me to insert disc 2. Even when it is in... I've tried exporting the setup path as suggested in the icculus FAQ, but to no avail.
I feel like I'm getting closer here, but not quite...
Any suggestions?
leech
January 30th, 2007, 06:03 PM
So does it only have the first expansion, Shadows of Undertide? That's what the Gold edition is.
Breaking it down, from what I can recall. You have the Original, then Gold Edition comes with the first expansion, Platinum comes with both expansions (Shadows of Undertide and Hordes of the Underdark) and Diamond comes with the both expansions and the Kingmaker module.
Leech
leech
January 30th, 2007, 06:04 PM
strange - it RUNS well in the Terminal
but NOT in the game.
what could it be...?
I'm not entirely sure, but I would try running the script with the libSDL that Neverwinter Nights comes with. I usually have better luck with that.
./nwmovies_install.pl lib/libSDL-1.2.so.0 from your nwn directory.
Leech
kmwatts
January 31st, 2007, 03:20 AM
I have NWN working from a terminal, all is fine and well. But when I try to create a desktop launcher pointing it to the nwn file in the games directory. I get a flash of terminal opening then returns to my desktop. Any Ideas?
techstop
January 31st, 2007, 03:34 AM
I have NWN working from a terminal, all is fine and well. But when I try to create a desktop launcher pointing it to the nwn file in the games directory. I get a flash of terminal opening then returns to my desktop. Any Ideas?
You need to give the full path to the executable, eg.
/home/techstop/nwn/nwn
I have also unticked the box that says "run command in a terminal". HTH.
kmwatts
January 31st, 2007, 03:54 AM
I have tried it, as a application, application in terminal,and as file. I right click then create launcher, fill in name, browse to the script file. Which is in /home/kmwatts/nw/nwn , select a icon save/ok. Pops up on the desktop, double click on it and poof. Get a flash of terminal if I have it set up to run in one. Then nothing. I have also tried creating script file to change to that directory then execute nwn but that too just pops up terminal then returns to the desktop. Could this be a permission issue?
Ken
techstop
January 31st, 2007, 04:08 AM
Here is my nwn script if that helps;
#!/bin/sh
# This script runs Neverwinter Nights from the current directory
cd /home/techstop/nwn
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=./usr/lib:./miles:$LD_LIBRARY_PATH
./nwmain $@
The permissions of nwn and nwmain are 777.
kmwatts
January 31st, 2007, 04:26 AM
Think I found it. My script file wasn't set up to change to the directory.....to many installs today...:D thanks for the help.
Ken
mistermax
January 31st, 2007, 05:08 AM
So does it only have the first expansion, Shadows of Undertide? That's what the Gold edition is.
Breaking it down, from what I can recall. You have the Original, then Gold Edition comes with the first expansion, Platinum comes with both expansions (Shadows of Undertide and Hordes of the Underdark) and Diamond comes with the both expansions and the Kingmaker module.
Leech
Aaaah right- then in that case it's the original as it has no expansion pack on it.
So basically so far I've tried using the Diamon/Platinum installer and the Gold installer, both for the wrong purpose.
So is there a simple way to install the Original Version? Or even some comprehensive instructions?
leech
February 1st, 2007, 10:44 AM
http://www.liflg.org/?catid=6&gameid=65
Try there for the 1.29 installer along with patches. Actually Ravage has one as well, though I think this one supports all languages instead of individual language patches.
Leech
MaximB
February 1st, 2007, 01:40 PM
I'm not entirely sure, but I would try running the script with the libSDL that Neverwinter Nights comes with. I usually have better luck with that.
./nwmovies_install.pl lib/libSDL-1.2.so.0 from your nwn directory.
Leech
sorry - no luck with the in-game movies :(
mistermax
February 1st, 2007, 05:10 PM
I ran the installer and got this:
Fatal signal: Segmentation Fault (SDL Parachute Deployed)
Chachee
February 4th, 2007, 08:13 AM
Thanks for the how-to.
Just had a few questions -
1. Does the script account for the new 1.68 update?
2. How does the script handle the Expansions? Seems that's what gave most people a hard time on the official forums.
3. What is the script written in? I would like to look at it to get some ideas and all that since I'm still new to it. If I try GEdit or cat it nothing/junk is displayed.
Again thanks for the how to!
JT
techstop
February 4th, 2007, 07:54 PM
Thanks for the how-to.
Just had a few questions -
1. Does the script account for the new 1.68 update?
2. How does the script handle the Expansions? Seems that's what gave most people a hard time on the official forums.
3. What is the script written in? I would like to look at it to get some ideas and all that since I'm still new to it. If I try GEdit or cat it nothing/junk is displayed.
Again thanks for the how to!
JT
1. I guess you want to know if you use the latest patch from step 5? I'm not sure. I installed a while ago with 1.67, then updated when 1.68 came out. You may have to do it that way too to be sure.
2. Expansions? This HOWTO is for the Platinum edition which contains SoU and HotU. Do you mean Premium Modules such as Kingmaker, Witches Wake etc? No idea, I don't have them.
3. It's a shell script as indicated by the sh extension. Not sure why it doesn't open in gedit, but you can have a look at the contents with;
grep |less install-nwn.sh
or even use vi.
leech
February 5th, 2007, 06:38 AM
Talk about a royal pain in the butt!
Ok, basically the install-nwn.sh is compressed using makeself. Unfortunately unmakeself is NO WHERE on the net for Linux, it's a FreeBSD program! I tried compiling it in Ubuntu, but finally gave up, downloaded PC-BSD Vmware file and then installed it with that and extracted the install-nwn.sh file. It contains several files, and I will attach it here for anyone who wants to hack away at this installer and add new features (NWMovies, Patches, et?)
While we're at it, how about making unmakeself available in the repositories, makeself is already.
Leech
Chachee
February 5th, 2007, 11:55 AM
Techstop,
I was talking about the premium content, but it seems they kinda have that figured out in the forums over at bioware, so I'll check there.
I'll check the patch when I install and let you all know here if it worked well.
FYI here's the link for bioware's install for reference. Don't remember if it's been posted already.
http://nwn.bioware.com/forums/viewtopic.html?topic=469853&forum=72
Leech,
thanks for posting the script! Sorry it was such a hassel. I've converted almost completely to Linux at this point and figured it was time to start learning scripting. I'm sure this will help.
JT
JT
leech
February 5th, 2007, 08:18 PM
Not a problem, you know the funny thing is, I haven't played Neverwinter Nights in a long time now. Usually I play it in cycles, get to a point where I'm stuck, then stop for a long time, then pick it up again :D Probably time I pick it up again.
I will say that PC-BSD looks mighty smooth, though I'm usually not a KDE guy. But at least I was able to use it for unmakeself.
Hopefully now someone can upgrade the script, I still don't know what happened to the original creator of it, all his websites have disappeared.
Leech
Chachee
February 6th, 2007, 02:10 AM
I'm going to have to get another box working here soon. So I'll destroy this script and see if I can get it working. I'll have to read up on unshield and all that too.
JT
Daergeth
February 6th, 2007, 09:20 PM
I just bought and got NWN in the mail, and its only 3 discs, and theyre not in zip format, but are .bzf. Anyone know how to install this? :(
daemoncat
February 7th, 2007, 10:05 PM
I ran into EXACTLY the same thing, see page 12 of this forum, posts #117 & #118 for all the stuff I tried. After running down several false leads, it turns out that "bzf" stands for "Boiware Zip Format", and the format doesn't seem to be recognized by gzip. As far as I know, there is no working fix. I never got NWN installed, and I still haven't been able to figure out that "incompatible implicit declaration of built in function 'exit'" error nonsense for the only bzf Linux tool I found.
I'm not a coder at all. This is past me, I suppose that it's possible to install via Windows and move the files to Linux, or maybe "unzip" the .bzf's in Windows, but as the file format seems so obscure, I doubt there's any Linux tool for it that works under Ubuntu. I'd be interested in any ideas. I sort of let it die. :(
leech
February 8th, 2007, 01:46 PM
That's messed up. My copy of Neverwinter Nights Platinum just uses 4 CDs and are all in the disk1.zip, disk2.zip, etc.
I wonder how many editions of Neverwinter Nights are out there? Where did you order this one from, I'd return it and tell them that you wanted it for running in Linux, but the edition they sold you wasn't compatible.
Worse thing that could happen is that they deny you, and you can then just download the original game from Bioware, using your CD-Key. The problem though is that I don't know if you can download the resource files for the expansion packs. You could also try emailing Bioware or Atari.
Leech
Chachee
February 9th, 2007, 03:11 PM
Ok,
Just got the Diamond DVD and ran through the script and install and here's how it went. Everything installed, but the premium content. No KingMaker got installed.
It ran through the wine part, I saw the Kingmaker screen, but it disappeared quickly and I saw all kinds of stuff scroll in the terminal. However, when I load the game and go to preimum content there is nothing to select.
Otherwise everything else went fine for diamond edition.
EDIT - Also, how would I load other modules and the CEP?
Any clue as to where to start looking for problems/fix?
JT
leech
February 9th, 2007, 08:16 PM
I don't currently own the Diamond edition, nor the Kingmaker premium module.
For the CEP stuff, all you have to do is download the .hak and .mod files that come with it and extract them into the appropriate folders. Or you can go to www.liflg.org and download the CEP installer that uses the Loki installer.
Leech
Chachee
February 10th, 2007, 08:35 AM
Hmm..
Well, it started to install Kingmaker and said it backed up my wine configs. I'll have another look at the script and see if I can figure out what it did, and bounce it off the 'official' guide at bioware.
JT
daemoncat
February 10th, 2007, 09:32 PM
Thanks for the ideas! I don't think I can use the "wanted Linux version". In little teeny tiny type it said on the box under "system requirements": "Windows". :-|
As I never played online, the download using cd-keys option never occurred to me! Thanks for that tip. I'm working on that one now. FWIW, picked up the game at Wal-Mart. Didn't look any different than any of the other versions I'd seen anywhere else. Maybe it was a very old copy? Who knows.
In any case, I have something to work on for this. Thanks again.
leech
February 11th, 2007, 10:01 AM
http://mandrivausers.org/lofiversion/index.php/t31601.html
Found this while looking for solutions to the bzf and neverwinter nights issue.
Maybe this is the answer you seek?
Leech
daemoncat
February 11th, 2007, 05:23 PM
Wow! I changed the CD-RW for a CD-ROM awhile back, and I just assumed that Edubuntu would follow the change and automagically update the fstab, symlinks, etc.. It didn't, so the NWN scripts couldn't find the files, and they usually just fail silently, unless one is watching the terminal window! Well, I got that sorted out and downloaded Ravage's plain NWN installer.
But ... the terminal showed an "Extraction successful" for disk 1, then nothing after "Extracting Install Disc2", even though the gui asked for the 3 discs by name, and in order, and gave me a successful install when finished. ... so had the Loki and other installers I tried.
Odd things:
1.) No apparent activity in the gui when disc 2 is worked on ... no "extracting file: xxx.xxx" messages or change in the "install progress" bar.
2.) Empty "portraits" directory. Maybe it is in a fresh install. I don't know, but it seems odd.
3.) Finally, after it's all done, this message when I try to run the "nwn" script to start the game:
dad@server:~/nwn$ ./nwn
mcop warning: user defined signal handler found for SIG_PIPE, overriding
Creating link /home/daddykins/.kde/socket-renoir.
can't create mcop directory
Permissions are all set to my user. :confused:
Whew! It's educational, I guess. :|
daemoncat
February 11th, 2007, 05:46 PM
Well, DOH! It's now the simple "export the correct sound drive" error! Maybe it'll work now ... ;-)
leech
February 12th, 2007, 12:41 PM
Well, as far as portraits go, I wouldn't worry, I don't even have a portraits directory!
Congratulations. I hope it's working. I haven't really played it in KDE (since I use GNOME)
Let us all know how it goes.
Leech
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.