summarylogtreecommitdiffstats
path: root/theme-hospital-gog.sh
diff options
context:
space:
mode:
Diffstat (limited to 'theme-hospital-gog.sh')
-rw-r--r--theme-hospital-gog.sh29
1 files changed, 29 insertions, 0 deletions
diff --git a/theme-hospital-gog.sh b/theme-hospital-gog.sh
new file mode 100644
index 00000000000..7234b4fc886
--- /dev/null
+++ b/theme-hospital-gog.sh
@@ -0,0 +1,29 @@
+#!/bin/bash
+#
+# simple launcher by carstene1ns 2014
+#
+
+# get script name
+script=${0##*/}
+
+# get game mode
+mode=${script#theme-hospital-}
+
+case "$mode" in
+ client)
+ EXTRACONF=dosboxth_client.conf
+ ;;
+ server)
+ EXTRACONF=dosboxth_server.conf
+ ;;
+ settings)
+ EXTRACONF=dosboxth_settings.conf
+ ;;
+ *)
+ EXTRACONF=dosboxth_single.conf
+esac
+
+# launch
+cd /opt/theme-hospital && exec dosbox -conf dosboxth.conf -conf $EXTRACONF
+
+# eof