LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-02-2003, 08:42 AM   #16
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69

I don't know, honestly though, no I doubt it It's worth a shot though. When I get home I'll see what I did and post back.

Cool
 
Old 06-02-2003, 08:46 AM   #17
LizardMan
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: Zenwalk & Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
Rockin... thanks!
 
Old 06-02-2003, 08:50 AM   #18
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Just ssh'd into my box to check it out really quick. I symlinked to my nwn directory (this might be where your problem lies) which is globally accessible. I don't see why you'd have a problem placing your nwn directory in /usr/local/games or /usr/games and simply allowing your user to execute from that directory?

Here's my permissions on everything:
Code:
masterc@masterc:~$ ls -l /usr/local/games/
total 4
drwxrwxr-x   22 masterc  users        4096 May 24 15:37 nwn/
(fyi, masterc is my user)
Code:
masterc@masterc:/usr/local/games/nwn$ ls -l
total 16448
-rw-r--r--    1 masterc  users       43650 Apr  9 20:52 NWNv129.txt
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:51 ambient/
-rw-r--r--    1 masterc  users      966016 Apr  9 20:39 chitin.key
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:51 data/
-rw-r--r--    1 masterc  users     7482259 Apr  9 20:52 dialog.tlk
-rwxr-xr-x    1 masterc  users        1247 Apr  9 20:38 dmclient*
-rw-r--r--    1 masterc  users        6334 Apr  9 20:51 dmicon.xpm
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:39 dmvault/
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:39 docs/
-rwxr--r--    1 masterc  users        1429 Apr  9 20:51 fixinstall*
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:51 hak/
-rw-r--r--    1 masterc  users       13145 Apr  9 20:53 license.txt
drwxr-xr-x    2 masterc  users        4096 May 12 17:44 localvault/
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:55 logs/
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:51 miles/
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:51 modules/
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:50 music/
-rw-r--r--    1 masterc  users          65 Apr  9 20:51 nwhak.ini
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:52 nwm/
-rwxr-xr-x    1 masterc  users     8063413 Apr  9 20:51 nwmain*
-rwxr-xr-x    1 masterc  users        1222 Apr  9 20:38 nwn*
-rw-r--r--    1 masterc  users         766 Apr  9 20:49 nwn.ico
-rw-r--r--    1 masterc  users         835 May 24 15:25 nwn.ini
-rw-r--r--    1 masterc  users        2448 Apr  9 20:51 nwn.xpm
-rw-r--r--    1 masterc  users         333 Apr  9 20:54 nwncdkey.ini
-rw-r--r--    1 masterc  users        1384 May 24 15:37 nwnplayer.ini
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:52 override/
-rw-r--r--    1 masterc  users       28779 Apr  9 20:52 patch.key
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:51 portraits/
-rw-r--r--    1 masterc  users       26910 Apr  9 20:51 readme-SDL.txt
-rw-r--r--    1 masterc  users       44606 Apr  9 20:53 readme.nwn
-rw-r--r--    1 masterc  users        1451 Apr  9 20:51 readme.txt
drwxr-xr-x    4 masterc  users        4096 May 17 19:29 saves/
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:48 scripttemplates/
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:39 servervault/
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:52 source/
drwxr-xr-x    2 masterc  users        4096 May 15 20:18 tempclient/
drwxr-xr-x    2 masterc  users        4096 Apr  9 20:52 texturepacks/
-rwxr-xr-x    1 masterc  users        1121 Apr  9 20:53 uninstall*
masterc@masterc:/usr/local/games/nwn$
HTH

Cool
 
Old 06-02-2003, 08:52 AM   #19
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Oh, and the symlink info:
Code:
masterc@masterc:~$ whereis nwn
nwn: /usr/local/bin/nwn /usr/local/games/nwn
masterc@masterc:~$ ls -l /usr/local/bin/nwn
lrwxrwxrwx    1 root     root           24 Apr  9 20:38 /usr/local/bin/nwn -> /usr/local/games/nwn/nwn*
masterc@masterc:~$
Cool
 
Old 06-02-2003, 08:57 AM   #20
LizardMan
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: Zenwalk & Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
How did you put the files in /usr/local/games/nwn/ as a user? I tried and it said permision denied. So I did it as root and then I coulnt run it as a user.
 
Old 06-02-2003, 09:32 AM   #21
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
after putting the files in as root, use 'chown -R username dir'
to be able to use it as normal user.
 
Old 06-02-2003, 09:37 AM   #22
LizardMan
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: Zenwalk & Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
Well, I got the game install in '/usr/local/games/nwn'
all I did was move it there and it worked this time... I think i might have done something different before on accident.
I made the symlink again, but it still returns that line 12 error about nwmain not being there... you know why?
 
Old 06-02-2003, 11:16 AM   #23
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Hi, I'm home now! And I run neverwinter nights from anywhere, no problems. Show us your info, use the same codes as I've used above so we can see all the permissions and where symlinks are pointing. Also give us the result of:
echo $PATH
as your normal user. I'm betting on this being a permission problem more than anything, but I'll look into alternative possibilities in the mean time.

Cool
 
Old 06-02-2003, 12:58 PM   #24
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
This might be totally dense, but why not just edit the nwn script to move into the directory that nwn is installed to? This is what my script looks like:

Code:
#!/bin/sh

cd /usr/local/games/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

./nwmain $@
Symlinking this to /usr/local/bin/ works perfectly.
 
Old 06-03-2003, 12:17 AM   #25
LizardMan
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: Zenwalk & Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
That does work perfectly!!! Heh, thanks Obi! And thanks to the rest of you. Especially MasterC for being so patient with my newbiness.
 
Old 06-03-2003, 02:24 AM   #26
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
I didn't do anything, Obi's the man! Nice one! I just looked my nwn script over, looks alot different than yours do. What beta are you guys using? And how did you go about doing the install?

Cool
 
Old 06-03-2003, 04:01 AM   #27
neenee
Member
 
Registered: Feb 2003
Location: Netherlands
Distribution: debian (sid)
Posts: 693

Rep: Reputation: 30
hmm.. good point and interesting question.. since i
used ravages' installer, which uses an old beta version
of the linux client (beta 2 i believe).
 
Old 06-03-2003, 04:23 PM   #28
LizardMan
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: Zenwalk & Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
I just DLed the binaries from the bioware site and followed the directions. They included copying some files from a windows installation, then unpacking the client into the same dir. Oh, and running a script called fixintall within the directory. (./fixinstall)

I think mines Beta 3... and I also just remembered that the windows installation that you get the files from has to be updated to 1.29 or above.

Last edited by LizardMan; 06-03-2003 at 04:26 PM.
 
Old 06-03-2003, 05:59 PM   #29
Obi Perrin
Member
 
Registered: Nov 2002
Posts: 136

Rep: Reputation: 15
MasterC: I bet you used the Ravage install? I used it when I was on LFS and it's nwn startup script was very much different to the one distributed by default with the client download.

Moving to Mandrake 9.1 (at least until I have sufficient bandwidth for Gentoo) meant I couldn't use that because of the glibc 2.3 incompatibility. So I just followed the instructions on the nwn site (transfer from a windows install). It does seem though that the ravage start-up script is much better than the default.

LizardMan: Beta 3? It's up to Beta 6 now, which includes a few fixes and the ability to browse servers online.
 
Old 06-03-2003, 07:44 PM   #30
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Yep, that's gotta be it Glad we figured this out, I was completely unaware of the differences. I don't suppose anyone has gotten the movies working yet?

Beta 6!? Wow, I used beta 4. And the Ravage installer.

Oh and as for gentoo, woohoo! Love it. (Just did it a few weeks ago) It's mandrake, optimized, and with a bit of learning involved. And since you've done an LFS, not really much learning But still, easier than an LFS with all the optimized benefits.

Cool
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NeverWinter Nights GML3G0 Linux - Games 8 06-27-2006 01:08 PM
Can't run Neverwinter Nights drowbot Linux - Games 7 03-28-2005 10:11 AM
neverwinter nights slugishness mnchur Linux - Games 4 03-17-2004 02:47 PM
Neverwinter Nights Comarez Linux - Games 9 02-07-2004 06:11 AM
Neverwinter Nights Error billk Linux - Games 8 12-13-2003 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration