rixed
Member
Finaly it's there : the first port using gpu940 for openGl rendering, and that's Egoboo.
For those who don't know the game, have a look here for the PC version :
http://egoboo.sourceforge.net
The GP2X version can be found here :
http://rixed.free.fr/egoboo2x.tgz
(probably should be uploaded elsewhere)
[cut]
Here is the README :
Looks like the wiki section "openGl or Impossible" needs a little editing ;-)
Happy new year ![/cut]
For those who don't know the game, have a look here for the PC version :
http://egoboo.sourceforge.net
The GP2X version can be found here :
http://rixed.free.fr/egoboo2x.tgz
(probably should be uploaded elsewhere)
[cut]
Here is the README :
Code:
First, some issues :
Compared to the PC version, this GP2X version have
most visual effects compiled out, sometimes because
of the CPU cost, sometimes because the gpu940 openGl
layer doesn't allow the effects.
The GP2X version also add a few bugs :
- No more dynamic lighting, because the openGl layer
do not support (for now) the lighting method used in
Egoboo (namely, mixing glTextures and glColors).
- I removed the Z test for tile rendering, because
it was unnecessary most of the time. Sometimes it's
not.
- Some blending effects are not correct due to the
present limitation of gpu940 renderer (may change
in a near future)
- Last but not least : Egoboo may crash after a few
seconds/minutes of play. If it happen to you, you
are out of luck : use gpu940_225 instead of
gpu940 (see egoboo.gpe), which is a version of gpu940
limited to 225MHz. That should solve the problem.
Second, some credits :
The original Egoboo was done by Aaron Bishop and is now
maintained by his brother Ben. Aaron is now working on
a sequel (see http://www.aaronbishopgames.com/) that
will kick ass. Egoboo is still, perhaps, the greatest
single man game project ever achieved.
Please have a look to the PC version of this great
game before judging it by this port.
This port uses gpu940, which is a software 3d renderer
targeted at the GP2X. A small openGl-like API comes
with it to help porting openGl games. See the project
page here : http://gna.org/projects/gpu940.
Thanks to the beta testers that helped me to fix many
bugs before they bite you : mth411, Penguin Geek,
rokdcasbah, Hooka and reiboul.
Finally, if you want to help for gpu940 and/or are
interested in egoboo2x sourcecode, feel free to contact
me at rixed@free.fr .
Then, a word of caution :
This is not because Egoboo was ported to the GP2X using
this library that any openGl app can be ported. Egoboo,
although visually more impressive than the average open
source game, was coded with performances in mind from the
start. This is not true, by far, of all open source games.
Please keep in mind if you try to port other games that it
will requires some works, cutting off features and
rewriting some code.
Anyway, gpu940 and the openGl layer can be improved and
certainly will be. Wait and see.
Looks like the wiki section "openGl or Impossible" needs a little editing ;-)
Happy new year ![/cut]