Page 1 of 1
Ubuntu question
Posted: Wed Sep 09, 2009 5:27 am
by plap33
Hello.
I recently setup a computer with Ubuntu Linux and loaded NWN on it. Everything seems to work fine except for two things that I noticed so far. I crash when I enter the AKN in Visimontium ~most~ of the time I try. At first I thought maybe I didn't have all the files moved over, so I fiddled with it and re-did the ./fixinstall command and it worked, I was able to go in and out of the AKN a few times. When I tried to go into the AKN the next time I played "crash!" and has now ever since.
The other problem is, I want to have a friend play on my Windows machine while I play on my Linux machine, but I crash whenever I try and have them both on at the same time. I have two different accounts, one install is Platinum the other is Diamond with different codes. I don't think it's my network, because I can log in with two Windows machines, just not a Windows and a LInux. I noticed that when the Linux machine crashes, the character I was playing stays stuck on the server I was on. I can even log in the same character and see a copy of it.
I hope I am making sense. I am just a N00b13 trying to learn not to be. Can anyone help me...please!?
Re: Ubuntu question
Posted: Wed Sep 09, 2009 5:34 am
by Darkfire
For your logging on at the same time issue:
Find your directory file for NWN on ubuntu, and open up the nwnplayer.ini file. On Windows it is (by default) located in C:\NeverwinterNights\NWN\
Locate the ' Client Port=51## '
Make sure the two numbers are different for each user (your friends and yours), ie:
Client Port=5121
Client Port=5122
Re: Ubuntu question
Posted: Wed Sep 09, 2009 5:51 am
by plap33
Thank you, that did the trick on logging in simultaneously. Any ideas on why it crashes in the AKN?
Thanks again
plap33
Re: Ubuntu question
Posted: Wed Sep 09, 2009 5:53 am
by Darkfire
My guesses would be corrupted haks, but they're just guesses.
Re download Ferrell HAKs here:
http://wiki.avlis.org/Needed_files#Ferrell
Try the CTP Generic Doors hak - 1.69 first. If it still doesn't work, then go ahead and try out the rest.
Re: Ubuntu question
Posted: Wed Sep 09, 2009 5:59 am
by plap33
Thanks, I'll give that a try.
Re: Ubuntu question
Posted: Wed Sep 09, 2009 6:31 am
by plap33
I notice when I run ./fixinstall there are a number of hak, erf, and custom music files that are not getting their case changed. I suppose I'll have to change them manually?
Re: Ubuntu question
Posted: Wed Sep 09, 2009 6:34 am
by Darkfire
plap33 wrote:I notice when I run ./fixinstall there are a number of hak, erf, and custom music files that are not getting their case changed. I suppose I'll have to change them manually?
Make a copy of the hak folder and use it as a backup. Start changing the files in the hak folder manually. If anything messes up, just delete the hak folder and rename the copied backup to haks to revert the changes. Won't hurt to try and see if that will help.
(I've only used Ubuntu just a few times, so until someone more knowledgeable about linux/unix stuff pops in, you'll have to settle with my help

)
Re: Ubuntu question
Posted: Wed Sep 09, 2009 6:40 am
by plap33
Your help has been great so far. I'll try what suggest.
Thanks again
Re: Ubuntu question
Posted: Wed Sep 09, 2009 7:50 am
by Marleh
He's talking about the Visimontium AKN, not the Ferrell branch.
I remember that the Visimontium AKN had three of the glowing crystal placeables set in the floor in the entrance hall and that was causing a lot of people to crash. There was a thread about it in the AKN forums, but it looks like it's been deleted. Maybe check the AKN private boards about it?
Re: Ubuntu question
Posted: Wed Sep 09, 2009 7:52 am
by Darkfire
Arg, I forgot about that by the time I got around to posting the Ubuntu fix.
Thanks
Re: Ubuntu question
Posted: Wed Sep 09, 2009 8:56 am
by Pekarion
So tasty

Re: Ubuntu question
Posted: Mon Sep 14, 2009 3:38 am
by tizmo
If you find a solution to the crashing problem when entering the Visi AKN, I'd like to know. I'm running on Ubuntu and it takes several tries to get into the AKN successfully.
Thanks!
Tizmo
Re: Ubuntu question
Posted: Tue Sep 15, 2009 5:25 am
by plap33
I still don't have it solved. If I run ./fixinstall it works like it should, but exiting the game, or shutting off the computer, I'm not sure which, does something to make it crash.
Re: Ubuntu question
Posted: Tue Sep 15, 2009 5:57 am
by Themicles
The fix install has a quite specific list of files to go after.
I found a very handy script searching the internet. Used it on my newer Linux based server's hak directory to great effect.
BioWare could have just used this to cover everything. Copy and paste into your favorite text editor and save as a .sh then run it.
Code: Select all
#!/bin/sh
# lowerit
# convert all file names in the current directory to lower case
# only operates on plain files--does not change the name of directories
# will ask for verification before overwriting an existing file
for x in `ls`
do
if [ ! -f $x ]; then
continue
fi
lc=`echo $x | tr '[A-Z]' '[a-z]'`
if [ $lc != $x ]; then
mv -i $x $lc
fi
done
EDIT: Note that I've only used it on one directory at a time, from within that directory. It doesn't appear to be written in such a way as to support sub directories.
Re: Ubuntu question
Posted: Wed Sep 16, 2009 2:46 am
by plap33
Thank you for posting this script. Let me just make sure I understand the proper way to run this script. I save the file in a text editor as lowerit.sh and move it into my hak file then in a terminal move to the hak directory and type this?
chmod +x lowerit.sh
sh ./lowerit.sh
Is this right?
Re: Ubuntu question
Posted: Wed Sep 16, 2009 3:35 am
by tizmo
correct.
Re: Ubuntu question
Posted: Wed Sep 16, 2009 4:44 am
by plap33
I ran the script in the hak directory, but I'm still experiencing intermittent crashes when entering the Visimontium AKN. Is there perhaps another folder I should also run it in?
thanks
plap33
Re: Ubuntu question
Posted: Wed Sep 16, 2009 5:49 am
by Gorgon
Marleh wrote:He's talking about the Visimontium AKN, not the Ferrell branch.
I remember that the Visimontium AKN had three of the glowing crystal placeables set in the floor in the entrance hall and that was causing a lot of people to crash. There was a thread about it in the AKN forums, but it looks like it's been deleted. Maybe check the AKN private boards about it?
I had the same bug with those gems when they were partially sunk too far behind walls in another project. I still crash going in the AKN sometimes myself, though I haven't tried in a long while, so I don't think it is just your running Linux. I'm running XP btw. I can't remember exactly what I did to fix it after this much time, but I think I had to keep them not static. This means they can be blown up with AoE spells, so it kinda sucks, but they can always make them plot if they are really important. I'm pretty sure it was just the blue one that causes the problem, since I (of course) had to like blue gems at the time. I remember testing others as replacements, and them working fine, though I could have just been lucky.
If I have some free time in the next day or two, I'll run some experiments.
Re: Ubuntu question
Posted: Wed Sep 16, 2009 5:05 pm
by Themicles
Gorgon wrote:Marleh wrote:He's talking about the Visimontium AKN, not the Ferrell branch.
I remember that the Visimontium AKN had three of the glowing crystal placeables set in the floor in the entrance hall and that was causing a lot of people to crash. There was a thread about it in the AKN forums, but it looks like it's been deleted. Maybe check the AKN private boards about it?
I had the same bug with those gems when they were partially sunk too far behind walls in another project. I still crash going in the AKN sometimes myself, though I haven't tried in a long while, so I don't think it is just your running Linux. I'm running XP btw. I can't remember exactly what I did to fix it after this much time, but I think I had to keep them not static. This means they can be blown up with AoE spells, so it kinda sucks, but they can always make them plot if they are really important. I'm pretty sure it was just the blue one that causes the problem, since I (of course) had to like blue gems at the time. I remember testing others as replacements, and them working fine, though I could have just been lucky.
If I have some free time in the next day or two, I'll run some experiments.
Now that you mention that... yes I remember running into this on Tairis and coming to the same conclusion. They cannot be set to static or there are client crash issues.
Re: Ubuntu question
Posted: Wed Sep 16, 2009 5:10 pm
by Buddha
Themicles wrote:Gorgon wrote:but I think I had to keep them not static.
Now that you mention that... yes I remember running into this on Tairis and coming to the same conclusion. They cannot be set to static or there are client crash issues.
That's the answer? FFS, I think I tried everything EXCEPT not setting it to static to get one of the yellow crystals to work!
/me bangs his head on the desk
If this works, I owe you both a couple of drinks.
Re: Ubuntu question
Posted: Wed Sep 16, 2009 5:11 pm
by maxinion
It ought to work Buddha. I've heard this as well.