aboutsummaryrefslogtreecommitdiff
path: root/dists/webos
diff options
context:
space:
mode:
Diffstat (limited to 'dists/webos')
-rw-r--r--dists/webos/README.WebOS37
-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-default32
-rwxr-xr-xdists/webos/mojo/start22
6 files changed, 102 insertions, 0 deletions
diff --git a/dists/webos/README.WebOS b/dists/webos/README.WebOS
new file mode 100644
index 0000000000..5947d86f20
--- /dev/null
+++ b/dists/webos/README.WebOS
@@ -0,0 +1,37 @@
+README for the WebOS port of ScummVM
+------------------------------------
+
+INSTALLATION
+
+ When starting ScummVM the first time on a WebOS device it creates the
+ following directory structure on the flash drive:
+
+ ScummVM/
+ Extras/
+ Games/
+ Plugins/
+ Saves/
+ Screenshots/
+ Themes/
+
+ To install the games switch your WebOS device to USB drive mode and copy
+ the game folders into the ScummVM/Games directory. Then start ScummVM,
+ click "Add game" and select the game folder.
+
+CONTROLS
+
+ Touchscreen
+
+ The touchscreen operates like a touchpad. The mouse cursor is independent
+ of the touched point, it is moved relative to its current position.
+
+ Tap + movement: Mouse movement
+ Tap without movement: Left mouse button click
+ Tap held for >0.5s without movement: Right mouse button click
+ Tap held for >1s without movement: Middle mouse button click
+ Double Tap + movement: Drag and drop
+
+ Gesture area
+
+ Back gesture: Escape
+ Forward gesture: ScummVM menu
diff --git a/dists/webos/mojo/appinfo.json b/dists/webos/mojo/appinfo.json
new file mode 100644
index 0000000000..b3163a4e95
--- /dev/null
+++ b/dists/webos/mojo/appinfo.json
@@ -0,0 +1,10 @@
+{
+ "id": "APP_ID",
+ "version": "APP_VERSION",
+ "vendor": "ScummVM Team",
+ "type": "pdk",
+ "main": "start",
+ "title": "APP_TITLE",
+ "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..aefc5fda98
--- /dev/null
+++ b/dists/webos/mojo/scummvmrc-default
@@ -0,0 +1,32 @@
+[scummvm]
+gui_theme=scummmodern
+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
+speech_mute=false
+enable_gs=false
+browser_lastpath=/media/internal/ScummVM/Games
+savepath=/media/internal/ScummVM/Saves
+
+[keymapper]
+keymap_global_MEN=FORWARD
+keymap_gui_VIR=C+k
+keymap_global_SKL=PERIOD
+keymap_global_SKC=ESCAPE
+keymap_gui_REM=AT
+keymap_global_PAU=SPACE
+keymap_gui_CLO=ESCAPE
+keymap_gui_CLI=RETURN
+keymap_global_VIR=C+k
+keymap_global_REM=AT
diff --git a/dists/webos/mojo/start b/dists/webos/mojo/start
new file mode 100755
index 0000000000..446ce83f1d
--- /dev/null
+++ b/dists/webos/mojo/start
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+# Setup directories
+APPDIR=$(readlink -f $(dirname $0))
+SCUMMVMDIR=/media/internal/ScummVM
+
+# Create the initial ScummVM directory structure
+mkdir -p $SCUMMVMDIR/Games
+mkdir -p $SCUMMVMDIR/Saves
+mkdir -p $SCUMMVMDIR/Screenshots
+
+# Install default configuration file if not already present
+if [ ! -f $SCUMMVMDIR/scummvmrc ]
+then
+ cp $APPDIR/scummvmrc-default $SCUMMVMDIR/scummvmrc
+fi
+
+# Change into the screenshots directory so screenshots are saved there
+cd $SCUMMVMDIR/Screenshots
+
+# Run the game
+exec $APPDIR/bin/scummvm -c $SCUMMVMDIR/scummvmrc