Author |
Message |
|
Post subject: Glest on Linux/PPC
Posted: Mar 14, 2005 - 10:37
|
|
Order of the Butterfly


Joined: Aug 26, 2003
Posts: 1784
Location: Malmö
|
|
Glest is a new open source 3D strategy game originally written for windows. It was ported to Linux by Matthias Braun but sadly it was not endian safe.
I have now managed to fix several of the endian issues so that the game will run on Linux/PPC and hopefully other big endian architectures, you can grab my patch here http://rift.ath.cx/~avatar/glest-1.0.10-endian.patch.gz.
Glest will run on Linux/PPC but the following problems still exist, so if you feel that you might be able to fix any of these remaining problems please help us.
* Sound samples are not byte swapped (only the headers), sound is corrupted.
* I have only fixed endianess where fread or f.read is used. Sections of code where fwrite is used still needs to be fixed.
* GL_ARB_texture_env_crossbar is not available in the open source ATI driver, I have disabled the check for this in the code but I don't know what effect this will have on the game (I'm not an OpenGL expert)
* The game is extremely slow, I'm not sure what is causing this but I'm sure there is a way to fix it. Someone with OpenGL skills might want to have a look at this.
* I never went past the main menu and configure menu since it is so slow, I noticed that some of the graphics running in the background appear corrupted, so I might have missed something or messed up some of the byte swapping.
|
_________________ I need this baby in a month send me nine women!
|
|
|
|
 |
|
Post subject: RE: Glest on Linux/PPC
Posted: Mar 14, 2005 - 15:14
|
|
Order of the Pegasos

Joined: Jan 22, 2004
Posts: 2517
Location: Göteborg
|
|
|
|
 |
|
Post subject: RE: Glest on Linux/PPC
Posted: Mar 14, 2005 - 15:59
|
|
Order of the Pegasos


Joined: Aug 16, 2003
Posts: 2538
Location: Göteborg
|
|
Yup, Thank You very much for this dholm  |
_________________ Mvh Gunne
|
|
|
|
 |
|
Post subject: RE: Glest on Linux/PPC
Posted: Mar 28, 2005 - 11:40
|
|
Butterfly


Joined: Aug 16, 2003
Posts: 883
Location: Göteborg
|
|
Based on dholms patch I made Glest work even better on Linux/PPC
The folloing problems are still not fixed:
* Wav sound is not byteswapped and will sound strange.
* Water is not displayed correct, actually not displayed at all.
* When focusing a unit the game segfaults of some unknown reason...
Also added support for windowed play when using sdl and not only fullscreen. Change ChangeDisplay to zero in glest.ini for window-mode.
My patch can be found here: http://kozz.pegasos.org/files/glest/glest-1.0.10-endian.patch.gz |
_________________ Programmers are tools for converting caffeine into code.
|
|
|
|
 |
|
Post subject: RE: Glest on Linux/PPC
Posted: Mar 28, 2005 - 11:53
|
|
Order of the Butterfly


Joined: Aug 26, 2003
Posts: 1784
Location: Malmö
|
|
|
|
 |
|
Post subject: RE: Glest on Linux/PPC
Posted: Jul 14, 2005 - 08:04
|
|
Butterfly


Joined: Aug 16, 2003
Posts: 883
Location: Göteborg
|
|
A new version of Glest has recently been released, the linux version is now migrated into mainstream. Unforntunately the PPC patches are not migrated.
But there might not be possible to get Glest to run at PPC at all since there seems to be a bug with the open source ATI drivers that makes the game crash, it's the same problem on x86 when using them. However, the ATI's own drivers works fine, but are not available for PPC. Would anyway be intresting to make a try, we will se whats happends. |
_________________ Programmers are tools for converting caffeine into code.
|
|
|
|
 |
|
Post subject: RE: Glest on Linux/PPC
Posted: Jul 14, 2005 - 13:47
|
|
Order of the Butterfly


Joined: Sep 08, 2003
Posts: 1370
Location: EU
|
|
|
|
 |
|
Post subject: RE: Glest on Linux/PPC
Posted: Jul 14, 2005 - 19:20
|
|
Butterfly


Joined: Aug 16, 2003
Posts: 883
Location: Göteborg
|
|
I don't actually know. I tried to compile it once without modifications, but I got a compilation error or raither link error actually. Seems like my libGL.so misses some functions but they are included in GL/gl.h. Will have to take a deeper look at it. |
_________________ Programmers are tools for converting caffeine into code.
|
|
|
|
 |
|