Difference between revisions of "Installing Glest"
Line 34: | Line 34: | ||
===Run glest=== | ===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: | ||
+ | <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. | Just type <tt><font color=green>glest</font></tt> at the command prompt. |
Revision as of 10:30, 11 November 2006
Linux
Download Glest
Start by downloading the right package for you here
Enable hardware-accelerated 3D
To run Glest you'll need to have hardware-accelrated 3D graphics enabled. This means
- Having a graphics card that is capable of 3D acceleration
- Having a grpahics card driver that is capable of 3D acceleration
- Having OpenGL installed.
This usually means having an ATI or NVidia grpahics 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 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
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 failry idiot-proof 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
Configure Glest
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
Screen Resolution
Change the screen resolution to something appropriate for you. In glest.ini, set ScreenHeight and ScreenWidth
Choose Window mode
If you'd like glest to be windowed, set Windowed to 1
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
Other window managers
Just type glest at the command prompt.