Showing posts with label Playbook. Show all posts
Showing posts with label Playbook. Show all posts

Monday, April 25, 2016

Native ScummVM for PlayBook, progress

I was sick and tried to do something usefull at the time. So, a bit of hacking on the BlackBerry fork of SDL to add support for native gestures (Swipe down and and Back swipe "down-left to upper-right").

Swipe down is obviously used for the game menu access (F5 key) and back swipe for Escape to skip cut-scenes (ESC key).

It is pretty much ready for submission!

See below for a quick video on how the swipes are working in Sam & Max Hit the Road and Flight of the Amazon Queen.


Wednesday, April 13, 2016

ScummVM for PlayBook and BB10

Started to scratch an itch as nobody seemed to have done a proper native port of ScummVM for the PlayBook or BlackBerry 10 devices.

It runs and the games seems to work. Now what is needed is some way to handle left/right clicks, F5 and other keyboard shortcuts.

Native ScummVM on BlackBerry PlayBook



Monday, December 31, 2012

Getting started with SDL on BB10 and the Playbook

BlackBerry provides SDL for the available for BlackBerry 10 and the PlayBook, with a nice touch screen helper library to make it easier to create touch screen controls with minimal or even no modification to original apps.

The instructions on how to use SDL after building everything is quite lacking on the web site so, I'll document my findings here for anyone else that is interested and also as a reminder for myself.

Anyway, start with cloning TouchControlOverlay and SDL from the RIM github repo. I won't go into the details here. And remember to source the bbndk evironment first.

Ok, now you should have the sources. Start with building and installing  TouchControlOverlay

cd TouchControlOverlay
make
make install

Next, building SDL. I prefer to use an out-of-source build directory, makes it easier to build for both BB10 and PlayBook from the same source.

$ mkdir sdlbb10
$ cd sdlbb10
$ ../SDL/configure  --prefix=/home/milang/bbndk/target_10_0_9_1673/qnx6/armle-v7 \
--host=arm-unknown-nto-qnx8.0.0eabi \
--without-x --enable-pthreads \
--enable-audio --enable-video-playbook \
LDFLAGS="-lscreen -lasound -lpps -lm -lpng14 -lbps -lxml2 -lEGL -lGLESv2" \
CPPFLAGS="-D__PLAYBOOK__ -D__QNXNTO__"
$ make

Install SDL
$ make install

Ok, now SDL is installed nicely. Next edit the bbndk-env.sh script and add

PKG_CONFIG_PATH=${QNX_TARGET}/armle-v7/lib/pkgconfig
export PKG_CONFIG_PATH

in the end of the file. Re-source it or set the PKG_CONFIG_PATH manually. What this does is enable pkg-config enabled sources to find SDL (and other software that uses pkg-config to get options). For example the SDL libraries that we will add next, SDL_net and SDL_image. But that will come in another post.

Tuesday, November 13, 2012

RIM is definitely doing something right

Just look at these html5test scores, from left to right, Playbook, BB10 Dev Alpha, N9 and a Lumia 800.