Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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/
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.
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?
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.
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.
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?
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.