Ubuntu question

Moderator: Event DM

Post Reply
User avatar
plap33
Prince of Bloated Discourse
Posts: 150
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Ubuntu question

Post by plap33 » Wed Sep 09, 2009 5:27 am

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!?
User avatar
Darkfire
Demigod of Posts
Posts: 16130
Joined: Sat Feb 12, 2005 4:50 pm
Timezone: CST (-5 GMT)
Location: Missouri
Contact:

Re: Ubuntu question

Post by Darkfire » Wed Sep 09, 2009 5:34 am

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
CoEMF :devil: :feuer:
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
User avatar
plap33
Prince of Bloated Discourse
Posts: 150
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

Post by plap33 » Wed Sep 09, 2009 5:51 am

Thank you, that did the trick on logging in simultaneously. Any ideas on why it crashes in the AKN?

Thanks again

plap33
User avatar
Darkfire
Demigod of Posts
Posts: 16130
Joined: Sat Feb 12, 2005 4:50 pm
Timezone: CST (-5 GMT)
Location: Missouri
Contact:

Re: Ubuntu question

Post by Darkfire » Wed Sep 09, 2009 5:53 am

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.
CoEMF :devil: :feuer:
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
User avatar
plap33
Prince of Bloated Discourse
Posts: 150
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

Post by plap33 » Wed Sep 09, 2009 5:59 am

Thanks, I'll give that a try.
User avatar
plap33
Prince of Bloated Discourse
Posts: 150
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

Post by plap33 » Wed Sep 09, 2009 6:31 am

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?
User avatar
Darkfire
Demigod of Posts
Posts: 16130
Joined: Sat Feb 12, 2005 4:50 pm
Timezone: CST (-5 GMT)
Location: Missouri
Contact:

Re: Ubuntu question

Post by Darkfire » Wed Sep 09, 2009 6:34 am

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 :P)
CoEMF :devil: :feuer:
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
User avatar
plap33
Prince of Bloated Discourse
Posts: 150
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

Post by plap33 » Wed Sep 09, 2009 6:40 am

Your help has been great so far. I'll try what suggest.

Thanks again
User avatar
Marleh
Demigod of Posts
Posts: 8650
Joined: Mon Jun 07, 2004 5:34 pm
Location: GMT -8

Re: Ubuntu question

Post by Marleh » Wed Sep 09, 2009 7:50 am

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?
Dame Moira Celyn (Windspar) Callindraes - Just a little bit...
User avatar
Darkfire
Demigod of Posts
Posts: 16130
Joined: Sat Feb 12, 2005 4:50 pm
Timezone: CST (-5 GMT)
Location: Missouri
Contact:

Re: Ubuntu question

Post by Darkfire » Wed Sep 09, 2009 7:52 am

Arg, I forgot about that by the time I got around to posting the Ubuntu fix.

Thanks
CoEMF :devil: :feuer:
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
User avatar
Pekarion
CCC
CCC
Posts: 2177
Joined: Tue May 13, 2003 2:03 pm
Timezone: GMT+1
Location: Norway

Re: Ubuntu question

Post by Pekarion » Wed Sep 09, 2009 8:56 am

So tasty
Image
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)
tizmo
Team Member; Retired with Honors
Posts: 3428
Joined: Thu May 19, 2005 2:53 pm
Timezone: GMT-4
Location: GMT-4

Re: Ubuntu question

Post by tizmo » Mon Sep 14, 2009 3:38 am

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
User avatar
plap33
Prince of Bloated Discourse
Posts: 150
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

Post by plap33 » Tue Sep 15, 2009 5:25 am

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.
User avatar
Themicles
CoPaP Ambassador
Posts: 2673
Joined: Wed Jan 29, 2003 10:45 pm
Location: Wolverine Lake, MI
Contact:

Re: Ubuntu question

Post by Themicles » Tue Sep 15, 2009 5:57 am

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.
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. :P
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. :)
User avatar
plap33
Prince of Bloated Discourse
Posts: 150
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

Post by plap33 » Wed Sep 16, 2009 2:46 am

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?
tizmo
Team Member; Retired with Honors
Posts: 3428
Joined: Thu May 19, 2005 2:53 pm
Timezone: GMT-4
Location: GMT-4

Re: Ubuntu question

Post by tizmo » Wed Sep 16, 2009 3:35 am

correct.
User avatar
plap33
Prince of Bloated Discourse
Posts: 150
Joined: Mon Aug 15, 2005 6:46 am
Location: GMT -7

Re: Ubuntu question

Post by plap33 » Wed Sep 16, 2009 4:44 am

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
User avatar
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

Post by Gorgon » Wed Sep 16, 2009 5:49 am

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.
"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~
User avatar
Themicles
CoPaP Ambassador
Posts: 2673
Joined: Wed Jan 29, 2003 10:45 pm
Location: Wolverine Lake, MI
Contact:

Re: Ubuntu question

Post by Themicles » Wed Sep 16, 2009 5:05 pm

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.
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. :P
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. :)
User avatar
Buddha
Head of Development
Head of Development
Posts: 3243
Joined: Tue Mar 15, 2005 11:06 pm
Timezone: GMT-4 (EST)
Location: Sitting Down
Contact:

Re: Ubuntu question

Post by Buddha » Wed Sep 16, 2009 5:10 pm

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.
:shock: :evil:

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.
User avatar
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

Post by maxinion » Wed Sep 16, 2009 5:11 pm

It ought to work Buddha. I've heard this as well.
Post Reply