aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-10-14 07:58:49 +0200
committerSven Gothel <[email protected]>2012-10-14 07:58:49 +0200
commita777992e3c86f99315ce8cc670173a054052ea66 (patch)
tree5aa256355c89738c7709a01ac42dc426c9b71f62
parent0add8be03f8af8462916f9e2433673543ee33758 (diff)
Start scripts: Adding hints for timeout (as req. on rasp-pi since it's very slow w/ ES2 0.5fps)
-rw-r--r--Jake2.sh5
-rw-r--r--scripts/Jake2_dedicated.sh6
2 files changed, 7 insertions, 4 deletions
diff --git a/Jake2.sh b/Jake2.sh
index b02536b..42a51f2 100644
--- a/Jake2.sh
+++ b/Jake2.sh
@@ -12,5 +12,8 @@ CP=lib/jogamp/gluegen-rt.jar:lib/jogamp/joal.jar:lib/jogamp/jogl-all.jar:dist/li
#D_ARGS="-Djogl.debug.DebugGL"
#D_ARGS="-Djogl.debug.TraceGL"
#D_ARGS="-Djogl.debug.FixedFuncImpl"
+#D_ARGS="-Djogl.debug.FixedFuncPipeline"
-exec java -Xmx100M -cp $CP $D_ARGS jake2.Jake2 $*
+#G_ARGS="+connect 10.1.0.52 +set cl_timeout 12000"
+
+exec java -Xmx100M -cp $CP $D_ARGS jake2.Jake2 $G_ARGS $*
diff --git a/scripts/Jake2_dedicated.sh b/scripts/Jake2_dedicated.sh
index 1843b8a..8f9484e 100644
--- a/scripts/Jake2_dedicated.sh
+++ b/scripts/Jake2_dedicated.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-cd `dirname $0`
+cd `dirname $0`/..
-CP=lib/jake2.jar
+CP=dist/lib/jake2.jar
-exec java -Xmx64M -cp $CP jake2.Jake2 +set dedicated 1
+exec java -Xmx64M -cp $CP $D_ARGS jake2.Jake2 +set dedicated 1 +set timeout 12000 $*