www.pegasos.org :: View topic - Glest on Linux/PPC
http://www.ggsdata.se
Home   News   Forum   Gallery   
Search 
Login




 


 Log in Problems?
 New User? Sign Up!

Navigation

Online
Currently no members online:)

You are an anonymous user. You can register for free by clicking here
There are 1 unlogged users online !

Latest Web Links

Latest Downloads

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dholm
Post subject: Glest on Linux/PPC  PostPosted: Mar 14, 2005 - 10:37
Order of the Butterfly
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. Smile

    * 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!
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
ironfist
Post subject: RE: Glest on Linux/PPC  PostPosted: Mar 14, 2005 - 15:14
Order of the Pegasos
Order of the Pegasos


Joined: Jan 22, 2004
Posts: 2517
Location: Göteborg
Good job!

_________________
www.SecureHosting.se | Egen server med 512 MB RAM och 10 Mbit trafik 250 kr/mån | www.SecureNetworks.se
 
 View user's profile Send private message ICQ Number 
Reply with quote Back to top
gunne
Post subject: RE: Glest on Linux/PPC  PostPosted: Mar 14, 2005 - 15:59
Order of the Pegasos
Order of the Pegasos


Joined: Aug 16, 2003
Posts: 2538
Location: Göteborg
Yup, Thank You very much for this dholm Smile

_________________
Mvh Gunne
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
kozz
Post subject: RE: Glest on Linux/PPC  PostPosted: Mar 28, 2005 - 11:40
Butterfly
Butterfly


Joined: Aug 16, 2003
Posts: 883
Location: Göteborg
Based on dholms patch I made Glest work even better on Linux/PPC Smile

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.
 
 View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number 
Reply with quote Back to top
dholm
Post subject: RE: Glest on Linux/PPC  PostPosted: Mar 28, 2005 - 11:53
Order of the Butterfly
Order of the Butterfly


Joined: Aug 26, 2003
Posts: 1784
Location: Malmö
Excellent work Emanuel!

_________________
I need this baby in a month send me nine women!
 
 View user's profile Send private message Send e-mail Visit poster's website ICQ Number 
Reply with quote Back to top
kozz
Post subject: RE: Glest on Linux/PPC  PostPosted: Jul 14, 2005 - 08:04
Butterfly
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.
 
 View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number 
Reply with quote Back to top
Trizt
Post subject: RE: Glest on Linux/PPC  PostPosted: Jul 14, 2005 - 13:47
Order of the Butterfly
Order of the Butterfly


Joined: Sep 08, 2003
Posts: 1370
Location: EU
Does your patches otherwise patch into the new source?

_________________
Join the Pegasos.Org Team at Seti@Home.
 
 View user's profile Send private message MSN Messenger ICQ Number 
Reply with quote Back to top
kozz
Post subject: RE: Glest on Linux/PPC  PostPosted: Jul 14, 2005 - 19:20
Butterfly
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.
 
 View user's profile Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number 
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2004-2012 by pegasos.org

backend|avantgo