Ubuntu question
Moderator: Event DM
Ubuntu question
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!?
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!?
- Darkfire
- Demigod of Posts
- Posts: 16130
- Joined: Sat Feb 12, 2005 4:50 pm
- Timezone: CST (-5 GMT)
- Location: Missouri
- Contact:
Re: Ubuntu question
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
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
CoEMF

WrathOG777: This is a roleplaying game. There is no such thing as winning or losing. Only playing.
Player of Dameon Nepirtas, Nel'Cial, and Pickle Mistbreeze


WrathOG777: This is a roleplaying game. There is no such thing as winning or losing. Only playing.
Player of Dameon Nepirtas, Nel'Cial, and Pickle Mistbreeze
Re: Ubuntu question
Thank you, that did the trick on logging in simultaneously. Any ideas on why it crashes in the AKN?
Thanks again
plap33
Thanks again
plap33
- Darkfire
- Demigod of Posts
- Posts: 16130
- Joined: Sat Feb 12, 2005 4:50 pm
- Timezone: CST (-5 GMT)
- Location: Missouri
- Contact:
Re: Ubuntu question
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 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.
CoEMF

WrathOG777: This is a roleplaying game. There is no such thing as winning or losing. Only playing.
Player of Dameon Nepirtas, Nel'Cial, and Pickle Mistbreeze


WrathOG777: This is a roleplaying game. There is no such thing as winning or losing. Only playing.
Player of Dameon Nepirtas, Nel'Cial, and Pickle Mistbreeze
Re: Ubuntu question
Thanks, I'll give that a try.
Re: Ubuntu question
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?
- Darkfire
- Demigod of Posts
- Posts: 16130
- Joined: Sat Feb 12, 2005 4:50 pm
- Timezone: CST (-5 GMT)
- Location: Missouri
- Contact:
Re: Ubuntu question
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

CoEMF

WrathOG777: This is a roleplaying game. There is no such thing as winning or losing. Only playing.
Player of Dameon Nepirtas, Nel'Cial, and Pickle Mistbreeze


WrathOG777: This is a roleplaying game. There is no such thing as winning or losing. Only playing.
Player of Dameon Nepirtas, Nel'Cial, and Pickle Mistbreeze
Re: Ubuntu question
Your help has been great so far. I'll try what suggest.
Thanks again
Thanks again
Re: Ubuntu question
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 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?
Dame Moira Celyn (Windspar) Callindraes - Just a little bit...
- Darkfire
- Demigod of Posts
- Posts: 16130
- Joined: Sat Feb 12, 2005 4:50 pm
- Timezone: CST (-5 GMT)
- Location: Missouri
- Contact:
Re: Ubuntu question
Arg, I forgot about that by the time I got around to posting the Ubuntu fix.
Thanks
Thanks
CoEMF

WrathOG777: This is a roleplaying game. There is no such thing as winning or losing. Only playing.
Player of Dameon Nepirtas, Nel'Cial, and Pickle Mistbreeze


WrathOG777: This is a roleplaying game. There is no such thing as winning or losing. Only playing.
Player of Dameon Nepirtas, Nel'Cial, and Pickle Mistbreeze
Re: Ubuntu question
So tasty


Bentren Dunbarrow (Crypt Enthusiast), Sanna Armsfeldt (Swordpoint), Ashanith Esban (Shadow Magic), Terry Murkhorn (Crime), Gravesend (Stoic Brute), Jorian (Lightning Bolt!), Kedar (Hapless Blackguard), Redwyn Ironhart (Decisive Toranite)
-
- Team Member; Retired with Honors
- Posts: 3428
- Joined: Thu May 19, 2005 2:53 pm
- Timezone: GMT-4
- Location: GMT-4
Re: Ubuntu question
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
Thanks!
Tizmo
Re: Ubuntu question
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.
- Themicles
- CoPaP Ambassador
- Posts: 2673
- Joined: Wed Jan 29, 2003 10:45 pm
- Location: Wolverine Lake, MI
- Contact:
Re: Ubuntu question
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.
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.
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
A wise man does not dwell on his past. He learns from it, he grows from it, and then moves ahead into his future.
And some wise words from a wise man.
And some wise words from a wise man.

Orleron wrote:You have to excuse Themi. Tact, diplomacy, and softness are not his best traits, but he does not mean anything by his writing. He's a nice guy. You just get used to it after a while because he doesn't seem to learn.
Re: Ubuntu question
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?
chmod +x lowerit.sh
sh ./lowerit.sh
Is this right?
-
- Team Member; Retired with Honors
- Posts: 3428
- Joined: Thu May 19, 2005 2:53 pm
- Timezone: GMT-4
- Location: GMT-4
Re: Ubuntu question
correct.
Re: Ubuntu question
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
thanks
plap33
- Gorgon
- Father of Avlis EE
- Posts: 6637
- Joined: Fri Oct 17, 2003 10:14 pm
- Timezone: PST -8
- Location: Vancouver, BC, Canada
Re: Ubuntu question
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.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?
If I have some free time in the next day or two, I'll run some experiments.
"God not only plays dice, he throws them in the corner where you can't see them."
-- Stephen William Hawking (1942-2018) --
Sprucing up ye olde NWN | NWN:EE Wiki | ~Avlis Theme Song~
-- Stephen William Hawking (1942-2018) --
Sprucing up ye olde NWN | NWN:EE Wiki | ~Avlis Theme Song~
- Themicles
- CoPaP Ambassador
- Posts: 2673
- Joined: Wed Jan 29, 2003 10:45 pm
- Location: Wolverine Lake, MI
- Contact:
Re: Ubuntu question
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.Gorgon wrote: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.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?
If I have some free time in the next day or two, I'll run some experiments.
A wise man does not dwell on his past. He learns from it, he grows from it, and then moves ahead into his future.
And some wise words from a wise man.
And some wise words from a wise man.

Orleron wrote:You have to excuse Themi. Tact, diplomacy, and softness are not his best traits, but he does not mean anything by his writing. He's a nice guy. You just get used to it after a while because he doesn't seem to learn.
- Buddha
- Head of Development
- Posts: 3243
- Joined: Tue Mar 15, 2005 11:06 pm
- Timezone: GMT-4 (EST)
- Location: Sitting Down
- Contact:
Re: Ubuntu question
Themicles wrote: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.Gorgon wrote:but I think I had to keep them not static.


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.
- maxinion
- Team Member; Retired with Honors
- Posts: 2778
- Joined: Mon Mar 17, 2003 7:44 pm
- DM Avatar: Andrinor
- Location: Bay Area, CA
- Contact:
Re: Ubuntu question
It ought to work Buddha. I've heard this as well.