aboutsummaryrefslogtreecommitdiff
path: root/dists/openpandora/runscummvm.sh
diff options
context:
space:
mode:
authorDavid-John Willis2012-01-22 16:36:52 +0000
committerDavid-John Willis2012-01-22 16:53:31 +0000
commitb429096b36cf44f773f01b371c0ff5a60ed61c95 (patch)
tree4532d17be0bafabd6ab5657877d585c03bd3eb06 /dists/openpandora/runscummvm.sh
parent888c341c7a5738ef8cfd838ab711d864f4ebd0c3 (diff)
downloadscummvm-rg350-b429096b36cf44f773f01b371c0ff5a60ed61c95.tar.gz
scummvm-rg350-b429096b36cf44f773f01b371c0ff5a60ed61c95.tar.bz2
scummvm-rg350-b429096b36cf44f773f01b371c0ff5a60ed61c95.zip
OPENPANDORA: Move all dist files into own folder under dists.
* Update OpenPandora bundle targets to suit new layout. * Also add .in input files so we can automatically update version numbers.
Diffstat (limited to 'dists/openpandora/runscummvm.sh')
-rw-r--r--dists/openpandora/runscummvm.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/dists/openpandora/runscummvm.sh b/dists/openpandora/runscummvm.sh
new file mode 100644
index 0000000000..9c9d8362cb
--- /dev/null
+++ b/dists/openpandora/runscummvm.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+# Make sure any extra libs not in the firmware are pulled in.
+LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:../lib
+export LD_LIBRARY_PATH
+
+# Ensure we have a folder to store save games on the SD card.
+mkdir saves
+
+# make a runtime dir, just incase it creates anything in CWD
+mkdir runtime
+cd runtime
+
+../bin/scummvm --fullscreen --gfx-mode=2x --config=../scummvm.config --themepath=../data