aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/openpandora/build/runscummvm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/openpandora/build/runscummvm.sh')
-rwxr-xr-xbackends/platform/openpandora/build/runscummvm.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/backends/platform/openpandora/build/runscummvm.sh b/backends/platform/openpandora/build/runscummvm.sh
new file mode 100755
index 0000000000..0745bb41fd
--- /dev/null
+++ b/backends/platform/openpandora/build/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=scummvmrc --extrapath=../data --savepath=../saves