Somewhere on my agenda is writing up some articles on how to port from iPhone to some of the other cool platforms out there (PC/AppUp, Palm, etc). I’m always rather busy though, when I finish one thing I’m often on to the next one.

I have numerous developer friends I regularly chat with on IRC, Forums and e-mail, since we tend to be doing the same things with our games (porting, marketing, etc). I promised Phil both that doing a Palm port would be easy, and that I’d give him some pointers on doing it. So I scribbled down a whole bunch of tips and notes for him while he worked. Two and a half days later he submitted his binary to Palm.

During that process though, he did a good thing. He decided to journal it. So here’s Phil’s Palm porting journal, along with some of the notes I gave him.

http://www.philhassey.com/blog/2010/07/14/porting-to-palm-webos/

Not covered in much detail is the core port. Phil and I both started our iPhone adventures by simultaneously making a PC SDL+OpenGL version (Me on Windows, Phil on Linux) in addition to the iPhone version. The first step to any of the above will be to get your game working on your PC with SDL. Then it’s a matter of making only a few minor additions to your SDL+GL code, and using your OpenGL ES rendering branch. For those not already aware, the difference between OpenGL ES 1.1 and desktop OpenGL 1.x is that Desktop OpenGL has a few functions without F’s in the name (so do an #ifdef). Also, prefer OpenGL ES, since Desktop OpenGL has extra functions not found in OpenGL ES.

Anyways, it’s not a full howto guide, but some useful pointers. More than I have time to write at the moment. 😉

I’ll make a post with the transcript of my notes soon. Since it was for private use, I need to double check I didn’t include any “under NDA” information in it.