summarylogtreecommitdiffstats
path: root/nwn.launcher
diff options
context:
space:
mode:
authorSlashbunny2011-02-08 23:29:37 -0500
committerSlashbunny2011-02-08 23:29:37 -0500
commit95a9623139e3a92bba213a6d8e870f90042a6ec3 (patch)
tree7310db6da85c08f797a548b330f84155d9b77e27 /nwn.launcher
parentb76216db746dcf46093981fa4660f16f4cadd5cb (diff)
downloadaur-95a9623139e3a92bba213a6d8e870f90042a6ec3.tar.gz
Many fixes, mostly to get x86_64 to work properly
Diffstat (limited to 'nwn.launcher')
-rw-r--r--nwn.launcher7
1 files changed, 6 insertions, 1 deletions
diff --git a/nwn.launcher b/nwn.launcher
index 6a38ff7b6058..b0b3c0a89b62 100644
--- a/nwn.launcher
+++ b/nwn.launcher
@@ -1,5 +1,10 @@
#!/bin/sh
+# Create user directory if it doesn't exist
+if [ ! -d "$HOME/.nwn/" ]; then
+ mkdir $HOME/.nwn/
+fi
+
cd "/opt/nwn"
# Uncomment to make SDL Sound work on Software Mixers
@@ -20,7 +25,7 @@ export __GL_FSAA_MODE=4
export LD_LIBRARY_PATH=./miles:$LD_LIBRARY_PATH
# Per-User Settings Support, Hardware Mouse Cursor Support, Linux Movies Support, Client Side Chat Logging Support
-export LD_PRELOAD=./nwuser.so:./nwmouse.so:./nwmovies.so:./nwlogger.so
+export LD_PRELOAD=./nwuser.so:./nwuser64.so:./nwmouse.so:./nwmovies.so:./nwlogger.so
# Run Neverwinter Nights
./nwmain $*