Porting to Pandora

To discuss about porting wagic to other platform. Note that we have several request for porting wagic to other platform, but no coders at the moment to do the job.
Post Reply
#1 Gamemaster
Posts: 1
Joined: Sun Nov 01, 2009 11:36 pm

Porting to Pandora

Post by #1 Gamemaster » Sun Nov 01, 2009 11:43 pm

Have you heard about the Pandora if not here is a link to it http://openpandora.org/. But I was just wondering if it would be possible to port Wagic to the Pandora.

Psyringe
Posts: 1163
Joined: Mon Aug 31, 2009 10:53 am

Re: Have a question about porting it.

Post by Psyringe » Sun Nov 01, 2009 11:55 pm

The Pandora runs on a Linux variant (°Angström Linux), and Wagic can be (and has been) ported to Linux, so this isn't looking too bad. I can't tell whether the current Linux version needs any special packages and whether these would be present on the Pandora though, that would be a question for our Linux specialists ...

Jean
Posts: 32
Joined: Tue Nov 18, 2008 5:12 am

Re: Have a question about porting it.

Post by Jean » Mon Nov 02, 2009 2:40 am

#1 Gamemaster wrote:Have you heard about the Pandora if not here is a link to it http://openpandora.org/. But I was just wondering if it would be possible to port Wagic to the Pandora.
I think all you have to do is to compile it for pandora. Now I do not own a Pandora nor have I ever developed on it, so I can't tell you for sure it will work out of the box.
If you compile it for Pandora on PC you have to cross-compile, which is not a big deal (it's what we do for PSP) but it's not GCC's default behavior so you'll have to
tweak the Makefile some to adjust the compile target. Also, you'll need to install the libs the game depends on, and that is a lot of them (like, libjpeg, libpng, libfmod...).

Now, there are two issues that might prevent the game from working out of the box.
One of them is the usage of the closed libfmod which may not have an ARM port ; if it is the case, we won't be able to make the sound work on Pandora easily, and even compile the game without sound would take some minor code tweaking.
The other one is about the key interface ; we have an X backend and a GLUT backend, buf if Pandora doesn't support either of them then a Pandora backend has to be written. If Pandora support either of them, it will work (prefer X backend if possible) - the stylus won't magically work though, only the keys.

So to sum up :
1. it's doable
2. it's probably not very hard
3. there might be a few issues at first
4. none of us developers own or have extensive knowledge about Pandora, so we'd need some input - at least some impulse from outside to make it happen.

But yes. It's probably not very hard, doable in like one day or so if commiting to it.

Post Reply