ScummVM for N900 / Fremantle

I have made an initial unofficial build of ScummVM for the N900. It seems to work OK.

Day of the Tentacle

It requires some additional packages, all of which are available in the extras, extras-devel or extras-testing repositories, such as: libsdl, libmad, libvorbisidec, libflac, libasound. 

All I really did was:

  • Apply the supplied patch for the N810 (Maemo 4) devices and added the -lX11 flag to linking, since otherwise it could not find the symbol XStoreName which comes from libX11.
  • Add RX-51 (=N900) into the list of keyboard-equipped Maemo devices in the part where it figures whether or not it’s running on a keyboard-equipped device or not
  • Fix the window focus – due to a Fremantle SDL bug (https://bugs.maemo.org/show_bug.cgi?id=5153)
    you couldn’t use the keyboard at all since all keypresses went to
    wherever you launched Scummvm from (homescreen -> calls up the
    Contacts page, xterm -> keypresses appear on command line) otherwise.

I would like to stress out that this is completely based on the previous Maemo porting work and all I did was the abovementioned things on top of that.

Now that I have this running, things to do would be (in no particular order):

  • Figure out which parts of the Maemo 4 patch are still a) necessary b) working anymore. At least the part that adds the application into the launch menu is still working. The part about bypassing GCC 3.x bugs may not be.
  • Come up with new keypresses for the essential features like saving and loading games
  • change the default directory to /home/user/MyDocs (or something) when adding new games
  • Upload the binary package to maemo.org Downloads and fremantle repositories
  • Submit things to the mainstream project in case I actually do any production-quality code changes, instead of random hacking around (though I’m not hiding anything, all my stuff is available upon request if someone really wants.)
  • Try to get the screen centered
  • Display the mouse cursor (actually already seems to happen in AGI games like Larry 1)
  • Enable fullscreen mode with some key combo

Things I don’t think I’ll be able to solve:

  • Music playback is sometimes choppy
  • The file selector dialog is not very usable on a touchscreen device

Screenshots and video!

Day of the Tentacle

Leisure Suit Larry 1 (yes it runs some Sierra games too!)

Youtube video:

Screenshots on flickr: http://www.flickr.com/photos/32856926@N06/sets/72157622620009580/

Oh and btw, first post on my all-new personal blog! Forgive me the boring default look and feel as I continue to tune it to my tastes..

18 thoughts on “ScummVM for N900 / Fremantle”

  1. I have been testing sound for a while..

    pasuspender — SDL-audio -> alsa -> to rx51 hardware gives choppy sound (with almost no cpu load)

    SDL-audio -> pulseaudio -> to rx51 hardware should give smooth sound, (with 12-20% cpu load)

    i have compared alsa demo programs (speakertest, aplay etc) to simple ones using sdl and the sdl audio causes XRUN all the time, despite very similar backend code. SDL includes one more case ‘giving up’ which may be the culprit, or the problem is somewhere upstream (audio-wise). Stop by #maemo in irc or check the RX51 high-performance audio thread on t.m.o to help-out.

  2. I´m new with this n900 and i am just trying to install the file that i downloaded here, but that doesn’t work, phone doesn’t regonize the file. So how do i install scummvm?

  3. Thanks for the info. I’m not really working on this anymore since the more scummvm-experienced guys have taken over the N900 part as well – check Fanoush on t.m.o. with this..

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>