Difference between revisions of "Installing Glest"

From MegaGlest
Jump to navigation Jump to search
(Fixing a few spelling mistakes)
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
==Linux==
 
==Linux==
 
===Download Glest===
 
===Download Glest===
Start by downloading the right package for you [[GetGlest|here]]<br />
+
Download the appropriate operating system package [[GetGlest|here]]
NOTE: If you are using YaST it automatically downloads.
 
  
===Enable hardware-accelerated 3D===
 
  
To run Glest you'll need to have hardware-accelerated 3D graphics enabled. This means
+
===Enable 3D Hardware-Acceleration===
 +
Glest requires 3d accelerated hardware and drivers
  
*Having a graphics card that is capable of 3D acceleration
+
*graphics card capable of 3D acceleration
*Having a graphics card driver that is capable of 3D acceleration
+
*graphics card drivers capable of 3D acceleration
*Having OpenGL installed.
+
*OpenGL installed.
 +
 
 +
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.
  
This usually means having an ATI or NVidia graphics card, and having the proprietary driver for X.org from those manufacturers installed and working. You can check if you have your graphics hardware-accelerated 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.
 
  
 
===Install Glest===
 
===Install Glest===
 +
 +
'''(K)Ubuntu 8.04-9.04'''
 +
 +
*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 4: Use [http://liflg.org/?catid=6&gameid=87 Loki installer]
 +
 +
*Method 5: Compile Source for Glest.
  
 
====Kubuntu Dapper====
 
====Kubuntu Dapper====
  
# Run <tt><font color="green">apt-get install libopenal0</font></tt>
+
* Run <tt><font color="green">apt-get install libopenal0</font></tt>
# Make the Loki installer executable with <tt><font color="green">chmod +x glest_2.0.0-multilanguage.run</font></tt>
+
* Make the Loki installer executable with <tt><font color="green">chmod +x glest_2.0.0-multilanguage.run</font></tt>
# Run the Loki installer and follow the fairly idiot-proof instructions
+
* Run the Loki installer and follow the instructions
::*If you will be installing glest into your home directory, you can run the installer directly: <tt><font color="green">./glest_2.0.0-multilanguage.run</font></tt>
+
**If you will be installing glest into your home directory, you can run the installer directly: <tt><font color="green">./glest_2.0.0-multilanguage.run</font></tt>
::*If you will be installing glest elsewhere so that all users can run it, you should run the installer as root: <tt><font color="green">sudo ./glest_2.0.0-multilanguage.run</font></tt>
+
**If you will be installing glest elsewhere so that all users can run it, you should run the installer as root: <tt><font color="green">sudo ./glest_2.0.0-multilanguage.run</font></tt>
  
 
====Open SUSE 10.2====
 
====Open SUSE 10.2====
  
# Open YaST and click Installation Source
+
* Open YaST and click Installation Source
# Add an online update server, click finish
+
* Add an online update server, click finish
# In YaST click on Software Management
+
* In YaST click on Software Management
# Change the filter to patterns or Package Groups and go to games
+
* Change the filter to patterns or Package Groups and go to games
# Check the glest and glest-data options
+
* Check the glest and glest-data options
# Click accept and agree to the changes
+
* Click accept and agree to the changes
 +
**Glest will then download and install.
 +
**You can run glest from the menu under Games-&gt;Tactics & Strategy.
  
Glest will then download and install.<br />
 
You can run glest from the menu under Games-&gt;Tactics &amp; Strategy.
 
 
===Configure Glest===
 
 
===Find glest.ini===
 
===Find glest.ini===
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 &amp;&amp; locate glest.ini</font></tt>
+
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>
  
====Screen Resolution====
 
Change the screen resolution to something appropriate for you. In ''glest.ini'', set '''ScreenHeight''' and '''ScreenWidth'''
 
  
====Choose Window mode====
+
====Choose Window mode and screen resolution====
If you'd like glest to be windowed, set '''Windowed''' to ''1''
+
*Glest in a window set Windowed to 1
 +
*Glest resolution settings:  In ''glest.ini'' set ScreenHeight and ScreenWidth
  
 
===Run glest===
 
===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 &amp;&amp; glest</font></tt>
+
<tt><font color="green">artsshell suspend && glest</font></tt>
 
 
====Other window managers====
 
Just type <tt><font color="green">glest</font></tt> at the command prompt.
 
 
 
==Windows==
 
Download the binary(.exe) and install it like any other application.
 

Revision as of 02:27, 25 November 2009

Linux

Download Glest

Download 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. If unsure of the above requirements then it is possible to check graphics hardware-acceleration by running glxinfo (or fglrxinfo 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.


Install Glest

(K)Ubuntu 8.04-9.04

  • 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 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 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

Run glest

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