aboutsummaryrefslogtreecommitdiff
path: root/dists/webos
diff options
context:
space:
mode:
authorKlaus Reimer2011-04-03 00:01:26 +0200
committerMax Horn2011-04-12 11:05:17 +0200
commit7c5c6803abe774cd77dcc38dd4ede00e7eec76e4 (patch)
treefe6df8e0f20bec5bc71eae00cd8a4c8de4655f1c /dists/webos
parent72d206dc738b41379d468f9f256c3225e20425f0 (diff)
downloadscummvm-rg350-7c5c6803abe774cd77dcc38dd4ede00e7eec76e4.tar.gz
scummvm-rg350-7c5c6803abe774cd77dcc38dd4ede00e7eec76e4.tar.bz2
scummvm-rg350-7c5c6803abe774cd77dcc38dd4ede00e7eec76e4.zip
WEBOS: Add webos backend
IPK can be built with "make webosrelease".
Diffstat (limited to 'dists/webos')
-rw-r--r--dists/webos/mojo/appinfo.json10
-rw-r--r--dists/webos/mojo/icon.pngbin0 -> 3290 bytes
-rw-r--r--dists/webos/mojo/package.properties1
-rw-r--r--dists/webos/mojo/scummvmrc-default36
-rwxr-xr-xdists/webos/mojo/start27
5 files changed, 74 insertions, 0 deletions
diff --git a/dists/webos/mojo/appinfo.json b/dists/webos/mojo/appinfo.json
new file mode 100644
index 0000000000..1008dfe82c
--- /dev/null
+++ b/dists/webos/mojo/appinfo.json
@@ -0,0 +1,10 @@
+{
+ "id": "org.scummvm",
+ "version": "1.3.0001",
+ "vendor": "ScummVM Team",
+ "type": "pdk",
+ "main": "start",
+ "title": "ScummVM",
+ "icon": "icon.png",
+ "requiredMemory": 64
+}
diff --git a/dists/webos/mojo/icon.png b/dists/webos/mojo/icon.png
new file mode 100644
index 0000000000..eb9d8e37e7
--- /dev/null
+++ b/dists/webos/mojo/icon.png
Binary files differ
diff --git a/dists/webos/mojo/package.properties b/dists/webos/mojo/package.properties
new file mode 100644
index 0000000000..962e809ec6
--- /dev/null
+++ b/dists/webos/mojo/package.properties
@@ -0,0 +1 @@
+filemode.755=start,bin/scummvm
diff --git a/dists/webos/mojo/scummvmrc-default b/dists/webos/mojo/scummvmrc-default
new file mode 100644
index 0000000000..2961fb2733
--- /dev/null
+++ b/dists/webos/mojo/scummvmrc-default
@@ -0,0 +1,36 @@
+[scummvm]
+mute=false
+speech_volume=192
+native_mt32=false
+midi_gain=100
+talkspeed=60
+subtitles=true
+multi_midi=false
+fullscreen=true
+sfx_volume=192
+music_volume=192
+autosave_period=300
+music_driver=auto
+opl_driver=auto
+aspect_ratio=false
+versioninfo=1.0.0
+speech_mute=false
+enable_gs=false
+browser_lastpath=/media/internal/ScummVM/Games
+themepath=/media/internal/ScummVM/Themes
+savepath=/media/internal/ScummVM/Saves
+extrapath=/media/internal/ScummVM/Extras
+pluginspath=/media/internal/ScummVM/Plugins
+vkeybdpath=/media/cryptofs/apps/usr/palm/applications/org.scummvm/share/scummvm
+
+[keymapper]
+keymap_global_VIRT=C+k
+keymap_global_SKCT=A+ESCAPE
+keymap_global_REMP=AT
+keymap_global_MENU=A+FORWARD
+keymap_gui_CLOS=A+ESCAPE
+keymap_gui_CLIK=RETURN
+keymap_global_PAUS=SPACE
+keymap_global_SKLI=PERIOD
+keymap_gui_VIRT=C+k
+keymap_gui_REMP=AT
diff --git a/dists/webos/mojo/start b/dists/webos/mojo/start
new file mode 100755
index 0000000000..5a338e0b62
--- /dev/null
+++ b/dists/webos/mojo/start
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+# Get app directory
+APPDIR=$(readlink -f $(dirname $0))
+
+# Create the initial ScummVM directory structure
+mkdir -p /media/internal/ScummVM/Games
+mkdir -p /media/internal/ScummVM/Saves
+mkdir -p /media/internal/ScummVM/Screenshots
+mkdir -p /media/internal/ScummVM/Themes
+mkdir -p /media/internal/ScummVM/Extras
+mkdir -p /media/internal/ScummVM/Plugins
+
+# Install default configuration file if not already present
+if [ ! -f $APPDIR/scummvmrc ]
+then
+ cp $APPDIR/scummvmrc-default $APPDIR/scummvmrc
+fi
+
+# Change into the screenshots directory so screenshots are saved there
+cd /media/internal/ScummVM/Screenshots
+
+# Set library path so the app finds its custom shared libraries
+export LD_LIBRARY_PATH=$APPDIR/lib
+
+# Run the game
+exec $APPDIR/bin/scummvm -c $APPDIR/scummvmrc