Difference between revisions of "Installing Glest"

From MegaGlest
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Linux==
 
===Download Glest===
 
 
Locate the appropriate operating system package [[GetGlest|here]]
 
Locate the appropriate operating system package [[GetGlest|here]]
  
===Enable 3D Hardware-Acceleration===
+
 
 +
===Enable 3D Hardware Acceleration===
 
Glest requires 3d accelerated hardware and drivers
 
Glest requires 3d accelerated hardware and drivers
  
*graphics card capable of 3D acceleration
+
*Graphics card capable of 3D acceleration
*graphics card drivers capable of 3D acceleration
+
*Graphics card drivers capable of 3D acceleration
 
*OpenGL installed.
 
*OpenGL installed.
 
+
*This usually means having an ATI or NVidia graphics card and the proprietary drivers installed and working.  
This usually means having an ATI or NVidia graphics card and the proprietary drivers installed and working. If unsure of the above requirements then it is possible to check graphics hardware-acceleration by running <tt><font color="green">glxinfo</font></tt> (or <tt><font color="green">fglrxinfo</font></tt> with the ATI driver). The '''OpenGL renderer string''' should be something other than ''Mesa''. If you have ''Mesa'' your graphics are software-accelerated. This will not give you anywhere near the same performance, and Glest will be unplayable.
+
**Note''':''' Linux - If unsure of the above requirements then it is possible to check graphics hardware-acceleration by running <tt><font color="green">glxinfo</font></tt> or with an ATI driver <tt><font color="green">fglrxinfo</font></tt> .  
 
+
**The '''OpenGL renderer string''' should be something other than ''Mesa''. ''Mesa'' is software-accelerated and Glest will be unplayable.
 
+
==Linux==
 
===Install Glest===
 
===Install Glest===
  
Line 47: Line 46:
  
 
===Find glest.ini===
 
===Find glest.ini===
If you installed Glest with a package manager(add/remove), then it will be located in:
+
If Glest was installed with a package manager(add/remove), then it will be located in:
 
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; '''8.04-9.04''': /home/&lt;username&gt;/.glest/
 
 
 
&nbsp; &nbsp; &nbsp; &nbsp; '''9.10''': /home/&lt;username&gt;/.config/glest/
 
  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
+
*'''8.04-9.04''': /home/&lt;username&gt;/.glest/
  
If you used the Loki installed and chose the default install location, you'll find glest.ini in ''/usr/local/games/glest.ini''. If it's not there, and you don't know where it is, run <tt><font color="green">updatedb && locate glest.ini</font></tt>
+
*'''9.10''': /usr/lib/glest/
  
 +
If the Loki installer was used, the default install location will be:
 +
*Find glest.ini in ''/usr/local/games/glest.ini''.
 +
*If it's not there, and you don't know where it is, run <tt><font color="green">updatedb && locate glest.ini</font></tt>
  
 
====Choose Window mode and screen resolution====
 
====Choose Window mode and screen resolution====
 
*Glest in a window set Windowed to 1
 
*Glest in a window set Windowed to 1
*Glest resolution settings: In ''glest.ini'' set ScreenHeight and ScreenWidth
+
*Glest resolution settings: In ''glest.ini'' set ScreenHeight and ScreenWidth
  
===Run glest===
 
 
====KDE====
 
====KDE====
 
If you are running KDE as your window manager, you might find that ARts, the KDE sound server, holds the sound card open and prevents Glest from accessing it. In this case, Glest will exit fairly quickly with the message ''Cannot open /dev/dsp: device or resource busy''. It's best to suspend ARts before starting glest, by running glest like this:
 
If you are running KDE as your window manager, you might find that ARts, the KDE sound server, holds the sound card open and prevents Glest from accessing it. In this case, Glest will exit fairly quickly with the message ''Cannot open /dev/dsp: device or resource busy''. It's best to suspend ARts before starting glest, by running glest like this:
 
<tt><font color="green">artsshell suspend && glest</font></tt>
 
<tt><font color="green">artsshell suspend && glest</font></tt>
 +
 +
==Our Wikia==
 +
[[troubleshooting|Troubleshooting]]

Revision as of 15:11, 9 February 2010

Locate the appropriate operating system package here


Enable 3D Hardware Acceleration

Glest requires 3d accelerated hardware and drivers

  • Graphics card capable of 3D acceleration
  • Graphics card drivers capable of 3D acceleration
  • OpenGL installed.
  • This usually means having an ATI or NVidia graphics card and the proprietary drivers installed and working.
    • Note: Linux - If unsure of the above requirements then it is possible to check graphics hardware-acceleration by running glxinfo or with an ATI driver fglrxinfo .
    • The OpenGL renderer string should be something other than Mesa. Mesa is software-accelerated and Glest will be unplayable.

Linux

Install Glest

(K)Ubuntu 8.04-9.10

  • Method 1: Go into Add/Remove, and install Glest from there.
  • Method 2: Go into teminal, and type the command: "sudo apt-get install glest" (without quotes) enter your sudo password, and that should do it.
  • Method 3: Download Windows version, and use WINE. (Not Recommended if you plan to use multiplayer!!)
  • Method 5: Compile Source for Glest.

Kubuntu Dapper

  • Run apt-get install libopenal0
  • Make the Loki installer executable with chmod +x glest_2.0.0-multilanguage.run
  • Run the Loki installer and follow the instructions
    • If you will be installing glest into your home directory, you can run the installer directly: ./glest_2.0.0-multilanguage.run
    • If you will be installing glest elsewhere so that all users can run it, you should run the installer as root: sudo ./glest_2.0.0-multilanguage.run

Open SUSE 10.2

  • Open YaST and click Installation Source
  • Add an online update server, click finish
  • In YaST click on Software Management
  • Change the filter to patterns or Package Groups and go to games
  • Check the glest and glest-data options
  • Click accept and agree to the changes
    • Glest will then download and install.
    • You can run glest from the menu under Games->Tactics & Strategy.

Find glest.ini

If Glest was installed with a package manager(add/remove), then it will be located in:

  • 8.04-9.04: /home/<username>/.glest/
  • 9.10: /usr/lib/glest/

If the Loki installer was used, the default install location will be:

  • Find glest.ini in /usr/local/games/glest.ini.
  • If it's not there, and you don't know where it is, run updatedb && locate glest.ini

Choose Window mode and screen resolution

  • Glest in a window set Windowed to 1
  • Glest resolution settings: In glest.ini set ScreenHeight and ScreenWidth

KDE

If you are running KDE as your window manager, you might find that ARts, the KDE sound server, holds the sound card open and prevents Glest from accessing it. In this case, Glest will exit fairly quickly with the message Cannot open /dev/dsp: device or resource busy. It's best to suspend ARts before starting glest, by running glest like this: artsshell suspend && glest

Our Wikia

Troubleshooting