summarylogtreecommitdiffstats
path: root/unigine-sanctuary
diff options
context:
space:
mode:
Diffstat (limited to 'unigine-sanctuary')
-rw-r--r--unigine-sanctuary19
1 files changed, 19 insertions, 0 deletions
diff --git a/unigine-sanctuary b/unigine-sanctuary
new file mode 100644
index 000000000000..085e958f16f1
--- /dev/null
+++ b/unigine-sanctuary
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+echo "fullscreen? Please enter 1 or 0. (1 = yes, 0 = no, default = no)"
+read full
+echo "video width? (default = 1024)"
+read width
+echo "video height? (default = 768)"
+read height
+
+export LD_LIBRARY_PATH=/opt/unigine-sanctuary/bin:$LD_LIBRARY_PATH
+/opt/unigine-sanctuary/bin/Sanctuary -video_app opengl \
+ -sound_app openal \
+ -engine_config ../data/unigine.cfg \
+ -data_path ../ \
+ -extern_define RELEASE \
+ -video_fullscreen ${full:-0} \
+ -video_mode -1 \
+ -video_width ${width:-1024} \
+ -video_height ${height:-768}