Linux, BSD, Unix etc. - Glest on Linux/PPC dholm - Mar 14, 2005 - 10:37 Post subject: Glest on Linux/PPCGlest 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.
ironfist - Mar 14, 2005 - 15:14 Post subject: RE: Glest on Linux/PPC
Good job!
gunne - Mar 14, 2005 - 15:59 Post subject: RE: Glest on Linux/PPC
Yup, Thank You very much for this dholm
kozz - Mar 28, 2005 - 11:40 Post subject: RE: Glest on Linux/PPC
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.gzdholm - Mar 28, 2005 - 11:53 Post subject: RE: Glest on Linux/PPC
Excellent work Emanuel!
kozz - Jul 14, 2005 - 08:04 Post subject: RE: Glest on Linux/PPC
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.
Trizt - Jul 14, 2005 - 13:47 Post subject: RE: Glest on Linux/PPC
Does your patches otherwise patch into the new source?
kozz - Jul 14, 2005 - 19:20 Post subject: RE: Glest on Linux/PPC
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.