summarylogtreecommitdiffstats
path: root/unigine-sanctuary
blob: b0eb8f33ea841b1b0441279ea9e1feb0fbd1ea9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/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 \
  -system_script sanctuary/unigine.cpp \
  -data_path ../ \
  -extern_define RELEASE \
  -video_fullscreen ${full:-0} \
  -video_mode -1 \
  -video_width ${width:-1024} \
  -video_height ${height:-768}