2011-01-03 03:01:32 +00:00
|
|
|
|
2011-05-03 04:27:37 +00:00
|
|
|
MEGAGLEST
|
|
|
|
|
|
|
|
by Titus Tscharntke and Mark Vejvoda
|
|
|
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2011-05-03 10:28:54 +00:00
|
|
|
Build instructions for Linux
|
2016-10-01 00:08:42 -04:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1. Architecture ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2011-05-03 04:27:37 +00:00
|
|
|
Developed on Linux with glibc, little endian CPU. While MacIntel builds exist
|
|
|
|
(for some versions of the game), MegaGlest does not currently work on big
|
|
|
|
endian CPUs like PPC (though some unfinished patches for vanilla Glest float
|
2013-12-26 18:37:35 +01:00
|
|
|
around on the forums, e.g. http://forum.megaglest.org/?topic=1426#).
|
2011-05-03 04:27:37 +00:00
|
|
|
|
2016-10-01 00:08:42 -04:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~ 2. Building and Installation ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2016-10-01 00:08:42 -04:00
|
|
|
--- 2.1 Prerequesites ---
|
2011-05-03 04:27:37 +00:00
|
|
|
|
2016-10-21 16:46:05 -07:00
|
|
|
Compiling MegaGlest requires the following dependencies to be installed:
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2016-02-06 17:26:20 +01:00
|
|
|
* Standard GNU compiler and additional tools (g++ version 4.6.3 or later is
|
2011-01-03 03:01:32 +00:00
|
|
|
required at the moment)
|
|
|
|
|
2016-02-06 17:26:20 +01:00
|
|
|
* Kitware CMake 2.8.2 or later (used as build tool)
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2011-05-03 04:27:37 +00:00
|
|
|
* X11 libraries + headers
|
|
|
|
http://x.org/
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2016-02-06 17:26:20 +01:00
|
|
|
* SDL 2.0.0 or later
|
2011-01-03 03:01:32 +00:00
|
|
|
http://libsdl.org/
|
|
|
|
|
2011-05-03 04:27:37 +00:00
|
|
|
* OpenGL
|
|
|
|
http://dri.freedesktop.org/wiki/libGL
|
|
|
|
|
2012-10-23 05:43:55 +00:00
|
|
|
* libvlc
|
|
|
|
http://www.videolan.org/vlc/libvlc.html
|
|
|
|
|
|
|
|
* libcurl
|
|
|
|
http://curl.haxx.se/libcurl/
|
|
|
|
|
2011-05-03 04:27:37 +00:00
|
|
|
* wxWidgets
|
|
|
|
http://wxwidgets.org/
|
|
|
|
|
2011-01-03 03:01:32 +00:00
|
|
|
* OpenAL
|
|
|
|
http://openal.org/
|
|
|
|
|
|
|
|
* Ogg
|
2011-05-03 04:27:37 +00:00
|
|
|
http://xiph.org/ogg/
|
2011-01-03 03:01:32 +00:00
|
|
|
|
|
|
|
* Vorbis
|
2011-05-03 04:27:37 +00:00
|
|
|
http://xiph.org/vorbis/
|
|
|
|
|
|
|
|
* Xerces-C
|
|
|
|
http://xerces.apache.org/xerces-c/
|
|
|
|
|
|
|
|
* Lua 5.1 or later
|
|
|
|
http://www.lua.org/
|
|
|
|
|
|
|
|
* JPEG
|
|
|
|
http://www.ijg.org/
|
|
|
|
|
|
|
|
* PNG
|
|
|
|
http://www.libpng.org/
|
|
|
|
|
|
|
|
* Zlib
|
|
|
|
http://zlib.net/
|
|
|
|
|
|
|
|
* GnuTLS
|
|
|
|
http://www.gnu.org/software/gnutls/
|
|
|
|
|
|
|
|
* ICU
|
|
|
|
http://site.icu-project.org/
|
|
|
|
|
|
|
|
* libdl
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2016-10-21 16:46:05 -07:00
|
|
|
NOTE: A script which tries to install build dependencies on many Linux distros
|
|
|
|
is located in mk/linux/setupBuildDeps.sh
|
2011-05-03 04:27:37 +00:00
|
|
|
|
2016-10-01 00:08:42 -04:00
|
|
|
--- 2.2 Building ---
|
2011-01-03 03:01:32 +00:00
|
|
|
|
|
|
|
To build the game simply invoke the build script:
|
|
|
|
|
2014-01-25 10:52:22 -08:00
|
|
|
../mk/linux/build-mg.sh
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2014-01-25 10:52:22 -08:00
|
|
|
This script manually calls cmake with some optional parameters. Feel free to
|
|
|
|
examine it and build manually using cmake.
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2016-10-01 00:08:42 -04:00
|
|
|
--- 2.3 Installation --
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2011-05-03 04:27:37 +00:00
|
|
|
We provide MojoSetup based installers for Linux and NSIS based installers for
|
|
|
|
Windows. By default, the Linux installers install to your home directory. The
|
2016-10-21 16:46:05 -07:00
|
|
|
Windows installers install to %ProgramFiles% (global system scope).
|
2011-05-03 04:27:37 +00:00
|
|
|
|
|
|
|
There are also community maintained packages available for several Linux and
|
|
|
|
BSD distributions. Please see the website, forums and wiki for details.
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2011-05-03 10:28:54 +00:00
|
|
|
|
2016-10-01 00:08:42 -04:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~ 3. Troubleshooting ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2016-10-21 16:46:05 -07:00
|
|
|
--- General ---
|
2016-10-02 16:50:55 -05:00
|
|
|
* Make sure both the hardware and software of your system match the requirements
|
2016-10-01 00:08:42 -04:00
|
|
|
* If you cannot find what you are looking for on here please check the FAQs
|
2016-10-21 16:46:05 -07:00
|
|
|
(https://docs.megaglest.org/MG/FAQ) before contacting the developers.
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2016-10-01 00:08:42 -04:00
|
|
|
--- Compiling ---
|
2016-10-21 16:46:05 -07:00
|
|
|
* If CMake reports that it cannot find some of the libraries, make sure that
|
|
|
|
the relevant ...-dev(el) packages are also installed (distro-dependent).
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2016-10-21 16:46:05 -07:00
|
|
|
--- Sound/Audio ---
|
2011-01-03 03:01:32 +00:00
|
|
|
* If the game doesn't start because of audio/sound errors:
|
|
|
|
Make sure no other application is using your soundcard. Typical problems are
|
|
|
|
the Gnome/KDE sound dameons esd and artsd. You can kill these daemons with
|
2016-10-21 16:46:05 -07:00
|
|
|
the following commands:
|
|
|
|
# killall esd ; killall artsd
|
2016-10-01 00:08:42 -04:00
|
|
|
|
2016-10-21 16:46:05 -07:00
|
|
|
* If this doesn't solve the sound problems, get an updated OpenAL from
|
2011-01-03 03:01:32 +00:00
|
|
|
http://openal.org or a newer repository provided by your distribution.
|
|
|
|
|
2016-10-21 16:46:05 -07:00
|
|
|
* Sound is played through OpenAL - double-check the OpenAL system
|
2016-10-01 00:08:42 -04:00
|
|
|
configuration: http://supertux.lethargik.org/wiki/OpenAL_Configuration
|
|
|
|
|
2016-10-21 16:46:05 -07:00
|
|
|
--- OpenGL ---
|
|
|
|
* If the game produces error messages regarding OpenGL or OpenGL extensions
|
|
|
|
being unavailable, look at glxinfo and make sure the system is using the
|
|
|
|
drivers you want to use. If you have a NVIDIA or AMD/ATI graphics card then
|
|
|
|
consider using the proprietary drivers, which may provide better
|
2013-12-26 18:37:35 +01:00
|
|
|
performance than the open source drivers most distributions use by default.
|
|
|
|
Most Intel graphics chips use an open source driver on Linux, based on Mesa
|
|
|
|
("glxinfo | grep -i mesa"). This hardware is much slower than any dedicated
|
|
|
|
graphics cards produced during the past few years. The same holds true for
|
2016-10-21 16:46:05 -07:00
|
|
|
AMD APUs (the graphics chips embedded into AMD processors).
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2016-10-21 16:46:05 -07:00
|
|
|
--- Crashing ---
|
2011-01-03 03:01:32 +00:00
|
|
|
* Check the forums at http://forums.megaglest.org/
|
2016-10-21 16:46:05 -07:00
|
|
|
* Please report any crashes and freezes that are not yet described on the forums,
|
|
|
|
preferably with a gdb backtrace from a debugging enabled build
|
|
|
|
(cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo)
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2011-05-03 10:28:54 +00:00
|
|
|
|
2016-10-01 00:08:42 -04:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~ 4. More information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2011-05-03 04:27:37 +00:00
|
|
|
|
|
|
|
* Website
|
|
|
|
http://megaglest.org/
|
|
|
|
|
|
|
|
* Wiki
|
2016-10-01 00:08:42 -04:00
|
|
|
https://docs.megaglest.org/Main_Page
|
2011-01-03 03:01:32 +00:00
|
|
|
|
2011-05-03 04:27:37 +00:00
|
|
|
* Forums
|
2016-10-01 00:08:42 -04:00
|
|
|
http://forums.megaglest.org/
|
2011-05-03 04:27:37 +00:00
|
|
|
|
2016-10-01 00:08:42 -04:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5. Contact + Credits ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
* MegaGlest is developed by:
|
|
|
|
Titus Tscharntke (info@titusgames.de)
|
|
|
|
Mark Vejvoda (www.soft-haus.com - mark_vejvoda@hotmail.com)
|
2011-05-03 10:28:54 +00:00
|
|
|
|
2016-10-01 00:08:42 -04:00
|
|
|
* General contact:
|
|
|
|
contact@megaglest.org
|
2011-05-03 04:27:37 +00:00
|
|
|
|
2016-10-01 00:08:42 -04:00
|
|
|
* MegaGlest is a fork of Glest:
|
|
|
|
http://glest.org/
|
2011-05-03 04:27:37 +00:00
|
|
|
|
2016-10-01 00:08:42 -04:00
|
|
|
* Linux port by:
|
|
|
|
Matthias Braun
|
|
|
|
<matze@braunis.de>
|
|
|
|
|
|
|
|
with help from
|
|
|
|
|
|
|
|
Karl Robillard
|
|
|
|
<krobbillard@san.rr.com>
|
2013-11-05 21:12:56 +00:00
|
|
|
|
2016-10-01 00:08:42 -04:00
|
|
|
*** Please also refer to the copyright file. ***
|
2013-11-05 21:12:56 +00:00
|
|
|
|
2013-12-26 18:37:35 +01:00
|
|
|
On Debian GNU/Linux systems please find license information in:
|
2013-11-05 21:12:56 +00:00
|
|
|
/usr/share/common-licenses
|