Doom hack. I’ve gotten PRDoom running on the device. PRDoom is an open source doom clone that uses SDL for its rendering backend. The Palm Pre’s GUI, Luna, utilizes a framebuffer. The SDL backend we used was directfb.
The Palm Pre’s rootfs, based on openembedded, had directfb, but the openembedded repositories did not have any versions of SDL which linked against the directfb provided by palm. The other option was to use fbdev, but I couldn’t get it working, so I moved on quickly. In order to control the rootfs, and libraries, I built a debian rootfs using debootstrap, and was able to install many components not available via ipkg.
Getting directfb working was actually fairly trivial, because palm uses it for their testing. The /etc/event.d/LunaSysMgr file, it had the line: exec /var/mft/usr/bin/ted -m –dfb:no-vt –dfb:no-cursor –dfb:bg-color=00000000 –dfb:pixelformat=ARGB. I was able to dervice the directfb options from there.
Video:
Hey,
would you be interested to share a howto?
hertzi
Wow, that’s amazing work! Let the hacking, gaming and the rest begin on Pre 🙂
Left credit to you here: http://palmwebosblog.com/palm-pre-jailbreak/omg-original-doom-game-running-near-perfectly-on-palm-pre/
Very cool, nice work. I submitting a digg story for you:
http://digg.com/gadgets/Doom_already_running_on_a_Palm_Pre
Amazing! Great job on the port, and a big congratulations from Pre Insiders! Glad to see some strides being made in the hacking and development community for the Pre. Wrote an article on this at
http://preinsiders.com/home/2009/06/12/doom-confirmed-and-run-on-the-pre-video-howto/
left a trackback + credit as well.
Guess you were one of the lucky ones to get an early dev kit!
[…] Altra scoperta interessante, secondo questo sviluppatore, è che l’intera interfaccia utente e tutte le applicazioni sono scritte in javascript, e ciò significa, in sostanza, che è possibile modificare a piacere il codice sorgente senza ricompilare nulla. Anzi è addirittura possibile far girare applicazioni per Linux in linguaggio C / C++ come mostra il recente hack del Palm Pre con cui è stato possibile far girare Doom. […]
GhostlyDeath: Not quite… I built this as a homebrew…
That’s awesome. Great job man.
A well thought out article, i’ve bookmarked it so I can read it when im back from the office.Thanks for the blog! 🙂