3 # Create user directory if it doesn't exist
4 if [ ! -d "$HOME/.nwn/" ]; then
10 # Uncomment to make SDL Sound work on Software Mixers
11 #export SDL_AUDIODRIVER=esd
12 export SDL_MOUSE_RELATIVE
=0
13 export SDL_VIDEO_X11_DGAMOUSE
=0
15 # Hardware Mouse Cursor
16 export XCURSOR_PATH
=/opt
/nwn
17 export XCURSOR_THEME
=nwmouse
19 # Enable AA on NVidia cards (/usr/share/doc/NVIDIA_GLX-1.0/README.txt)
20 # 3 = 1.5 x 1.5 super sampling
21 # 4 = 2x2 super sampling
22 export __GL_FSAA_MODE
=4
24 # Add Miles Sound Codec to Library Path
25 export LD_LIBRARY_PATH
=.
/miles
:$LD_LIBRARY_PATH
27 # Per-User Settings Support, Hardware Mouse Cursor Support, Linux Movies Support, Client Side Chat Logging Support
28 export LD_PRELOAD
=.
/nwuser.so
:.
/nwuser64.so
:.
/nwmouse.so
:.
/nwmovies.so
:.
/nwlogger.so
30 # Run Neverwinter Nights