PDA

View Full Version : some tips for porting



phantom-xxx
May 23rd, 2006, 21:32
I have some tips for porting it were be cool if u make them here are the links (sources are also there) : xmoto: http://xmoto.sourceforge.net/
and : lbreakout: http://lgames.sourceforge.net/index.php?project=LBreakout2
they're both games that dont need much cpu :)

Stewie2280
May 27th, 2006, 09:27
Another great game to port would be torus trooper its open source

deniska
June 2nd, 2006, 02:56
torus trooper is written in 'D' which is not available for PSP..

I'll check out the 2 oher games.. but no promises...

vhangell
July 28th, 2006, 00:10
is it possible to port widelands? it is an open source clone of Settlers 2 from Bluebyte

Heres the link: Widelands Homepage (http://wiki.widelands.org/tiki-index.php)

deniska
July 28th, 2006, 21:01
is it possible to port widelands? it is an open source clone of Settlers 2 from Bluebyte

Heres the link: Widelands Homepage (http://wiki.widelands.org/tiki-index.php)

Can it run in 640x480? If so - it should not be a problem..

vhangell
July 29th, 2006, 07:00
thnx for the reply. I believe it does support that resolution. But I do not know how to port games.. I dont even know where to start. Could you please give me some tips, link to a porting guide or something. So I can start. I understand C, but i really dont know where to begin. Or perhaps someone here can port widelands to the psp. Cheers!

deniska
July 29th, 2006, 18:48
thnx for the reply. I believe it does support that resolution. But I do not know how to port games.. I dont even know where to start. Could you please give me some tips, link to a porting guide or something. So I can start. I understand C, but i really dont know where to begin. Or perhaps someone here can port widelands to the psp. Cheers!

Porting SDL games is farelly easy...
You should know SDL basics (www.libsdl.org) and C for that...
How to start?
- Install the environmet: build PSPSDK under linux or sygwin.
- Start small. (Compile hello world PSP, some simple SDL demos first and make sure they work)

- Learn by example: lot's of ports are released with the PSP source code, so you can compare it to the original and see what's different....
Check this thread for one example:
http://www.dcemu.co.uk/vbulletin/showthread.php?t=15083

And if you run in to problems, remember:
GOOGLE IS YOUR FRIEND :-)