<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://springrts-wiki.p2004a.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sombriks</id>
	<title>Spring - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://springrts-wiki.p2004a.com/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sombriks"/>
	<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/wiki/Special:Contributions/Sombriks"/>
	<updated>2026-11-08T19:48:37Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_Linux&amp;diff=3340</id>
		<title>Building Spring on Linux</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_Linux&amp;diff=3340"/>
		<updated>2009-10-03T14:11:05Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* Using CMake (2.6 or newer) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Engine_Development|Development]] &amp;lt; [[Building_spring|Building Spring]] &amp;lt; {{FULLPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
= Build From Source on Linux =&lt;br /&gt;
If prefer to use your distributions package system, refer to the Linux [[SetupGuide]].&lt;br /&gt;
&lt;br /&gt;
If there is no package tailored for your distribution, you have to install from sources manually. Doing this for distributions where packages are available is not recommended.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font style=&amp;quot;color: #f44&amp;quot;&amp;gt;&#039;&#039;&#039;Warning: Be carefull when building from source. You might encounter sync errors in online play if you are using special compilers (all GCC from the 4.x series should be safe) or unstandard compiler settings (be carefull about -march)!&#039;&#039;&#039;&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Obtaining the Source ==&lt;br /&gt;
{{Obtaining_The_Source_Code}}&lt;br /&gt;
&lt;br /&gt;
= Get Dependencies =&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. These vary from distro to distro and may also depend on your specific configuration.&lt;br /&gt;
&lt;br /&gt;
If your distributions is not listed below, you should be able to figure out the correct package names from this. The scons configure will whine if you forget something, but it does not check if you remembered to install zip, even though you still need it.&lt;br /&gt;
&lt;br /&gt;
== Full list ==&lt;br /&gt;
* Programs necessary to build&lt;br /&gt;
** cmake (or scons)&lt;br /&gt;
** 7zip (aka p7zip (package &#039;p7zip-full&#039; on Ubuntu))&lt;br /&gt;
** The usual build toolchain&lt;br /&gt;
*** gcc&lt;br /&gt;
*** make&lt;br /&gt;
* Libraries&lt;br /&gt;
** SDL&lt;br /&gt;
** boost (version 1.35 or later)&lt;br /&gt;
*** threads&lt;br /&gt;
*** regex&lt;br /&gt;
*** signals&lt;br /&gt;
*** system&lt;br /&gt;
** DeviL (IL, ILU)&lt;br /&gt;
** OpenAL (openal-soft, older openal-0.0.8 does not work)&lt;br /&gt;
** OpenGL headers (mesa, glew, etc.)&lt;br /&gt;
** zlib&lt;br /&gt;
** freetype&lt;br /&gt;
** ogg,vorbis and vorbisfile&lt;br /&gt;
* Optional, for bindings and Ais&lt;br /&gt;
** Python (2.5)&lt;br /&gt;
** Java-SDK&lt;br /&gt;
&lt;br /&gt;
== Debian ==&lt;br /&gt;
&lt;br /&gt;
For Etch (debian 4.0 stable) and Sid (debian unstable), I&#039;ve confirmed the&lt;br /&gt;
following to be the minimal set that is necessary to get. This works with Ubuntu 8.10, too.&lt;br /&gt;
The version of spring from git repository depends on boost at least version 1.35.* (if your distro is behind you can try [https://launchpad.net/~pgquiles/+archive/ppa some unofficial backports]) and won&#039;t work on lower versions. &lt;br /&gt;
&lt;br /&gt;
Also, on 64-bit be sure to build against devIl 1.6.8-rc2 or higher, 1.6.7 has a bug in the PNG loading code that causes issues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aptitude install build-essential zlib1g-dev libfreetype6-dev&lt;br /&gt;
sudo aptitude install libsdl1.2-dev libopenal-dev libglew-dev libboost-dev&lt;br /&gt;
sudo aptitude install libboost-thread-dev libboost-regex-dev libdevil-dev&lt;br /&gt;
sudo aptitude install libboost-serialization-dev zip&lt;br /&gt;
sudo aptitude install libboost-program-options-dev&lt;br /&gt;
sudo aptitude install libvorbis-dev libxcursor-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
and either scons and python2.5-dev or cmake, depending on what you use for building (I advise to use cmake).  On debian 5.0 (lenny), libglew1.5-dev is required as well.&lt;br /&gt;
&lt;br /&gt;
== Gentoo ==&lt;br /&gt;
This has been tested to work with a clean install of gentoo 2008.0:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge cmake \&amp;gt;=media-libs/freetype-2.0.0 \&amp;gt;=media-libs/libsdl-1.2.0&lt;br /&gt;
emerge media-libs/openal media-libs/glew dev-libs/boost&lt;br /&gt;
emerge app-arch/zip media-libs/libogg&lt;br /&gt;
USE=&amp;quot;png jpg tiff opengl&amp;quot; emerge media-libs/devil &lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fedora ==&lt;br /&gt;
&lt;br /&gt;
On Fedora 8, these dependencies should be sufficient:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install cmake boost-devel openal-devel SDL-devel \&lt;br /&gt;
DevIL-devel glew-devel libvorbis-devel &lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Slackware ==&lt;br /&gt;
&lt;br /&gt;
On Slackware 13, cmake, ogg vorbis, boost, glew and SDL already come with the full regular install, both libs and headers. Also [http://slackbuilds.org/ here] you will find helper scripts to easily compile and package DEvIL, openAL and spring itself.&lt;br /&gt;
&lt;br /&gt;
= Build And Install =&lt;br /&gt;
&lt;br /&gt;
== Using CMake (2.6 or newer) ==&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake .&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/local/bin/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/local/share/games/spring&amp;lt;/code&amp;gt;. If you want &amp;lt;code&amp;gt;/usr&amp;lt;/code&amp;gt; prefix instead &amp;lt;code&amp;gt;/usr/local&amp;lt;/code&amp;gt; do the compilation in this way:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake -DCMAKE_INSTALL_PREFIX=/usr .&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And install as shown previously&lt;br /&gt;
&lt;br /&gt;
== Using Scons ==&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons configure&lt;br /&gt;
scons&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
{{Finalizing_linux_install}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
{{Troubleshooting_linux}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Compiling]]&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_Linux&amp;diff=3339</id>
		<title>Building Spring on Linux</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_Linux&amp;diff=3339"/>
		<updated>2009-10-03T13:55:55Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* Fedora */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Engine_Development|Development]] &amp;lt; [[Building_spring|Building Spring]] &amp;lt; {{FULLPAGENAME}}&lt;br /&gt;
&lt;br /&gt;
= Build From Source on Linux =&lt;br /&gt;
If prefer to use your distributions package system, refer to the Linux [[SetupGuide]].&lt;br /&gt;
&lt;br /&gt;
If there is no package tailored for your distribution, you have to install from sources manually. Doing this for distributions where packages are available is not recommended.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;font style=&amp;quot;color: #f44&amp;quot;&amp;gt;&#039;&#039;&#039;Warning: Be carefull when building from source. You might encounter sync errors in online play if you are using special compilers (all GCC from the 4.x series should be safe) or unstandard compiler settings (be carefull about -march)!&#039;&#039;&#039;&amp;lt;/font&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Obtaining the Source ==&lt;br /&gt;
{{Obtaining_The_Source_Code}}&lt;br /&gt;
&lt;br /&gt;
= Get Dependencies =&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. These vary from distro to distro and may also depend on your specific configuration.&lt;br /&gt;
&lt;br /&gt;
If your distributions is not listed below, you should be able to figure out the correct package names from this. The scons configure will whine if you forget something, but it does not check if you remembered to install zip, even though you still need it.&lt;br /&gt;
&lt;br /&gt;
== Full list ==&lt;br /&gt;
* Programs necessary to build&lt;br /&gt;
** cmake (or scons)&lt;br /&gt;
** 7zip (aka p7zip (package &#039;p7zip-full&#039; on Ubuntu))&lt;br /&gt;
** The usual build toolchain&lt;br /&gt;
*** gcc&lt;br /&gt;
*** make&lt;br /&gt;
* Libraries&lt;br /&gt;
** SDL&lt;br /&gt;
** boost (version 1.35 or later)&lt;br /&gt;
*** threads&lt;br /&gt;
*** regex&lt;br /&gt;
*** signals&lt;br /&gt;
*** system&lt;br /&gt;
** DeviL (IL, ILU)&lt;br /&gt;
** OpenAL (openal-soft, older openal-0.0.8 does not work)&lt;br /&gt;
** OpenGL headers (mesa, glew, etc.)&lt;br /&gt;
** zlib&lt;br /&gt;
** freetype&lt;br /&gt;
** ogg,vorbis and vorbisfile&lt;br /&gt;
* Optional, for bindings and Ais&lt;br /&gt;
** Python (2.5)&lt;br /&gt;
** Java-SDK&lt;br /&gt;
&lt;br /&gt;
== Debian ==&lt;br /&gt;
&lt;br /&gt;
For Etch (debian 4.0 stable) and Sid (debian unstable), I&#039;ve confirmed the&lt;br /&gt;
following to be the minimal set that is necessary to get. This works with Ubuntu 8.10, too.&lt;br /&gt;
The version of spring from git repository depends on boost at least version 1.35.* (if your distro is behind you can try [https://launchpad.net/~pgquiles/+archive/ppa some unofficial backports]) and won&#039;t work on lower versions. &lt;br /&gt;
&lt;br /&gt;
Also, on 64-bit be sure to build against devIl 1.6.8-rc2 or higher, 1.6.7 has a bug in the PNG loading code that causes issues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aptitude install build-essential zlib1g-dev libfreetype6-dev&lt;br /&gt;
sudo aptitude install libsdl1.2-dev libopenal-dev libglew-dev libboost-dev&lt;br /&gt;
sudo aptitude install libboost-thread-dev libboost-regex-dev libdevil-dev&lt;br /&gt;
sudo aptitude install libboost-serialization-dev zip&lt;br /&gt;
sudo aptitude install libboost-program-options-dev&lt;br /&gt;
sudo aptitude install libvorbis-dev libxcursor-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
and either scons and python2.5-dev or cmake, depending on what you use for building (I advise to use cmake).  On debian 5.0 (lenny), libglew1.5-dev is required as well.&lt;br /&gt;
&lt;br /&gt;
== Gentoo ==&lt;br /&gt;
This has been tested to work with a clean install of gentoo 2008.0:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge cmake \&amp;gt;=media-libs/freetype-2.0.0 \&amp;gt;=media-libs/libsdl-1.2.0&lt;br /&gt;
emerge media-libs/openal media-libs/glew dev-libs/boost&lt;br /&gt;
emerge app-arch/zip media-libs/libogg&lt;br /&gt;
USE=&amp;quot;png jpg tiff opengl&amp;quot; emerge media-libs/devil &lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Fedora ==&lt;br /&gt;
&lt;br /&gt;
On Fedora 8, these dependencies should be sufficient:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install cmake boost-devel openal-devel SDL-devel \&lt;br /&gt;
DevIL-devel glew-devel libvorbis-devel &lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Slackware ==&lt;br /&gt;
&lt;br /&gt;
On Slackware 13, cmake, ogg vorbis, boost, glew and SDL already come with the full regular install, both libs and headers. Also [http://slackbuilds.org/ here] you will find helper scripts to easily compile and package DEvIL, openAL and spring itself.&lt;br /&gt;
&lt;br /&gt;
= Build And Install =&lt;br /&gt;
&lt;br /&gt;
== Using CMake (2.6 or newer) ==&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake .&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/local/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/local/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Using Scons ==&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons configure&lt;br /&gt;
scons&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
{{Finalizing_linux_install}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
{{Troubleshooting_linux}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Compiling]]&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Slackware_install&amp;diff=16903</id>
		<title>Slackware install</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Slackware_install&amp;diff=16903"/>
		<updated>2008-07-28T06:56:41Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* http://www.winehq.org/images/distro/slackware.png Slackware 12 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== http://www.winehq.org/images/distro/slackware.png Slackware 12 ===&lt;br /&gt;
&lt;br /&gt;
Working for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is all dependencies in precompiled tgz&#039;s:&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501453/spring-0.76b1-i486-1leo.tgz spring 0.76b1]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501452/openal-0.0.8-i486-1df.tgz openAL 0.8]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501448/DevIL-1.6.8rc2-i386-1ajl.tgz DevIL 1.6.8]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501449/boost-1.34.1-i486-2gds.tgz boost 1.34.1]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501451/icu-3.8.1-i486-1gds.tgz icu 3.8.1]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501450/glew-1.5.0-i586-1leo.tgz glew 1.5.0]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/132998485/libtorrent_rasterbar-0.13.1-i486-1leo.tgz libtorrent-rasterbar]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/132998486/springlobby-0.0.1.10292-i486-1leo.tgz springlobby]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501454/wxwidgets-2.8.7-i486-1gds.tgz wxwidgets 2.8.7]&lt;br /&gt;
&lt;br /&gt;
Assuming that all .tgz are saved in the same directory, open a console and cd inside that directory; then do this:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
su -c &amp;quot;installpkg *.tgz&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When asked for the root password, give it.&lt;br /&gt;
&lt;br /&gt;
A menu entry for spring and another to springlobby will apear in KDE, XFCE and GNOME.&lt;br /&gt;
&lt;br /&gt;
Also, spring and springlobby executables will be accessible via shell; put it on you fluxbox menu, ;D&lt;br /&gt;
&lt;br /&gt;
{{Finalizing_linux_install}}&lt;br /&gt;
&lt;br /&gt;
{{Linux_tips}}&lt;br /&gt;
&lt;br /&gt;
{{Troubleshooting_linux}}&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Slackware_install&amp;diff=16902</id>
		<title>Slackware install</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Slackware_install&amp;diff=16902"/>
		<updated>2008-07-22T03:22:11Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* http://www.winehq.org/images/distro/slackware.png Slackware 12 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== http://www.winehq.org/images/distro/slackware.png Slackware 12 ===&lt;br /&gt;
&lt;br /&gt;
Working for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is all dependencies in precompiled tgz&#039;s:&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501453/spring-0.76b1-i486-1leo.tgz spring 0.76b1]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501452/openal-0.0.8-i486-1df.tgz openAL 0.8]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501448/DevIL-1.6.8rc2-i386-1ajl.tgz DevIL 1.6.8]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501449/boost-1.34.1-i486-2gds.tgz boost 1.34.1]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501451/icu-3.8.1-i486-1gds.tgz icu 3.8.1]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501450/glew-1.5.0-i586-1leo.tgz glew 1.5.0]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501455/springlobby-0.0.1.10219-i486-1leo.tgz springlobby]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501454/wxwidgets-2.8.7-i486-1gds.tgz wxwidgets 2.8.7]&lt;br /&gt;
&lt;br /&gt;
Assuming that all .tgz are saved in the same directory, open a console and cd inside that directory; then do this:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
su -c &amp;quot;installpkg *.tgz&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When asked for the root password, give it.&lt;br /&gt;
&lt;br /&gt;
A menu entry for spring and another to springlobby will apear in KDE, XFCE and GNOME.&lt;br /&gt;
&lt;br /&gt;
Also, spring and springlobby executables will be accessible via shell; put it on you fluxbox menu, ;D&lt;br /&gt;
&lt;br /&gt;
{{Finalizing_linux_install}}&lt;br /&gt;
&lt;br /&gt;
{{Linux_tips}}&lt;br /&gt;
&lt;br /&gt;
{{Troubleshooting_linux}}&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Slackware_install&amp;diff=16901</id>
		<title>Slackware install</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Slackware_install&amp;diff=16901"/>
		<updated>2008-07-22T03:21:34Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* http://www.winehq.org/images/distro/slackware.png Slackware 12 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== http://www.winehq.org/images/distro/slackware.png Slackware 12 ===&lt;br /&gt;
&lt;br /&gt;
Working for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is all dependencies in precompiled tgz&#039;s:&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501453/spring-0.76b1-i486-1leo.tgz | spring 0.76b1]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501452/openal-0.0.8-i486-1df.tgz | openAL 0.8]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501448/DevIL-1.6.8rc2-i386-1ajl.tgz | DevIL 1.6.8]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501449/boost-1.34.1-i486-2gds.tgz | boost 1.34.1]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501451/icu-3.8.1-i486-1gds.tgz | icu 3.8.1]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501450/glew-1.5.0-i586-1leo.tgz | glew 1.5.0]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501455/springlobby-0.0.1.10219-i486-1leo.tgz | springlobby]&lt;br /&gt;
&lt;br /&gt;
[http://rapidshare.com/files/131501454/wxwidgets-2.8.7-i486-1gds.tgz | wxwidgets 2.8.7]&lt;br /&gt;
&lt;br /&gt;
Assuming that all .tgz are saved in the same directory, open a console and cd inside that directory; then do this:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
su -c &amp;quot;installpkg *.tgz&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When asked for the root password, give it.&lt;br /&gt;
&lt;br /&gt;
A menu entry for spring and another to springlobby will apear in KDE, XFCE and GNOME.&lt;br /&gt;
&lt;br /&gt;
Also, spring and springlobby executables will be accessible via shell; put it on you fluxbox menu, ;D&lt;br /&gt;
&lt;br /&gt;
{{Finalizing_linux_install}}&lt;br /&gt;
&lt;br /&gt;
{{Linux_tips}}&lt;br /&gt;
&lt;br /&gt;
{{Troubleshooting_linux}}&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Troubleshooting_linux&amp;diff=18394</id>
		<title>Troubleshooting linux</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Troubleshooting_linux&amp;diff=18394"/>
		<updated>2008-07-17T21:42:46Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* invalid use of ILvoid / ALCvoid */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== Ingame ==&lt;br /&gt;
&lt;br /&gt;
=== LuaUI Crash Ingame ===&lt;br /&gt;
&lt;br /&gt;
This issue is caused by a memory corruption bug in spring. It will be fixed in version after 0.76b1. Ubuntu packages include the fix. &#039;&#039;&#039;Workaround: disable ground decals.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
LuaUI can crash during game, because some lua script you use has a bug. 0.75 should be resistant to this problem, but 0.74b3 is not. After crash, you won&#039;t see the bottom left tooltip box and top right resource bar anymore. Fear not, help is near:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/resbar 1&lt;br /&gt;
/tooltip 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These might not be necessary in 0.75 anymore at all.&lt;br /&gt;
&lt;br /&gt;
Also, you won&#039;t be able to change the build menu page with mouse anymore, but keys , and . do the trick.&lt;br /&gt;
&lt;br /&gt;
LuaUI can also be restarted after it crashed. Often this does the trick and it works fine the rest of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/luaui reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mouse is slow in fullscreen mode ===&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &#039;export SDL_MOUSE_RELATIVE=0&#039; &amp;gt;&amp;gt; ~/.bash_profile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
And log out and log in again.&lt;br /&gt;
&lt;br /&gt;
The mouse should now be as fast as in windowed mode.&lt;br /&gt;
&lt;br /&gt;
=== Rotating Buildings Ingame ===&lt;br /&gt;
&lt;br /&gt;
You can rotate a building before you give the build order, but the keys that do this don&#039;t work in linux by default for some users. Issue the following commands in the beginning of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/bind keycodex buildfacing inc&lt;br /&gt;
/bind keycodey buildfacing dec&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Keycodex and keycodey above are just placeholders. What you want to write depends on which key you want to use. To see what keycodes any keys have, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/keydebug yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then hit the keys you want to use, and spring prints the keycodes in the message buffer.&lt;br /&gt;
&lt;br /&gt;
TODO: add information on how to save the settings so that they work the next time you start spring.&lt;br /&gt;
&lt;br /&gt;
=== Map is White ===&lt;br /&gt;
&lt;br /&gt;
If the whole map is only shades of white and grey, there is a problem with your display driver. Maybe your gpu is very old and does not support some needed opengl feature. For example I had this problem with matrox g550 but not with some very old geforce.&lt;br /&gt;
&lt;br /&gt;
=== Sound is Choppy ===&lt;br /&gt;
&lt;br /&gt;
If the engine sound is very broken or choppy sounding, and you hear some noise or crackling, you need to tell OpenAL to try to use a different sound backend. If you don&#039;t have an ~/.openalrc file, create it with these contents, or modify your current one to look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(define devices &#039;(native alsa sdl arts esd null))&lt;br /&gt;
(define alsa-device &amp;quot;dsp0&amp;quot;)&lt;br /&gt;
(define speaker-num 2)&lt;br /&gt;
;(define sampling-rate 22050)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The important line here is the &amp;quot;define devices&amp;quot; line, OpenAL attempts to use each of those sound output methods in order. It uses the first one that works; in some cases native will work best, in other cases perhaps alsa. If Gnome is running its sound daemon, esd would be the best choice, while KDE usually uses artsd.&lt;br /&gt;
&lt;br /&gt;
== Startup ==&lt;br /&gt;
&lt;br /&gt;
=== Missing Default Cursor ===&lt;br /&gt;
&lt;br /&gt;
This or any similar error of not being able to find a specific file are usually because the mod you are using needs ota content, download &amp;amp; install as explained [[SetupGuide#OTA_Content|earlier in this document]].&lt;br /&gt;
&lt;br /&gt;
=== could not open file: gamedata/defs.lua ===&lt;br /&gt;
&lt;br /&gt;
Make sure your ~/.spring does not contain an outdated version of base/springcontent.sdz because a new version of this file is distributed with spring.&lt;br /&gt;
If you do, just remove it.&lt;br /&gt;
&lt;br /&gt;
=== sounds/button9.wav &amp;quot;cant find wav file&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Same problem as above.&lt;br /&gt;
&lt;br /&gt;
=== Couldnt find matching GLX visual ===&lt;br /&gt;
&lt;br /&gt;
Reduce anti aliasing.&lt;br /&gt;
&lt;br /&gt;
=== GL_ARB_texture_compression not found ===&lt;br /&gt;
&lt;br /&gt;
This can be an issue with your gpu drivers. The drivers you are using do not support a feature that is required to run spring. You might have better luck with the closed source official drivers of nvidia or amd cards. If your gpu itself is really old, this might not help.&lt;br /&gt;
&lt;br /&gt;
If you use the fglrx ati-graphics driver and you are getting this error there might be a chance that still spring work (I use this with ubuntu gusty).&lt;br /&gt;
At first we must check that fglrx is installed correctly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
OpenGL version string: 2.0.6747 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then lets check the glx-extention.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ glxinfo | grep direct&lt;br /&gt;
Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;.&lt;br /&gt;
direct rendering: No&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you get this message, notice that glxinfo releates to display &#039;:1&#039; and fglrxinfo to display &#039;:0&#039;!! Lets check the glx-extention on display :0 now.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 glxinfo | grep direct&lt;br /&gt;
direct rendering: Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This message mean that you can start spring by typing (in a terminal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 spring&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the TASclient with wine and the native linux spring. Start the whole TASclient-start-script by typing. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
DISPLAY=:0 TASCLIENT-start-script&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But Notice under circumstances is no windowmanager running on screen :0! This means there are NO windowframes at the TASClient window! You can&#039;t move it or close it by clicking the closebutton (unless you click at the close button on the terminal-window in witch you startet TAS). You can although close TAS with the keys ALT-F4&lt;br /&gt;
&lt;br /&gt;
=== OpenAL Segfault ===&lt;br /&gt;
&lt;br /&gt;
If spring crashes with this output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenAL: ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_EXT_MP3&lt;br /&gt;
AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format&lt;br /&gt;
AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel&lt;br /&gt;
Segmentation fault (core dumped)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look into this thread on the forums for a fix: http://spring.clan-sy.com/phpbb/viewtopic.php?f=20&amp;amp;t=12568&lt;br /&gt;
&lt;br /&gt;
Then bug nemo in #taspring to finish this troubleshooting entry. He knows how to fix it.&lt;br /&gt;
&lt;br /&gt;
This is mod-related, ie. it only happens on some mods. Please list here the mod versions that give this error for you.&lt;br /&gt;
&lt;br /&gt;
- Star Wars mod, unknown version, by user report&lt;br /&gt;
&lt;br /&gt;
The problematic mod contains a sound file that crashes openal. You can try to unzip the mod file that crashed for you, and play each sound file. Please report any sound files that fail to play right, just list them here.&lt;br /&gt;
&lt;br /&gt;
- unknown file&lt;br /&gt;
&lt;br /&gt;
=== Desync in game ===&lt;br /&gt;
&lt;br /&gt;
If you start a network game with other players, and you get sync error messages in game, your lobby version may be too old. It does not support the new protocol so it does not set the options on spring correctly, and desyncs at game start.&lt;br /&gt;
&lt;br /&gt;
== Compiletime ==&lt;br /&gt;
&lt;br /&gt;
=== invalid use of ILvoid / ALCvoid  ===&lt;br /&gt;
&lt;br /&gt;
During compiling, if you get a lot of the following errors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/include/IL/il.h:497: error: &#039;&amp;lt;anonymous&amp;gt;&#039; has incomplete type &lt;br /&gt;
/usr/include/IL/il.h:497: error: invalid use of &#039;ILvoid&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This happens because the version of libdevil-dev you have installed is not compatible with gcc version 4.2 and newer.&lt;br /&gt;
&lt;br /&gt;
You should upgrade your libdevil-dev to fix this issue. However, in some distributions (at least gentoo), the fixed package has the SAME version number as the older unfixed package, so you might actually need to remove your current libdevil-dev package completely and reinstall it.&lt;br /&gt;
&lt;br /&gt;
this is an issue that can be better hacked [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9278 there]. while the packages aren&#039;t fixed for their maintainers, you will need to do nasty things, like that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
//typedef void ALCvoid;&lt;br /&gt;
#define ALCvoid void&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Network Setup ==&lt;br /&gt;
&lt;br /&gt;
Usually you don&#039;t need to do any network setup whatsoever, because the lobbies take care of nat traversal with firewall hole punching, but if you need to know the topology, it goes like this:&lt;br /&gt;
&lt;br /&gt;
Host needs to enable incoming udp to port 8452, and outgoing replies to those.&lt;br /&gt;
Non-host players need to enable outgoing udp, and incoming replies to those.&lt;br /&gt;
So basically only non-host players initiate &amp;quot;connections&amp;quot;, and only the server listens on a well-known port.&lt;br /&gt;
&lt;br /&gt;
== If You Still Have Problems ==&lt;br /&gt;
&lt;br /&gt;
Join to #taspring on Freenode or #sy on QuakeNet and try your luck.&lt;br /&gt;
&lt;br /&gt;
However, generic linux problems not really related to installing this should be asked elsewhere.&lt;br /&gt;
&lt;br /&gt;
Prepare to list your distribution, which installation method you used, and what exactly is the error. Don&#039;t ask if people are around or not, just go straight to business and tell all details, for maximizing your chances of getting help.&lt;br /&gt;
&lt;br /&gt;
== IRC ==&lt;br /&gt;
&lt;br /&gt;
# #taspring @ FreeNode&lt;br /&gt;
# #sy @ QuakeNet&lt;br /&gt;
&lt;br /&gt;
== Asking For Help ==&lt;br /&gt;
&lt;br /&gt;
Ok so you need human help. This is how &#039;&#039;&#039;NOT&#039;&#039;&#039; to do it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
15:54 -!- **** [n=****@*] has joined #taspring&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; Hi, i have a problem with compiling spring on debian&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; can anyone help me?&lt;br /&gt;
15:57 -!- **** [n=****@*] has quit [Client Quit]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Don&#039;t ask to ask, instead go straight to business by stating the exact problem you have, and giving all necessary information. What you were trying to achieve, how did you try to do it, what happened and what did you expect to happen.&lt;br /&gt;
&lt;br /&gt;
Then WAIT for someone to notice you.&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Troubleshooting_linux&amp;diff=18393</id>
		<title>Troubleshooting linux</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Troubleshooting_linux&amp;diff=18393"/>
		<updated>2008-07-17T21:42:21Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* Compiletime */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== Ingame ==&lt;br /&gt;
&lt;br /&gt;
=== LuaUI Crash Ingame ===&lt;br /&gt;
&lt;br /&gt;
This issue is caused by a memory corruption bug in spring. It will be fixed in version after 0.76b1. Ubuntu packages include the fix. &#039;&#039;&#039;Workaround: disable ground decals.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
LuaUI can crash during game, because some lua script you use has a bug. 0.75 should be resistant to this problem, but 0.74b3 is not. After crash, you won&#039;t see the bottom left tooltip box and top right resource bar anymore. Fear not, help is near:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/resbar 1&lt;br /&gt;
/tooltip 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These might not be necessary in 0.75 anymore at all.&lt;br /&gt;
&lt;br /&gt;
Also, you won&#039;t be able to change the build menu page with mouse anymore, but keys , and . do the trick.&lt;br /&gt;
&lt;br /&gt;
LuaUI can also be restarted after it crashed. Often this does the trick and it works fine the rest of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/luaui reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mouse is slow in fullscreen mode ===&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &#039;export SDL_MOUSE_RELATIVE=0&#039; &amp;gt;&amp;gt; ~/.bash_profile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
And log out and log in again.&lt;br /&gt;
&lt;br /&gt;
The mouse should now be as fast as in windowed mode.&lt;br /&gt;
&lt;br /&gt;
=== Rotating Buildings Ingame ===&lt;br /&gt;
&lt;br /&gt;
You can rotate a building before you give the build order, but the keys that do this don&#039;t work in linux by default for some users. Issue the following commands in the beginning of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/bind keycodex buildfacing inc&lt;br /&gt;
/bind keycodey buildfacing dec&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Keycodex and keycodey above are just placeholders. What you want to write depends on which key you want to use. To see what keycodes any keys have, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/keydebug yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then hit the keys you want to use, and spring prints the keycodes in the message buffer.&lt;br /&gt;
&lt;br /&gt;
TODO: add information on how to save the settings so that they work the next time you start spring.&lt;br /&gt;
&lt;br /&gt;
=== Map is White ===&lt;br /&gt;
&lt;br /&gt;
If the whole map is only shades of white and grey, there is a problem with your display driver. Maybe your gpu is very old and does not support some needed opengl feature. For example I had this problem with matrox g550 but not with some very old geforce.&lt;br /&gt;
&lt;br /&gt;
=== Sound is Choppy ===&lt;br /&gt;
&lt;br /&gt;
If the engine sound is very broken or choppy sounding, and you hear some noise or crackling, you need to tell OpenAL to try to use a different sound backend. If you don&#039;t have an ~/.openalrc file, create it with these contents, or modify your current one to look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
(define devices &#039;(native alsa sdl arts esd null))&lt;br /&gt;
(define alsa-device &amp;quot;dsp0&amp;quot;)&lt;br /&gt;
(define speaker-num 2)&lt;br /&gt;
;(define sampling-rate 22050)&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The important line here is the &amp;quot;define devices&amp;quot; line, OpenAL attempts to use each of those sound output methods in order. It uses the first one that works; in some cases native will work best, in other cases perhaps alsa. If Gnome is running its sound daemon, esd would be the best choice, while KDE usually uses artsd.&lt;br /&gt;
&lt;br /&gt;
== Startup ==&lt;br /&gt;
&lt;br /&gt;
=== Missing Default Cursor ===&lt;br /&gt;
&lt;br /&gt;
This or any similar error of not being able to find a specific file are usually because the mod you are using needs ota content, download &amp;amp; install as explained [[SetupGuide#OTA_Content|earlier in this document]].&lt;br /&gt;
&lt;br /&gt;
=== could not open file: gamedata/defs.lua ===&lt;br /&gt;
&lt;br /&gt;
Make sure your ~/.spring does not contain an outdated version of base/springcontent.sdz because a new version of this file is distributed with spring.&lt;br /&gt;
If you do, just remove it.&lt;br /&gt;
&lt;br /&gt;
=== sounds/button9.wav &amp;quot;cant find wav file&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Same problem as above.&lt;br /&gt;
&lt;br /&gt;
=== Couldnt find matching GLX visual ===&lt;br /&gt;
&lt;br /&gt;
Reduce anti aliasing.&lt;br /&gt;
&lt;br /&gt;
=== GL_ARB_texture_compression not found ===&lt;br /&gt;
&lt;br /&gt;
This can be an issue with your gpu drivers. The drivers you are using do not support a feature that is required to run spring. You might have better luck with the closed source official drivers of nvidia or amd cards. If your gpu itself is really old, this might not help.&lt;br /&gt;
&lt;br /&gt;
If you use the fglrx ati-graphics driver and you are getting this error there might be a chance that still spring work (I use this with ubuntu gusty).&lt;br /&gt;
At first we must check that fglrx is installed correctly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
OpenGL version string: 2.0.6747 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then lets check the glx-extention.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ glxinfo | grep direct&lt;br /&gt;
Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;.&lt;br /&gt;
direct rendering: No&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you get this message, notice that glxinfo releates to display &#039;:1&#039; and fglrxinfo to display &#039;:0&#039;!! Lets check the glx-extention on display :0 now.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 glxinfo | grep direct&lt;br /&gt;
direct rendering: Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This message mean that you can start spring by typing (in a terminal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 spring&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the TASclient with wine and the native linux spring. Start the whole TASclient-start-script by typing. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
DISPLAY=:0 TASCLIENT-start-script&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But Notice under circumstances is no windowmanager running on screen :0! This means there are NO windowframes at the TASClient window! You can&#039;t move it or close it by clicking the closebutton (unless you click at the close button on the terminal-window in witch you startet TAS). You can although close TAS with the keys ALT-F4&lt;br /&gt;
&lt;br /&gt;
=== OpenAL Segfault ===&lt;br /&gt;
&lt;br /&gt;
If spring crashes with this output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenAL: ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_EXT_MP3&lt;br /&gt;
AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format&lt;br /&gt;
AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel&lt;br /&gt;
Segmentation fault (core dumped)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look into this thread on the forums for a fix: http://spring.clan-sy.com/phpbb/viewtopic.php?f=20&amp;amp;t=12568&lt;br /&gt;
&lt;br /&gt;
Then bug nemo in #taspring to finish this troubleshooting entry. He knows how to fix it.&lt;br /&gt;
&lt;br /&gt;
This is mod-related, ie. it only happens on some mods. Please list here the mod versions that give this error for you.&lt;br /&gt;
&lt;br /&gt;
- Star Wars mod, unknown version, by user report&lt;br /&gt;
&lt;br /&gt;
The problematic mod contains a sound file that crashes openal. You can try to unzip the mod file that crashed for you, and play each sound file. Please report any sound files that fail to play right, just list them here.&lt;br /&gt;
&lt;br /&gt;
- unknown file&lt;br /&gt;
&lt;br /&gt;
=== Desync in game ===&lt;br /&gt;
&lt;br /&gt;
If you start a network game with other players, and you get sync error messages in game, your lobby version may be too old. It does not support the new protocol so it does not set the options on spring correctly, and desyncs at game start.&lt;br /&gt;
&lt;br /&gt;
== Compiletime ==&lt;br /&gt;
&lt;br /&gt;
=== invalid use of ILvoid / ALCvoid  ===&lt;br /&gt;
&lt;br /&gt;
During compiling, if you get a lot of the following errors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/include/IL/il.h:497: error: &#039;&amp;lt;anonymous&amp;gt;&#039; has incomplete type &lt;br /&gt;
/usr/include/IL/il.h:497: error: invalid use of &#039;ILvoid&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This happens because the version of libdevil-dev you have installed is not compatible with gcc version 4.2 and newer.&lt;br /&gt;
&lt;br /&gt;
You should upgrade your libdevil-dev to fix this issue. However, in some distributions (at least gentoo), the fixed package has the SAME version number as the older unfixed package, so you might actually need to remove your current libdevil-dev package completely and reinstall it.&lt;br /&gt;
&lt;br /&gt;
this is an issue that can be better hacked [http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9278 there]. while the packages aren&#039;t fixed for their maintainers, you will need to do nasty things, like that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
//typedef void ALCvoid;&lt;br /&gt;
#define ALCvoid void&lt;br /&gt;
&amp;lt;/code&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Network Setup ==&lt;br /&gt;
&lt;br /&gt;
Usually you don&#039;t need to do any network setup whatsoever, because the lobbies take care of nat traversal with firewall hole punching, but if you need to know the topology, it goes like this:&lt;br /&gt;
&lt;br /&gt;
Host needs to enable incoming udp to port 8452, and outgoing replies to those.&lt;br /&gt;
Non-host players need to enable outgoing udp, and incoming replies to those.&lt;br /&gt;
So basically only non-host players initiate &amp;quot;connections&amp;quot;, and only the server listens on a well-known port.&lt;br /&gt;
&lt;br /&gt;
== If You Still Have Problems ==&lt;br /&gt;
&lt;br /&gt;
Join to #taspring on Freenode or #sy on QuakeNet and try your luck.&lt;br /&gt;
&lt;br /&gt;
However, generic linux problems not really related to installing this should be asked elsewhere.&lt;br /&gt;
&lt;br /&gt;
Prepare to list your distribution, which installation method you used, and what exactly is the error. Don&#039;t ask if people are around or not, just go straight to business and tell all details, for maximizing your chances of getting help.&lt;br /&gt;
&lt;br /&gt;
== IRC ==&lt;br /&gt;
&lt;br /&gt;
# #taspring @ FreeNode&lt;br /&gt;
# #sy @ QuakeNet&lt;br /&gt;
&lt;br /&gt;
== Asking For Help ==&lt;br /&gt;
&lt;br /&gt;
Ok so you need human help. This is how &#039;&#039;&#039;NOT&#039;&#039;&#039; to do it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
15:54 -!- **** [n=****@*] has joined #taspring&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; Hi, i have a problem with compiling spring on debian&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; can anyone help me?&lt;br /&gt;
15:57 -!- **** [n=****@*] has quit [Client Quit]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Don&#039;t ask to ask, instead go straight to business by stating the exact problem you have, and giving all necessary information. What you were trying to achieve, how did you try to do it, what happened and what did you expect to happen.&lt;br /&gt;
&lt;br /&gt;
Then WAIT for someone to notice you.&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Slackware_install&amp;diff=16900</id>
		<title>Slackware install</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Slackware_install&amp;diff=16900"/>
		<updated>2008-07-16T22:32:46Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* http://www.winehq.org/images/distro/slackware.png Slackware 12 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== http://www.winehq.org/images/distro/slackware.png Slackware 12 ===&lt;br /&gt;
&lt;br /&gt;
Working for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is all dependencies in precompiled tgz&#039;s:&lt;br /&gt;
&lt;br /&gt;
glew (http://www.linuxpackages.net/pkg_details.php?id=12051)&amp;lt;br/&amp;gt;&lt;br /&gt;
DeviL (http://www.linuxpackages.net/pkg_details.php?id=10571)&amp;lt;br/&amp;gt;&lt;br /&gt;
openal (http://www.linuxpackages.net/pkg_details.php?id=11993)&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
boost (http://www.linuxpackages.net/pkg_details.php?id=12046)&amp;lt;br/&amp;gt;&lt;br /&gt;
icu (http://www.linuxpackages.net/pkg_details.php?id=12034)&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
wxWidgets (http://www.linuxpackages.net/pkg_details.php?id=12072)&amp;lt;br/&amp;gt;&lt;br /&gt;
springlobby (http://www.linuxpackages.net/pkg_details.php?id=12294)&amp;lt;br/&amp;gt;&lt;br /&gt;
spring - thanks to leo moisio - (http://www.springlobby.info/slackware/spring-0.76b1-i486-1leo.tgz)&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that all .tgz are saved in the same directory, open a console and cd inside that directory; then do this:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
su -c &amp;quot;installpkg *.tgz&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When asked for the root password, give it.&lt;br /&gt;
&lt;br /&gt;
A menu entry for spring and another to springlobby will apear in KDE, XFCE and GNOME.&lt;br /&gt;
&lt;br /&gt;
Also, spring and springlobby executables will be accessible via shell; put it on you fluxbox menu, ;D&lt;br /&gt;
&lt;br /&gt;
{{Finalizing_linux_install}}&lt;br /&gt;
&lt;br /&gt;
{{Linux_tips}}&lt;br /&gt;
&lt;br /&gt;
{{Troubleshooting_linux}}&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Development:Main&amp;diff=5649</id>
		<title>Development:Main</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Development:Main&amp;diff=5649"/>
		<updated>2008-07-10T23:52:48Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* CMake/SCONS/MinGW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Outlined below is information on assisting with the development of the Spring source itself.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;small&amp;gt;NOTE: For information about developing a mod (units, maps, etc.) see the [[Mod Development]] page.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below you can find information on how to work with the Spring source in the current mainline (Windows platform) if you like to work on another platform (Linux &amp;amp; Mac) please look at the bottem of this page under &amp;quot;Multiplatform development&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Starting Development==&lt;br /&gt;
To start development, you will need&lt;br /&gt;
#To read the [[Coding_Standards]]&lt;br /&gt;
#The latest version of the source &lt;br /&gt;
#A good code manipulation program&lt;br /&gt;
#Compiling your modified source&lt;br /&gt;
&lt;br /&gt;
== Keep track what others do ==&lt;br /&gt;
If you develop with others, you need to know what they do. We have [http://spring.clan-sy.com/fisheye/ fisheye], a very handy SVN helper, and [http://spring.clan-sy.com/websvn/ WebSVN] running on the server.&lt;br /&gt;
&lt;br /&gt;
===Source Code Documentation===&lt;br /&gt;
A good place to start is [http://buildbot.no-ip.org/~buildbot/spring/doxygen the source code documentation].&lt;br /&gt;
&lt;br /&gt;
An explanation on how the code is executed in game can be found in the [[Spring Engine Code]]&lt;br /&gt;
page.&lt;br /&gt;
&lt;br /&gt;
==Obtaining the Source==&lt;br /&gt;
The latest SVN is at: [https://spring.clan-sy.com/svn/spring https://spring.clan-sy.com/svn/spring]&amp;lt;br&amp;gt;&lt;br /&gt;
A hourly updated read-only mirror is available at: svn://caspring.org:3691/&lt;br /&gt;
&lt;br /&gt;
Another option is to manually [http://spring.clan-sy.com/download.php download] it along with the latest released version of the game. However, for serious developers, a better way would be to download the source straight from the subversion (SVN) repository. This will also allow you to make a patch out of the changes you make to the code, and send it to one of the developers with SVN access.&lt;br /&gt;
&lt;br /&gt;
Windows SVN clients : [http://subversion.tigris.org Subversion] (Win32-Console), &lt;br /&gt;
[http://www.syntevo.com/smartsvn/index.jsp SmartSVN] (Java) and [http://tortoisesvn.tigris.org TortoiseSVN] (MSI).&lt;br /&gt;
&lt;br /&gt;
Assuming that you are using the Subversion svn client you can download the latest SVN source with one of the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;svn.exe checkout https://spring.clan-sy.com/svn/spring/trunk&amp;lt;br&amp;gt;&lt;br /&gt;
svn.exe checkout svn://caspring.org:3691/trunk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It will create a trunk subdirectory in the directory from where you ran it, which will contain the source code root directory which will be later referred to as /spring&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using Git rather than SVN, you need to initialize local repository and fetch using:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git-svn clone https://spring.clan-sy.com/svn/spring&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(this may take a while)&lt;br /&gt;
&lt;br /&gt;
To update your local repository, use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git-svn fetch https://spring.clan-sy.com/svn/spring&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Learning C++==&lt;br /&gt;
You will need to know C++ to modify or understand Spring&#039;s source code. If you are interested in learning C++, see [[Learning_CPP]]&lt;br /&gt;
&lt;br /&gt;
However please note that badly designed code (code created by a C++ novice for example), even if working will likely not be included in the spring code. Spring is a large project, and therefore it is necessary to stay away from hack jobs and create general solutions to problems.&lt;br /&gt;
&lt;br /&gt;
==Setting up your development environment==&lt;br /&gt;
You have either to use the SCons build system that is multi platform, or use Microsoft Visual Studio for building spring. See also [[Development_IDEs]] for some more background information about the IDE to choose.&lt;br /&gt;
&lt;br /&gt;
===Visual Studio 8 (2005)===&lt;br /&gt;
(possibly the free Express Edition) &lt;br /&gt;
&lt;br /&gt;
* Install the [http://xta.wolfgame.org/SimBase/vclibs.7z vclibs library package]. You need to install this in the /spring directory from the SVN checkout the zipped source. If done right, it will look like:&lt;br /&gt;
**/spring/&lt;br /&gt;
**/spring/installer&lt;br /&gt;
**/spring/rts&lt;br /&gt;
**/spring/... other dirs&lt;br /&gt;
**/spring/vclibs&lt;br /&gt;
* Install the [http://msdn.microsoft.com/directx/sdk/ DirectX SDK]&lt;br /&gt;
* Install the PlatformSDK. I got away with unchecking the parts of the PlatformSDK that were obviously not related (IIS, web stuff). Makes for a smaller download. Make &#039;&#039;&#039;sure&#039;&#039;&#039; the Platform SDK and DirectX SDK are in the VS search/include directories:&lt;br /&gt;
* After installing them, open Visual C++. Click Tools &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Projects and Solutions &amp;gt;&amp;gt; VC++ Directories. Add these entries to the corresponding sections (paths just a reference, yours may be different):&lt;br /&gt;
**Include files:&lt;br /&gt;
***$(ProgramFiles)\Microsoft DirectX SDK (August 2007)\Include&lt;br /&gt;
***$(ProgramFiles)\Microsoft Platform SDK\include&lt;br /&gt;
**Library files:&lt;br /&gt;
***$(ProgramFiles)\Microsoft DirectX SDK (August 2007)\Lib\x86 (Might need \x64 on a 64-bit platform, I don&#039;t know.)&lt;br /&gt;
***$(ProgramFiles)\Microsoft Platform SDK\lib&lt;br /&gt;
* Open the solution. /spring/rts/build/vstudio8/rts.sln&lt;br /&gt;
* Start building (usually you want to select the release/no debug build, debug is really too slow and is used only when you really know what you want to test)&lt;br /&gt;
* Select the working directory in the project properties, otherwise spring will not work correctly&lt;br /&gt;
&lt;br /&gt;
===Visual Studio 9 (2008)===&lt;br /&gt;
(possibly the free Express Edition)&lt;br /&gt;
&lt;br /&gt;
Not yet fully working as far as I know; you need at least this hotfix from Microsoft though:&lt;br /&gt;
&lt;br /&gt;
http://support.microsoft.com/kb/946040&lt;br /&gt;
&lt;br /&gt;
For the rest the Visual Studio 8 instructions should apply, mostly.&lt;br /&gt;
&lt;br /&gt;
===CMake/SCONS/MinGW===&lt;br /&gt;
Code::Blocks and Dev C++ use MinGW too, so if you are using one of these IDEs, you&#039;ll want to follow these instructions too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Getting the compiler&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can compile spring either with MinGW version 3 or 4. MinGW 4.2.1 is used for spring release builds (cross compiled on Linux). Therefore, version 4 is recommended.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;MinGW 3&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you do not have MinGW installed yet, the easiest way to get it, is to install it together with one of the two IDEs [http://downloads.sourceforge.net/dev-cpp/devcpp-4.9.9.2_setup.exe Dev-C++] or [http://downloads.sourceforge.net/codeblocks/codeblocks-8.02mingw-setup.exe Code::Blocks]. They both come with MinGW 3.4, which still compiles spring correctly (June 2008). Use [http://spring.clan-sy.com/dl/spring-mingwlibs-v10.exe v10 of the MinGW library package] if you have MinGW 3.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;MinGW 4 (recommended)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t yet have it, go to [http://sf.net/project/showfiles.php?group_id=2435 the MinGW download page], and get at least the following packages (MinGW 4.3.0):&lt;br /&gt;
* mingw-runtime&lt;br /&gt;
* core&lt;br /&gt;
* c++&lt;br /&gt;
* java (if MinGW 4.3.1 is out yet, you dont need this)&lt;br /&gt;
* binutils&lt;br /&gt;
* win32api&lt;br /&gt;
Use [http://spring.jobjol.nl/show_file.php?id=1102 v11 of the MinGW library package] if you have MinGW 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compiling spring&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make sure you install the MinGW library package in the checkout directory, so the path is: /spring/mingwlibs. If done right, it will look like:&lt;br /&gt;
**/spring/&lt;br /&gt;
**/spring/installer&lt;br /&gt;
**/spring/rts&lt;br /&gt;
**/spring/... other dirs&lt;br /&gt;
**/spring/mingwlibs&lt;br /&gt;
&lt;br /&gt;
These programs are a must have if you want to compile Spring with MinGW, so install them now, if you don&#039;t have them already.&lt;br /&gt;
&lt;br /&gt;
*[http://www.python.org/ftp/python/2.5.1/python-2.5.1.msi Python 2.5 installer]&lt;br /&gt;
*[http://downloads.sourceforge.net/pywin32/pywin32-210.win32-py2.5.exe Python 2.5 win32 extensions installer] &lt;br /&gt;
*[http://prdownloads.sourceforge.net/scons/scons-0.96.96.win32.exe Scons 0.96 installer]&lt;br /&gt;
*[http://www.cmake.org/files/v2.6/cmake-2.6.0-win32-x86.exe CMake 2.6 installer]&lt;br /&gt;
&lt;br /&gt;
Oh, and quick instructions:&lt;br /&gt;
&lt;br /&gt;
* Grab and install the above programs.&lt;br /&gt;
* Make sure C:\Python25, C:\Python25\Scripts and C:\Dev-Cpp\bin are in your PATH environment variable. Set environment variables by: Start -&amp;gt; Settings -&amp;gt; Control Panel -&amp;gt; System -&amp;gt; Advanced -&amp;gt; Environment variables (for Windows XP).&lt;br /&gt;
* Make sure a MINGDIR environment variable with value C:\Dev-Cpp exists. (change paths where appropriate.)&lt;br /&gt;
* Checkout the Spring SVN repository, following the instructions above in obtaining source. (TODO:link)&lt;br /&gt;
* Open a console (Start -&amp;gt; Run -&amp;gt; cmd.exe -&amp;gt; Run), cd \where you checked it out in the previous step, if you checked it out on a different drive make sure to change drives with DriveLetter:&amp;lt;enter&amp;gt; first.&lt;br /&gt;
* Type scons configure&amp;lt;enter&amp;gt;. Refer to scons --help for options which can be passed to scons configure. Gotchas:&lt;br /&gt;
** If you get an error message starting with &amp;quot;EOFError: : env = Environement...&amp;quot;, try deleting the file build/scons_signatures.dblite&lt;br /&gt;
** If you get an error message stating &amp;quot;ImportError: No module named win32file:&amp;quot;, you have probably not installed the python-win32-extensions.&lt;br /&gt;
** If all proceeds as intended you will see a message similar to: &amp;quot;Everything seems OK.  Run `scons&#039; now to build.&amp;quot;&lt;br /&gt;
* Type scons&amp;lt;enter&amp;gt; to start the compilation.&lt;br /&gt;
** If you have Delphi installed and get an error message that the commandline params &amp;quot;--no-print-directory&amp;quot; &amp;amp; &amp;quot;-C&amp;quot; aren&#039;t supported, then you should remove the Delphi dirs from your &amp;lt;i&amp;gt;PATH&amp;lt;/i&amp;gt; variable, because scons tried to run the delphi&#039;s make.exe instead of using mingw32-make. (this will cause that streflop can&#039;t be build!)&lt;br /&gt;
* Wait for the compilation to finish, this may take a while.&lt;br /&gt;
* Copy datafiles and stuff from official Spring installation to the /spring/game directory (where spring.exe is located, after the compilation finished.)&lt;br /&gt;
* Copy missing DLLs from mingwlibs/dll.&lt;br /&gt;
* Start developing.&lt;br /&gt;
&lt;br /&gt;
If you are using Linux, refer to the [[SetupGuide]] to build Spring and get it running.&lt;br /&gt;
&lt;br /&gt;
==Development Suggestions==&lt;br /&gt;
Before starting to make modifications to the source, take a look at the [[development guidelines]] which outlines some important things to think about. To find something interesting to work on, look at the list of [[example projects]]. You can also check the list of [[whois doing what]] to see what others are doing. If you do edit the code, please add [[Doxygen style comments]] to the code, which will then enhance the source code documentation.&lt;br /&gt;
&lt;br /&gt;
==How to get your code included==&lt;br /&gt;
If you create something that you think should be included in the official source tree, you can report a &amp;quot;bug&amp;quot; in [http://spring.clan-sy.com/mantis/ mantis, our BTS]. Add your patch as attachment, and put &amp;quot;[patch]&amp;quot; in front of the subject, so it is easy for us to separate patches from bugs.&lt;br /&gt;
&lt;br /&gt;
It&#039;s also considered standard practice to post one&#039;s modifications in the [http://spring.clan-sy.com/phpbb/viewforum.php?f=12 development forum] and get feedback.&lt;br /&gt;
&lt;br /&gt;
==Spring Engine TODO list==&lt;br /&gt;
There is a TODO list for developers who want to contribute to the engine itself:&lt;br /&gt;
[[SpringEngineTODO]]. There is also a [http://spring.clan-sy.com/phpbb/viewforum.php?f=21 feature request forum], which may give you some ideas. Don&#039;t be overwhelmed by the sheer number of (silly) requests though!&lt;br /&gt;
&lt;br /&gt;
==Development links==&lt;br /&gt;
* [http://planetspring.free.fr/spring/ Automatic installer builds (crosscompiled, mingw)]&lt;br /&gt;
* [http://developer.berlios.de/projects/taspring-linux BerliOS project page (OLD)]&lt;br /&gt;
* [http://spring.clan-sy.com/mantis Bug Tracking System]&lt;br /&gt;
* [http://buildbot.no-ip.org:8010/ Buildbot]&lt;br /&gt;
* [https://lists.berlios.de/mailman/listinfo/taspring-linux-commit Commit mailing list]&lt;br /&gt;
* [http://spring.clan-sy.com/dl/spring-vc8libs.exe Development libraries for Visual Studio 2005]&lt;br /&gt;
* [http://www.unknown-files.net/spring/3839/mingwlibsv10/ Development libraries for MinGW]&lt;br /&gt;
* [http://lolut.utbm.info/cgi-bin/mailman/listinfo/taspring-linux Developers mailing list (practically dead, use this forum instead) (DOWN)]&lt;br /&gt;
* [http://buildbot.no-ip.org/~buildbot/spring/doxygen Doxygen pages of the latest source (regenerated nightly)]&lt;br /&gt;
* [http://spring.clan-sy.com/fisheye Fisheye interface to SVN]&lt;br /&gt;
* [http://sourceforge.net/projects/springrts SourceForge project page (OLD)]&lt;br /&gt;
* [http://buildbot.no-ip.org/~buildbot/spring/stacktraceTranslator.php StackTrace Translator]&lt;br /&gt;
* [https://spring.clan-sy.com/svn/spring/trunk/ Subversion repository]&lt;br /&gt;
* [http://spring.clan-sy.com/websvn/listing.php?repname=spring&amp;amp;path=%2F&amp;amp;sc=0 WebSVN]&lt;br /&gt;
* [http://spring.clan-sy.com/websvn/log.php?repname=spring&amp;amp;path=%2F&amp;amp;rev=0&amp;amp;sc=0&amp;amp;isdir=1 WebSVN link to &amp;quot;development log&amp;quot;]&lt;br /&gt;
* [http://spring.clan-sy.com/websvn/filedetails.php?repname=spring&amp;amp;path=%2Ftrunk%2FDocumentation%2Fchangelog.txt&amp;amp;rev=0&amp;amp;sc=0 WebSVN link to the most recent changelog.txt]&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]] [[Category:Source development]]&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Development:Main&amp;diff=5648</id>
		<title>Development:Main</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Development:Main&amp;diff=5648"/>
		<updated>2008-07-10T23:38:14Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* SCONS/MinGW */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Outlined below is information on assisting with the development of the Spring source itself.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;small&amp;gt;NOTE: For information about developing a mod (units, maps, etc.) see the [[Mod Development]] page.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Below you can find information on how to work with the Spring source in the current mainline (Windows platform) if you like to work on another platform (Linux &amp;amp; Mac) please look at the bottem of this page under &amp;quot;Multiplatform development&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Starting Development==&lt;br /&gt;
To start development, you will need&lt;br /&gt;
#To read the [[Coding_Standards]]&lt;br /&gt;
#The latest version of the source &lt;br /&gt;
#A good code manipulation program&lt;br /&gt;
#Compiling your modified source&lt;br /&gt;
&lt;br /&gt;
== Keep track what others do ==&lt;br /&gt;
If you develop with others, you need to know what they do. We have [http://spring.clan-sy.com/fisheye/ fisheye], a very handy SVN helper, and [http://spring.clan-sy.com/websvn/ WebSVN] running on the server.&lt;br /&gt;
&lt;br /&gt;
===Source Code Documentation===&lt;br /&gt;
A good place to start is [http://buildbot.no-ip.org/~buildbot/spring/doxygen the source code documentation].&lt;br /&gt;
&lt;br /&gt;
An explanation on how the code is executed in game can be found in the [[Spring Engine Code]]&lt;br /&gt;
page.&lt;br /&gt;
&lt;br /&gt;
==Obtaining the Source==&lt;br /&gt;
The latest SVN is at: [https://spring.clan-sy.com/svn/spring https://spring.clan-sy.com/svn/spring]&amp;lt;br&amp;gt;&lt;br /&gt;
A hourly updated read-only mirror is available at: svn://caspring.org:3691/&lt;br /&gt;
&lt;br /&gt;
Another option is to manually [http://spring.clan-sy.com/download.php download] it along with the latest released version of the game. However, for serious developers, a better way would be to download the source straight from the subversion (SVN) repository. This will also allow you to make a patch out of the changes you make to the code, and send it to one of the developers with SVN access.&lt;br /&gt;
&lt;br /&gt;
Windows SVN clients : [http://subversion.tigris.org Subversion] (Win32-Console), &lt;br /&gt;
[http://www.syntevo.com/smartsvn/index.jsp SmartSVN] (Java) and [http://tortoisesvn.tigris.org TortoiseSVN] (MSI).&lt;br /&gt;
&lt;br /&gt;
Assuming that you are using the Subversion svn client you can download the latest SVN source with one of the following commands:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;svn.exe checkout https://spring.clan-sy.com/svn/spring/trunk&amp;lt;br&amp;gt;&lt;br /&gt;
svn.exe checkout svn://caspring.org:3691/trunk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It will create a trunk subdirectory in the directory from where you ran it, which will contain the source code root directory which will be later referred to as /spring&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using Git rather than SVN, you need to initialize local repository and fetch using:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git-svn clone https://spring.clan-sy.com/svn/spring&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(this may take a while)&lt;br /&gt;
&lt;br /&gt;
To update your local repository, use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;git-svn fetch https://spring.clan-sy.com/svn/spring&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Learning C++==&lt;br /&gt;
You will need to know C++ to modify or understand Spring&#039;s source code. If you are interested in learning C++, see [[Learning_CPP]]&lt;br /&gt;
&lt;br /&gt;
However please note that badly designed code (code created by a C++ novice for example), even if working will likely not be included in the spring code. Spring is a large project, and therefore it is necessary to stay away from hack jobs and create general solutions to problems.&lt;br /&gt;
&lt;br /&gt;
==Setting up your development environment==&lt;br /&gt;
You have either to use the SCons build system that is multi platform, or use Microsoft Visual Studio for building spring. See also [[Development_IDEs]] for some more background information about the IDE to choose.&lt;br /&gt;
&lt;br /&gt;
===Visual Studio 8 (2005)===&lt;br /&gt;
(possibly the free Express Edition) &lt;br /&gt;
&lt;br /&gt;
* Install the [http://xta.wolfgame.org/SimBase/vclibs.7z vclibs library package]. You need to install this in the /spring directory from the SVN checkout the zipped source. If done right, it will look like:&lt;br /&gt;
**/spring/&lt;br /&gt;
**/spring/installer&lt;br /&gt;
**/spring/rts&lt;br /&gt;
**/spring/... other dirs&lt;br /&gt;
**/spring/vclibs&lt;br /&gt;
* Install the [http://msdn.microsoft.com/directx/sdk/ DirectX SDK]&lt;br /&gt;
* Install the PlatformSDK. I got away with unchecking the parts of the PlatformSDK that were obviously not related (IIS, web stuff). Makes for a smaller download. Make &#039;&#039;&#039;sure&#039;&#039;&#039; the Platform SDK and DirectX SDK are in the VS search/include directories:&lt;br /&gt;
* After installing them, open Visual C++. Click Tools &amp;gt;&amp;gt; Options &amp;gt;&amp;gt; Projects and Solutions &amp;gt;&amp;gt; VC++ Directories. Add these entries to the corresponding sections (paths just a reference, yours may be different):&lt;br /&gt;
**Include files:&lt;br /&gt;
***$(ProgramFiles)\Microsoft DirectX SDK (August 2007)\Include&lt;br /&gt;
***$(ProgramFiles)\Microsoft Platform SDK\include&lt;br /&gt;
**Library files:&lt;br /&gt;
***$(ProgramFiles)\Microsoft DirectX SDK (August 2007)\Lib\x86 (Might need \x64 on a 64-bit platform, I don&#039;t know.)&lt;br /&gt;
***$(ProgramFiles)\Microsoft Platform SDK\lib&lt;br /&gt;
* Open the solution. /spring/rts/build/vstudio8/rts.sln&lt;br /&gt;
* Start building (usually you want to select the release/no debug build, debug is really too slow and is used only when you really know what you want to test)&lt;br /&gt;
* Select the working directory in the project properties, otherwise spring will not work correctly&lt;br /&gt;
&lt;br /&gt;
===Visual Studio 9 (2008)===&lt;br /&gt;
(possibly the free Express Edition)&lt;br /&gt;
&lt;br /&gt;
Not yet fully working as far as I know; you need at least this hotfix from Microsoft though:&lt;br /&gt;
&lt;br /&gt;
http://support.microsoft.com/kb/946040&lt;br /&gt;
&lt;br /&gt;
For the rest the Visual Studio 8 instructions should apply, mostly.&lt;br /&gt;
&lt;br /&gt;
===CMake/SCONS/MinGW===&lt;br /&gt;
Code::Blocks and Dev C++ use MinGW too, so if you are using one of these IDEs, you&#039;ll want to follow these instructions too.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Getting the compiler&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You can compile spring either with MinGW version 3 or 4. MinGW 4.2.1 is used for spring release builds (cross compiled on Linux). Therefore, version 4 is recommended.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;MinGW 3&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you do not have MinGW installed yet, the easiest way to get it, is to install it together with one of the two IDEs [http://downloads.sourceforge.net/dev-cpp/devcpp-4.9.9.2_setup.exe Dev-C++] or [http://downloads.sourceforge.net/codeblocks/codeblocks-8.02mingw-setup.exe Code::Blocks]. They both come with MinGW 3.4, which still compiles spring correctly (June 2008). Use [http://spring.clan-sy.com/dl/spring-mingwlibs-v10.exe v10 of the MinGW library package] if you have MinGW 3.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;MinGW 4 (recommended)&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t yet have it, go to [http://sf.net/project/showfiles.php?group_id=2435 the MinGW download page], and get at least the following packages (MinGW 4.3.0):&lt;br /&gt;
* mingw-runtime&lt;br /&gt;
* core&lt;br /&gt;
* c++&lt;br /&gt;
* java (if MinGW 4.3.1 is out yet, you dont need this)&lt;br /&gt;
* binutils&lt;br /&gt;
* win32api&lt;br /&gt;
Use [http://spring.jobjol.nl/show_file.php?id=1102 v11 of the MinGW library package] if you have MinGW 4.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Compiling spring&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Make sure you install the MinGW library package in the checkout directory, so the path is: /spring/mingwlibs. If done right, it will look like:&lt;br /&gt;
**/spring/&lt;br /&gt;
**/spring/installer&lt;br /&gt;
**/spring/rts&lt;br /&gt;
**/spring/... other dirs&lt;br /&gt;
**/spring/mingwlibs&lt;br /&gt;
&lt;br /&gt;
These programs are a must have if you want to compile Spring with MinGW, so install them now, if you don&#039;t have them already.&lt;br /&gt;
&lt;br /&gt;
*[http://www.python.org/ftp/python/2.5.1/python-2.5.1.msi Python 2.5 installer]&lt;br /&gt;
*[http://downloads.sourceforge.net/pywin32/pywin32-210.win32-py2.5.exe Python 2.5 win32 extensions installer] &lt;br /&gt;
*[http://prdownloads.sourceforge.net/scons/scons-0.96.96.win32.exe Scons 0.96 installer]&lt;br /&gt;
&lt;br /&gt;
Oh, and quick instructions:&lt;br /&gt;
&lt;br /&gt;
* Grab and install the above programs.&lt;br /&gt;
* Make sure C:\Python25, C:\Python25\Scripts and C:\Dev-Cpp\bin are in your PATH environment variable. Set environment variables by: Start -&amp;gt; Settings -&amp;gt; Control Panel -&amp;gt; System -&amp;gt; Advanced -&amp;gt; Environment variables (for Windows XP).&lt;br /&gt;
* Make sure a MINGDIR environment variable with value C:\Dev-Cpp exists. (change paths where appropriate.)&lt;br /&gt;
* Checkout the Spring SVN repository, following the instructions above in obtaining source. (TODO:link)&lt;br /&gt;
* Open a console (Start -&amp;gt; Run -&amp;gt; cmd.exe -&amp;gt; Run), cd \where you checked it out in the previous step, if you checked it out on a different drive make sure to change drives with DriveLetter:&amp;lt;enter&amp;gt; first.&lt;br /&gt;
* Type scons configure&amp;lt;enter&amp;gt;. Refer to scons --help for options which can be passed to scons configure. Gotchas:&lt;br /&gt;
** If you get an error message starting with &amp;quot;EOFError: : env = Environement...&amp;quot;, try deleting the file build/scons_signatures.dblite&lt;br /&gt;
** If you get an error message stating &amp;quot;ImportError: No module named win32file:&amp;quot;, you have probably not installed the python-win32-extensions.&lt;br /&gt;
** If all proceeds as intended you will see a message similar to: &amp;quot;Everything seems OK.  Run `scons&#039; now to build.&amp;quot;&lt;br /&gt;
* Type scons&amp;lt;enter&amp;gt; to start the compilation.&lt;br /&gt;
** If you have Delphi installed and get an error message that the commandline params &amp;quot;--no-print-directory&amp;quot; &amp;amp; &amp;quot;-C&amp;quot; aren&#039;t supported, then you should remove the Delphi dirs from your &amp;lt;i&amp;gt;PATH&amp;lt;/i&amp;gt; variable, because scons tried to run the delphi&#039;s make.exe instead of using mingw32-make. (this will cause that streflop can&#039;t be build!)&lt;br /&gt;
* Wait for the compilation to finish, this may take a while.&lt;br /&gt;
* Copy datafiles and stuff from official Spring installation to the /spring/game directory (where spring.exe is located, after the compilation finished.)&lt;br /&gt;
* Copy missing DLLs from mingwlibs/dll.&lt;br /&gt;
* Start developing.&lt;br /&gt;
&lt;br /&gt;
If you are using Linux, refer to the [[SetupGuide]] to build Spring and get it running.&lt;br /&gt;
&lt;br /&gt;
==Development Suggestions==&lt;br /&gt;
Before starting to make modifications to the source, take a look at the [[development guidelines]] which outlines some important things to think about. To find something interesting to work on, look at the list of [[example projects]]. You can also check the list of [[whois doing what]] to see what others are doing. If you do edit the code, please add [[Doxygen style comments]] to the code, which will then enhance the source code documentation.&lt;br /&gt;
&lt;br /&gt;
==How to get your code included==&lt;br /&gt;
If you create something that you think should be included in the official source tree, you can report a &amp;quot;bug&amp;quot; in [http://spring.clan-sy.com/mantis/ mantis, our BTS]. Add your patch as attachment, and put &amp;quot;[patch]&amp;quot; in front of the subject, so it is easy for us to separate patches from bugs.&lt;br /&gt;
&lt;br /&gt;
It&#039;s also considered standard practice to post one&#039;s modifications in the [http://spring.clan-sy.com/phpbb/viewforum.php?f=12 development forum] and get feedback.&lt;br /&gt;
&lt;br /&gt;
==Spring Engine TODO list==&lt;br /&gt;
There is a TODO list for developers who want to contribute to the engine itself:&lt;br /&gt;
[[SpringEngineTODO]]. There is also a [http://spring.clan-sy.com/phpbb/viewforum.php?f=21 feature request forum], which may give you some ideas. Don&#039;t be overwhelmed by the sheer number of (silly) requests though!&lt;br /&gt;
&lt;br /&gt;
==Development links==&lt;br /&gt;
* [http://planetspring.free.fr/spring/ Automatic installer builds (crosscompiled, mingw)]&lt;br /&gt;
* [http://developer.berlios.de/projects/taspring-linux BerliOS project page (OLD)]&lt;br /&gt;
* [http://spring.clan-sy.com/mantis Bug Tracking System]&lt;br /&gt;
* [http://buildbot.no-ip.org:8010/ Buildbot]&lt;br /&gt;
* [https://lists.berlios.de/mailman/listinfo/taspring-linux-commit Commit mailing list]&lt;br /&gt;
* [http://spring.clan-sy.com/dl/spring-vc8libs.exe Development libraries for Visual Studio 2005]&lt;br /&gt;
* [http://www.unknown-files.net/spring/3839/mingwlibsv10/ Development libraries for MinGW]&lt;br /&gt;
* [http://lolut.utbm.info/cgi-bin/mailman/listinfo/taspring-linux Developers mailing list (practically dead, use this forum instead) (DOWN)]&lt;br /&gt;
* [http://buildbot.no-ip.org/~buildbot/spring/doxygen Doxygen pages of the latest source (regenerated nightly)]&lt;br /&gt;
* [http://spring.clan-sy.com/fisheye Fisheye interface to SVN]&lt;br /&gt;
* [http://sourceforge.net/projects/springrts SourceForge project page (OLD)]&lt;br /&gt;
* [http://buildbot.no-ip.org/~buildbot/spring/stacktraceTranslator.php StackTrace Translator]&lt;br /&gt;
* [https://spring.clan-sy.com/svn/spring/trunk/ Subversion repository]&lt;br /&gt;
* [http://spring.clan-sy.com/websvn/listing.php?repname=spring&amp;amp;path=%2F&amp;amp;sc=0 WebSVN]&lt;br /&gt;
* [http://spring.clan-sy.com/websvn/log.php?repname=spring&amp;amp;path=%2F&amp;amp;rev=0&amp;amp;sc=0&amp;amp;isdir=1 WebSVN link to &amp;quot;development log&amp;quot;]&lt;br /&gt;
* [http://spring.clan-sy.com/websvn/filedetails.php?repname=spring&amp;amp;path=%2Ftrunk%2FDocumentation%2Fchangelog.txt&amp;amp;rev=0&amp;amp;sc=0 WebSVN link to the most recent changelog.txt]&lt;br /&gt;
&lt;br /&gt;
[[Category:Development]] [[Category:Source development]]&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_Linux&amp;diff=3304</id>
		<title>Building Spring on Linux</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_Linux&amp;diff=3304"/>
		<updated>2008-07-10T23:29:47Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* Build And Install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build From Source ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You might encounter sync errors in online play if you are not using the exact same version of the compiler and same compiler settings as used for prebuilt packages!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For 0.76b1 these are: TODO add them here.&lt;br /&gt;
&lt;br /&gt;
If there is no package tailored for your distribution, you have to install from sources manually. Doing this for distributions where packages are available is not recommended.&lt;br /&gt;
&lt;br /&gt;
=== Get Source ===&lt;br /&gt;
&lt;br /&gt;
You can either download the source as a 3.9MB tarball (recommended; v. 0.76b1) or get it from the subversion repository. Either way, the result is the same.&lt;br /&gt;
&lt;br /&gt;
==== Tarball ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/src # or /var/tmp, or whatever&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1_src.tar.bz2&lt;br /&gt;
tar xjf spring_0.76b1_src.tar.bz2&lt;br /&gt;
cd spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: The .zip release is for windows only. Linux users have to get .bz2 like shown above.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Subversion ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install subversion # if you are not on debian, figure it out&lt;br /&gt;
svn co https://spring.clan-sy.com/svn/spring/tags/spring_0.76b1 \&lt;br /&gt;
	/usr/local/src/spring_0.76b1&lt;br /&gt;
cd /usr/local/src/spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the above subversion host happens to be down (which is unlikely since you&#039;re reading this wiki page now), you can try the following hourly updated mirror (replace the svn co line above with the following line):&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co svn://caspring.org:3691/tags/spring_0.76b1 \&lt;br /&gt;
	/usr/local/src/spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dependencies ===&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. These vary from distro to distro and may also depend on your specific configuration.&lt;br /&gt;
&lt;br /&gt;
If your distributions is not listed below, you should be able to figure out the correct package names from this. The scons configure will whine if you forget something, but it does not check if you remembered to install zip, even though you still need it.&lt;br /&gt;
&lt;br /&gt;
==== Debian ====&lt;br /&gt;
&lt;br /&gt;
For Etch (debian 4.0 stable) and Sid (debian unstable), I&#039;ve confirmed the&lt;br /&gt;
following to be the minimal set that is necessary to get. I have not tested&lt;br /&gt;
with any version of Ubuntu, but the line is probably almost identical if not&lt;br /&gt;
the same. Quilted tested with ubuntu fiesty fawn on july 28 2007 WORKS. Note&lt;br /&gt;
that Spring 0.75b2 depends on the boost libraries version 1.34.* and won&#039;t&lt;br /&gt;
work on lower versions. (updated libboost-serialization-dev, and libvorbis-dev dependencies for 0.76b1)&lt;br /&gt;
&lt;br /&gt;
Also, on 64-bit be sure to build against devIl 1.6.8-rc2 or higher, 1.6.7 has a bug in the PNG loading code that causes issues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aptitude install scons build-essential zlib1g-dev libfreetype6-dev&lt;br /&gt;
sudo aptitude install libsdl1.2-dev libopenal-dev libglew-dev libboost-dev&lt;br /&gt;
sudo aptitude install libboost-thread-dev libboost-regex-dev libdevil-dev&lt;br /&gt;
sudo aptitude install libboost-serialization-dev python2.5-dev zip&lt;br /&gt;
sudo aptitude install sun-java6-jdk libvorbis-dev libxcursor-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Gentoo ====&lt;br /&gt;
This has been tested to work with a clean install of gentoo 2007.0:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge dev-util/scons \&amp;gt;=media-libs/freetype-2.0.0 \&amp;gt;=media-libs/libsdl-1.2.0&lt;br /&gt;
emerge media-libs/openal =dev-lang/python-2.4\* media-libs/glew dev-libs/boost&lt;br /&gt;
emerge media-libs/devil app-arch/zip media-libs/libogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fedora ====&lt;br /&gt;
&lt;br /&gt;
On Fedora 8, these dependencies should be sufficient:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install scons boost-devel openal-devel SDL-devel \&lt;br /&gt;
DevIL-devel glew-devel java-1.7.0-icedtea-devel libvorbis-devel &lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Build And Install ===&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
warning: division by zero&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
==== Using Scons ====&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons configure&lt;br /&gt;
scons&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons install&lt;br /&gt;
mkdir -p /etc/spring&lt;br /&gt;
echo &#039;$HOME/.spring&#039; &amp;gt; /etc/spring/datadir&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Using CMake (2.6 or newer) ====&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake .&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
mkdir -p /etc/spring&lt;br /&gt;
echo &#039;$HOME/.spring&#039; &amp;gt; /etc/spring/datadir&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/local/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/local/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Finalizing_linux_install}}&lt;br /&gt;
&lt;br /&gt;
{{Linux_tips}}&lt;br /&gt;
&lt;br /&gt;
{{Troubleshooting_linux}}&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_Linux&amp;diff=3303</id>
		<title>Building Spring on Linux</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_Linux&amp;diff=3303"/>
		<updated>2008-07-10T23:28:34Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* Build And Install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build From Source ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You might encounter sync errors in online play if you are not using the exact same version of the compiler and same compiler settings as used for prebuilt packages!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For 0.76b1 these are: TODO add them here.&lt;br /&gt;
&lt;br /&gt;
If there is no package tailored for your distribution, you have to install from sources manually. Doing this for distributions where packages are available is not recommended.&lt;br /&gt;
&lt;br /&gt;
=== Get Source ===&lt;br /&gt;
&lt;br /&gt;
You can either download the source as a 3.9MB tarball (recommended; v. 0.76b1) or get it from the subversion repository. Either way, the result is the same.&lt;br /&gt;
&lt;br /&gt;
==== Tarball ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/src # or /var/tmp, or whatever&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1_src.tar.bz2&lt;br /&gt;
tar xjf spring_0.76b1_src.tar.bz2&lt;br /&gt;
cd spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: The .zip release is for windows only. Linux users have to get .bz2 like shown above.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Subversion ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install subversion # if you are not on debian, figure it out&lt;br /&gt;
svn co https://spring.clan-sy.com/svn/spring/tags/spring_0.76b1 \&lt;br /&gt;
	/usr/local/src/spring_0.76b1&lt;br /&gt;
cd /usr/local/src/spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the above subversion host happens to be down (which is unlikely since you&#039;re reading this wiki page now), you can try the following hourly updated mirror (replace the svn co line above with the following line):&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co svn://caspring.org:3691/tags/spring_0.76b1 \&lt;br /&gt;
	/usr/local/src/spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dependencies ===&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. These vary from distro to distro and may also depend on your specific configuration.&lt;br /&gt;
&lt;br /&gt;
If your distributions is not listed below, you should be able to figure out the correct package names from this. The scons configure will whine if you forget something, but it does not check if you remembered to install zip, even though you still need it.&lt;br /&gt;
&lt;br /&gt;
==== Debian ====&lt;br /&gt;
&lt;br /&gt;
For Etch (debian 4.0 stable) and Sid (debian unstable), I&#039;ve confirmed the&lt;br /&gt;
following to be the minimal set that is necessary to get. I have not tested&lt;br /&gt;
with any version of Ubuntu, but the line is probably almost identical if not&lt;br /&gt;
the same. Quilted tested with ubuntu fiesty fawn on july 28 2007 WORKS. Note&lt;br /&gt;
that Spring 0.75b2 depends on the boost libraries version 1.34.* and won&#039;t&lt;br /&gt;
work on lower versions. (updated libboost-serialization-dev, and libvorbis-dev dependencies for 0.76b1)&lt;br /&gt;
&lt;br /&gt;
Also, on 64-bit be sure to build against devIl 1.6.8-rc2 or higher, 1.6.7 has a bug in the PNG loading code that causes issues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aptitude install scons build-essential zlib1g-dev libfreetype6-dev&lt;br /&gt;
sudo aptitude install libsdl1.2-dev libopenal-dev libglew-dev libboost-dev&lt;br /&gt;
sudo aptitude install libboost-thread-dev libboost-regex-dev libdevil-dev&lt;br /&gt;
sudo aptitude install libboost-serialization-dev python2.5-dev zip&lt;br /&gt;
sudo aptitude install sun-java6-jdk libvorbis-dev libxcursor-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Gentoo ====&lt;br /&gt;
This has been tested to work with a clean install of gentoo 2007.0:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge dev-util/scons \&amp;gt;=media-libs/freetype-2.0.0 \&amp;gt;=media-libs/libsdl-1.2.0&lt;br /&gt;
emerge media-libs/openal =dev-lang/python-2.4\* media-libs/glew dev-libs/boost&lt;br /&gt;
emerge media-libs/devil app-arch/zip media-libs/libogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fedora ====&lt;br /&gt;
&lt;br /&gt;
On Fedora 8, these dependencies should be sufficient:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install scons boost-devel openal-devel SDL-devel \&lt;br /&gt;
DevIL-devel glew-devel java-1.7.0-icedtea-devel libvorbis-devel &lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Build And Install ===&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
warning: division by zero&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
==== Using Scons ====&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons configure&lt;br /&gt;
scons&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons install&lt;br /&gt;
mkdir -p /etc/spring&lt;br /&gt;
echo &#039;$HOME/.spring&#039; &amp;gt; /etc/spring/datadir&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Using CMake (2.6 or newer) ====&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake .&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/local/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/local/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Finalizing_linux_install}}&lt;br /&gt;
&lt;br /&gt;
{{Linux_tips}}&lt;br /&gt;
&lt;br /&gt;
{{Troubleshooting_linux}}&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_Linux&amp;diff=3302</id>
		<title>Building Spring on Linux</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_Linux&amp;diff=3302"/>
		<updated>2008-07-10T23:27:44Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* Build And Install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build From Source ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You might encounter sync errors in online play if you are not using the exact same version of the compiler and same compiler settings as used for prebuilt packages!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For 0.76b1 these are: TODO add them here.&lt;br /&gt;
&lt;br /&gt;
If there is no package tailored for your distribution, you have to install from sources manually. Doing this for distributions where packages are available is not recommended.&lt;br /&gt;
&lt;br /&gt;
=== Get Source ===&lt;br /&gt;
&lt;br /&gt;
You can either download the source as a 3.9MB tarball (recommended; v. 0.76b1) or get it from the subversion repository. Either way, the result is the same.&lt;br /&gt;
&lt;br /&gt;
==== Tarball ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/src # or /var/tmp, or whatever&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1_src.tar.bz2&lt;br /&gt;
tar xjf spring_0.76b1_src.tar.bz2&lt;br /&gt;
cd spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: The .zip release is for windows only. Linux users have to get .bz2 like shown above.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Subversion ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install subversion # if you are not on debian, figure it out&lt;br /&gt;
svn co https://spring.clan-sy.com/svn/spring/tags/spring_0.76b1 \&lt;br /&gt;
	/usr/local/src/spring_0.76b1&lt;br /&gt;
cd /usr/local/src/spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the above subversion host happens to be down (which is unlikely since you&#039;re reading this wiki page now), you can try the following hourly updated mirror (replace the svn co line above with the following line):&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co svn://caspring.org:3691/tags/spring_0.76b1 \&lt;br /&gt;
	/usr/local/src/spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dependencies ===&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. These vary from distro to distro and may also depend on your specific configuration.&lt;br /&gt;
&lt;br /&gt;
If your distributions is not listed below, you should be able to figure out the correct package names from this. The scons configure will whine if you forget something, but it does not check if you remembered to install zip, even though you still need it.&lt;br /&gt;
&lt;br /&gt;
==== Debian ====&lt;br /&gt;
&lt;br /&gt;
For Etch (debian 4.0 stable) and Sid (debian unstable), I&#039;ve confirmed the&lt;br /&gt;
following to be the minimal set that is necessary to get. I have not tested&lt;br /&gt;
with any version of Ubuntu, but the line is probably almost identical if not&lt;br /&gt;
the same. Quilted tested with ubuntu fiesty fawn on july 28 2007 WORKS. Note&lt;br /&gt;
that Spring 0.75b2 depends on the boost libraries version 1.34.* and won&#039;t&lt;br /&gt;
work on lower versions. (updated libboost-serialization-dev, and libvorbis-dev dependencies for 0.76b1)&lt;br /&gt;
&lt;br /&gt;
Also, on 64-bit be sure to build against devIl 1.6.8-rc2 or higher, 1.6.7 has a bug in the PNG loading code that causes issues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aptitude install scons build-essential zlib1g-dev libfreetype6-dev&lt;br /&gt;
sudo aptitude install libsdl1.2-dev libopenal-dev libglew-dev libboost-dev&lt;br /&gt;
sudo aptitude install libboost-thread-dev libboost-regex-dev libdevil-dev&lt;br /&gt;
sudo aptitude install libboost-serialization-dev python2.5-dev zip&lt;br /&gt;
sudo aptitude install sun-java6-jdk libvorbis-dev libxcursor-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Gentoo ====&lt;br /&gt;
This has been tested to work with a clean install of gentoo 2007.0:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge dev-util/scons \&amp;gt;=media-libs/freetype-2.0.0 \&amp;gt;=media-libs/libsdl-1.2.0&lt;br /&gt;
emerge media-libs/openal =dev-lang/python-2.4\* media-libs/glew dev-libs/boost&lt;br /&gt;
emerge media-libs/devil app-arch/zip media-libs/libogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fedora ====&lt;br /&gt;
&lt;br /&gt;
On Fedora 8, these dependencies should be sufficient:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install scons boost-devel openal-devel SDL-devel \&lt;br /&gt;
DevIL-devel glew-devel java-1.7.0-icedtea-devel libvorbis-devel &lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Build And Install ===&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
warning: division by zero&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
==== Using Scons ====&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons configure&lt;br /&gt;
scons&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons install&lt;br /&gt;
mkdir -p /etc/spring&lt;br /&gt;
echo &#039;$HOME/.spring&#039; &amp;gt; /etc/spring/datadir&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Using CMake (2.6 or newer) ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake .&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/local/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/local/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Finalizing_linux_install}}&lt;br /&gt;
&lt;br /&gt;
{{Linux_tips}}&lt;br /&gt;
&lt;br /&gt;
{{Troubleshooting_linux}}&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_Linux&amp;diff=3301</id>
		<title>Building Spring on Linux</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Building_Spring_on_Linux&amp;diff=3301"/>
		<updated>2008-07-10T23:27:02Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* Build And Install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Build From Source ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You might encounter sync errors in online play if you are not using the exact same version of the compiler and same compiler settings as used for prebuilt packages!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For 0.76b1 these are: TODO add them here.&lt;br /&gt;
&lt;br /&gt;
If there is no package tailored for your distribution, you have to install from sources manually. Doing this for distributions where packages are available is not recommended.&lt;br /&gt;
&lt;br /&gt;
=== Get Source ===&lt;br /&gt;
&lt;br /&gt;
You can either download the source as a 3.9MB tarball (recommended; v. 0.76b1) or get it from the subversion repository. Either way, the result is the same.&lt;br /&gt;
&lt;br /&gt;
==== Tarball ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/src # or /var/tmp, or whatever&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1_src.tar.bz2&lt;br /&gt;
tar xjf spring_0.76b1_src.tar.bz2&lt;br /&gt;
cd spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: The .zip release is for windows only. Linux users have to get .bz2 like shown above.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Subversion ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install subversion # if you are not on debian, figure it out&lt;br /&gt;
svn co https://spring.clan-sy.com/svn/spring/tags/spring_0.76b1 \&lt;br /&gt;
	/usr/local/src/spring_0.76b1&lt;br /&gt;
cd /usr/local/src/spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the above subversion host happens to be down (which is unlikely since you&#039;re reading this wiki page now), you can try the following hourly updated mirror (replace the svn co line above with the following line):&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co svn://caspring.org:3691/tags/spring_0.76b1 \&lt;br /&gt;
	/usr/local/src/spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dependencies ===&lt;br /&gt;
&lt;br /&gt;
You will need to install some development packages Spring depends on. These vary from distro to distro and may also depend on your specific configuration.&lt;br /&gt;
&lt;br /&gt;
If your distributions is not listed below, you should be able to figure out the correct package names from this. The scons configure will whine if you forget something, but it does not check if you remembered to install zip, even though you still need it.&lt;br /&gt;
&lt;br /&gt;
==== Debian ====&lt;br /&gt;
&lt;br /&gt;
For Etch (debian 4.0 stable) and Sid (debian unstable), I&#039;ve confirmed the&lt;br /&gt;
following to be the minimal set that is necessary to get. I have not tested&lt;br /&gt;
with any version of Ubuntu, but the line is probably almost identical if not&lt;br /&gt;
the same. Quilted tested with ubuntu fiesty fawn on july 28 2007 WORKS. Note&lt;br /&gt;
that Spring 0.75b2 depends on the boost libraries version 1.34.* and won&#039;t&lt;br /&gt;
work on lower versions. (updated libboost-serialization-dev, and libvorbis-dev dependencies for 0.76b1)&lt;br /&gt;
&lt;br /&gt;
Also, on 64-bit be sure to build against devIl 1.6.8-rc2 or higher, 1.6.7 has a bug in the PNG loading code that causes issues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo aptitude install scons build-essential zlib1g-dev libfreetype6-dev&lt;br /&gt;
sudo aptitude install libsdl1.2-dev libopenal-dev libglew-dev libboost-dev&lt;br /&gt;
sudo aptitude install libboost-thread-dev libboost-regex-dev libdevil-dev&lt;br /&gt;
sudo aptitude install libboost-serialization-dev python2.5-dev zip&lt;br /&gt;
sudo aptitude install sun-java6-jdk libvorbis-dev libxcursor-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Gentoo ====&lt;br /&gt;
This has been tested to work with a clean install of gentoo 2007.0:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge dev-util/scons \&amp;gt;=media-libs/freetype-2.0.0 \&amp;gt;=media-libs/libsdl-1.2.0&lt;br /&gt;
emerge media-libs/openal =dev-lang/python-2.4\* media-libs/glew dev-libs/boost&lt;br /&gt;
emerge media-libs/devil app-arch/zip media-libs/libogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Fedora ====&lt;br /&gt;
&lt;br /&gt;
On Fedora 8, these dependencies should be sufficient:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
yum install scons boost-devel openal-devel SDL-devel \&lt;br /&gt;
DevIL-devel glew-devel java-1.7.0-icedtea-devel libvorbis-devel &lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Build And Install ===&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
warning: division by zero&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
==== Using Scons ====&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons configure&lt;br /&gt;
scons&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons install&lt;br /&gt;
mkdir -p /etc/spring&lt;br /&gt;
echo &#039;$HOME/.spring&#039; &amp;gt; /etc/spring/datadir&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Using Cmake (2.6 or newer) ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cmake .&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
make install&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/local/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/local/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{{Finalizing_linux_install}}&lt;br /&gt;
&lt;br /&gt;
{{Linux_tips}}&lt;br /&gt;
&lt;br /&gt;
{{Troubleshooting_linux}}&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Slackware_install&amp;diff=16899</id>
		<title>Slackware install</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=Slackware_install&amp;diff=16899"/>
		<updated>2008-04-24T20:01:22Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* http://www.winehq.org/images/distro/slackware.png Slackware 12 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=== http://www.winehq.org/images/distro/slackware.png Slackware 12 ===&lt;br /&gt;
&lt;br /&gt;
Working for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is all dependencies in precompiled tgz&#039;s:&lt;br /&gt;
&lt;br /&gt;
glew (http://www.linuxpackages.net/pkg_details.php?id=12051)&amp;lt;br/&amp;gt;&lt;br /&gt;
DeviL (http://www.linuxpackages.net/pkg_details.php?id=10571)&amp;lt;br/&amp;gt;&lt;br /&gt;
boost (http://www.linuxpackages.net/pkg_details.php?id=12046)&amp;lt;br/&amp;gt;&lt;br /&gt;
icu (http://www.linuxpackages.net/pkg_details.php?id=12034)&amp;lt;br/&amp;gt;&lt;br /&gt;
openal (http://www.linuxpackages.net/pkg_details.php?id=11993)&amp;lt;br/&amp;gt;&lt;br /&gt;
wxWidgets (http://www.linuxpackages.net/pkg_details.php?id=12072)&amp;lt;br/&amp;gt;&lt;br /&gt;
springlobby (http://www.linuxpackages.net/pkg_details.php?id=12294)&amp;lt;br/&amp;gt;&lt;br /&gt;
spring - thanks to leo moisio - (http://www.springlobby.info/slackware/spring-0.76b1-i486-1leo.tgz)&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that all .tgz are saved in the same directory, open a console and cd inside that directory; then do this:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
su -c &amp;quot;installpkg *.tgz&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When asked for the root password, give it.&lt;br /&gt;
&lt;br /&gt;
A menu entry for spring and another to springlobby will apear in KDE, XFCE and GNOME.&lt;br /&gt;
&lt;br /&gt;
Also, spring and springlobby executables will be accessible via shell; put it on you fluxbox menu, ;D&lt;br /&gt;
&lt;br /&gt;
{{Finalizing_linux_install}}&lt;br /&gt;
&lt;br /&gt;
{{Linux_tips}}&lt;br /&gt;
&lt;br /&gt;
{{Troubleshooting_linux}}&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16678</id>
		<title>SetupGuide</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16678"/>
		<updated>2008-02-25T15:30:48Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* http://www.winehq.org/images/distro/slackware.png Slackware 12 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Fully updated for 0.76b1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Page Maintenance =&lt;br /&gt;
&lt;br /&gt;
When I first installed spring on linux, it was damn hard. I almost gave up a couple times, but finally got it to work, after lots of time wasted.&lt;br /&gt;
&lt;br /&gt;
This setup guide was horribly outdated back then. Since I liked the game, I gave sth back, by updating this page, and some patches for engine. It wasn&#039;t very hard to update this page, it just took some time and effort. Now it&#039;s basically in a state, where almost every question on the irc channel regarding linux setup is already answered here, if people just bother to check.&lt;br /&gt;
&lt;br /&gt;
This page doesn&#039;t probably require so much modification in the future, assuming no major changes to spring installation procedure. But I am not going to do that, I have no time anymore. This is probably the only up to date page on the whole wiki, and it might be that it again becomes outdated. So I challenge everyone who ever got helped by this page to keep it up to date in the future.  &lt;br /&gt;
&lt;br /&gt;
It&#039;s a wiki so everyone can edit it, so when you see something that is wrong or missing, just fix it, and that means you! Making an account is trivial.&lt;br /&gt;
&lt;br /&gt;
- semi&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
&lt;br /&gt;
== Version ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The guide is fully up to date with release 0.76b1.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To play online, you must have the same version as everyone else in the game.&lt;br /&gt;
&lt;br /&gt;
Most people should get the current release, version 0.76b1. There are usually&lt;br /&gt;
between 100 and 200 people online in the lobby, and if you want to play with&lt;br /&gt;
them, you need this.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do not use older than current release version&#039;&#039;&#039;, unless you really know what you are doing.&lt;br /&gt;
&lt;br /&gt;
If you want to see the bleeding edge, you can checkout svn head of spring, but&lt;br /&gt;
it can not be used to play with people who have the release, so you are&lt;br /&gt;
practically limited to playing against nemo. This is mainly interesting for&lt;br /&gt;
people who want to contribute to the project, for testing, finding bugs and&lt;br /&gt;
fixing them, and implementing new features. Head can be seriously broken from&lt;br /&gt;
time to time, or not even compile.&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
&lt;br /&gt;
If there is a package for your distributions preferred package manager, it is&lt;br /&gt;
recommended to use it instead of compiling the program yourself from sources.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/debian-small.png Debian Etch ===&lt;br /&gt;
&lt;br /&gt;
This is not updated for 0.76b1. Somebody check if the install succeeds for the new release this way?&lt;br /&gt;
&lt;br /&gt;
This is for version 0.75b2.&lt;br /&gt;
&lt;br /&gt;
We need to use Yokozar&#039;s Ubuntu package, so we need some tricks.&lt;br /&gt;
&lt;br /&gt;
The --build step will take about 15 minutes. Hopefully we have precompiled binaries for etch soon too.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://ppa.launchpad.net/spring/ubuntu/387EE263.gpg -O- | \&lt;br /&gt;
    sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
wget http://ppa.launchpad.net/spring/ubuntu/sources.list.d/gutsy.list \&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get build-dep spring -y&lt;br /&gt;
sudo apt-get --build source spring -y&lt;br /&gt;
sudo dpkg -i spring_0.75~b2-1_i386.deb spring-data_0.75~b2-1_all.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to install SpringLobby also, follow the instructions in http://trac.springlobby.info/wiki/Install#Debian&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/games/spring &amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/debian-small.png Debian Unstable ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1&lt;br /&gt;
&lt;br /&gt;
Ubuntu instructions work for debian unstable as is at the moment.&lt;br /&gt;
Except two extra steps:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;deb http://apt.wxwidgets.org/ etch-wx main&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
The rest is right below.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/ubuntu-small.png Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
We now have a maintained and up to date APT repository for Ubuntu 7.10 (Gutsy)&lt;br /&gt;
&lt;br /&gt;
If you have some older version of ubuntu, you can easily upgrade to Gutsy with these instructions: http://www.ubuntu.com/getubuntu/upgrading&lt;br /&gt;
&lt;br /&gt;
Do the following:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;These lines are long and they are split to match the formatting of this page, you can copy-paste this to your terminal as is, as long as you copy the entire wrapped command and not just one line.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://ppa.launchpad.net/spring/ubuntu/387EE263.gpg -O- | \&lt;br /&gt;
    sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
sudo wget http://ppa.launchpad.net/spring/ubuntu/sources.list.d/gutsy.list \&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; If you get a &amp;quot;sudo&amp;quot; error (1st command) or an &amp;quot;unsupported scheme&amp;quot; error (2nd command) with the above code, then try this code instead:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://ppa.launchpad.net/spring/ubuntu/387EE263.gpg -O- | sudo apt-key add -&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo wget http://ppa.launchpad.net/spring/ubuntu/sources.list.d/gutsy.list&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install spring spring-lobby-springlobby spring-maps-default -y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, if you want to download a few large maps you can do following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo apt-get install spring-maps-hunterw spring-maps-deltasiege spring-maps-smallsupreme spring-maps-teamplay&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you own the original Total Annihilation and want to use mods that require the original TA content, then do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo apt-get install spring-data-nonfree&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For configuring the lobbies, you can note that the package installs the Spring executable at &amp;lt;code&amp;gt;/usr/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== http://www.winehq.org/images/distro/slackware.png Slackware 12 ===&lt;br /&gt;
&lt;br /&gt;
Working for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is all dependencies in precompiled tgz&#039;s:&lt;br /&gt;
&lt;br /&gt;
glew (http://www.linuxpackages.net/pkg_details.php?id=12051)&amp;lt;br/&amp;gt;&lt;br /&gt;
DeviL (http://www.linuxpackages.net/pkg_details.php?id=10571)&amp;lt;br/&amp;gt;&lt;br /&gt;
boost (http://www.linuxpackages.net/pkg_details.php?id=12046)&amp;lt;br/&amp;gt;&lt;br /&gt;
icu (http://www.linuxpackages.net/pkg_details.php?id=12034)&amp;lt;br/&amp;gt;&lt;br /&gt;
openal (http://www.linuxpackages.net/pkg_details.php?id=11993)&amp;lt;br/&amp;gt;&lt;br /&gt;
wxWidgets (http://www.linuxpackages.net/pkg_details.php?id=12072)&amp;lt;br/&amp;gt;&lt;br /&gt;
springlobby (http://www.linuxpackages.net/pkg_details.php?id=12177)&amp;lt;br/&amp;gt;&lt;br /&gt;
spring - thanks to leo moisio - (http://www.springlobby.info/slackware/spring-0.76b1-i486-1leo.tgz)&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
assuming that all .tgz are saved in the same direcory, open a console and cd inside that directory; later:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
su -c &amp;quot;installpkg *.tgz&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
when asked for the root password, give it.&lt;br /&gt;
&lt;br /&gt;
a menu entre for spring and another to springlobby will apear in KDE, XFCE and GNOME.&lt;br /&gt;
&lt;br /&gt;
also, spring and springlobby executables will be accessible via shell; put it on you fluxbox menu, ;D&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/gentoo-small.png Gentoo ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OVERLAY CHANGED 2008-01-21. SpringLobby and Spring overlays are merged, so you need to add this overlay, if you haven&#039;t already, so you can upgrade again. If you are new user, you can ignore this.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
An overlay to use with layman is provided. If gentoo overlays and/or layman are new to you, [http://overlays.gentoo.org/ read about them], as they are an essential part of gentoo.&lt;br /&gt;
&lt;br /&gt;
This example assumes you never used layman before. If it&#039;s not your first time, you hopefully know what to do.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge layman&lt;br /&gt;
layman -f -a springlobby \&lt;br /&gt;
     -o http://svn.springlobby.info/trunk/gentoo/overlays.xml&lt;br /&gt;
echo &amp;quot;source /usr/portage/local/layman/make.conf&amp;quot; &amp;gt;&amp;gt; /etc/make.conf&lt;br /&gt;
echo &amp;quot;games-strategy/spring ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
echo &amp;quot;games-util/springlobby ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
emerge spring&lt;br /&gt;
emerge springlobby&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Layman makes upgrading really easy too:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
layman --sync ALL&lt;br /&gt;
emerge spring&lt;br /&gt;
emerge springlobby&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/games/bin/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== http://upload.wikimedia.org/wikipedia/en/thumb/9/95/Mandriva_logo.png/96px-Mandriva_logo.png  Mandriva ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
Mandriva has Spring in the official Contrib  repositories, follow the instructions at [http://easyurpmi.zarb.org Easy Urpmi] to add contrib mirrors&lt;br /&gt;
&lt;br /&gt;
after being done, to install enter the following command in a console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;su root -C &amp;quot;urpmi spring&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and select yes to the confirmation question&lt;br /&gt;
&lt;br /&gt;
For configuring the lobbies, you can note that the package installs the Spring executable at /usr/games/spring and read-only data in /usr/share/games/spring.&lt;br /&gt;
&lt;br /&gt;
=== Binary for Other Linux Systems ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is an unofficial installer if none of the above work for you:&lt;br /&gt;
http://spring.clan-sy.com/phpbb/viewtopic.php?f=20&amp;amp;t=12802&lt;br /&gt;
&lt;br /&gt;
== Build From Source ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You might encounter sync errors in online play if you are not using the exact same version of the compiler and same compiler settings as used for prebuilt packages!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For 0.76b1 these are: TODO add them here.&lt;br /&gt;
&lt;br /&gt;
If there is no package tailored for your distribution, you have to install from sources manually. Doing this for distributions where packages are available is not recommended.&lt;br /&gt;
&lt;br /&gt;
=== Get Source ===&lt;br /&gt;
&lt;br /&gt;
You can either download the source as a 3.9MB tarball (recommended; v. 0.76b1) or get it from the subversion repository. Either way, the result is the same.&lt;br /&gt;
&lt;br /&gt;
==== Tarball ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/src # or /var/tmp, or whatever&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1_src.tar.bz2&lt;br /&gt;
tar xjf spring_0.76b1_src.tar.bz2&lt;br /&gt;
cd spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: The .zip release is for windows only. Linux users have to get .bz2 like shown above.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Subversion ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install subversion # if you are not on debian, figure it out&lt;br /&gt;
svn co https://spring.clan-sy.com/svn/spring/tags/spring_0.76b1 \&lt;br /&gt;
/usr/local/src/spring_0.76b1&lt;br /&gt;
cd /usr/local/src/spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dependencies ===&lt;br /&gt;
&lt;br /&gt;
For Etch (debian 4.0 stable) and Sid (debian unstable), I&#039;ve confirmed the&lt;br /&gt;
following to be the minimal set that is necessary to get. I have not tested&lt;br /&gt;
with any version of Ubuntu, but the line is probably almost identical if not&lt;br /&gt;
the same. Quilted tested with ubuntu fiesty fawn on july 28 2007 WORKS. Note&lt;br /&gt;
that Spring 0.75b2 depends on the boost libraries version 1.34.* and won&#039;t&lt;br /&gt;
work on lower versions. (updated libboost-serialization-dev, and libvorbis-dev dependencies for 0.76b1)&lt;br /&gt;
&lt;br /&gt;
Also, on 64-bit be sure to build against devIl 1.6.8-rc2 or higher, 1.6.7 has a bug in the PNG loading code that causes issues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install scons build-essential zlib1g-dev libfreetype6-dev&lt;br /&gt;
aptitude install libsdl1.2-dev libopenal-dev libglew-dev libboost-dev&lt;br /&gt;
aptitude install libboost-thread-dev libboost-regex-dev libdevil-dev&lt;br /&gt;
aptitude install libboost-serialization-dev python2.5-dev zip&lt;br /&gt;
aptitude install sun-java6-jdk libvorbis-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This has been tested to work with a clean install of gentoo 2007.0:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge dev-util/scons \&amp;gt;=media-libs/freetype-2.0.0 \&amp;gt;=media-libs/libsdl-1.2.0&lt;br /&gt;
emerge media-libs/openal =dev-lang/python-2.4\* media-libs/glew dev-libs/boost&lt;br /&gt;
emerge media-libs/devil app-arch/zip media-libs/libogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Users of other distributions should be able to figure out the correct package&lt;br /&gt;
names from this. The scons configure will whine if you forget something, but it&lt;br /&gt;
does not check if you remembered to install zip, even though you still need it.&lt;br /&gt;
&lt;br /&gt;
=== Build And Install ===&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
warning: division by zero&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons configure&lt;br /&gt;
scons&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons install&lt;br /&gt;
mkdir -p /etc/spring&lt;br /&gt;
echo &#039;$HOME/.spring&#039; &amp;gt; /etc/spring/datadir&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/local/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/local/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Network ==&lt;br /&gt;
&lt;br /&gt;
If you have a public ip and no firewall, then you don&#039;t need to do anything.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t want to host any games, just join them, you shouldn&#039;t need to do anything.&lt;br /&gt;
&lt;br /&gt;
If you have a firewall, to be able to host, you must enable incoming udp to port 8452. If you are behind a NAT, to be able to host you must either use nat traversal / hole punching feature in your lobby client, OR port forward that port from your public ip to your gaming machine.&lt;br /&gt;
&lt;br /&gt;
= Finalizing installation =&lt;br /&gt;
&lt;br /&gt;
Now all the things you needed to run as root have been done. Some stuff needs to be done by the user who is going to play spring.&lt;br /&gt;
&lt;br /&gt;
I&#039;m assuming bash here, but you can use anything you like to do it of course.&lt;br /&gt;
&lt;br /&gt;
== Data Directories ==&lt;br /&gt;
&lt;br /&gt;
Do this to create your per-user data directories. You will be downloading maps and mods etc to these dirs later.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p ~/.spring/{base,maps,mods}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the above did not work for you, then you can try:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir ~/.spring ~/.spring/base ~/.spring/maps ~/.spring/mods&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Maps ==&lt;br /&gt;
&lt;br /&gt;
You need at least one map to succesfully run spring.&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.unknown-files.net/spring/category/13/Maps/ Unknown Files, Map Section] and download at least one map. Save it under ~/.spring/maps/ without unpacking the file in any way.&lt;br /&gt;
&lt;br /&gt;
Hint: If you know the map name you want, there is a Quick Search in the top right corner of the page. Just write a part of the name, like one word, and you&#039;ll easily find what you were looking for.&lt;br /&gt;
&lt;br /&gt;
== Mods ==&lt;br /&gt;
&lt;br /&gt;
You need at least one mod to successfully run spring.&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.unknown-files.net/spring/category/14/Mods/ Unknown Files, Mod Section] and download at least one mod. Save it under ~/.spring/mods/ without unpacking the file in any way.&lt;br /&gt;
&lt;br /&gt;
Hint: If you know the mod name you want, there is a Quick Search in the top right corner of the page. Just write a part of the name, like one word, and you&#039;ll easily find what you were looking for.&lt;br /&gt;
&lt;br /&gt;
If you want to view unit stats of mods, [http://modinfo.unknown-files.net/modit/modit.php this] is the site for you.&lt;br /&gt;
&lt;br /&gt;
== OTA Content ==&lt;br /&gt;
&lt;br /&gt;
If you want to play mods based on Total Annihilation, for example XTA, AA, BA, then you have to do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://ipxserver.dyndns.org/games/spring/mods/xta/base-ota-content.zip&lt;br /&gt;
unzip -d ~/.spring/base base-ota-content.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that you need to own a copy of Total Annihilation, to download this file legally.&lt;br /&gt;
&lt;br /&gt;
Mods that do not require this file are at least NanoBlobs and Kernel Panic, TODO list other mods that don&#039;t need it.&lt;br /&gt;
&lt;br /&gt;
== Settings == &lt;br /&gt;
&lt;br /&gt;
Defaults should be usable, so you can ignore this until you want to maximize your eye candy or fps :)&lt;br /&gt;
&lt;br /&gt;
When you run spring the first time, it creates ~/.springrc which contains all the settings. It is a simple text file with name=value lines, most of which are pretty obvious and can be edited by hand.&lt;br /&gt;
&lt;br /&gt;
If you want a tool for editing the file, you can use [http://trac.springlobby.info/wiki/SpringSettings SpringSettings] ([http://springlobby.info SpringLobby] has this integrated).&lt;br /&gt;
&lt;br /&gt;
=== Dual Head ===&lt;br /&gt;
&lt;br /&gt;
Automatic: if you are using [http://trac.springlobby.info/wiki/SpringSettings SpringSettings] you can select a dual screen resolution in simple mode and the rest is done automatically. &lt;br /&gt;
&lt;br /&gt;
Manual: to make Dual Monitors work add/change these settings in your .springrc file.            &lt;br /&gt;
&amp;quot;DualScreenMiniMapOnLeft=1,&lt;br /&gt;
DualScreenMode=1,&lt;br /&gt;
XResolution=2560,&lt;br /&gt;
YResolution=1024&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Make sure to use your own resolution for the X,Y resolutions.  For example: you have two monitors configured for 1280x1024, the X,Y is 2560x1024.&lt;br /&gt;
&lt;br /&gt;
Save then restart Spring.&lt;br /&gt;
&lt;br /&gt;
== LuaUI ==&lt;br /&gt;
&lt;br /&gt;
Spring UI is scriptable with Lua. This is called LuaUI, and it is not enabled per default.&lt;br /&gt;
&lt;br /&gt;
Replace LuaUI=0 with LuaUI=1 in your ~/.springrc to use LuaUI. &lt;br /&gt;
&lt;br /&gt;
To install some LuaUI scripts, start by copying LuaUI folder from you read-only data directory to your read-write data directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
rm -r ~/.spring/LuaUI&lt;br /&gt;
cp -r /usr/share/games/spring/LuaUI ~/.spring/LuaUI&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go find the LuaUI scripts you need from [http://spring.unknown-files.net/category/19/Lua_Scripts/ Unknown Files LuaUI Section]. All LuaUI scripts are released there, so if you make good ones yourself, make sure to upload them.&lt;br /&gt;
&lt;br /&gt;
The scripts can come in any setup, so prepare to decompress them if they are compressed. They might have a whole directory structure, and they should have their own instructions on how to install them. Check which directory you need to extract them to. Most likely it is ~/.spring/LuaUI but it might be a directory inside this directory too for some script.&lt;br /&gt;
&lt;br /&gt;
Once you have copied the script into place, when you start spring next time, you can press F11 to enable/disable anything from your list of installed LuaUI scripts. If your new script is not there, you copied it wrong.&lt;br /&gt;
&lt;br /&gt;
== Lobby Client ==&lt;br /&gt;
&lt;br /&gt;
To setup online games, you need a lobby client. There are several options to choose from.&lt;br /&gt;
&lt;br /&gt;
You can also use lobby client to setup single player matches against the AI. TODO more information about setting up tasclient to play against AI.&lt;br /&gt;
&lt;br /&gt;
Recommended lobby client for linux is either SpringLobby or AFLobby. You can use them in windows and mac too.&lt;br /&gt;
&lt;br /&gt;
=== Omni ===&lt;br /&gt;
&lt;br /&gt;
This project has been abandoned, and you should not use it.&lt;br /&gt;
&lt;br /&gt;
=== UnityLobby ===&lt;br /&gt;
&lt;br /&gt;
UnityLobby has been abandoned since april 2007, and you should not use it.&lt;br /&gt;
&lt;br /&gt;
=== [http://springlobby.info SpringLobby] ===&lt;br /&gt;
&lt;br /&gt;
SpringLobby is for (at least) Windows, Linux and Mac. It&#039;s now in a usable state and has a feature set close to that of TASClient for windows. Try it out! Bug reports and feature requests are very much welcome.&lt;br /&gt;
&lt;br /&gt;
Visit http://springlobby.info for all things SpringLobby.&lt;br /&gt;
&lt;br /&gt;
=== AFLobby ===&lt;br /&gt;
&lt;br /&gt;
This project is very promising, and is usable for online multi player. Its the oldest lobby still actively maintained.&lt;br /&gt;
&lt;br /&gt;
Official webpage for the project is http://www.darkstars.co.uk which should always have the latest release for download.&lt;br /&gt;
&lt;br /&gt;
=== TASClient ===&lt;br /&gt;
&lt;br /&gt;
I used to recommend wine+TASClient solution before, but now you should try SpringLobby or AFLobby first, before you go this route.&lt;br /&gt;
&lt;br /&gt;
Certain newish version of wine fails with tasclient, TODO can&#039;t remember which one. It should be fixed in the very latest version of wine.&lt;br /&gt;
&lt;br /&gt;
This is a windows program, but it works just fine under wine in linux, and can be used together with native linux spring. I used it myself before moving to SpringLobby.&lt;br /&gt;
&lt;br /&gt;
The only two downsides in using this are that you have to use wine (which should not be a big problem) and your rank won&#039;t increase as long as you use it (also because of win-linux binary interaction).&lt;br /&gt;
&lt;br /&gt;
TODO there is a way to make it support rank increases too, using trepans cool proxy, add info.&lt;br /&gt;
&lt;br /&gt;
Download the installer of Spring for Windows, and run it in wine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1.exe&lt;br /&gt;
wine spring_0.76b1.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No configuration of wine should be needed, if your distribution is sane.&lt;br /&gt;
&lt;br /&gt;
Complete the install, and let it install to the default location, which is Program Files\Spring.&lt;br /&gt;
&lt;br /&gt;
Assuming you completed the earlier step of creating the data directories, now we need to link the windows and linux data together:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
WINESPRING=~/.wine/drive_c/Program\ Files/Spring&lt;br /&gt;
NATIVE=~/.spring&lt;br /&gt;
&lt;br /&gt;
touch &amp;quot;${WINESPRING}/script.txt&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${WINESPRING}/script.txt&amp;quot; &amp;quot;${NATIVE}/script.txt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/maps&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/maps&amp;quot; &amp;quot;${WINESPRING}/maps&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/mods&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/mods&amp;quot; &amp;quot;${WINESPRING}/mods&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/base&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/base&amp;quot; &amp;quot;${WINESPRING}/base&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/demos&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/demos&amp;quot; &amp;quot;${WINESPRING}/demos&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the windows-TASClient to be able to launch native linux spring, we need a wrapper exe in between them. Source code for wrapper exe is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;windows.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;tchar.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#define NATIVE_SPRING_LOCATION TEXT(&amp;quot;/usr/games/spring&amp;quot;)&lt;br /&gt;
#define SPRING_VERSION_REPLY &amp;quot;Spring 0.76b1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
int main (int argc, char **argv)&lt;br /&gt;
{&lt;br /&gt;
  if (argc &amp;gt; 1 &amp;amp;&amp;amp; !strcmp(argv[1], &amp;quot;/V&amp;quot;))&lt;br /&gt;
  {&lt;br /&gt;
     puts(SPRING_VERSION_REPLY);&lt;br /&gt;
     return 0;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  STARTUPINFO si;&lt;br /&gt;
  ZeroMemory( &amp;amp;si, sizeof(si) );&lt;br /&gt;
  si.cb = sizeof(si);&lt;br /&gt;
&lt;br /&gt;
  PROCESS_INFORMATION pi;&lt;br /&gt;
  ZeroMemory( &amp;amp;pi, sizeof(pi) );&lt;br /&gt;
&lt;br /&gt;
  // Start the child process.&lt;br /&gt;
  if (!CreateProcess(&lt;br /&gt;
    _tcsdup(NATIVE_SPRING_LOCATION), // No module name (use command line)&lt;br /&gt;
    GetCommandLine(),                // Command line&lt;br /&gt;
    NULL,                            // Process handle not inheritable&lt;br /&gt;
    NULL,                            // Thread handle not inheritable&lt;br /&gt;
    FALSE,                           // Set handle inheritance to FALSE&lt;br /&gt;
    0,                               // No creation flags&lt;br /&gt;
    NULL,                            // Use parent&#039;s environment block&lt;br /&gt;
    NULL,                            // Use parent&#039;s starting directory&lt;br /&gt;
    &amp;amp;si,                             // Pointer to STARTUPINFO structure&lt;br /&gt;
    &amp;amp;pi))                            // Pointer to PROCESS_INFORMATION structure&lt;br /&gt;
    {&lt;br /&gt;
      printf( &amp;quot;CreateProcess failed (%d).\n&amp;quot;, GetLastError() );&lt;br /&gt;
      return 1;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
  // Wait until child process exits. Wine actually does not know how to wait&lt;br /&gt;
  // for native linux process, so this will return instantly and your gametime&lt;br /&gt;
  // counter does not increase so you don&#039;t get any rank.&lt;br /&gt;
  WaitForSingleObject( pi.hProcess, INFINITE );&lt;br /&gt;
&lt;br /&gt;
  // Close process and thread handles.&lt;br /&gt;
  CloseHandle( pi.hProcess );&lt;br /&gt;
  CloseHandle( pi.hThread );&lt;br /&gt;
&lt;br /&gt;
  return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You might need to modify the define-lines in the beginning to match your location and version. Remember, the version reply must be exactly right, or your game just breaks totally in multiplayer or you can&#039;t even login to lobby server.&lt;br /&gt;
&lt;br /&gt;
Save this code to spring.cc for example, and then we need to install a windows-crosscompiler and compile a windows binary from it inside our linux box like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install mingw32&lt;br /&gt;
i586-mingw32msvc-g++ spring.cc -o ~/.wine/drive_c/Program\ Files/Spring/spring.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumed debian for installing the crosscompiler, but mingw32 is probably simple to install on other distributions as well.&lt;br /&gt;
&lt;br /&gt;
TODO should provide binary packages for this launcher, as all people don&#039;t have the possibility to set up cross compiler. I compiled it but I can&#039;t test it due to lack of Wine+TASClient setup. Here is the binary anyway: http://buildbot.no-ip.org/~tvo/spring/spring.exe&lt;br /&gt;
&lt;br /&gt;
Then you should make a script for launching TASClient. The script can be named tasclient for example, and just put it somewhere in your path and make it executable. The script code is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/env sh&lt;br /&gt;
cd ~/.wine/drive_c/Program\ Files/Spring&lt;br /&gt;
wine TASClient.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you should be able to type tasclient on the command line, and the lobby appears. &#039;&#039;&#039;This cd operation is necessary. If your working directory is not the same as TASClient.exe&#039;s location, it will just give access violations to you.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that every time when you have added new maps, the lobby client caches them and this will take some time, or a long time if you downloaded many maps since last time. Just wait patiently.&lt;br /&gt;
&lt;br /&gt;
Then you should register an account and login with it, and you should be ready to join an online multiplayer game from the list that appears.&lt;br /&gt;
&lt;br /&gt;
It&#039;s likely that you don&#039;t have the correct map or mod at this point, so just get them and join the game. You don&#039;t need to restart your lobby client after downloading the files.&lt;br /&gt;
&lt;br /&gt;
It&#039;s recommended that you spectate a couple of high rank games first, to get some idea of how the game should be played. Some hosts don&#039;t allow spectators, but most do.&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== Ingame ==&lt;br /&gt;
&lt;br /&gt;
=== LuaUI Crash Ingame ===&lt;br /&gt;
&lt;br /&gt;
LuaUI can crash during game, because some lua script you use has a bug. 0.75 should be resistant to this problem, but 0.74b3 is not. After crash, you won&#039;t see the bottom left tooltip box and top right resource bar anymore. Fear not, help is near:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/resbar 1&lt;br /&gt;
/tooltip 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These might not be necessary in 0.75 anymore at all.&lt;br /&gt;
&lt;br /&gt;
Also, you won&#039;t be able to change the build menu page with mouse anymore, but keys , and . do the trick.&lt;br /&gt;
&lt;br /&gt;
LuaUI can also be restarted after it crashed. Often this does the trick and it works fine the rest of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/luaui reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mouse is slow in fullscreen mode ===&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &#039;export SDL_MOUSE_RELATIVE=0&#039; &amp;gt;&amp;gt; ~/.bash_profile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
And log out and log in again.&lt;br /&gt;
&lt;br /&gt;
The mouse should now be as fast as in windowed mode.&lt;br /&gt;
&lt;br /&gt;
=== Rotating Buildings Ingame ===&lt;br /&gt;
&lt;br /&gt;
You can rotate a building before you give the build order, but the keys that do this don&#039;t work in linux by default for some users. Issue the following commands in the beginning of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/bind keycodex buildfacing inc&lt;br /&gt;
/bind keycodey buildfacing dec&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Keycodex and keycodey above are just placeholders. What you want to write depends on which key you want to use. To see what keycodes any keys have, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/keydebug yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then hit the keys you want to use, and spring prints the keycodes in the message buffer.&lt;br /&gt;
&lt;br /&gt;
TODO: add information on how to save the settings so that they work the next time you start spring.&lt;br /&gt;
&lt;br /&gt;
=== Map is White ===&lt;br /&gt;
&lt;br /&gt;
If the whole map is only shades of white and grey, there is a problem with your display driver. Maybe your gpu is very old and does not support some needed opengl feature. For example I had this problem with matrox g550 but not with some very old geforce.&lt;br /&gt;
&lt;br /&gt;
== Startup ==&lt;br /&gt;
&lt;br /&gt;
=== Missing Default Cursor ===&lt;br /&gt;
&lt;br /&gt;
This or any similar error of not being able to find a specific file are usually because the mod you are using needs ota content, download &amp;amp; install as explained [[SetupGuide#OTA_Content|earlier in this document]].&lt;br /&gt;
&lt;br /&gt;
=== could not open file: gamedata/defs.lua ===&lt;br /&gt;
&lt;br /&gt;
Make sure your ~/.spring does not contain an outdated version of base/springcontent.sdz because a new version of this file is distributed with spring.&lt;br /&gt;
If you do, just remove it.&lt;br /&gt;
&lt;br /&gt;
=== sounds/button9.wav &amp;quot;cant find wav file&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Same problem as above.&lt;br /&gt;
&lt;br /&gt;
=== Couldnt find matching GLX visual ===&lt;br /&gt;
&lt;br /&gt;
Reduce anti aliasing.&lt;br /&gt;
&lt;br /&gt;
=== GL_ARB_texture_compression not found ===&lt;br /&gt;
&lt;br /&gt;
This can be an issue with your gpu drivers. The drivers you are using do not support a feature that is required to run spring. You might have better luck with the closed source official drivers of nvidia or amd cards. If your gpu itself is really old, this might not help.&lt;br /&gt;
&lt;br /&gt;
If you use the fglrx ati-graphics driver and you are getting this error there might be a chance that still spring work (I use this with ubuntu gusty).&lt;br /&gt;
At first we must check that fglrx is installed correctly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
OpenGL version string: 2.0.6747 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then lets check the glx-extention.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ glxinfo | grep direct&lt;br /&gt;
Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;.&lt;br /&gt;
direct rendering: No&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you get this message, notice that glxinfo releates to display &#039;:1&#039; and fglrxinfo to display &#039;:0&#039;!! Lets check the glx-extention on display :0 now.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 glxinfo | grep direct&lt;br /&gt;
direct rendering: Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This message mean that you can start spring by typing (in a terminal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 spring&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the TASclient with wine and the native linux spring. Start the whole TASclient-start-script by typing. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
DISPLAY=:0 TASCLIENT-start-script&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But Notice under circumstances is no windowmanager running on screen :0! This means there are NO windowframes at the TASClient window! You can&#039;t move it or close it by clicking the closebutton (unless you click at the close button on the terminal-window in witch you startet TAS). You can although close TAS with the keys ALT-F4&lt;br /&gt;
&lt;br /&gt;
=== OpenAL Segfault ===&lt;br /&gt;
&lt;br /&gt;
If spring crashes with this output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenAL: ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_EXT_MP3&lt;br /&gt;
AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format&lt;br /&gt;
AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel&lt;br /&gt;
Segmentation fault (core dumped)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look into this thread on the forums for a fix: http://spring.clan-sy.com/phpbb/viewtopic.php?f=20&amp;amp;t=12568&lt;br /&gt;
&lt;br /&gt;
Then bug nemo in #taspring to finish this troubleshooting entry. He knows how to fix it.&lt;br /&gt;
&lt;br /&gt;
This is mod-related, ie. it only happens on some mods. Please list here the mod versions that give this error for you.&lt;br /&gt;
&lt;br /&gt;
- Star Wars mod, unknown version, by user report&lt;br /&gt;
&lt;br /&gt;
The problematic mod contains a sound file that crashes openal. You can try to unzip the mod file that crashed for you, and play each sound file. Please report any sound files that fail to play right, just list them here.&lt;br /&gt;
&lt;br /&gt;
- unknown file&lt;br /&gt;
&lt;br /&gt;
== Compiletime ==&lt;br /&gt;
&lt;br /&gt;
=== make_gamedata_arch.sh not found ===&lt;br /&gt;
&lt;br /&gt;
The .zip you downloaded is for windows, you must download a .bz2, instructions [[SetupGuide#Downloading_A_Tarball|earlier in this document]].&lt;br /&gt;
&lt;br /&gt;
=== invalid use of ILvoid ===&lt;br /&gt;
&lt;br /&gt;
During compiling, if you get a lot of the following errors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/include/IL/il.h:497: error: &#039;&amp;lt;anonymous&amp;gt;&#039; has incomplete type &lt;br /&gt;
/usr/include/IL/il.h:497: error: invalid use of &#039;ILvoid&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This happens because the version of libdevil-dev you have installed is not compatible with gcc version 4.2 and newer.&lt;br /&gt;
&lt;br /&gt;
You should upgrade your libdevil-dev to fix this issue. However, in some distributions (at least gentoo), the fixed package has the SAME version number as the older unfixed package, so you might actually need to remove your current libdevil-dev package completely and reinstall it.&lt;br /&gt;
&lt;br /&gt;
TODO: add critical version numbers of libdevil.&lt;br /&gt;
&lt;br /&gt;
== Network Setup ==&lt;br /&gt;
&lt;br /&gt;
Usually you don&#039;t need to do any network setup whatsoever, because the lobbies take care of nat traversal with firewall hole punching, but if you need to know the topology, it goes like this:&lt;br /&gt;
&lt;br /&gt;
Host needs to enable incoming udp to port 8452, and outgoing replies to those.&lt;br /&gt;
Non-host players need to enable outgoing udp, and incoming replies to those.&lt;br /&gt;
So basically only non-host players initiate &amp;quot;connections&amp;quot;, and only the server listens on a well-known port.&lt;br /&gt;
&lt;br /&gt;
== If You Still Have Problems ==&lt;br /&gt;
&lt;br /&gt;
Join to #taspring on Freenode or #sy on QuakeNet and try your luck.&lt;br /&gt;
&lt;br /&gt;
However, generic linux problems not really related to installing this should be asked elsewhere.&lt;br /&gt;
&lt;br /&gt;
Prepare to list your distribution, which installation method you used, and what exactly is the error. Don&#039;t ask if people are around or not, just go straight to business and tell all details, for maximizing your chances of getting help.&lt;br /&gt;
&lt;br /&gt;
== IRC ==&lt;br /&gt;
&lt;br /&gt;
# #taspring @ FreeNode&lt;br /&gt;
# #sy @ QuakeNet&lt;br /&gt;
&lt;br /&gt;
== Asking For Help ==&lt;br /&gt;
&lt;br /&gt;
Ok so you need human help. This is how &#039;&#039;&#039;NOT&#039;&#039;&#039; to do it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
15:54 -!- **** [n=****@*] has joined #taspring&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; Hi, i have a problem with compiling spring on debian&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; can anyone help me?&lt;br /&gt;
15:57 -!- **** [n=****@*] has quit [Client Quit]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Don&#039;t ask to ask, instead go straight to business by stating the exact problem you have, and giving all necessary information. What you were trying to achieve, how did you try to do it, what happened and what did you expect to happen.&lt;br /&gt;
&lt;br /&gt;
Then WAIT for someone to notice you.&lt;br /&gt;
&lt;br /&gt;
== Configure Options ==&lt;br /&gt;
&lt;br /&gt;
If you want to see the configure options, because of a bug in the buildsystem you have to have spring configured first. But if configure fails, you are out of luck. So I have listed the options here:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
$ scons --help&lt;br /&gt;
scons: Reading SConscript files ...&lt;br /&gt;
make: Nothing to be done for `all&#039;.&lt;br /&gt;
Succes building streflop!&lt;br /&gt;
Updating bitmaps.sdz&lt;br /&gt;
Updating springcontent.sdz&lt;br /&gt;
scons: done reading SConscript files.&lt;br /&gt;
&lt;br /&gt;
platform: Set to linux, freebsd or windows&lt;br /&gt;
    default: None&lt;br /&gt;
    actual: linux&lt;br /&gt;
&lt;br /&gt;
debug: Set to yes to produce a binary with debug information&lt;br /&gt;
    default: 0&lt;br /&gt;
    actual: 3&lt;br /&gt;
&lt;br /&gt;
debugdefines: Set to no to suppress DEBUG and _DEBUG preprocessor #defines \&lt;br /&gt;
 (use to add symbols to release build)&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
syncdebug: Set to yes to enable the sync debugger&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
synccheck: Set to yes to enable sync checker &amp;amp; resyncer&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
optimize: Enable processor optimizations during compilation&lt;br /&gt;
    default: 1&lt;br /&gt;
    actual: 2&lt;br /&gt;
&lt;br /&gt;
profile: Set to yes to produce a binary with profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
profile_generate: Set to yes to compile with -fprofile-generate \&lt;br /&gt;
 to generate profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
profile_use: Set to yes to compile with -fprofile-use to use \&lt;br /&gt;
profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
cpppath: Set path to extra header files&lt;br /&gt;
    default: []&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
libpath: Set path to extra libraries&lt;br /&gt;
    default: []&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
fpmath: Set to 387 or SSE on i386 and AMD64 architectures&lt;br /&gt;
    default: 387&lt;br /&gt;
    actual: 387&lt;br /&gt;
&lt;br /&gt;
prefix: Install prefix used at runtime&lt;br /&gt;
    default: /usr/local&lt;br /&gt;
    actual: /usr/local&lt;br /&gt;
&lt;br /&gt;
installprefix: Install prefix used for installion&lt;br /&gt;
    default: /usr/local&lt;br /&gt;
    actual: /usr/local&lt;br /&gt;
&lt;br /&gt;
datadir: Data directory (relative to prefix)&lt;br /&gt;
    default: share/games/spring&lt;br /&gt;
    actual: share/games/spring&lt;br /&gt;
&lt;br /&gt;
bindir: Directory for executables (rel. to prefix)&lt;br /&gt;
    default: games&lt;br /&gt;
    actual: games&lt;br /&gt;
&lt;br /&gt;
libdir: Directory for AI plugin modules (rel. to prefix)&lt;br /&gt;
    default: lib/spring&lt;br /&gt;
    actual: lib/spring&lt;br /&gt;
&lt;br /&gt;
strip: Discard symbols from the executable (only when neither \&lt;br /&gt;
debugging nor profiling)&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
disable_avi: Set to no to turn on avi support&lt;br /&gt;
    default: False on windows, True otherwise&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
use_tcmalloc: Use tcmalloc from goog-perftools for memory allocation&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
use_mmgr: Use memory manager&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
dc_allowed: Specifies whether FPS mode (Direct Control) is allowed in game&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
cachedir: Cache directory (see scons manual)&lt;br /&gt;
    default: None&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
Use scons -H for help about command-line options.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;This section contains just some old crap I didn&#039;t write, and shouldn&#039;t be necessary.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* If spring hangs/crashes while in full screen mode, you can press ctrl+alt+backspace to restart X, so no need for a reboot.&lt;br /&gt;
&lt;br /&gt;
* Spring uses OpenAL for sound, Config your sound output i.e esd / arts / oss / alsa by editing /etc/openalrc or ~/.openalrc, example: (&amp;quot;&#039;(&amp;quot; is not a typo)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;(define devices &#039;(alsa))&amp;lt;br&amp;gt;(define speaker-num 2)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;(define alsa-out-device &amp;quot;hw:0,0&amp;quot;)&amp;lt;br&amp;gt;(define alsa-in-device &amp;quot;hw:0,0&amp;quot;)&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Adventurous people with an emu10k1 based card (sblive) can try the accelerated openal version. http://www.lost.org.uk/openal.html , don&#039;t submit audiobugs if you do.&lt;br /&gt;
&lt;br /&gt;
* If you really can&#039;t figure out how to get spring compiled, or you think there&#039;s a bug in the code or the buildsystem...&lt;br /&gt;
:* Just poke any developer on IRC:&lt;br /&gt;
::* channel &amp;lt;code&amp;gt;#taspring&amp;lt;/code&amp;gt; on [http://freenode.net/ FreeNode]&lt;br /&gt;
::* or channel &amp;lt;code&amp;gt;#sy&amp;lt;/code&amp;gt; on [http://www.quakenet.org/ QuakeNet]&lt;br /&gt;
:* Post it on [http://taspring.clan-sy.com/phpbb/ the forum]&lt;br /&gt;
:* or file a bug in our [http://taspring.clan-sy.com/mantis/ bug tracking system].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; [[Main_Page|&amp;lt;- Back to Main page]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Port]][[Category:Playing]]&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16674</id>
		<title>SetupGuide</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16674"/>
		<updated>2008-02-13T03:55:40Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* http://www.winehq.org/images/distro/slackware.png Slackware 12 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Fully updated for 0.76b1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Page Maintenance =&lt;br /&gt;
&lt;br /&gt;
When I first installed spring on linux, it was damn hard. I almost gave up a couple times, but finally got it to work, after lots of time wasted.&lt;br /&gt;
&lt;br /&gt;
This setup guide was horribly outdated back then. Since I liked the game, I gave sth back, by updating this page, and some patches for engine. It wasn&#039;t very hard to update this page, it just took some time and effort. Now it&#039;s basically in a state, where almost every question on the irc channel regarding linux setup is already answered here, if people just bother to check.&lt;br /&gt;
&lt;br /&gt;
This page doesn&#039;t probably require so much modification in the future, assuming no major changes to spring installation procedure. But I am not going to do that, I have no time anymore. This is probably the only up to date page on the whole wiki, and it might be that it again becomes outdated. So I challenge everyone who ever got helped by this page to keep it up to date in the future.  &lt;br /&gt;
&lt;br /&gt;
It&#039;s a wiki so everyone can edit it, so when you see something that is wrong or missing, just fix it, and that means you! Making an account is trivial.&lt;br /&gt;
&lt;br /&gt;
- semi&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
&lt;br /&gt;
== Version ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The guide is fully up to date with release 0.76b1.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To play online, you must have the same version as everyone else in the game.&lt;br /&gt;
&lt;br /&gt;
Most people should get the current release, version 0.76b1. There are usually&lt;br /&gt;
between 100 and 200 people online in the lobby, and if you want to play with&lt;br /&gt;
them, you need this.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do not use older than current release version&#039;&#039;&#039;, unless you really know what you are doing.&lt;br /&gt;
&lt;br /&gt;
If you want to see the bleeding edge, you can checkout svn head of spring, but&lt;br /&gt;
it can not be used to play with people who have the release, so you are&lt;br /&gt;
practically limited to playing against nemo. This is mainly interesting for&lt;br /&gt;
people who want to contribute to the project, for testing, finding bugs and&lt;br /&gt;
fixing them, and implementing new features. Head can be seriously broken from&lt;br /&gt;
time to time, or not even compile.&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
&lt;br /&gt;
If there is a package for your distributions preferred package manager, it is&lt;br /&gt;
recommended to use it instead of compiling the program yourself from sources.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/debian-small.png Debian Etch ===&lt;br /&gt;
&lt;br /&gt;
This is not updated for 0.76b1. Somebody check if the install succeeds for the new release this way?&lt;br /&gt;
&lt;br /&gt;
This is for version 0.75b2.&lt;br /&gt;
&lt;br /&gt;
We need to use Yokozar&#039;s Ubuntu package, so we need some tricks.&lt;br /&gt;
&lt;br /&gt;
The --build step will take about 15 minutes. Hopefully we have precompiled binaries for etch soon too.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://buildbot.no-ip.org/~yokozar/apt/387EE263.gpg -O- | \&lt;br /&gt;
    sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
wget http://buildbot.no-ip.org/~yokozar/apt/sources.list.d/gutsy.list \&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get build-dep spring -y&lt;br /&gt;
sudo apt-get --build source spring -y&lt;br /&gt;
sudo dpkg -i spring_0.75~b2-1_i386.deb spring-data_0.75~b2-1_all.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to install SpringLobby also, follow the instructions in http://trac.springlobby.info/wiki/Install#Debian&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/games/spring &amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/debian-small.png Debian Unstable ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1&lt;br /&gt;
&lt;br /&gt;
Ubuntu instructions work for debian unstable as is at the moment.&lt;br /&gt;
Except two extra steps:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;deb http://apt.wxwidgets.org/ etch-wx main&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
The rest is right below.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/ubuntu-small.png Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
We now have a maintained and up to date APT repository for Ubuntu 7.10 (Gutsy)&lt;br /&gt;
&lt;br /&gt;
If you have some older version of ubuntu, you can easily upgrade to Gutsy with these instructions: http://www.ubuntu.com/getubuntu/upgrading&lt;br /&gt;
&lt;br /&gt;
Do the following:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;These lines are long and they are split to match the formatting of this page, you can copy-paste this to your terminal as is, as long as you copy the entire wrapped command and not just one line.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://buildbot.no-ip.org/~yokozar/apt/387EE263.gpg -O- | \&lt;br /&gt;
    sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
sudo wget http://buildbot.no-ip.org/~yokozar/apt/sources.list.d/gutsy.list \&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; If you get a &amp;quot;sudo&amp;quot; error (1st command) or an &amp;quot;unsupported scheme&amp;quot; error (2nd command) with the above code, then try this code instead:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://buildbot.no-ip.org/~yokozar/apt/387EE263.gpg -O- | sudo apt-key add -&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo wget http://buildbot.no-ip.org/~yokozar/apt/sources.list.d/gutsy.list&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install spring spring-lobby-springlobby spring-maps-default -y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, if you want to download a few large maps you can do following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo apt-get install spring-maps-hunterw spring-maps-deltasiege spring-maps-smallsupreme spring-maps-teamplay&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you own the original Total Annihilation and want to use mods that require the original TA content, then do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo apt-get install spring-data-nonfree&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For configuring the lobbies, you can note that the package installs the Spring executable at &amp;lt;code&amp;gt;/usr/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== http://www.winehq.org/images/distro/slackware.png Slackware 12 ===&lt;br /&gt;
&lt;br /&gt;
Working for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is all dependencies in precompiled tgz&#039;s:&lt;br /&gt;
&lt;br /&gt;
glew (http://www.linuxpackages.net/pkg_details.php?id=12051)&amp;lt;br/&amp;gt;&lt;br /&gt;
DeviL (http://www.linuxpackages.net/pkg_details.php?id=10571)&amp;lt;br/&amp;gt;&lt;br /&gt;
boost (http://www.linuxpackages.net/pkg_details.php?id=12046)&amp;lt;br/&amp;gt;&lt;br /&gt;
icu (http://www.linuxpackages.net/pkg_details.php?id=12034)&amp;lt;br/&amp;gt;&lt;br /&gt;
openal (http://www.linuxpackages.net/pkg_details.php?id=11993)&amp;lt;br/&amp;gt;&lt;br /&gt;
wxWidgets (http://www.linuxpackages.net/pkg_details.php?id=12072)&amp;lt;br/&amp;gt;&lt;br /&gt;
springlobby (http://www.linuxpackages.net/pkg_details.php?id=12144)&amp;lt;br/&amp;gt;&lt;br /&gt;
spring - thanks to leo moisio - (http://www.springlobby.info/slackware/spring-0.76b1-i486-1leo.tgz)&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
assuming that all .tgz are saved in the same direcory, open a console and cd inside that directory; later:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
su -c &amp;quot;installpkg *.tgz&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
when asked for the root password, give it.&lt;br /&gt;
&lt;br /&gt;
a menu entre for spring and another to springlobby will apear in KDE, XFCE and GNOME.&lt;br /&gt;
&lt;br /&gt;
also, spring and springlobby executables will be accessible via shell; put it on you fluxbox menu, ;D&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/gentoo-small.png Gentoo ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OVERLAY CHANGED 2008-01-21. SpringLobby and Spring overlays are merged, so you need to add this overlay, if you haven&#039;t already, so you can upgrade again. If you are new user, you can ignore this.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
An overlay to use with layman is provided. If gentoo overlays and/or layman are new to you, [http://overlays.gentoo.org/ read about them], as they are an essential part of gentoo.&lt;br /&gt;
&lt;br /&gt;
This example assumes you never used layman before. If it&#039;s not your first time, you hopefully know what to do.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge layman&lt;br /&gt;
layman -f -a springlobby \&lt;br /&gt;
     -o http://svn.springlobby.info/trunk/gentoo/overlays.xml&lt;br /&gt;
echo &amp;quot;source /usr/portage/local/layman/make.conf&amp;quot; &amp;gt;&amp;gt; /etc/make.conf&lt;br /&gt;
echo &amp;quot;games-strategy/spring ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
echo &amp;quot;games-util/springlobby ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
emerge spring&lt;br /&gt;
emerge springlobby&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Layman makes upgrading really easy too:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
layman --sync ALL&lt;br /&gt;
emerge spring&lt;br /&gt;
emerge springlobby&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/games/bin/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== http://upload.wikimedia.org/wikipedia/en/thumb/9/95/Mandriva_logo.png/96px-Mandriva_logo.png  Mandriva ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
Mandriva has Spring in the official Contrib  repositories, follow the instructions at [http://easyurpmi.zarb.org Easy Urpmi] to add contrib mirrors&lt;br /&gt;
&lt;br /&gt;
after being done, to install enter the following command in a console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;su root -C &amp;quot;urpmi spring&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and select yes to the confirmation question&lt;br /&gt;
&lt;br /&gt;
For configuring the lobbies, you can note that the package installs the Spring executable at /usr/games/spring and read-only data in /usr/share/games/spring.&lt;br /&gt;
&lt;br /&gt;
=== Binary for Other Linux Systems ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is an unofficial installer if none of the above work for you:&lt;br /&gt;
http://spring.clan-sy.com/phpbb/viewtopic.php?f=20&amp;amp;t=12802&lt;br /&gt;
&lt;br /&gt;
== Build From Source ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You might encounter sync errors in online play if you are not using the exact same version of the compiler and same compiler settings as used for prebuilt packages!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For 0.76b1 these are: TODO add them here.&lt;br /&gt;
&lt;br /&gt;
If there is no package tailored for your distribution, you have to install from sources manually. Doing this for distributions where packages are available is not recommended.&lt;br /&gt;
&lt;br /&gt;
=== Get Source ===&lt;br /&gt;
&lt;br /&gt;
You can either download the source as a 3.9MB tarball (recommended; v. 0.76b1) or get it from the subversion repository. Either way, the result is the same.&lt;br /&gt;
&lt;br /&gt;
==== Tarball ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/src # or /var/tmp, or whatever&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1_src.tar.bz2&lt;br /&gt;
tar xjf spring_0.76b1_src.tar.bz2&lt;br /&gt;
cd spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: The .zip release is for windows only. Linux users have to get .bz2 like shown above.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Subversion ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install subversion # if you are not on debian, figure it out&lt;br /&gt;
svn co https://spring.clan-sy.com/svn/spring/tags/spring_0.76b1 \&lt;br /&gt;
/usr/local/src/spring_0.76b1&lt;br /&gt;
cd /usr/local/src/spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dependencies ===&lt;br /&gt;
&lt;br /&gt;
For Etch (debian 4.0 stable) and Sid (debian unstable), I&#039;ve confirmed the&lt;br /&gt;
following to be the minimal set that is necessary to get. I have not tested&lt;br /&gt;
with any version of Ubuntu, but the line is probably almost identical if not&lt;br /&gt;
the same. Quilted tested with ubuntu fiesty fawn on july 28 2007 WORKS. Note&lt;br /&gt;
that Spring 0.75b2 depends on the boost libraries version 1.34.* and won&#039;t&lt;br /&gt;
work on lower versions. (updated libboost-serialization-dev, and libvorbis-dev dependencies for 0.76b1)&lt;br /&gt;
&lt;br /&gt;
Also, on 64-bit be sure to build against devIl 1.6.8-rc2 or higher, 1.6.7 has a bug in the PNG loading code that causes issues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install scons build-essential zlib1g-dev libfreetype6-dev&lt;br /&gt;
aptitude install libsdl1.2-dev libopenal-dev libglew-dev libboost-dev&lt;br /&gt;
aptitude install libboost-thread-dev libboost-regex-dev libdevil-dev&lt;br /&gt;
aptitude install libboost-serialization-dev python2.5-dev zip&lt;br /&gt;
aptitude install sun-java6-jdk libvorbis-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This has been tested to work with a clean install of gentoo 2007.0:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge dev-util/scons \&amp;gt;=media-libs/freetype-2.0.0 \&amp;gt;=media-libs/libsdl-1.2.0&lt;br /&gt;
emerge media-libs/openal =dev-lang/python-2.4\* media-libs/glew dev-libs/boost&lt;br /&gt;
emerge media-libs/devil app-arch/zip media-libs/libogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Users of other distributions should be able to figure out the correct package&lt;br /&gt;
names from this. The scons configure will whine if you forget something, but it&lt;br /&gt;
does not check if you remembered to install zip, even though you still need it.&lt;br /&gt;
&lt;br /&gt;
=== Build And Install ===&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
warning: division by zero&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons configure&lt;br /&gt;
scons&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons install&lt;br /&gt;
mkdir -p /etc/spring&lt;br /&gt;
echo &#039;$HOME/.spring&#039; &amp;gt; /etc/spring/datadir&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/local/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/local/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Network ==&lt;br /&gt;
&lt;br /&gt;
If you have a public ip and no firewall, then you don&#039;t need to do anything.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t want to host any games, just join them, you shouldn&#039;t need to do anything.&lt;br /&gt;
&lt;br /&gt;
If you have a firewall, to be able to host, you must enable incoming udp to port 8452. If you are behind a NAT, to be able to host you must either use nat traversal / hole punching feature in your lobby client, OR port forward that port from your public ip to your gaming machine.&lt;br /&gt;
&lt;br /&gt;
= Finalizing installation =&lt;br /&gt;
&lt;br /&gt;
Now all the things you needed to run as root have been done. Some stuff needs to be done by the user who is going to play spring.&lt;br /&gt;
&lt;br /&gt;
I&#039;m assuming bash here, but you can use anything you like to do it of course.&lt;br /&gt;
&lt;br /&gt;
== Data Directories ==&lt;br /&gt;
&lt;br /&gt;
Do this to create your per-user data directories. You will be downloading maps and mods etc to these dirs later.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p ~/.spring/{base,maps,mods}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the above did not work for you, then you can try:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir ~/.spring ~/.spring/base ~/.spring/maps ~/.spring/mods&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Maps ==&lt;br /&gt;
&lt;br /&gt;
You need at least one map to succesfully run spring.&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.unknown-files.net/spring/category/13/Maps/ Unknown Files, Map Section] and download at least one map. Save it under ~/.spring/maps/ without unpacking the file in any way.&lt;br /&gt;
&lt;br /&gt;
Hint: If you know the map name you want, there is a Quick Search in the top right corner of the page. Just write a part of the name, like one word, and you&#039;ll easily find what you were looking for.&lt;br /&gt;
&lt;br /&gt;
== Mods ==&lt;br /&gt;
&lt;br /&gt;
You need at least one mod to successfully run spring.&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.unknown-files.net/spring/category/14/Mods/ Unknown Files, Mod Section] and download at least one mod. Save it under ~/.spring/mods/ without unpacking the file in any way.&lt;br /&gt;
&lt;br /&gt;
Hint: If you know the mod name you want, there is a Quick Search in the top right corner of the page. Just write a part of the name, like one word, and you&#039;ll easily find what you were looking for.&lt;br /&gt;
&lt;br /&gt;
If you want to view unit stats of mods, [http://modinfo.unknown-files.net/modit/modit.php this] is the site for you.&lt;br /&gt;
&lt;br /&gt;
== OTA Content ==&lt;br /&gt;
&lt;br /&gt;
If you want to play mods based on Total Annihilation, for example XTA, AA, BA, then you have to do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://ipxserver.dyndns.org/games/spring/mods/xta/base-ota-content.zip&lt;br /&gt;
unzip -d ~/.spring/base base-ota-content.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that you need to own a copy of Total Annihilation, to download this file legally.&lt;br /&gt;
&lt;br /&gt;
Mods that do not require this file are at least NanoBlobs and Kernel Panic, TODO list other mods that don&#039;t need it.&lt;br /&gt;
&lt;br /&gt;
== Settings == &lt;br /&gt;
&lt;br /&gt;
Defaults should be usable, so you can ignore this until you want to maximize your eye candy or fps :)&lt;br /&gt;
&lt;br /&gt;
When you run spring the first time, it creates ~/.springrc which contains all the settings. It is a simple text file with name=value lines, most of which are pretty obvious and can be edited by hand.&lt;br /&gt;
&lt;br /&gt;
If you want a tool for editing the file, you can use [http://trac.springlobby.info/wiki/SpringSettings SpringSettings] ([http://springlobby.info SpringLobby] has this integrated).&lt;br /&gt;
&lt;br /&gt;
=== Dual Head ===&lt;br /&gt;
&lt;br /&gt;
Automatic: if you are using [http://trac.springlobby.info/wiki/SpringSettings SpringSettings] you can select a dual screen resolution in simple mode and the rest is done automatically. &lt;br /&gt;
&lt;br /&gt;
Manual: to make Dual Monitors work add/change these settings in your .springrc file.            &lt;br /&gt;
&amp;quot;DualScreenMiniMapOnLeft=1,&lt;br /&gt;
DualScreenMode=1,&lt;br /&gt;
XResolution=2560,&lt;br /&gt;
YResolution=1024&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Make sure to use your own resolution for the X,Y resolutions.  For example: you have two monitors configured for 1280x1024, the X,Y is 2560x1024.&lt;br /&gt;
&lt;br /&gt;
Save then restart Spring.&lt;br /&gt;
&lt;br /&gt;
== LuaUI ==&lt;br /&gt;
&lt;br /&gt;
Spring UI is scriptable with Lua. This is called LuaUI, and it is not enabled per default.&lt;br /&gt;
&lt;br /&gt;
Replace LuaUI=0 with LuaUI=1 in your ~/.springrc to use LuaUI. &lt;br /&gt;
&lt;br /&gt;
To install some LuaUI scripts, start by copying LuaUI folder from you read-only data directory to your read-write data directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
rm -r ~/.spring/LuaUI&lt;br /&gt;
cp -r /usr/share/games/spring/LuaUI ~/.spring/LuaUI&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go find the LuaUI scripts you need from [http://spring.unknown-files.net/category/19/Lua_Scripts/ Unknown Files LuaUI Section]. All LuaUI scripts are released there, so if you make good ones yourself, make sure to upload them.&lt;br /&gt;
&lt;br /&gt;
The scripts can come in any setup, so prepare to decompress them if they are compressed. They might have a whole directory structure, and they should have their own instructions on how to install them. Check which directory you need to extract them to. Most likely it is ~/.spring/LuaUI but it might be a directory inside this directory too for some script.&lt;br /&gt;
&lt;br /&gt;
Once you have copied the script into place, when you start spring next time, you can press F11 to enable/disable anything from your list of installed LuaUI scripts. If your new script is not there, you copied it wrong.&lt;br /&gt;
&lt;br /&gt;
== Lobby Client ==&lt;br /&gt;
&lt;br /&gt;
To setup online games, you need a lobby client. There are several options to choose from.&lt;br /&gt;
&lt;br /&gt;
You can also use lobby client to setup single player matches against the AI. TODO more information about setting up tasclient to play against AI.&lt;br /&gt;
&lt;br /&gt;
Recommended lobby client for linux is either SpringLobby or AFLobby. You can use them in windows and mac too.&lt;br /&gt;
&lt;br /&gt;
=== Omni ===&lt;br /&gt;
&lt;br /&gt;
This project has been abandoned, and you should not use it.&lt;br /&gt;
&lt;br /&gt;
=== UnityLobby ===&lt;br /&gt;
&lt;br /&gt;
UnityLobby has been abandoned since april 2007, and you should not use it.&lt;br /&gt;
&lt;br /&gt;
=== [http://springlobby.info SpringLobby] ===&lt;br /&gt;
&lt;br /&gt;
SpringLobby is for (at least) Windows, Linux and Mac. It&#039;s now in a usable state and has a feature set close to that of TASClient for windows. Try it out! Bug reports and feature requests are very much welcome.&lt;br /&gt;
&lt;br /&gt;
Visit http://springlobby.info for all things SpringLobby.&lt;br /&gt;
&lt;br /&gt;
=== AFLobby ===&lt;br /&gt;
&lt;br /&gt;
This project is very promising, and is usable for online multi player. Its the oldest lobby still actively maintained.&lt;br /&gt;
&lt;br /&gt;
Official webpage for the project is http://www.darkstars.co.uk which should always have the latest release for download.&lt;br /&gt;
&lt;br /&gt;
=== TASClient ===&lt;br /&gt;
&lt;br /&gt;
I used to recommend wine+TASClient solution before, but now you should try SpringLobby or AFLobby first, before you go this route.&lt;br /&gt;
&lt;br /&gt;
Certain newish version of wine fails with tasclient, TODO can&#039;t remember which one. It should be fixed in the very latest version of wine.&lt;br /&gt;
&lt;br /&gt;
This is a windows program, but it works just fine under wine in linux, and can be used together with native linux spring. I used it myself before moving to SpringLobby.&lt;br /&gt;
&lt;br /&gt;
The only two downsides in using this are that you have to use wine (which should not be a big problem) and your rank won&#039;t increase as long as you use it (also because of win-linux binary interaction).&lt;br /&gt;
&lt;br /&gt;
TODO there is a way to make it support rank increases too, using trepans cool proxy, add info.&lt;br /&gt;
&lt;br /&gt;
Download the installer of Spring for Windows, and run it in wine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1.exe&lt;br /&gt;
wine spring_0.76b1.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No configuration of wine should be needed, if your distribution is sane.&lt;br /&gt;
&lt;br /&gt;
Complete the install, and let it install to the default location, which is Program Files\Spring.&lt;br /&gt;
&lt;br /&gt;
Assuming you completed the earlier step of creating the data directories, now we need to link the windows and linux data together:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
WINESPRING=~/.wine/drive_c/Program\ Files/Spring&lt;br /&gt;
NATIVE=~/.spring&lt;br /&gt;
&lt;br /&gt;
touch &amp;quot;${WINESPRING}/script.txt&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${WINESPRING}/script.txt&amp;quot; &amp;quot;${NATIVE}/script.txt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/maps&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/maps&amp;quot; &amp;quot;${WINESPRING}/maps&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/mods&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/mods&amp;quot; &amp;quot;${WINESPRING}/mods&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/base&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/base&amp;quot; &amp;quot;${WINESPRING}/base&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/demos&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/demos&amp;quot; &amp;quot;${WINESPRING}/demos&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the windows-TASClient to be able to launch native linux spring, we need a wrapper exe in between them. Source code for wrapper exe is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;windows.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;tchar.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#define NATIVE_SPRING_LOCATION TEXT(&amp;quot;/usr/games/spring&amp;quot;)&lt;br /&gt;
#define SPRING_VERSION_REPLY &amp;quot;Spring 0.76b1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
int main (int argc, char **argv)&lt;br /&gt;
{&lt;br /&gt;
  if (argc &amp;gt; 1 &amp;amp;&amp;amp; !strcmp(argv[1], &amp;quot;/V&amp;quot;))&lt;br /&gt;
  {&lt;br /&gt;
     puts(SPRING_VERSION_REPLY);&lt;br /&gt;
     return 0;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  STARTUPINFO si;&lt;br /&gt;
  ZeroMemory( &amp;amp;si, sizeof(si) );&lt;br /&gt;
  si.cb = sizeof(si);&lt;br /&gt;
&lt;br /&gt;
  PROCESS_INFORMATION pi;&lt;br /&gt;
  ZeroMemory( &amp;amp;pi, sizeof(pi) );&lt;br /&gt;
&lt;br /&gt;
  // Start the child process.&lt;br /&gt;
  if (!CreateProcess(&lt;br /&gt;
    _tcsdup(NATIVE_SPRING_LOCATION), // No module name (use command line)&lt;br /&gt;
    GetCommandLine(),                // Command line&lt;br /&gt;
    NULL,                            // Process handle not inheritable&lt;br /&gt;
    NULL,                            // Thread handle not inheritable&lt;br /&gt;
    FALSE,                           // Set handle inheritance to FALSE&lt;br /&gt;
    0,                               // No creation flags&lt;br /&gt;
    NULL,                            // Use parent&#039;s environment block&lt;br /&gt;
    NULL,                            // Use parent&#039;s starting directory&lt;br /&gt;
    &amp;amp;si,                             // Pointer to STARTUPINFO structure&lt;br /&gt;
    &amp;amp;pi))                            // Pointer to PROCESS_INFORMATION structure&lt;br /&gt;
    {&lt;br /&gt;
      printf( &amp;quot;CreateProcess failed (%d).\n&amp;quot;, GetLastError() );&lt;br /&gt;
      return 1;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
  // Wait until child process exits. Wine actually does not know how to wait&lt;br /&gt;
  // for native linux process, so this will return instantly and your gametime&lt;br /&gt;
  // counter does not increase so you don&#039;t get any rank.&lt;br /&gt;
  WaitForSingleObject( pi.hProcess, INFINITE );&lt;br /&gt;
&lt;br /&gt;
  // Close process and thread handles.&lt;br /&gt;
  CloseHandle( pi.hProcess );&lt;br /&gt;
  CloseHandle( pi.hThread );&lt;br /&gt;
&lt;br /&gt;
  return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You might need to modify the define-lines in the beginning to match your location and version. Remember, the version reply must be exactly right, or your game just breaks totally in multiplayer or you can&#039;t even login to lobby server.&lt;br /&gt;
&lt;br /&gt;
Save this code to spring.cc for example, and then we need to install a windows-crosscompiler and compile a windows binary from it inside our linux box like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install mingw32&lt;br /&gt;
i586-mingw32msvc-g++ spring.cc -o ~/.wine/drive_c/Program\ Files/Spring/spring.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumed debian for installing the crosscompiler, but mingw32 is probably simple to install on other distributions as well.&lt;br /&gt;
&lt;br /&gt;
TODO should provide binary packages for this launcher, as all people don&#039;t have the possibility to set up cross compiler. I compiled it but I can&#039;t test it due to lack of Wine+TASClient setup. Here is the binary anyway: http://buildbot.no-ip.org/~tvo/spring/spring.exe&lt;br /&gt;
&lt;br /&gt;
Then you should make a script for launching TASClient. The script can be named tasclient for example, and just put it somewhere in your path and make it executable. The script code is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/env sh&lt;br /&gt;
cd ~/.wine/drive_c/Program\ Files/Spring&lt;br /&gt;
wine TASClient.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you should be able to type tasclient on the command line, and the lobby appears. &#039;&#039;&#039;This cd operation is necessary. If your working directory is not the same as TASClient.exe&#039;s location, it will just give access violations to you.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that every time when you have added new maps, the lobby client caches them and this will take some time, or a long time if you downloaded many maps since last time. Just wait patiently.&lt;br /&gt;
&lt;br /&gt;
Then you should register an account and login with it, and you should be ready to join an online multiplayer game from the list that appears.&lt;br /&gt;
&lt;br /&gt;
It&#039;s likely that you don&#039;t have the correct map or mod at this point, so just get them and join the game. You don&#039;t need to restart your lobby client after downloading the files.&lt;br /&gt;
&lt;br /&gt;
It&#039;s recommended that you spectate a couple of high rank games first, to get some idea of how the game should be played. Some hosts don&#039;t allow spectators, but most do.&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== Ingame ==&lt;br /&gt;
&lt;br /&gt;
=== LuaUI Crash Ingame ===&lt;br /&gt;
&lt;br /&gt;
LuaUI can crash during game, because some lua script you use has a bug. 0.75 should be resistant to this problem, but 0.74b3 is not. After crash, you won&#039;t see the bottom left tooltip box and top right resource bar anymore. Fear not, help is near:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/resbar 1&lt;br /&gt;
/tooltip 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These might not be necessary in 0.75 anymore at all.&lt;br /&gt;
&lt;br /&gt;
Also, you won&#039;t be able to change the build menu page with mouse anymore, but keys , and . do the trick.&lt;br /&gt;
&lt;br /&gt;
LuaUI can also be restarted after it crashed. Often this does the trick and it works fine the rest of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/luaui reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mouse is slow in fullscreen mode ===&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &#039;export SDL_MOUSE_RELATIVE=0&#039; &amp;gt;&amp;gt; ~/.bash_profile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
And log out and log in again.&lt;br /&gt;
&lt;br /&gt;
The mouse should now be as fast as in windowed mode.&lt;br /&gt;
&lt;br /&gt;
=== Rotating Buildings Ingame ===&lt;br /&gt;
&lt;br /&gt;
You can rotate a building before you give the build order, but the keys that do this don&#039;t work in linux by default for some users. Issue the following commands in the beginning of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/bind keycodex buildfacing inc&lt;br /&gt;
/bind keycodey buildfacing dec&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Keycodex and keycodey above are just placeholders. What you want to write depends on which key you want to use. To see what keycodes any keys have, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/keydebug yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then hit the keys you want to use, and spring prints the keycodes in the message buffer.&lt;br /&gt;
&lt;br /&gt;
TODO: add information on how to save the settings so that they work the next time you start spring.&lt;br /&gt;
&lt;br /&gt;
=== Map is White ===&lt;br /&gt;
&lt;br /&gt;
If the whole map is only shades of white and grey, there is a problem with your display driver. Maybe your gpu is very old and does not support some needed opengl feature. For example I had this problem with matrox g550 but not with some very old geforce.&lt;br /&gt;
&lt;br /&gt;
== Startup ==&lt;br /&gt;
&lt;br /&gt;
=== Missing Default Cursor ===&lt;br /&gt;
&lt;br /&gt;
This or any similar error of not being able to find a specific file are usually because the mod you are using needs ota content, download &amp;amp; install as explained [[SetupGuide#OTA_Content|earlier in this document]].&lt;br /&gt;
&lt;br /&gt;
=== sounds/button9.wav &amp;quot;cant find wav file&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Same problem as above.&lt;br /&gt;
&lt;br /&gt;
=== Couldnt find matching GLX visual ===&lt;br /&gt;
&lt;br /&gt;
Reduce anti aliasing.&lt;br /&gt;
&lt;br /&gt;
=== GL_ARB_texture_compression not found ===&lt;br /&gt;
&lt;br /&gt;
This can be an issue with your gpu drivers. The drivers you are using do not support a feature that is required to run spring. You might have better luck with the closed source official drivers of nvidia or amd cards. If your gpu itself is really old, this might not help.&lt;br /&gt;
&lt;br /&gt;
If you use the fglrx ati-graphics driver and you are getting this error there might be a chance that still spring work (I use this with ubuntu gusty).&lt;br /&gt;
At first we must check that fglrx is installed correctly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
OpenGL version string: 2.0.6747 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then lets check the glx-extention.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ glxinfo | grep direct&lt;br /&gt;
Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;.&lt;br /&gt;
direct rendering: No&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you get this message, notice that glxinfo releates to display &#039;:1&#039; and fglrxinfo to display &#039;:0&#039;!! Lets check the glx-extention on display :0 now.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 glxinfo | grep direct&lt;br /&gt;
direct rendering: Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This message mean that you can start spring by typing (in a terminal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 spring&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the TASclient with wine and the native linux spring. Start the whole TASclient-start-script by typing. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
DISPLAY=:0 TASCLIENT-start-script&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But Notice under circumstances is no windowmanager running on screen :0! This means there are NO windowframes at the TASClient window! You can&#039;t move it or close it by clicking the closebutton (unless you click at the close button on the terminal-window in witch you startet TAS). You can although close TAS with the keys ALT-F4&lt;br /&gt;
&lt;br /&gt;
=== OpenAL Segfault ===&lt;br /&gt;
&lt;br /&gt;
If spring crashes with this output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenAL: ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_EXT_MP3&lt;br /&gt;
AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format&lt;br /&gt;
AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel&lt;br /&gt;
Segmentation fault (core dumped)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look into this thread on the forums for a fix: http://spring.clan-sy.com/phpbb/viewtopic.php?f=20&amp;amp;t=12568&lt;br /&gt;
&lt;br /&gt;
Then bug nemo in #taspring to finish this troubleshooting entry. He knows how to fix it.&lt;br /&gt;
&lt;br /&gt;
This is mod-related, ie. it only happens on some mods. Please list here the mod versions that give this error for you.&lt;br /&gt;
&lt;br /&gt;
- Star Wars mod, unknown version, by user report&lt;br /&gt;
&lt;br /&gt;
The problematic mod contains a sound file that crashes openal. You can try to unzip the mod file that crashed for you, and play each sound file. Please report any sound files that fail to play right, just list them here.&lt;br /&gt;
&lt;br /&gt;
- unknown file&lt;br /&gt;
&lt;br /&gt;
== Compiletime ==&lt;br /&gt;
&lt;br /&gt;
=== make_gamedata_arch.sh not found ===&lt;br /&gt;
&lt;br /&gt;
The .zip you downloaded is for windows, you must download a .bz2, instructions [[SetupGuide#Downloading_A_Tarball|earlier in this document]].&lt;br /&gt;
&lt;br /&gt;
=== invalid use of ILvoid ===&lt;br /&gt;
&lt;br /&gt;
During compiling, if you get a lot of the following errors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/include/IL/il.h:497: error: &#039;&amp;lt;anonymous&amp;gt;&#039; has incomplete type &lt;br /&gt;
/usr/include/IL/il.h:497: error: invalid use of &#039;ILvoid&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This happens because the version of libdevil-dev you have installed is not compatible with gcc version 4.2 and newer.&lt;br /&gt;
&lt;br /&gt;
You should upgrade your libdevil-dev to fix this issue. However, in some distributions (at least gentoo), the fixed package has the SAME version number as the older unfixed package, so you might actually need to remove your current libdevil-dev package completely and reinstall it.&lt;br /&gt;
&lt;br /&gt;
TODO: add critical version numbers of libdevil.&lt;br /&gt;
&lt;br /&gt;
== Network Setup ==&lt;br /&gt;
&lt;br /&gt;
Usually you don&#039;t need to do any network setup whatsoever, because the lobbies take care of nat traversal with firewall hole punching, but if you need to know the topology, it goes like this:&lt;br /&gt;
&lt;br /&gt;
Host needs to enable incoming udp to port 8452, and outgoing replies to those.&lt;br /&gt;
Non-host players need to enable outgoing udp, and incoming replies to those.&lt;br /&gt;
So basically only non-host players initiate &amp;quot;connections&amp;quot;, and only the server listens on a well-known port.&lt;br /&gt;
&lt;br /&gt;
== If You Still Have Problems ==&lt;br /&gt;
&lt;br /&gt;
Join to #taspring on Freenode or #sy on QuakeNet and try your luck.&lt;br /&gt;
&lt;br /&gt;
However, generic linux problems not really related to installing this should be asked elsewhere.&lt;br /&gt;
&lt;br /&gt;
Prepare to list your distribution, which installation method you used, and what exactly is the error. Don&#039;t ask if people are around or not, just go straight to business and tell all details, for maximizing your chances of getting help.&lt;br /&gt;
&lt;br /&gt;
== IRC ==&lt;br /&gt;
&lt;br /&gt;
# #taspring @ FreeNode&lt;br /&gt;
# #sy @ QuakeNet&lt;br /&gt;
&lt;br /&gt;
== Asking For Help ==&lt;br /&gt;
&lt;br /&gt;
Ok so you need human help. This is how &#039;&#039;&#039;NOT&#039;&#039;&#039; to do it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
15:54 -!- **** [n=****@*] has joined #taspring&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; Hi, i have a problem with compiling spring on debian&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; can anyone help me?&lt;br /&gt;
15:57 -!- **** [n=****@*] has quit [Client Quit]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Don&#039;t ask to ask, instead go straight to business by stating the exact problem you have, and giving all necessary information. What you were trying to achieve, how did you try to do it, what happened and what did you expect to happen.&lt;br /&gt;
&lt;br /&gt;
Then WAIT for someone to notice you.&lt;br /&gt;
&lt;br /&gt;
== Configure Options ==&lt;br /&gt;
&lt;br /&gt;
If you want to see the configure options, because of a bug in the buildsystem you have to have spring configured first. But if configure fails, you are out of luck. So I have listed the options here:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
$ scons --help&lt;br /&gt;
scons: Reading SConscript files ...&lt;br /&gt;
make: Nothing to be done for `all&#039;.&lt;br /&gt;
Succes building streflop!&lt;br /&gt;
Updating bitmaps.sdz&lt;br /&gt;
Updating springcontent.sdz&lt;br /&gt;
scons: done reading SConscript files.&lt;br /&gt;
&lt;br /&gt;
platform: Set to linux, freebsd or windows&lt;br /&gt;
    default: None&lt;br /&gt;
    actual: linux&lt;br /&gt;
&lt;br /&gt;
debug: Set to yes to produce a binary with debug information&lt;br /&gt;
    default: 0&lt;br /&gt;
    actual: 3&lt;br /&gt;
&lt;br /&gt;
debugdefines: Set to no to suppress DEBUG and _DEBUG preprocessor #defines \&lt;br /&gt;
 (use to add symbols to release build)&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
syncdebug: Set to yes to enable the sync debugger&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
synccheck: Set to yes to enable sync checker &amp;amp; resyncer&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
optimize: Enable processor optimizations during compilation&lt;br /&gt;
    default: 1&lt;br /&gt;
    actual: 2&lt;br /&gt;
&lt;br /&gt;
profile: Set to yes to produce a binary with profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
profile_generate: Set to yes to compile with -fprofile-generate \&lt;br /&gt;
 to generate profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
profile_use: Set to yes to compile with -fprofile-use to use \&lt;br /&gt;
profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
cpppath: Set path to extra header files&lt;br /&gt;
    default: []&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
libpath: Set path to extra libraries&lt;br /&gt;
    default: []&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
fpmath: Set to 387 or SSE on i386 and AMD64 architectures&lt;br /&gt;
    default: 387&lt;br /&gt;
    actual: 387&lt;br /&gt;
&lt;br /&gt;
prefix: Install prefix used at runtime&lt;br /&gt;
    default: /usr/local&lt;br /&gt;
    actual: /usr/local&lt;br /&gt;
&lt;br /&gt;
installprefix: Install prefix used for installion&lt;br /&gt;
    default: /usr/local&lt;br /&gt;
    actual: /usr/local&lt;br /&gt;
&lt;br /&gt;
datadir: Data directory (relative to prefix)&lt;br /&gt;
    default: share/games/spring&lt;br /&gt;
    actual: share/games/spring&lt;br /&gt;
&lt;br /&gt;
bindir: Directory for executables (rel. to prefix)&lt;br /&gt;
    default: games&lt;br /&gt;
    actual: games&lt;br /&gt;
&lt;br /&gt;
libdir: Directory for AI plugin modules (rel. to prefix)&lt;br /&gt;
    default: lib/spring&lt;br /&gt;
    actual: lib/spring&lt;br /&gt;
&lt;br /&gt;
strip: Discard symbols from the executable (only when neither \&lt;br /&gt;
debugging nor profiling)&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
disable_avi: Set to no to turn on avi support&lt;br /&gt;
    default: False on windows, True otherwise&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
use_tcmalloc: Use tcmalloc from goog-perftools for memory allocation&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
use_mmgr: Use memory manager&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
dc_allowed: Specifies whether FPS mode (Direct Control) is allowed in game&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
cachedir: Cache directory (see scons manual)&lt;br /&gt;
    default: None&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
Use scons -H for help about command-line options.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;This section contains just some old crap I didn&#039;t write, and shouldn&#039;t be necessary.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* If spring hangs/crashes while in full screen mode, you can press ctrl+alt+backspace to restart X, so no need for a reboot.&lt;br /&gt;
&lt;br /&gt;
* Spring uses OpenAL for sound, Config your sound output i.e esd / arts / oss / alsa by editing /etc/openalrc or ~/.openalrc, example: (&amp;quot;&#039;(&amp;quot; is not a typo)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;(define devices &#039;(alsa))&amp;lt;br&amp;gt;(define speaker-num 2)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;(define alsa-out-device &amp;quot;hw:0,0&amp;quot;)&amp;lt;br&amp;gt;(define alsa-in-device &amp;quot;hw:0,0&amp;quot;)&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Adventurous people with an emu10k1 based card (sblive) can try the accelerated openal version. http://www.lost.org.uk/openal.html , don&#039;t submit audiobugs if you do.&lt;br /&gt;
&lt;br /&gt;
* If you really can&#039;t figure out how to get spring compiled, or you think there&#039;s a bug in the code or the buildsystem...&lt;br /&gt;
:* Just poke any developer on IRC:&lt;br /&gt;
::* channel &amp;lt;code&amp;gt;#taspring&amp;lt;/code&amp;gt; on [http://freenode.net/ FreeNode]&lt;br /&gt;
::* or channel &amp;lt;code&amp;gt;#sy&amp;lt;/code&amp;gt; on [http://www.quakenet.org/ QuakeNet]&lt;br /&gt;
:* Post it on [http://taspring.clan-sy.com/phpbb/ the forum]&lt;br /&gt;
:* or file a bug in our [http://taspring.clan-sy.com/mantis/ bug tracking system].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; [[Main_Page|&amp;lt;- Back to Main page]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Port]][[Category:Playing]]&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16673</id>
		<title>SetupGuide</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16673"/>
		<updated>2008-02-12T03:25:15Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* Packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Fully updated for 0.76b1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Page Maintenance =&lt;br /&gt;
&lt;br /&gt;
When I first installed spring on linux, it was damn hard. I almost gave up a couple times, but finally got it to work, after lots of time wasted.&lt;br /&gt;
&lt;br /&gt;
This setup guide was horribly outdated back then. Since I liked the game, I gave sth back, by updating this page, and some patches for engine. It wasn&#039;t very hard to update this page, it just took some time and effort. Now it&#039;s basically in a state, where almost every question on the irc channel regarding linux setup is already answered here, if people just bother to check.&lt;br /&gt;
&lt;br /&gt;
This page doesn&#039;t probably require so much modification in the future, assuming no major changes to spring installation procedure. But I am not going to do that, I have no time anymore. This is probably the only up to date page on the whole wiki, and it might be that it again becomes outdated. So I challenge everyone who ever got helped by this page to keep it up to date in the future.  &lt;br /&gt;
&lt;br /&gt;
It&#039;s a wiki so everyone can edit it, so when you see something that is wrong or missing, just fix it, and that means you! Making an account is trivial.&lt;br /&gt;
&lt;br /&gt;
- semi&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
&lt;br /&gt;
== Version ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The guide is fully up to date with release 0.76b1.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To play online, you must have the same version as everyone else in the game.&lt;br /&gt;
&lt;br /&gt;
Most people should get the current release, version 0.76b1. There are usually&lt;br /&gt;
between 100 and 200 people online in the lobby, and if you want to play with&lt;br /&gt;
them, you need this.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do not use older than current release version&#039;&#039;&#039;, unless you really know what you are doing.&lt;br /&gt;
&lt;br /&gt;
If you want to see the bleeding edge, you can checkout svn head of spring, but&lt;br /&gt;
it can not be used to play with people who have the release, so you are&lt;br /&gt;
practically limited to playing against nemo. This is mainly interesting for&lt;br /&gt;
people who want to contribute to the project, for testing, finding bugs and&lt;br /&gt;
fixing them, and implementing new features. Head can be seriously broken from&lt;br /&gt;
time to time, or not even compile.&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
&lt;br /&gt;
If there is a package for your distributions preferred package manager, it is&lt;br /&gt;
recommended to use it instead of compiling the program yourself from sources.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/debian-small.png Debian Etch ===&lt;br /&gt;
&lt;br /&gt;
This is not updated for 0.76b1. Somebody check if the install succeeds for the new release this way?&lt;br /&gt;
&lt;br /&gt;
This is for version 0.75b2.&lt;br /&gt;
&lt;br /&gt;
We need to use Yokozar&#039;s Ubuntu package, so we need some tricks.&lt;br /&gt;
&lt;br /&gt;
The --build step will take about 15 minutes. Hopefully we have precompiled binaries for etch soon too.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://buildbot.no-ip.org/~yokozar/apt/387EE263.gpg -O- | \&lt;br /&gt;
    sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
wget http://buildbot.no-ip.org/~yokozar/apt/sources.list.d/gutsy.list \&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get build-dep spring -y&lt;br /&gt;
sudo apt-get --build source spring -y&lt;br /&gt;
sudo dpkg -i spring_0.75~b2-1_i386.deb spring-data_0.75~b2-1_all.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to install SpringLobby also, follow the instructions in http://trac.springlobby.info/wiki/Install#Debian&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/games/spring &amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/debian-small.png Debian Unstable ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1&lt;br /&gt;
&lt;br /&gt;
Ubuntu instructions work for debian unstable as is at the moment.&lt;br /&gt;
Except two extra steps:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;deb http://apt.wxwidgets.org/ etch-wx main&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
The rest is right below.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/ubuntu-small.png Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
We now have a maintained and up to date APT repository for Ubuntu 7.10 (Gutsy)&lt;br /&gt;
&lt;br /&gt;
If you have some older version of ubuntu, you can easily upgrade to Gutsy with these instructions: http://www.ubuntu.com/getubuntu/upgrading&lt;br /&gt;
&lt;br /&gt;
Do the following:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;These lines are long and they are split to match the formatting of this page, you can copy-paste this to your terminal as is, as long as you copy the entire wrapped command and not just one line.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://buildbot.no-ip.org/~yokozar/apt/387EE263.gpg -O- | \&lt;br /&gt;
    sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
sudo wget http://buildbot.no-ip.org/~yokozar/apt/sources.list.d/gutsy.list \&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; If you get a &amp;quot;sudo&amp;quot; error (1st command) or an &amp;quot;unsupported scheme&amp;quot; error (2nd command) with the above code, then try this code instead:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://buildbot.no-ip.org/~yokozar/apt/387EE263.gpg -O- | sudo apt-key add -&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo wget http://buildbot.no-ip.org/~yokozar/apt/sources.list.d/gutsy.list&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install spring spring-lobby-springlobby spring-maps-default -y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, if you want to download a few large maps you can do following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo apt-get install spring-maps-hunterw spring-maps-deltasiege spring-maps-smallsupreme spring-maps-teamplay&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you own the original Total Annihilation and want to use mods that require the original TA content, then do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo apt-get install spring-data-nonfree&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For configuring the lobbies, you can note that the package installs the Spring executable at &amp;lt;code&amp;gt;/usr/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== http://www.winehq.org/images/distro/slackware.png Slackware 12 ===&lt;br /&gt;
&lt;br /&gt;
Working for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is all dependencies in precompiled tgz&#039;s:&lt;br /&gt;
&lt;br /&gt;
glew (http://www.linuxpackages.net/pkg_details.php?id=12051)&amp;lt;br/&amp;gt;&lt;br /&gt;
DeviL (http://www.linuxpackages.net/pkg_details.php?id=10571)&amp;lt;br/&amp;gt;&lt;br /&gt;
boost (http://www.linuxpackages.net/pkg_details.php?id=12046)&amp;lt;br/&amp;gt;&lt;br /&gt;
icu (http://www.linuxpackages.net/pkg_details.php?id=12034)&amp;lt;br/&amp;gt;&lt;br /&gt;
openal (http://www.linuxpackages.net/pkg_details.php?id=11993)&amp;lt;br/&amp;gt;&lt;br /&gt;
wxWidgets (http://www.linuxpackages.net/pkg_details.php?id=12072)&amp;lt;br/&amp;gt;&lt;br /&gt;
springlobby (http://www.linuxpackages.net/pkg_details.php?id=12144)&amp;lt;br/&amp;gt;&lt;br /&gt;
spring - thanks to leo moisio - (http://www.springlobby.info/slackware/spring-0.76b1-i486-1leo.tgz)&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
assuming that all .tgz are saved in the same direcory, open a console and cd inside that directory; later:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
su -C &amp;quot;installpkg *.tgz&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
when asked for the root password, give it.&lt;br /&gt;
&lt;br /&gt;
a menu entre for spring and another to springlobby will apear in KDE, XFCE and GNOME.&lt;br /&gt;
&lt;br /&gt;
also, spring and springlobby executables will be accessible via shell; put it on you fluxbox menu, ;D&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/gentoo-small.png Gentoo ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OVERLAY CHANGED 2008-01-21. SpringLobby and Spring overlays are merged, so you need to add this overlay, if you haven&#039;t already, so you can upgrade again. If you are new user, you can ignore this.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
An overlay to use with layman is provided. If gentoo overlays and/or layman are new to you, [http://overlays.gentoo.org/ read about them], as they are an essential part of gentoo.&lt;br /&gt;
&lt;br /&gt;
This example assumes you never used layman before. If it&#039;s not your first time, you hopefully know what to do.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge layman&lt;br /&gt;
layman -f -a springlobby \&lt;br /&gt;
     -o http://svn.springlobby.info/trunk/gentoo/overlays.xml&lt;br /&gt;
echo &amp;quot;source /usr/portage/local/layman/make.conf&amp;quot; &amp;gt;&amp;gt; /etc/make.conf&lt;br /&gt;
echo &amp;quot;games-strategy/spring ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
echo &amp;quot;games-util/springlobby ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
emerge spring&lt;br /&gt;
emerge springlobby&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Layman makes upgrading really easy too:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
layman --sync ALL&lt;br /&gt;
emerge spring&lt;br /&gt;
emerge springlobby&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/games/bin/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== http://upload.wikimedia.org/wikipedia/en/thumb/9/95/Mandriva_logo.png/96px-Mandriva_logo.png  Mandriva ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
Mandriva has Spring in the official Contrib  repositories, follow the instructions at [http://easyurpmi.zarb.org Easy Urpmi] to add contrib mirrors&lt;br /&gt;
&lt;br /&gt;
after being done, to install enter the following command in a console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;su root -C &amp;quot;urpmi spring&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and select yes to the confirmation question&lt;br /&gt;
&lt;br /&gt;
For configuring the lobbies, you can note that the package installs the Spring executable at /usr/games/spring and read-only data in /usr/share/games/spring.&lt;br /&gt;
&lt;br /&gt;
=== Binary for Other Linux Systems ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is an unofficial installer if none of the above work for you:&lt;br /&gt;
http://spring.clan-sy.com/phpbb/viewtopic.php?f=20&amp;amp;t=12802&lt;br /&gt;
&lt;br /&gt;
== Build From Source ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You might encounter sync errors in online play if you are not using the exact same version of the compiler and same compiler settings as used for prebuilt packages!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For 0.76b1 these are: TODO add them here.&lt;br /&gt;
&lt;br /&gt;
If there is no package tailored for your distribution, you have to install from sources manually. Doing this for distributions where packages are available is not recommended.&lt;br /&gt;
&lt;br /&gt;
=== Get Source ===&lt;br /&gt;
&lt;br /&gt;
You can either download the source as a 3.9MB tarball (recommended; v. 0.76b1) or get it from the subversion repository. Either way, the result is the same.&lt;br /&gt;
&lt;br /&gt;
==== Tarball ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/src # or /var/tmp, or whatever&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1_src.tar.bz2&lt;br /&gt;
tar xjf spring_0.76b1_src.tar.bz2&lt;br /&gt;
cd spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: The .zip release is for windows only. Linux users have to get .bz2 like shown above.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Subversion ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install subversion # if you are not on debian, figure it out&lt;br /&gt;
svn co https://spring.clan-sy.com/svn/spring/tags/spring_0.76b1 \&lt;br /&gt;
/usr/local/src/spring_0.76b1&lt;br /&gt;
cd /usr/local/src/spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dependencies ===&lt;br /&gt;
&lt;br /&gt;
For Etch (debian 4.0 stable) and Sid (debian unstable), I&#039;ve confirmed the&lt;br /&gt;
following to be the minimal set that is necessary to get. I have not tested&lt;br /&gt;
with any version of Ubuntu, but the line is probably almost identical if not&lt;br /&gt;
the same. Quilted tested with ubuntu fiesty fawn on july 28 2007 WORKS. Note&lt;br /&gt;
that Spring 0.75b2 depends on the boost libraries version 1.34.* and won&#039;t&lt;br /&gt;
work on lower versions. (updated libboost-serialization-dev, and libvorbis-dev dependencies for 0.76b1)&lt;br /&gt;
&lt;br /&gt;
Also, on 64-bit be sure to build against devIl 1.6.8-rc2 or higher, 1.6.7 has a bug in the PNG loading code that causes issues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install scons build-essential zlib1g-dev libfreetype6-dev&lt;br /&gt;
aptitude install libsdl1.2-dev libopenal-dev libglew-dev libboost-dev&lt;br /&gt;
aptitude install libboost-thread-dev libboost-regex-dev libdevil-dev&lt;br /&gt;
aptitude install libboost-serialization-dev python2.5-dev zip&lt;br /&gt;
aptitude install sun-java6-jdk libvorbis-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This has been tested to work with a clean install of gentoo 2007.0:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge dev-util/scons \&amp;gt;=media-libs/freetype-2.0.0 \&amp;gt;=media-libs/libsdl-1.2.0&lt;br /&gt;
emerge media-libs/openal =dev-lang/python-2.4\* media-libs/glew dev-libs/boost&lt;br /&gt;
emerge media-libs/devil app-arch/zip media-libs/libogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Users of other distributions should be able to figure out the correct package&lt;br /&gt;
names from this. The scons configure will whine if you forget something, but it&lt;br /&gt;
does not check if you remembered to install zip, even though you still need it.&lt;br /&gt;
&lt;br /&gt;
=== Build And Install ===&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
warning: division by zero&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons configure&lt;br /&gt;
scons&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons install&lt;br /&gt;
mkdir -p /etc/spring&lt;br /&gt;
echo &#039;$HOME/.spring&#039; &amp;gt; /etc/spring/datadir&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/local/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/local/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Network ==&lt;br /&gt;
&lt;br /&gt;
If you have a public ip and no firewall, then you don&#039;t need to do anything.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t want to host any games, just join them, you shouldn&#039;t need to do anything.&lt;br /&gt;
&lt;br /&gt;
If you have a firewall, to be able to host, you must enable incoming udp to port 8452. If you are behind a NAT, to be able to host you must either use nat traversal / hole punching feature in your lobby client, OR port forward that port from your public ip to your gaming machine.&lt;br /&gt;
&lt;br /&gt;
= Finalizing installation =&lt;br /&gt;
&lt;br /&gt;
Now all the things you needed to run as root have been done. Some stuff needs to be done by the user who is going to play spring.&lt;br /&gt;
&lt;br /&gt;
I&#039;m assuming bash here, but you can use anything you like to do it of course.&lt;br /&gt;
&lt;br /&gt;
== Data Directories ==&lt;br /&gt;
&lt;br /&gt;
Do this to create your per-user data directories. You will be downloading maps and mods etc to these dirs later.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p ~/.spring/{base,maps,mods}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the above did not work for you, then you can try:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir ~/.spring ~/.spring/base ~/.spring/maps ~/.spring/mods&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Maps ==&lt;br /&gt;
&lt;br /&gt;
You need at least one map to succesfully run spring.&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.unknown-files.net/spring/category/13/Maps/ Unknown Files, Map Section] and download at least one map. Save it under ~/.spring/maps/ without unpacking the file in any way.&lt;br /&gt;
&lt;br /&gt;
Hint: If you know the map name you want, there is a Quick Search in the top right corner of the page. Just write a part of the name, like one word, and you&#039;ll easily find what you were looking for.&lt;br /&gt;
&lt;br /&gt;
== Mods ==&lt;br /&gt;
&lt;br /&gt;
You need at least one mod to successfully run spring.&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.unknown-files.net/spring/category/14/Mods/ Unknown Files, Mod Section] and download at least one mod. Save it under ~/.spring/mods/ without unpacking the file in any way.&lt;br /&gt;
&lt;br /&gt;
Hint: If you know the mod name you want, there is a Quick Search in the top right corner of the page. Just write a part of the name, like one word, and you&#039;ll easily find what you were looking for.&lt;br /&gt;
&lt;br /&gt;
If you want to view unit stats of mods, [http://modinfo.unknown-files.net/modit/modit.php this] is the site for you.&lt;br /&gt;
&lt;br /&gt;
== OTA Content ==&lt;br /&gt;
&lt;br /&gt;
If you want to play mods based on Total Annihilation, for example XTA, AA, BA, then you have to do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://ipxserver.dyndns.org/games/spring/mods/xta/base-ota-content.zip&lt;br /&gt;
unzip -d ~/.spring/base base-ota-content.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that you need to own a copy of Total Annihilation, to download this file legally.&lt;br /&gt;
&lt;br /&gt;
Mods that do not require this file are at least NanoBlobs and Kernel Panic, TODO list other mods that don&#039;t need it.&lt;br /&gt;
&lt;br /&gt;
== Settings == &lt;br /&gt;
&lt;br /&gt;
Defaults should be usable, so you can ignore this until you want to maximize your eye candy or fps :)&lt;br /&gt;
&lt;br /&gt;
When you run spring the first time, it creates ~/.springrc which contains all the settings. It is a simple text file with name=value lines, most of which are pretty obvious and can be edited by hand.&lt;br /&gt;
&lt;br /&gt;
If you want a tool for editing the file, you can use [http://trac.springlobby.info/wiki/SpringSettings SpringSettings] ([http://springlobby.info SpringLobby] has this integrated).&lt;br /&gt;
&lt;br /&gt;
=== Dual Head ===&lt;br /&gt;
&lt;br /&gt;
Automatic: if you are using [http://trac.springlobby.info/wiki/SpringSettings SpringSettings] you can select a dual screen resolution in simple mode and the rest is done automatically. &lt;br /&gt;
&lt;br /&gt;
Manual: to make Dual Monitors work add/change these settings in your .springrc file.            &lt;br /&gt;
&amp;quot;DualScreenMiniMapOnLeft=1,&lt;br /&gt;
DualScreenMode=1,&lt;br /&gt;
XResolution=2560,&lt;br /&gt;
YResolution=1024&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Make sure to use your own resolution for the X,Y resolutions.  For example: you have two monitors configured for 1280x1024, the X,Y is 2560x1024.&lt;br /&gt;
&lt;br /&gt;
Save then restart Spring.&lt;br /&gt;
&lt;br /&gt;
== LuaUI ==&lt;br /&gt;
&lt;br /&gt;
Spring UI is scriptable with Lua. This is called LuaUI, and it is not enabled per default.&lt;br /&gt;
&lt;br /&gt;
Replace LuaUI=0 with LuaUI=1 in your ~/.springrc to use LuaUI. &lt;br /&gt;
&lt;br /&gt;
To install some LuaUI scripts, start by copying LuaUI folder from you read-only data directory to your read-write data directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
rm -r ~/.spring/LuaUI&lt;br /&gt;
cp -r /usr/share/games/spring/LuaUI ~/.spring/LuaUI&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go find the LuaUI scripts you need from [http://spring.unknown-files.net/category/19/Lua_Scripts/ Unknown Files LuaUI Section]. All LuaUI scripts are released there, so if you make good ones yourself, make sure to upload them.&lt;br /&gt;
&lt;br /&gt;
The scripts can come in any setup, so prepare to decompress them if they are compressed. They might have a whole directory structure, and they should have their own instructions on how to install them. Check which directory you need to extract them to. Most likely it is ~/.spring/LuaUI but it might be a directory inside this directory too for some script.&lt;br /&gt;
&lt;br /&gt;
Once you have copied the script into place, when you start spring next time, you can press F11 to enable/disable anything from your list of installed LuaUI scripts. If your new script is not there, you copied it wrong.&lt;br /&gt;
&lt;br /&gt;
== Lobby Client ==&lt;br /&gt;
&lt;br /&gt;
To setup online games, you need a lobby client. There are several options to choose from.&lt;br /&gt;
&lt;br /&gt;
You can also use lobby client to setup single player matches against the AI. TODO more information about setting up tasclient to play against AI.&lt;br /&gt;
&lt;br /&gt;
Recommended lobby client for linux is either SpringLobby or AFLobby. You can use them in windows and mac too.&lt;br /&gt;
&lt;br /&gt;
=== Omni ===&lt;br /&gt;
&lt;br /&gt;
This project has been abandoned, and you should not use it.&lt;br /&gt;
&lt;br /&gt;
=== UnityLobby ===&lt;br /&gt;
&lt;br /&gt;
UnityLobby has been abandoned since april 2007, and you should not use it.&lt;br /&gt;
&lt;br /&gt;
=== [http://springlobby.info SpringLobby] ===&lt;br /&gt;
&lt;br /&gt;
SpringLobby is for (at least) Windows, Linux and Mac. It&#039;s now in a usable state and has a feature set close to that of TASClient for windows. Try it out! Bug reports and feature requests are very much welcome.&lt;br /&gt;
&lt;br /&gt;
Visit http://springlobby.info for all things SpringLobby.&lt;br /&gt;
&lt;br /&gt;
=== AFLobby ===&lt;br /&gt;
&lt;br /&gt;
This project is very promising, and is usable for online multi player. Its the oldest lobby still actively maintained.&lt;br /&gt;
&lt;br /&gt;
Official webpage for the project is http://www.darkstars.co.uk which should always have the latest release for download.&lt;br /&gt;
&lt;br /&gt;
=== TASClient ===&lt;br /&gt;
&lt;br /&gt;
I used to recommend wine+TASClient solution before, but now you should try SpringLobby or AFLobby first, before you go this route.&lt;br /&gt;
&lt;br /&gt;
Certain newish version of wine fails with tasclient, TODO can&#039;t remember which one. It should be fixed in the very latest version of wine.&lt;br /&gt;
&lt;br /&gt;
This is a windows program, but it works just fine under wine in linux, and can be used together with native linux spring. I used it myself before moving to SpringLobby.&lt;br /&gt;
&lt;br /&gt;
The only two downsides in using this are that you have to use wine (which should not be a big problem) and your rank won&#039;t increase as long as you use it (also because of win-linux binary interaction).&lt;br /&gt;
&lt;br /&gt;
TODO there is a way to make it support rank increases too, using trepans cool proxy, add info.&lt;br /&gt;
&lt;br /&gt;
Download the installer of Spring for Windows, and run it in wine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1.exe&lt;br /&gt;
wine spring_0.76b1.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No configuration of wine should be needed, if your distribution is sane.&lt;br /&gt;
&lt;br /&gt;
Complete the install, and let it install to the default location, which is Program Files\Spring.&lt;br /&gt;
&lt;br /&gt;
Assuming you completed the earlier step of creating the data directories, now we need to link the windows and linux data together:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
WINESPRING=~/.wine/drive_c/Program\ Files/Spring&lt;br /&gt;
NATIVE=~/.spring&lt;br /&gt;
&lt;br /&gt;
touch &amp;quot;${WINESPRING}/script.txt&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${WINESPRING}/script.txt&amp;quot; &amp;quot;${NATIVE}/script.txt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/maps&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/maps&amp;quot; &amp;quot;${WINESPRING}/maps&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/mods&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/mods&amp;quot; &amp;quot;${WINESPRING}/mods&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/base&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/base&amp;quot; &amp;quot;${WINESPRING}/base&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/demos&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/demos&amp;quot; &amp;quot;${WINESPRING}/demos&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the windows-TASClient to be able to launch native linux spring, we need a wrapper exe in between them. Source code for wrapper exe is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;windows.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;tchar.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#define NATIVE_SPRING_LOCATION TEXT(&amp;quot;/usr/games/spring&amp;quot;)&lt;br /&gt;
#define SPRING_VERSION_REPLY &amp;quot;Spring 0.76b1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
int main (int argc, char **argv)&lt;br /&gt;
{&lt;br /&gt;
  if (argc &amp;gt; 1 &amp;amp;&amp;amp; !strcmp(argv[1], &amp;quot;/V&amp;quot;))&lt;br /&gt;
  {&lt;br /&gt;
     puts(SPRING_VERSION_REPLY);&lt;br /&gt;
     return 0;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  STARTUPINFO si;&lt;br /&gt;
  ZeroMemory( &amp;amp;si, sizeof(si) );&lt;br /&gt;
  si.cb = sizeof(si);&lt;br /&gt;
&lt;br /&gt;
  PROCESS_INFORMATION pi;&lt;br /&gt;
  ZeroMemory( &amp;amp;pi, sizeof(pi) );&lt;br /&gt;
&lt;br /&gt;
  // Start the child process.&lt;br /&gt;
  if (!CreateProcess(&lt;br /&gt;
    _tcsdup(NATIVE_SPRING_LOCATION), // No module name (use command line)&lt;br /&gt;
    GetCommandLine(),                // Command line&lt;br /&gt;
    NULL,                            // Process handle not inheritable&lt;br /&gt;
    NULL,                            // Thread handle not inheritable&lt;br /&gt;
    FALSE,                           // Set handle inheritance to FALSE&lt;br /&gt;
    0,                               // No creation flags&lt;br /&gt;
    NULL,                            // Use parent&#039;s environment block&lt;br /&gt;
    NULL,                            // Use parent&#039;s starting directory&lt;br /&gt;
    &amp;amp;si,                             // Pointer to STARTUPINFO structure&lt;br /&gt;
    &amp;amp;pi))                            // Pointer to PROCESS_INFORMATION structure&lt;br /&gt;
    {&lt;br /&gt;
      printf( &amp;quot;CreateProcess failed (%d).\n&amp;quot;, GetLastError() );&lt;br /&gt;
      return 1;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
  // Wait until child process exits. Wine actually does not know how to wait&lt;br /&gt;
  // for native linux process, so this will return instantly and your gametime&lt;br /&gt;
  // counter does not increase so you don&#039;t get any rank.&lt;br /&gt;
  WaitForSingleObject( pi.hProcess, INFINITE );&lt;br /&gt;
&lt;br /&gt;
  // Close process and thread handles.&lt;br /&gt;
  CloseHandle( pi.hProcess );&lt;br /&gt;
  CloseHandle( pi.hThread );&lt;br /&gt;
&lt;br /&gt;
  return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You might need to modify the define-lines in the beginning to match your location and version. Remember, the version reply must be exactly right, or your game just breaks totally in multiplayer or you can&#039;t even login to lobby server.&lt;br /&gt;
&lt;br /&gt;
Save this code to spring.cc for example, and then we need to install a windows-crosscompiler and compile a windows binary from it inside our linux box like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install mingw32&lt;br /&gt;
i586-mingw32msvc-g++ spring.cc -o ~/.wine/drive_c/Program\ Files/Spring/spring.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumed debian for installing the crosscompiler, but mingw32 is probably simple to install on other distributions as well.&lt;br /&gt;
&lt;br /&gt;
TODO should provide binary packages for this launcher, as all people don&#039;t have the possibility to set up cross compiler. I compiled it but I can&#039;t test it due to lack of Wine+TASClient setup. Here is the binary anyway: http://buildbot.no-ip.org/~tvo/spring/spring.exe&lt;br /&gt;
&lt;br /&gt;
Then you should make a script for launching TASClient. The script can be named tasclient for example, and just put it somewhere in your path and make it executable. The script code is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/env sh&lt;br /&gt;
cd ~/.wine/drive_c/Program\ Files/Spring&lt;br /&gt;
wine TASClient.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you should be able to type tasclient on the command line, and the lobby appears. &#039;&#039;&#039;This cd operation is necessary. If your working directory is not the same as TASClient.exe&#039;s location, it will just give access violations to you.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that every time when you have added new maps, the lobby client caches them and this will take some time, or a long time if you downloaded many maps since last time. Just wait patiently.&lt;br /&gt;
&lt;br /&gt;
Then you should register an account and login with it, and you should be ready to join an online multiplayer game from the list that appears.&lt;br /&gt;
&lt;br /&gt;
It&#039;s likely that you don&#039;t have the correct map or mod at this point, so just get them and join the game. You don&#039;t need to restart your lobby client after downloading the files.&lt;br /&gt;
&lt;br /&gt;
It&#039;s recommended that you spectate a couple of high rank games first, to get some idea of how the game should be played. Some hosts don&#039;t allow spectators, but most do.&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== Ingame ==&lt;br /&gt;
&lt;br /&gt;
=== LuaUI Crash Ingame ===&lt;br /&gt;
&lt;br /&gt;
LuaUI can crash during game, because some lua script you use has a bug. 0.75 should be resistant to this problem, but 0.74b3 is not. After crash, you won&#039;t see the bottom left tooltip box and top right resource bar anymore. Fear not, help is near:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/resbar 1&lt;br /&gt;
/tooltip 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These might not be necessary in 0.75 anymore at all.&lt;br /&gt;
&lt;br /&gt;
Also, you won&#039;t be able to change the build menu page with mouse anymore, but keys , and . do the trick.&lt;br /&gt;
&lt;br /&gt;
LuaUI can also be restarted after it crashed. Often this does the trick and it works fine the rest of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/luaui reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mouse is slow in fullscreen mode ===&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &#039;export SDL_MOUSE_RELATIVE=0&#039; &amp;gt;&amp;gt; ~/.bash_profile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
And log out and log in again.&lt;br /&gt;
&lt;br /&gt;
The mouse should now be as fast as in windowed mode.&lt;br /&gt;
&lt;br /&gt;
=== Rotating Buildings Ingame ===&lt;br /&gt;
&lt;br /&gt;
You can rotate a building before you give the build order, but the keys that do this don&#039;t work in linux by default for some users. Issue the following commands in the beginning of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/bind keycodex buildfacing inc&lt;br /&gt;
/bind keycodey buildfacing dec&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Keycodex and keycodey above are just placeholders. What you want to write depends on which key you want to use. To see what keycodes any keys have, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/keydebug yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then hit the keys you want to use, and spring prints the keycodes in the message buffer.&lt;br /&gt;
&lt;br /&gt;
TODO: add information on how to save the settings so that they work the next time you start spring.&lt;br /&gt;
&lt;br /&gt;
=== Map is White ===&lt;br /&gt;
&lt;br /&gt;
If the whole map is only shades of white and grey, there is a problem with your display driver. Maybe your gpu is very old and does not support some needed opengl feature. For example I had this problem with matrox g550 but not with some very old geforce.&lt;br /&gt;
&lt;br /&gt;
== Startup ==&lt;br /&gt;
&lt;br /&gt;
=== Missing Default Cursor ===&lt;br /&gt;
&lt;br /&gt;
This or any similar error of not being able to find a specific file are usually because the mod you are using needs ota content, download &amp;amp; install as explained [[SetupGuide#OTA_Content|earlier in this document]].&lt;br /&gt;
&lt;br /&gt;
=== sounds/button9.wav &amp;quot;cant find wav file&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Same problem as above.&lt;br /&gt;
&lt;br /&gt;
=== Couldnt find matching GLX visual ===&lt;br /&gt;
&lt;br /&gt;
Reduce anti aliasing.&lt;br /&gt;
&lt;br /&gt;
=== GL_ARB_texture_compression not found ===&lt;br /&gt;
&lt;br /&gt;
This can be an issue with your gpu drivers. The drivers you are using do not support a feature that is required to run spring. You might have better luck with the closed source official drivers of nvidia or amd cards. If your gpu itself is really old, this might not help.&lt;br /&gt;
&lt;br /&gt;
If you use the fglrx ati-graphics driver and you are getting this error there might be a chance that still spring work (I use this with ubuntu gusty).&lt;br /&gt;
At first we must check that fglrx is installed correctly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
OpenGL version string: 2.0.6747 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then lets check the glx-extention.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ glxinfo | grep direct&lt;br /&gt;
Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;.&lt;br /&gt;
direct rendering: No&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you get this message, notice that glxinfo releates to display &#039;:1&#039; and fglrxinfo to display &#039;:0&#039;!! Lets check the glx-extention on display :0 now.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 glxinfo | grep direct&lt;br /&gt;
direct rendering: Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This message mean that you can start spring by typing (in a terminal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 spring&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the TASclient with wine and the native linux spring. Start the whole TASclient-start-script by typing. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
DISPLAY=:0 TASCLIENT-start-script&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But Notice under circumstances is no windowmanager running on screen :0! This means there are NO windowframes at the TASClient window! You can&#039;t move it or close it by clicking the closebutton (unless you click at the close button on the terminal-window in witch you startet TAS). You can although close TAS with the keys ALT-F4&lt;br /&gt;
&lt;br /&gt;
=== OpenAL Segfault ===&lt;br /&gt;
&lt;br /&gt;
If spring crashes with this output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenAL: ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_EXT_MP3&lt;br /&gt;
AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format&lt;br /&gt;
AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel&lt;br /&gt;
Segmentation fault (core dumped)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look into this thread on the forums for a fix: http://spring.clan-sy.com/phpbb/viewtopic.php?f=20&amp;amp;t=12568&lt;br /&gt;
&lt;br /&gt;
Then bug nemo in #taspring to finish this troubleshooting entry. He knows how to fix it.&lt;br /&gt;
&lt;br /&gt;
This is mod-related, ie. it only happens on some mods. Please list here the mod versions that give this error for you.&lt;br /&gt;
&lt;br /&gt;
- Star Wars mod, unknown version, by user report&lt;br /&gt;
&lt;br /&gt;
The problematic mod contains a sound file that crashes openal. You can try to unzip the mod file that crashed for you, and play each sound file. Please report any sound files that fail to play right, just list them here.&lt;br /&gt;
&lt;br /&gt;
- unknown file&lt;br /&gt;
&lt;br /&gt;
== Compiletime ==&lt;br /&gt;
&lt;br /&gt;
=== make_gamedata_arch.sh not found ===&lt;br /&gt;
&lt;br /&gt;
The .zip you downloaded is for windows, you must download a .bz2, instructions [[SetupGuide#Downloading_A_Tarball|earlier in this document]].&lt;br /&gt;
&lt;br /&gt;
=== invalid use of ILvoid ===&lt;br /&gt;
&lt;br /&gt;
During compiling, if you get a lot of the following errors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/include/IL/il.h:497: error: &#039;&amp;lt;anonymous&amp;gt;&#039; has incomplete type &lt;br /&gt;
/usr/include/IL/il.h:497: error: invalid use of &#039;ILvoid&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This happens because the version of libdevil-dev you have installed is not compatible with gcc version 4.2 and newer.&lt;br /&gt;
&lt;br /&gt;
You should upgrade your libdevil-dev to fix this issue. However, in some distributions (at least gentoo), the fixed package has the SAME version number as the older unfixed package, so you might actually need to remove your current libdevil-dev package completely and reinstall it.&lt;br /&gt;
&lt;br /&gt;
TODO: add critical version numbers of libdevil.&lt;br /&gt;
&lt;br /&gt;
== Network Setup ==&lt;br /&gt;
&lt;br /&gt;
Usually you don&#039;t need to do any network setup whatsoever, because the lobbies take care of nat traversal with firewall hole punching, but if you need to know the topology, it goes like this:&lt;br /&gt;
&lt;br /&gt;
Host needs to enable incoming udp to port 8452, and outgoing replies to those.&lt;br /&gt;
Non-host players need to enable outgoing udp, and incoming replies to those.&lt;br /&gt;
So basically only non-host players initiate &amp;quot;connections&amp;quot;, and only the server listens on a well-known port.&lt;br /&gt;
&lt;br /&gt;
== If You Still Have Problems ==&lt;br /&gt;
&lt;br /&gt;
Join to #taspring on Freenode or #sy on QuakeNet and try your luck.&lt;br /&gt;
&lt;br /&gt;
However, generic linux problems not really related to installing this should be asked elsewhere.&lt;br /&gt;
&lt;br /&gt;
Prepare to list your distribution, which installation method you used, and what exactly is the error. Don&#039;t ask if people are around or not, just go straight to business and tell all details, for maximizing your chances of getting help.&lt;br /&gt;
&lt;br /&gt;
== IRC ==&lt;br /&gt;
&lt;br /&gt;
# #taspring @ FreeNode&lt;br /&gt;
# #sy @ QuakeNet&lt;br /&gt;
&lt;br /&gt;
== Asking For Help ==&lt;br /&gt;
&lt;br /&gt;
Ok so you need human help. This is how &#039;&#039;&#039;NOT&#039;&#039;&#039; to do it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
15:54 -!- **** [n=****@*] has joined #taspring&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; Hi, i have a problem with compiling spring on debian&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; can anyone help me?&lt;br /&gt;
15:57 -!- **** [n=****@*] has quit [Client Quit]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Don&#039;t ask to ask, instead go straight to business by stating the exact problem you have, and giving all necessary information. What you were trying to achieve, how did you try to do it, what happened and what did you expect to happen.&lt;br /&gt;
&lt;br /&gt;
Then WAIT for someone to notice you.&lt;br /&gt;
&lt;br /&gt;
== Configure Options ==&lt;br /&gt;
&lt;br /&gt;
If you want to see the configure options, because of a bug in the buildsystem you have to have spring configured first. But if configure fails, you are out of luck. So I have listed the options here:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
$ scons --help&lt;br /&gt;
scons: Reading SConscript files ...&lt;br /&gt;
make: Nothing to be done for `all&#039;.&lt;br /&gt;
Succes building streflop!&lt;br /&gt;
Updating bitmaps.sdz&lt;br /&gt;
Updating springcontent.sdz&lt;br /&gt;
scons: done reading SConscript files.&lt;br /&gt;
&lt;br /&gt;
platform: Set to linux, freebsd or windows&lt;br /&gt;
    default: None&lt;br /&gt;
    actual: linux&lt;br /&gt;
&lt;br /&gt;
debug: Set to yes to produce a binary with debug information&lt;br /&gt;
    default: 0&lt;br /&gt;
    actual: 3&lt;br /&gt;
&lt;br /&gt;
debugdefines: Set to no to suppress DEBUG and _DEBUG preprocessor #defines \&lt;br /&gt;
 (use to add symbols to release build)&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
syncdebug: Set to yes to enable the sync debugger&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
synccheck: Set to yes to enable sync checker &amp;amp; resyncer&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
optimize: Enable processor optimizations during compilation&lt;br /&gt;
    default: 1&lt;br /&gt;
    actual: 2&lt;br /&gt;
&lt;br /&gt;
profile: Set to yes to produce a binary with profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
profile_generate: Set to yes to compile with -fprofile-generate \&lt;br /&gt;
 to generate profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
profile_use: Set to yes to compile with -fprofile-use to use \&lt;br /&gt;
profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
cpppath: Set path to extra header files&lt;br /&gt;
    default: []&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
libpath: Set path to extra libraries&lt;br /&gt;
    default: []&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
fpmath: Set to 387 or SSE on i386 and AMD64 architectures&lt;br /&gt;
    default: 387&lt;br /&gt;
    actual: 387&lt;br /&gt;
&lt;br /&gt;
prefix: Install prefix used at runtime&lt;br /&gt;
    default: /usr/local&lt;br /&gt;
    actual: /usr/local&lt;br /&gt;
&lt;br /&gt;
installprefix: Install prefix used for installion&lt;br /&gt;
    default: /usr/local&lt;br /&gt;
    actual: /usr/local&lt;br /&gt;
&lt;br /&gt;
datadir: Data directory (relative to prefix)&lt;br /&gt;
    default: share/games/spring&lt;br /&gt;
    actual: share/games/spring&lt;br /&gt;
&lt;br /&gt;
bindir: Directory for executables (rel. to prefix)&lt;br /&gt;
    default: games&lt;br /&gt;
    actual: games&lt;br /&gt;
&lt;br /&gt;
libdir: Directory for AI plugin modules (rel. to prefix)&lt;br /&gt;
    default: lib/spring&lt;br /&gt;
    actual: lib/spring&lt;br /&gt;
&lt;br /&gt;
strip: Discard symbols from the executable (only when neither \&lt;br /&gt;
debugging nor profiling)&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
disable_avi: Set to no to turn on avi support&lt;br /&gt;
    default: False on windows, True otherwise&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
use_tcmalloc: Use tcmalloc from goog-perftools for memory allocation&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
use_mmgr: Use memory manager&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
dc_allowed: Specifies whether FPS mode (Direct Control) is allowed in game&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
cachedir: Cache directory (see scons manual)&lt;br /&gt;
    default: None&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
Use scons -H for help about command-line options.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;This section contains just some old crap I didn&#039;t write, and shouldn&#039;t be necessary.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* If spring hangs/crashes while in full screen mode, you can press ctrl+alt+backspace to restart X, so no need for a reboot.&lt;br /&gt;
&lt;br /&gt;
* Spring uses OpenAL for sound, Config your sound output i.e esd / arts / oss / alsa by editing /etc/openalrc or ~/.openalrc, example: (&amp;quot;&#039;(&amp;quot; is not a typo)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;(define devices &#039;(alsa))&amp;lt;br&amp;gt;(define speaker-num 2)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;(define alsa-out-device &amp;quot;hw:0,0&amp;quot;)&amp;lt;br&amp;gt;(define alsa-in-device &amp;quot;hw:0,0&amp;quot;)&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Adventurous people with an emu10k1 based card (sblive) can try the accelerated openal version. http://www.lost.org.uk/openal.html , don&#039;t submit audiobugs if you do.&lt;br /&gt;
&lt;br /&gt;
* If you really can&#039;t figure out how to get spring compiled, or you think there&#039;s a bug in the code or the buildsystem...&lt;br /&gt;
:* Just poke any developer on IRC:&lt;br /&gt;
::* channel &amp;lt;code&amp;gt;#taspring&amp;lt;/code&amp;gt; on [http://freenode.net/ FreeNode]&lt;br /&gt;
::* or channel &amp;lt;code&amp;gt;#sy&amp;lt;/code&amp;gt; on [http://www.quakenet.org/ QuakeNet]&lt;br /&gt;
:* Post it on [http://taspring.clan-sy.com/phpbb/ the forum]&lt;br /&gt;
:* or file a bug in our [http://taspring.clan-sy.com/mantis/ bug tracking system].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; [[Main_Page|&amp;lt;- Back to Main page]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Port]][[Category:Playing]]&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16672</id>
		<title>SetupGuide</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16672"/>
		<updated>2008-02-12T03:23:48Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* http://www.winehq.org/site/images/distro/slackware.png Slackware 12 */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Fully updated for 0.76b1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Page Maintenance =&lt;br /&gt;
&lt;br /&gt;
When I first installed spring on linux, it was damn hard. I almost gave up a couple times, but finally got it to work, after lots of time wasted.&lt;br /&gt;
&lt;br /&gt;
This setup guide was horribly outdated back then. Since I liked the game, I gave sth back, by updating this page, and some patches for engine. It wasn&#039;t very hard to update this page, it just took some time and effort. Now it&#039;s basically in a state, where almost every question on the irc channel regarding linux setup is already answered here, if people just bother to check.&lt;br /&gt;
&lt;br /&gt;
This page doesn&#039;t probably require so much modification in the future, assuming no major changes to spring installation procedure. But I am not going to do that, I have no time anymore. This is probably the only up to date page on the whole wiki, and it might be that it again becomes outdated. So I challenge everyone who ever got helped by this page to keep it up to date in the future.  &lt;br /&gt;
&lt;br /&gt;
It&#039;s a wiki so everyone can edit it, so when you see something that is wrong or missing, just fix it, and that means you! Making an account is trivial.&lt;br /&gt;
&lt;br /&gt;
- semi&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
&lt;br /&gt;
== Version ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The guide is fully up to date with release 0.76b1.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To play online, you must have the same version as everyone else in the game.&lt;br /&gt;
&lt;br /&gt;
Most people should get the current release, version 0.76b1. There are usually&lt;br /&gt;
between 100 and 200 people online in the lobby, and if you want to play with&lt;br /&gt;
them, you need this.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do not use older than current release version&#039;&#039;&#039;, unless you really know what you are doing.&lt;br /&gt;
&lt;br /&gt;
If you want to see the bleeding edge, you can checkout svn head of spring, but&lt;br /&gt;
it can not be used to play with people who have the release, so you are&lt;br /&gt;
practically limited to playing against nemo. This is mainly interesting for&lt;br /&gt;
people who want to contribute to the project, for testing, finding bugs and&lt;br /&gt;
fixing them, and implementing new features. Head can be seriously broken from&lt;br /&gt;
time to time, or not even compile.&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
&lt;br /&gt;
If there is a package for your distributions preferred package manager, it is&lt;br /&gt;
recommended to use it instead of compiling the program yourself from sources.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/debian-small.png Debian Etch ===&lt;br /&gt;
&lt;br /&gt;
This is not updated for 0.76b1. Somebody check if the install succeeds for the new release this way?&lt;br /&gt;
&lt;br /&gt;
This is for version 0.75b2.&lt;br /&gt;
&lt;br /&gt;
We need to use Yokozar&#039;s Ubuntu package, so we need some tricks.&lt;br /&gt;
&lt;br /&gt;
The --build step will take about 15 minutes. Hopefully we have precompiled binaries for etch soon too.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://buildbot.no-ip.org/~yokozar/apt/387EE263.gpg -O- | \&lt;br /&gt;
    sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
wget http://buildbot.no-ip.org/~yokozar/apt/sources.list.d/gutsy.list \&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get build-dep spring -y&lt;br /&gt;
sudo apt-get --build source spring -y&lt;br /&gt;
sudo dpkg -i spring_0.75~b2-1_i386.deb spring-data_0.75~b2-1_all.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to install SpringLobby also, follow the instructions in http://trac.springlobby.info/wiki/Install#Debian&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/games/spring &amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/debian-small.png Debian Unstable ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1&lt;br /&gt;
&lt;br /&gt;
Ubuntu instructions work for debian unstable as is at the moment.&lt;br /&gt;
Except two extra steps:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;deb http://apt.wxwidgets.org/ etch-wx main&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
The rest is right below.&lt;br /&gt;
&lt;br /&gt;
=== http://www.winehq.org/images/distro/slackware.png Slackware 12 ===&lt;br /&gt;
&lt;br /&gt;
Working for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is all dependencies in precompiled tgz&#039;s:&lt;br /&gt;
&lt;br /&gt;
glew (http://www.linuxpackages.net/pkg_details.php?id=12051)&amp;lt;br/&amp;gt;&lt;br /&gt;
DeviL (http://www.linuxpackages.net/pkg_details.php?id=10571)&amp;lt;br/&amp;gt;&lt;br /&gt;
boost (http://www.linuxpackages.net/pkg_details.php?id=12046)&amp;lt;br/&amp;gt;&lt;br /&gt;
icu (http://www.linuxpackages.net/pkg_details.php?id=12034)&amp;lt;br/&amp;gt;&lt;br /&gt;
openal (http://www.linuxpackages.net/pkg_details.php?id=11993)&amp;lt;br/&amp;gt;&lt;br /&gt;
wxWidgets (http://www.linuxpackages.net/pkg_details.php?id=12072)&amp;lt;br/&amp;gt;&lt;br /&gt;
springlobby (http://www.linuxpackages.net/pkg_details.php?id=12144)&amp;lt;br/&amp;gt;&lt;br /&gt;
spring - thanks to leo moisio - (http://www.springlobby.info/slackware/spring-0.76b1-i486-1leo.tgz)&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
assuming that all .tgz are saved in the same direcory, open a console and cd inside that directory; later:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
su -C &amp;quot;installpkg *.tgz&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
when asked for the root password, give it.&lt;br /&gt;
&lt;br /&gt;
a menu entre for spring and another to springlobby will apear in KDE, XFCE and GNOME.&lt;br /&gt;
&lt;br /&gt;
also, spring and springlobby executables will be accessible via shell; put it on you fluxbox menu, ;D&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/ubuntu-small.png Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
We now have a maintained and up to date APT repository for Ubuntu 7.10 (Gutsy)&lt;br /&gt;
&lt;br /&gt;
If you have some older version of ubuntu, you can easily upgrade to Gutsy with these instructions: http://www.ubuntu.com/getubuntu/upgrading&lt;br /&gt;
&lt;br /&gt;
Do the following:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;These lines are long and they are split to match the formatting of this page, you can copy-paste this to your terminal as is, as long as you copy the entire wrapped command and not just one line.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://buildbot.no-ip.org/~yokozar/apt/387EE263.gpg -O- | \&lt;br /&gt;
    sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
sudo wget http://buildbot.no-ip.org/~yokozar/apt/sources.list.d/gutsy.list \&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; If you get a &amp;quot;sudo&amp;quot; error (1st command) or an &amp;quot;unsupported scheme&amp;quot; error (2nd command) with the above code, then try this code instead:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://buildbot.no-ip.org/~yokozar/apt/387EE263.gpg -O- | sudo apt-key add -&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo wget http://buildbot.no-ip.org/~yokozar/apt/sources.list.d/gutsy.list&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install spring spring-lobby-springlobby spring-maps-default -y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, if you want to download a few large maps you can do following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo apt-get install spring-maps-hunterw spring-maps-deltasiege spring-maps-smallsupreme spring-maps-teamplay&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you own the original Total Annihilation and want to use mods that require the original TA content, then do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo apt-get install spring-data-nonfree&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For configuring the lobbies, you can note that the package installs the Spring executable at &amp;lt;code&amp;gt;/usr/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/gentoo-small.png Gentoo ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OVERLAY CHANGED 2008-01-21. SpringLobby and Spring overlays are merged, so you need to add this overlay, if you haven&#039;t already, so you can upgrade again. If you are new user, you can ignore this.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
An overlay to use with layman is provided. If gentoo overlays and/or layman are new to you, [http://overlays.gentoo.org/ read about them], as they are an essential part of gentoo.&lt;br /&gt;
&lt;br /&gt;
This example assumes you never used layman before. If it&#039;s not your first time, you hopefully know what to do.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge layman&lt;br /&gt;
layman -f -a springlobby \&lt;br /&gt;
     -o http://svn.springlobby.info/trunk/gentoo/overlays.xml&lt;br /&gt;
echo &amp;quot;source /usr/portage/local/layman/make.conf&amp;quot; &amp;gt;&amp;gt; /etc/make.conf&lt;br /&gt;
echo &amp;quot;games-strategy/spring ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
echo &amp;quot;games-util/springlobby ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
emerge spring&lt;br /&gt;
emerge springlobby&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Layman makes upgrading really easy too:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
layman --sync ALL&lt;br /&gt;
emerge spring&lt;br /&gt;
emerge springlobby&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/games/bin/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== http://upload.wikimedia.org/wikipedia/en/thumb/9/95/Mandriva_logo.png/96px-Mandriva_logo.png  Mandriva ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
Mandriva has Spring in the official Contrib  repositories, follow the instructions at [http://easyurpmi.zarb.org Easy Urpmi] to add contrib mirrors&lt;br /&gt;
&lt;br /&gt;
after being done, to install enter the following command in a console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;su root -C &amp;quot;urpmi spring&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and select yes to the confirmation question&lt;br /&gt;
&lt;br /&gt;
For configuring the lobbies, you can note that the package installs the Spring executable at /usr/games/spring and read-only data in /usr/share/games/spring.&lt;br /&gt;
&lt;br /&gt;
=== Binary for Other Linux Systems ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is an unofficial installer if none of the above work for you:&lt;br /&gt;
http://spring.clan-sy.com/phpbb/viewtopic.php?f=20&amp;amp;t=12802&lt;br /&gt;
&lt;br /&gt;
== Build From Source ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You might encounter sync errors in online play if you are not using the exact same version of the compiler and same compiler settings as used for prebuilt packages!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For 0.76b1 these are: TODO add them here.&lt;br /&gt;
&lt;br /&gt;
If there is no package tailored for your distribution, you have to install from sources manually. Doing this for distributions where packages are available is not recommended.&lt;br /&gt;
&lt;br /&gt;
=== Get Source ===&lt;br /&gt;
&lt;br /&gt;
You can either download the source as a 3.9MB tarball (recommended; v. 0.76b1) or get it from the subversion repository. Either way, the result is the same.&lt;br /&gt;
&lt;br /&gt;
==== Tarball ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/src # or /var/tmp, or whatever&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1_src.tar.bz2&lt;br /&gt;
tar xjf spring_0.76b1_src.tar.bz2&lt;br /&gt;
cd spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: The .zip release is for windows only. Linux users have to get .bz2 like shown above.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Subversion ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install subversion # if you are not on debian, figure it out&lt;br /&gt;
svn co https://spring.clan-sy.com/svn/spring/tags/spring_0.76b1 \&lt;br /&gt;
/usr/local/src/spring_0.76b1&lt;br /&gt;
cd /usr/local/src/spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dependencies ===&lt;br /&gt;
&lt;br /&gt;
For Etch (debian 4.0 stable) and Sid (debian unstable), I&#039;ve confirmed the&lt;br /&gt;
following to be the minimal set that is necessary to get. I have not tested&lt;br /&gt;
with any version of Ubuntu, but the line is probably almost identical if not&lt;br /&gt;
the same. Quilted tested with ubuntu fiesty fawn on july 28 2007 WORKS. Note&lt;br /&gt;
that Spring 0.75b2 depends on the boost libraries version 1.34.* and won&#039;t&lt;br /&gt;
work on lower versions. (updated libboost-serialization-dev, and libvorbis-dev dependencies for 0.76b1)&lt;br /&gt;
&lt;br /&gt;
Also, on 64-bit be sure to build against devIl 1.6.8-rc2 or higher, 1.6.7 has a bug in the PNG loading code that causes issues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install scons build-essential zlib1g-dev libfreetype6-dev&lt;br /&gt;
aptitude install libsdl1.2-dev libopenal-dev libglew-dev libboost-dev&lt;br /&gt;
aptitude install libboost-thread-dev libboost-regex-dev libdevil-dev&lt;br /&gt;
aptitude install libboost-serialization-dev python2.5-dev zip&lt;br /&gt;
aptitude install sun-java6-jdk libvorbis-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This has been tested to work with a clean install of gentoo 2007.0:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge dev-util/scons \&amp;gt;=media-libs/freetype-2.0.0 \&amp;gt;=media-libs/libsdl-1.2.0&lt;br /&gt;
emerge media-libs/openal =dev-lang/python-2.4\* media-libs/glew dev-libs/boost&lt;br /&gt;
emerge media-libs/devil app-arch/zip media-libs/libogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Users of other distributions should be able to figure out the correct package&lt;br /&gt;
names from this. The scons configure will whine if you forget something, but it&lt;br /&gt;
does not check if you remembered to install zip, even though you still need it.&lt;br /&gt;
&lt;br /&gt;
=== Build And Install ===&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
warning: division by zero&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons configure&lt;br /&gt;
scons&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons install&lt;br /&gt;
mkdir -p /etc/spring&lt;br /&gt;
echo &#039;$HOME/.spring&#039; &amp;gt; /etc/spring/datadir&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/local/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/local/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Network ==&lt;br /&gt;
&lt;br /&gt;
If you have a public ip and no firewall, then you don&#039;t need to do anything.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t want to host any games, just join them, you shouldn&#039;t need to do anything.&lt;br /&gt;
&lt;br /&gt;
If you have a firewall, to be able to host, you must enable incoming udp to port 8452. If you are behind a NAT, to be able to host you must either use nat traversal / hole punching feature in your lobby client, OR port forward that port from your public ip to your gaming machine.&lt;br /&gt;
&lt;br /&gt;
= Finalizing installation =&lt;br /&gt;
&lt;br /&gt;
Now all the things you needed to run as root have been done. Some stuff needs to be done by the user who is going to play spring.&lt;br /&gt;
&lt;br /&gt;
I&#039;m assuming bash here, but you can use anything you like to do it of course.&lt;br /&gt;
&lt;br /&gt;
== Data Directories ==&lt;br /&gt;
&lt;br /&gt;
Do this to create your per-user data directories. You will be downloading maps and mods etc to these dirs later.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p ~/.spring/{base,maps,mods}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the above did not work for you, then you can try:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir ~/.spring ~/.spring/base ~/.spring/maps ~/.spring/mods&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Maps ==&lt;br /&gt;
&lt;br /&gt;
You need at least one map to succesfully run spring.&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.unknown-files.net/spring/category/13/Maps/ Unknown Files, Map Section] and download at least one map. Save it under ~/.spring/maps/ without unpacking the file in any way.&lt;br /&gt;
&lt;br /&gt;
Hint: If you know the map name you want, there is a Quick Search in the top right corner of the page. Just write a part of the name, like one word, and you&#039;ll easily find what you were looking for.&lt;br /&gt;
&lt;br /&gt;
== Mods ==&lt;br /&gt;
&lt;br /&gt;
You need at least one mod to successfully run spring.&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.unknown-files.net/spring/category/14/Mods/ Unknown Files, Mod Section] and download at least one mod. Save it under ~/.spring/mods/ without unpacking the file in any way.&lt;br /&gt;
&lt;br /&gt;
Hint: If you know the mod name you want, there is a Quick Search in the top right corner of the page. Just write a part of the name, like one word, and you&#039;ll easily find what you were looking for.&lt;br /&gt;
&lt;br /&gt;
If you want to view unit stats of mods, [http://modinfo.unknown-files.net/modit/modit.php this] is the site for you.&lt;br /&gt;
&lt;br /&gt;
== OTA Content ==&lt;br /&gt;
&lt;br /&gt;
If you want to play mods based on Total Annihilation, for example XTA, AA, BA, then you have to do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://ipxserver.dyndns.org/games/spring/mods/xta/base-ota-content.zip&lt;br /&gt;
unzip -d ~/.spring/base base-ota-content.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that you need to own a copy of Total Annihilation, to download this file legally.&lt;br /&gt;
&lt;br /&gt;
Mods that do not require this file are at least NanoBlobs and Kernel Panic, TODO list other mods that don&#039;t need it.&lt;br /&gt;
&lt;br /&gt;
== Settings == &lt;br /&gt;
&lt;br /&gt;
Defaults should be usable, so you can ignore this until you want to maximize your eye candy or fps :)&lt;br /&gt;
&lt;br /&gt;
When you run spring the first time, it creates ~/.springrc which contains all the settings. It is a simple text file with name=value lines, most of which are pretty obvious and can be edited by hand.&lt;br /&gt;
&lt;br /&gt;
If you want a tool for editing the file, you can use [http://trac.springlobby.info/wiki/SpringSettings SpringSettings] ([http://springlobby.info SpringLobby] has this integrated).&lt;br /&gt;
&lt;br /&gt;
=== Dual Head ===&lt;br /&gt;
&lt;br /&gt;
Automatic: if you are using [http://trac.springlobby.info/wiki/SpringSettings SpringSettings] you can select a dual screen resolution in simple mode and the rest is done automatically. &lt;br /&gt;
&lt;br /&gt;
Manual: to make Dual Monitors work add/change these settings in your .springrc file.            &lt;br /&gt;
&amp;quot;DualScreenMiniMapOnLeft=1,&lt;br /&gt;
DualScreenMode=1,&lt;br /&gt;
XResolution=2560,&lt;br /&gt;
YResolution=1024&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Make sure to use your own resolution for the X,Y resolutions.  For example: you have two monitors configured for 1280x1024, the X,Y is 2560x1024.&lt;br /&gt;
&lt;br /&gt;
Save then restart Spring.&lt;br /&gt;
&lt;br /&gt;
== LuaUI ==&lt;br /&gt;
&lt;br /&gt;
Spring UI is scriptable with Lua. This is called LuaUI, and it is not enabled per default.&lt;br /&gt;
&lt;br /&gt;
Replace LuaUI=0 with LuaUI=1 in your ~/.springrc to use LuaUI. &lt;br /&gt;
&lt;br /&gt;
To install some LuaUI scripts, start by copying LuaUI folder from you read-only data directory to your read-write data directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
rm -r ~/.spring/LuaUI&lt;br /&gt;
cp -r /usr/share/games/spring/LuaUI ~/.spring/LuaUI&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go find the LuaUI scripts you need from [http://spring.unknown-files.net/category/19/Lua_Scripts/ Unknown Files LuaUI Section]. All LuaUI scripts are released there, so if you make good ones yourself, make sure to upload them.&lt;br /&gt;
&lt;br /&gt;
The scripts can come in any setup, so prepare to decompress them if they are compressed. They might have a whole directory structure, and they should have their own instructions on how to install them. Check which directory you need to extract them to. Most likely it is ~/.spring/LuaUI but it might be a directory inside this directory too for some script.&lt;br /&gt;
&lt;br /&gt;
Once you have copied the script into place, when you start spring next time, you can press F11 to enable/disable anything from your list of installed LuaUI scripts. If your new script is not there, you copied it wrong.&lt;br /&gt;
&lt;br /&gt;
== Lobby Client ==&lt;br /&gt;
&lt;br /&gt;
To setup online games, you need a lobby client. There are several options to choose from.&lt;br /&gt;
&lt;br /&gt;
You can also use lobby client to setup single player matches against the AI. TODO more information about setting up tasclient to play against AI.&lt;br /&gt;
&lt;br /&gt;
Recommended lobby client for linux is either SpringLobby or AFLobby. You can use them in windows and mac too.&lt;br /&gt;
&lt;br /&gt;
=== Omni ===&lt;br /&gt;
&lt;br /&gt;
This project has been abandoned, and you should not use it.&lt;br /&gt;
&lt;br /&gt;
=== UnityLobby ===&lt;br /&gt;
&lt;br /&gt;
UnityLobby has been abandoned since april 2007, and you should not use it.&lt;br /&gt;
&lt;br /&gt;
=== [http://springlobby.info SpringLobby] ===&lt;br /&gt;
&lt;br /&gt;
SpringLobby is for (at least) Windows, Linux and Mac. It&#039;s now in a usable state and has a feature set close to that of TASClient for windows. Try it out! Bug reports and feature requests are very much welcome.&lt;br /&gt;
&lt;br /&gt;
Visit http://springlobby.info for all things SpringLobby.&lt;br /&gt;
&lt;br /&gt;
=== AFLobby ===&lt;br /&gt;
&lt;br /&gt;
This project is very promising, and is usable for online multi player. Its the oldest lobby still actively maintained.&lt;br /&gt;
&lt;br /&gt;
Official webpage for the project is http://www.darkstars.co.uk which should always have the latest release for download.&lt;br /&gt;
&lt;br /&gt;
=== TASClient ===&lt;br /&gt;
&lt;br /&gt;
I used to recommend wine+TASClient solution before, but now you should try SpringLobby or AFLobby first, before you go this route.&lt;br /&gt;
&lt;br /&gt;
Certain newish version of wine fails with tasclient, TODO can&#039;t remember which one. It should be fixed in the very latest version of wine.&lt;br /&gt;
&lt;br /&gt;
This is a windows program, but it works just fine under wine in linux, and can be used together with native linux spring. I used it myself before moving to SpringLobby.&lt;br /&gt;
&lt;br /&gt;
The only two downsides in using this are that you have to use wine (which should not be a big problem) and your rank won&#039;t increase as long as you use it (also because of win-linux binary interaction).&lt;br /&gt;
&lt;br /&gt;
TODO there is a way to make it support rank increases too, using trepans cool proxy, add info.&lt;br /&gt;
&lt;br /&gt;
Download the installer of Spring for Windows, and run it in wine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1.exe&lt;br /&gt;
wine spring_0.76b1.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No configuration of wine should be needed, if your distribution is sane.&lt;br /&gt;
&lt;br /&gt;
Complete the install, and let it install to the default location, which is Program Files\Spring.&lt;br /&gt;
&lt;br /&gt;
Assuming you completed the earlier step of creating the data directories, now we need to link the windows and linux data together:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
WINESPRING=~/.wine/drive_c/Program\ Files/Spring&lt;br /&gt;
NATIVE=~/.spring&lt;br /&gt;
&lt;br /&gt;
touch &amp;quot;${WINESPRING}/script.txt&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${WINESPRING}/script.txt&amp;quot; &amp;quot;${NATIVE}/script.txt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/maps&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/maps&amp;quot; &amp;quot;${WINESPRING}/maps&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/mods&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/mods&amp;quot; &amp;quot;${WINESPRING}/mods&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/base&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/base&amp;quot; &amp;quot;${WINESPRING}/base&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/demos&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/demos&amp;quot; &amp;quot;${WINESPRING}/demos&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the windows-TASClient to be able to launch native linux spring, we need a wrapper exe in between them. Source code for wrapper exe is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;windows.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;tchar.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#define NATIVE_SPRING_LOCATION TEXT(&amp;quot;/usr/games/spring&amp;quot;)&lt;br /&gt;
#define SPRING_VERSION_REPLY &amp;quot;Spring 0.76b1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
int main (int argc, char **argv)&lt;br /&gt;
{&lt;br /&gt;
  if (argc &amp;gt; 1 &amp;amp;&amp;amp; !strcmp(argv[1], &amp;quot;/V&amp;quot;))&lt;br /&gt;
  {&lt;br /&gt;
     puts(SPRING_VERSION_REPLY);&lt;br /&gt;
     return 0;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  STARTUPINFO si;&lt;br /&gt;
  ZeroMemory( &amp;amp;si, sizeof(si) );&lt;br /&gt;
  si.cb = sizeof(si);&lt;br /&gt;
&lt;br /&gt;
  PROCESS_INFORMATION pi;&lt;br /&gt;
  ZeroMemory( &amp;amp;pi, sizeof(pi) );&lt;br /&gt;
&lt;br /&gt;
  // Start the child process.&lt;br /&gt;
  if (!CreateProcess(&lt;br /&gt;
    _tcsdup(NATIVE_SPRING_LOCATION), // No module name (use command line)&lt;br /&gt;
    GetCommandLine(),                // Command line&lt;br /&gt;
    NULL,                            // Process handle not inheritable&lt;br /&gt;
    NULL,                            // Thread handle not inheritable&lt;br /&gt;
    FALSE,                           // Set handle inheritance to FALSE&lt;br /&gt;
    0,                               // No creation flags&lt;br /&gt;
    NULL,                            // Use parent&#039;s environment block&lt;br /&gt;
    NULL,                            // Use parent&#039;s starting directory&lt;br /&gt;
    &amp;amp;si,                             // Pointer to STARTUPINFO structure&lt;br /&gt;
    &amp;amp;pi))                            // Pointer to PROCESS_INFORMATION structure&lt;br /&gt;
    {&lt;br /&gt;
      printf( &amp;quot;CreateProcess failed (%d).\n&amp;quot;, GetLastError() );&lt;br /&gt;
      return 1;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
  // Wait until child process exits. Wine actually does not know how to wait&lt;br /&gt;
  // for native linux process, so this will return instantly and your gametime&lt;br /&gt;
  // counter does not increase so you don&#039;t get any rank.&lt;br /&gt;
  WaitForSingleObject( pi.hProcess, INFINITE );&lt;br /&gt;
&lt;br /&gt;
  // Close process and thread handles.&lt;br /&gt;
  CloseHandle( pi.hProcess );&lt;br /&gt;
  CloseHandle( pi.hThread );&lt;br /&gt;
&lt;br /&gt;
  return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You might need to modify the define-lines in the beginning to match your location and version. Remember, the version reply must be exactly right, or your game just breaks totally in multiplayer or you can&#039;t even login to lobby server.&lt;br /&gt;
&lt;br /&gt;
Save this code to spring.cc for example, and then we need to install a windows-crosscompiler and compile a windows binary from it inside our linux box like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install mingw32&lt;br /&gt;
i586-mingw32msvc-g++ spring.cc -o ~/.wine/drive_c/Program\ Files/Spring/spring.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumed debian for installing the crosscompiler, but mingw32 is probably simple to install on other distributions as well.&lt;br /&gt;
&lt;br /&gt;
TODO should provide binary packages for this launcher, as all people don&#039;t have the possibility to set up cross compiler. I compiled it but I can&#039;t test it due to lack of Wine+TASClient setup. Here is the binary anyway: http://buildbot.no-ip.org/~tvo/spring/spring.exe&lt;br /&gt;
&lt;br /&gt;
Then you should make a script for launching TASClient. The script can be named tasclient for example, and just put it somewhere in your path and make it executable. The script code is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/env sh&lt;br /&gt;
cd ~/.wine/drive_c/Program\ Files/Spring&lt;br /&gt;
wine TASClient.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you should be able to type tasclient on the command line, and the lobby appears. &#039;&#039;&#039;This cd operation is necessary. If your working directory is not the same as TASClient.exe&#039;s location, it will just give access violations to you.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that every time when you have added new maps, the lobby client caches them and this will take some time, or a long time if you downloaded many maps since last time. Just wait patiently.&lt;br /&gt;
&lt;br /&gt;
Then you should register an account and login with it, and you should be ready to join an online multiplayer game from the list that appears.&lt;br /&gt;
&lt;br /&gt;
It&#039;s likely that you don&#039;t have the correct map or mod at this point, so just get them and join the game. You don&#039;t need to restart your lobby client after downloading the files.&lt;br /&gt;
&lt;br /&gt;
It&#039;s recommended that you spectate a couple of high rank games first, to get some idea of how the game should be played. Some hosts don&#039;t allow spectators, but most do.&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== Ingame ==&lt;br /&gt;
&lt;br /&gt;
=== LuaUI Crash Ingame ===&lt;br /&gt;
&lt;br /&gt;
LuaUI can crash during game, because some lua script you use has a bug. 0.75 should be resistant to this problem, but 0.74b3 is not. After crash, you won&#039;t see the bottom left tooltip box and top right resource bar anymore. Fear not, help is near:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/resbar 1&lt;br /&gt;
/tooltip 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These might not be necessary in 0.75 anymore at all.&lt;br /&gt;
&lt;br /&gt;
Also, you won&#039;t be able to change the build menu page with mouse anymore, but keys , and . do the trick.&lt;br /&gt;
&lt;br /&gt;
LuaUI can also be restarted after it crashed. Often this does the trick and it works fine the rest of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/luaui reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mouse is slow in fullscreen mode ===&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &#039;export SDL_MOUSE_RELATIVE=0&#039; &amp;gt;&amp;gt; ~/.bash_profile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
And log out and log in again.&lt;br /&gt;
&lt;br /&gt;
The mouse should now be as fast as in windowed mode.&lt;br /&gt;
&lt;br /&gt;
=== Rotating Buildings Ingame ===&lt;br /&gt;
&lt;br /&gt;
You can rotate a building before you give the build order, but the keys that do this don&#039;t work in linux by default for some users. Issue the following commands in the beginning of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/bind keycodex buildfacing inc&lt;br /&gt;
/bind keycodey buildfacing dec&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Keycodex and keycodey above are just placeholders. What you want to write depends on which key you want to use. To see what keycodes any keys have, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/keydebug yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then hit the keys you want to use, and spring prints the keycodes in the message buffer.&lt;br /&gt;
&lt;br /&gt;
TODO: add information on how to save the settings so that they work the next time you start spring.&lt;br /&gt;
&lt;br /&gt;
=== Map is White ===&lt;br /&gt;
&lt;br /&gt;
If the whole map is only shades of white and grey, there is a problem with your display driver. Maybe your gpu is very old and does not support some needed opengl feature. For example I had this problem with matrox g550 but not with some very old geforce.&lt;br /&gt;
&lt;br /&gt;
== Startup ==&lt;br /&gt;
&lt;br /&gt;
=== Missing Default Cursor ===&lt;br /&gt;
&lt;br /&gt;
This or any similar error of not being able to find a specific file are usually because the mod you are using needs ota content, download &amp;amp; install as explained [[SetupGuide#OTA_Content|earlier in this document]].&lt;br /&gt;
&lt;br /&gt;
=== sounds/button9.wav &amp;quot;cant find wav file&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Same problem as above.&lt;br /&gt;
&lt;br /&gt;
=== Couldnt find matching GLX visual ===&lt;br /&gt;
&lt;br /&gt;
Reduce anti aliasing.&lt;br /&gt;
&lt;br /&gt;
=== GL_ARB_texture_compression not found ===&lt;br /&gt;
&lt;br /&gt;
This can be an issue with your gpu drivers. The drivers you are using do not support a feature that is required to run spring. You might have better luck with the closed source official drivers of nvidia or amd cards. If your gpu itself is really old, this might not help.&lt;br /&gt;
&lt;br /&gt;
If you use the fglrx ati-graphics driver and you are getting this error there might be a chance that still spring work (I use this with ubuntu gusty).&lt;br /&gt;
At first we must check that fglrx is installed correctly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
OpenGL version string: 2.0.6747 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then lets check the glx-extention.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ glxinfo | grep direct&lt;br /&gt;
Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;.&lt;br /&gt;
direct rendering: No&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you get this message, notice that glxinfo releates to display &#039;:1&#039; and fglrxinfo to display &#039;:0&#039;!! Lets check the glx-extention on display :0 now.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 glxinfo | grep direct&lt;br /&gt;
direct rendering: Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This message mean that you can start spring by typing (in a terminal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 spring&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the TASclient with wine and the native linux spring. Start the whole TASclient-start-script by typing. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
DISPLAY=:0 TASCLIENT-start-script&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But Notice under circumstances is no windowmanager running on screen :0! This means there are NO windowframes at the TASClient window! You can&#039;t move it or close it by clicking the closebutton (unless you click at the close button on the terminal-window in witch you startet TAS). You can although close TAS with the keys ALT-F4&lt;br /&gt;
&lt;br /&gt;
=== OpenAL Segfault ===&lt;br /&gt;
&lt;br /&gt;
If spring crashes with this output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenAL: ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_EXT_MP3&lt;br /&gt;
AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format&lt;br /&gt;
AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel&lt;br /&gt;
Segmentation fault (core dumped)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look into this thread on the forums for a fix: http://spring.clan-sy.com/phpbb/viewtopic.php?f=20&amp;amp;t=12568&lt;br /&gt;
&lt;br /&gt;
Then bug nemo in #taspring to finish this troubleshooting entry. He knows how to fix it.&lt;br /&gt;
&lt;br /&gt;
This is mod-related, ie. it only happens on some mods. Please list here the mod versions that give this error for you.&lt;br /&gt;
&lt;br /&gt;
- Star Wars mod, unknown version, by user report&lt;br /&gt;
&lt;br /&gt;
The problematic mod contains a sound file that crashes openal. You can try to unzip the mod file that crashed for you, and play each sound file. Please report any sound files that fail to play right, just list them here.&lt;br /&gt;
&lt;br /&gt;
- unknown file&lt;br /&gt;
&lt;br /&gt;
== Compiletime ==&lt;br /&gt;
&lt;br /&gt;
=== make_gamedata_arch.sh not found ===&lt;br /&gt;
&lt;br /&gt;
The .zip you downloaded is for windows, you must download a .bz2, instructions [[SetupGuide#Downloading_A_Tarball|earlier in this document]].&lt;br /&gt;
&lt;br /&gt;
=== invalid use of ILvoid ===&lt;br /&gt;
&lt;br /&gt;
During compiling, if you get a lot of the following errors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/include/IL/il.h:497: error: &#039;&amp;lt;anonymous&amp;gt;&#039; has incomplete type &lt;br /&gt;
/usr/include/IL/il.h:497: error: invalid use of &#039;ILvoid&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This happens because the version of libdevil-dev you have installed is not compatible with gcc version 4.2 and newer.&lt;br /&gt;
&lt;br /&gt;
You should upgrade your libdevil-dev to fix this issue. However, in some distributions (at least gentoo), the fixed package has the SAME version number as the older unfixed package, so you might actually need to remove your current libdevil-dev package completely and reinstall it.&lt;br /&gt;
&lt;br /&gt;
TODO: add critical version numbers of libdevil.&lt;br /&gt;
&lt;br /&gt;
== Network Setup ==&lt;br /&gt;
&lt;br /&gt;
Usually you don&#039;t need to do any network setup whatsoever, because the lobbies take care of nat traversal with firewall hole punching, but if you need to know the topology, it goes like this:&lt;br /&gt;
&lt;br /&gt;
Host needs to enable incoming udp to port 8452, and outgoing replies to those.&lt;br /&gt;
Non-host players need to enable outgoing udp, and incoming replies to those.&lt;br /&gt;
So basically only non-host players initiate &amp;quot;connections&amp;quot;, and only the server listens on a well-known port.&lt;br /&gt;
&lt;br /&gt;
== If You Still Have Problems ==&lt;br /&gt;
&lt;br /&gt;
Join to #taspring on Freenode or #sy on QuakeNet and try your luck.&lt;br /&gt;
&lt;br /&gt;
However, generic linux problems not really related to installing this should be asked elsewhere.&lt;br /&gt;
&lt;br /&gt;
Prepare to list your distribution, which installation method you used, and what exactly is the error. Don&#039;t ask if people are around or not, just go straight to business and tell all details, for maximizing your chances of getting help.&lt;br /&gt;
&lt;br /&gt;
== IRC ==&lt;br /&gt;
&lt;br /&gt;
# #taspring @ FreeNode&lt;br /&gt;
# #sy @ QuakeNet&lt;br /&gt;
&lt;br /&gt;
== Asking For Help ==&lt;br /&gt;
&lt;br /&gt;
Ok so you need human help. This is how &#039;&#039;&#039;NOT&#039;&#039;&#039; to do it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
15:54 -!- **** [n=****@*] has joined #taspring&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; Hi, i have a problem with compiling spring on debian&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; can anyone help me?&lt;br /&gt;
15:57 -!- **** [n=****@*] has quit [Client Quit]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Don&#039;t ask to ask, instead go straight to business by stating the exact problem you have, and giving all necessary information. What you were trying to achieve, how did you try to do it, what happened and what did you expect to happen.&lt;br /&gt;
&lt;br /&gt;
Then WAIT for someone to notice you.&lt;br /&gt;
&lt;br /&gt;
== Configure Options ==&lt;br /&gt;
&lt;br /&gt;
If you want to see the configure options, because of a bug in the buildsystem you have to have spring configured first. But if configure fails, you are out of luck. So I have listed the options here:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
$ scons --help&lt;br /&gt;
scons: Reading SConscript files ...&lt;br /&gt;
make: Nothing to be done for `all&#039;.&lt;br /&gt;
Succes building streflop!&lt;br /&gt;
Updating bitmaps.sdz&lt;br /&gt;
Updating springcontent.sdz&lt;br /&gt;
scons: done reading SConscript files.&lt;br /&gt;
&lt;br /&gt;
platform: Set to linux, freebsd or windows&lt;br /&gt;
    default: None&lt;br /&gt;
    actual: linux&lt;br /&gt;
&lt;br /&gt;
debug: Set to yes to produce a binary with debug information&lt;br /&gt;
    default: 0&lt;br /&gt;
    actual: 3&lt;br /&gt;
&lt;br /&gt;
debugdefines: Set to no to suppress DEBUG and _DEBUG preprocessor #defines \&lt;br /&gt;
 (use to add symbols to release build)&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
syncdebug: Set to yes to enable the sync debugger&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
synccheck: Set to yes to enable sync checker &amp;amp; resyncer&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
optimize: Enable processor optimizations during compilation&lt;br /&gt;
    default: 1&lt;br /&gt;
    actual: 2&lt;br /&gt;
&lt;br /&gt;
profile: Set to yes to produce a binary with profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
profile_generate: Set to yes to compile with -fprofile-generate \&lt;br /&gt;
 to generate profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
profile_use: Set to yes to compile with -fprofile-use to use \&lt;br /&gt;
profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
cpppath: Set path to extra header files&lt;br /&gt;
    default: []&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
libpath: Set path to extra libraries&lt;br /&gt;
    default: []&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
fpmath: Set to 387 or SSE on i386 and AMD64 architectures&lt;br /&gt;
    default: 387&lt;br /&gt;
    actual: 387&lt;br /&gt;
&lt;br /&gt;
prefix: Install prefix used at runtime&lt;br /&gt;
    default: /usr/local&lt;br /&gt;
    actual: /usr/local&lt;br /&gt;
&lt;br /&gt;
installprefix: Install prefix used for installion&lt;br /&gt;
    default: /usr/local&lt;br /&gt;
    actual: /usr/local&lt;br /&gt;
&lt;br /&gt;
datadir: Data directory (relative to prefix)&lt;br /&gt;
    default: share/games/spring&lt;br /&gt;
    actual: share/games/spring&lt;br /&gt;
&lt;br /&gt;
bindir: Directory for executables (rel. to prefix)&lt;br /&gt;
    default: games&lt;br /&gt;
    actual: games&lt;br /&gt;
&lt;br /&gt;
libdir: Directory for AI plugin modules (rel. to prefix)&lt;br /&gt;
    default: lib/spring&lt;br /&gt;
    actual: lib/spring&lt;br /&gt;
&lt;br /&gt;
strip: Discard symbols from the executable (only when neither \&lt;br /&gt;
debugging nor profiling)&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
disable_avi: Set to no to turn on avi support&lt;br /&gt;
    default: False on windows, True otherwise&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
use_tcmalloc: Use tcmalloc from goog-perftools for memory allocation&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
use_mmgr: Use memory manager&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
dc_allowed: Specifies whether FPS mode (Direct Control) is allowed in game&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
cachedir: Cache directory (see scons manual)&lt;br /&gt;
    default: None&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
Use scons -H for help about command-line options.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;This section contains just some old crap I didn&#039;t write, and shouldn&#039;t be necessary.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* If spring hangs/crashes while in full screen mode, you can press ctrl+alt+backspace to restart X, so no need for a reboot.&lt;br /&gt;
&lt;br /&gt;
* Spring uses OpenAL for sound, Config your sound output i.e esd / arts / oss / alsa by editing /etc/openalrc or ~/.openalrc, example: (&amp;quot;&#039;(&amp;quot; is not a typo)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;(define devices &#039;(alsa))&amp;lt;br&amp;gt;(define speaker-num 2)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;(define alsa-out-device &amp;quot;hw:0,0&amp;quot;)&amp;lt;br&amp;gt;(define alsa-in-device &amp;quot;hw:0,0&amp;quot;)&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Adventurous people with an emu10k1 based card (sblive) can try the accelerated openal version. http://www.lost.org.uk/openal.html , don&#039;t submit audiobugs if you do.&lt;br /&gt;
&lt;br /&gt;
* If you really can&#039;t figure out how to get spring compiled, or you think there&#039;s a bug in the code or the buildsystem...&lt;br /&gt;
:* Just poke any developer on IRC:&lt;br /&gt;
::* channel &amp;lt;code&amp;gt;#taspring&amp;lt;/code&amp;gt; on [http://freenode.net/ FreeNode]&lt;br /&gt;
::* or channel &amp;lt;code&amp;gt;#sy&amp;lt;/code&amp;gt; on [http://www.quakenet.org/ QuakeNet]&lt;br /&gt;
:* Post it on [http://taspring.clan-sy.com/phpbb/ the forum]&lt;br /&gt;
:* or file a bug in our [http://taspring.clan-sy.com/mantis/ bug tracking system].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; [[Main_Page|&amp;lt;- Back to Main page]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Port]][[Category:Playing]]&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16671</id>
		<title>SetupGuide</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16671"/>
		<updated>2008-02-12T03:21:49Z</updated>

		<summary type="html">&lt;p&gt;Sombriks: /* Packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;Fully updated for 0.76b1&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
= Page Maintenance =&lt;br /&gt;
&lt;br /&gt;
When I first installed spring on linux, it was damn hard. I almost gave up a couple times, but finally got it to work, after lots of time wasted.&lt;br /&gt;
&lt;br /&gt;
This setup guide was horribly outdated back then. Since I liked the game, I gave sth back, by updating this page, and some patches for engine. It wasn&#039;t very hard to update this page, it just took some time and effort. Now it&#039;s basically in a state, where almost every question on the irc channel regarding linux setup is already answered here, if people just bother to check.&lt;br /&gt;
&lt;br /&gt;
This page doesn&#039;t probably require so much modification in the future, assuming no major changes to spring installation procedure. But I am not going to do that, I have no time anymore. This is probably the only up to date page on the whole wiki, and it might be that it again becomes outdated. So I challenge everyone who ever got helped by this page to keep it up to date in the future.  &lt;br /&gt;
&lt;br /&gt;
It&#039;s a wiki so everyone can edit it, so when you see something that is wrong or missing, just fix it, and that means you! Making an account is trivial.&lt;br /&gt;
&lt;br /&gt;
- semi&lt;br /&gt;
&lt;br /&gt;
= Install =&lt;br /&gt;
&lt;br /&gt;
== Version ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;The guide is fully up to date with release 0.76b1.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To play online, you must have the same version as everyone else in the game.&lt;br /&gt;
&lt;br /&gt;
Most people should get the current release, version 0.76b1. There are usually&lt;br /&gt;
between 100 and 200 people online in the lobby, and if you want to play with&lt;br /&gt;
them, you need this.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Do not use older than current release version&#039;&#039;&#039;, unless you really know what you are doing.&lt;br /&gt;
&lt;br /&gt;
If you want to see the bleeding edge, you can checkout svn head of spring, but&lt;br /&gt;
it can not be used to play with people who have the release, so you are&lt;br /&gt;
practically limited to playing against nemo. This is mainly interesting for&lt;br /&gt;
people who want to contribute to the project, for testing, finding bugs and&lt;br /&gt;
fixing them, and implementing new features. Head can be seriously broken from&lt;br /&gt;
time to time, or not even compile.&lt;br /&gt;
&lt;br /&gt;
== Packages ==&lt;br /&gt;
&lt;br /&gt;
If there is a package for your distributions preferred package manager, it is&lt;br /&gt;
recommended to use it instead of compiling the program yourself from sources.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/debian-small.png Debian Etch ===&lt;br /&gt;
&lt;br /&gt;
This is not updated for 0.76b1. Somebody check if the install succeeds for the new release this way?&lt;br /&gt;
&lt;br /&gt;
This is for version 0.75b2.&lt;br /&gt;
&lt;br /&gt;
We need to use Yokozar&#039;s Ubuntu package, so we need some tricks.&lt;br /&gt;
&lt;br /&gt;
The --build step will take about 15 minutes. Hopefully we have precompiled binaries for etch soon too.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://buildbot.no-ip.org/~yokozar/apt/387EE263.gpg -O- | \&lt;br /&gt;
    sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
wget http://buildbot.no-ip.org/~yokozar/apt/sources.list.d/gutsy.list \&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get build-dep spring -y&lt;br /&gt;
sudo apt-get --build source spring -y&lt;br /&gt;
sudo dpkg -i spring_0.75~b2-1_i386.deb spring-data_0.75~b2-1_all.deb&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you want to install SpringLobby also, follow the instructions in http://trac.springlobby.info/wiki/Install#Debian&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/games/spring &amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/debian-small.png Debian Unstable ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1&lt;br /&gt;
&lt;br /&gt;
Ubuntu instructions work for debian unstable as is at the moment.&lt;br /&gt;
Except two extra steps:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://apt.wxwidgets.org/key.asc -O- | sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;deb http://apt.wxwidgets.org/ etch-wx main&amp;quot; &amp;gt;&amp;gt; /etc/apt/sources.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
The rest is right below.&lt;br /&gt;
&lt;br /&gt;
=== http://www.winehq.org/site/images/distro/slackware.png Slackware 12 ===&lt;br /&gt;
&lt;br /&gt;
Working for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is all dependencies in precompiled tgz&#039;s:&lt;br /&gt;
&lt;br /&gt;
glew (http://www.linuxpackages.net/pkg_details.php?id=12051)&amp;lt;br/&amp;gt;&lt;br /&gt;
DeviL (http://www.linuxpackages.net/pkg_details.php?id=10571)&amp;lt;br/&amp;gt;&lt;br /&gt;
boost (http://www.linuxpackages.net/pkg_details.php?id=12046)&amp;lt;br/&amp;gt;&lt;br /&gt;
icu (http://www.linuxpackages.net/pkg_details.php?id=12034)&amp;lt;br/&amp;gt;&lt;br /&gt;
openal (http://www.linuxpackages.net/pkg_details.php?id=11993)&amp;lt;br/&amp;gt;&lt;br /&gt;
wxWidgets (http://www.linuxpackages.net/pkg_details.php?id=12072)&amp;lt;br/&amp;gt;&lt;br /&gt;
springlobby (http://www.linuxpackages.net/pkg_details.php?id=12144)&amp;lt;br/&amp;gt;&lt;br /&gt;
spring - thanks to leo moisio - (http://www.springlobby.info/slackware/spring-0.76b1-i486-1leo.tgz)&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
assuming that all .tgz are saved in the same direcory, open a console and cd inside that directory; later:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
su -C &amp;quot;installpkg *.tgz&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
when asked for the root password, give it.&lt;br /&gt;
&lt;br /&gt;
a menu entre for spring and another to springlobby will apear in KDE, XFCE and GNOME.&lt;br /&gt;
&lt;br /&gt;
also, spring and springlobby executables will be accessible via shell; put it on you fluxbox menu, ;D &lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/ubuntu-small.png Ubuntu ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
We now have a maintained and up to date APT repository for Ubuntu 7.10 (Gutsy)&lt;br /&gt;
&lt;br /&gt;
If you have some older version of ubuntu, you can easily upgrade to Gutsy with these instructions: http://www.ubuntu.com/getubuntu/upgrading&lt;br /&gt;
&lt;br /&gt;
Do the following:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;These lines are long and they are split to match the formatting of this page, you can copy-paste this to your terminal as is, as long as you copy the entire wrapped command and not just one line.&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://buildbot.no-ip.org/~yokozar/apt/387EE263.gpg -O- | \&lt;br /&gt;
    sudo apt-key add -&lt;br /&gt;
&lt;br /&gt;
sudo wget http://buildbot.no-ip.org/~yokozar/apt/sources.list.d/gutsy.list \&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; If you get a &amp;quot;sudo&amp;quot; error (1st command) or an &amp;quot;unsupported scheme&amp;quot; error (2nd command) with the above code, then try this code instead:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -q http://buildbot.no-ip.org/~yokozar/apt/387EE263.gpg -O- | sudo apt-key add -&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo wget http://buildbot.no-ip.org/~yokozar/apt/sources.list.d/gutsy.list&lt;br /&gt;
    -O /etc/apt/sources.list.d/springproject.list&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install spring spring-lobby-springlobby spring-maps-default -y&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Also, if you want to download a few large maps you can do following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo apt-get install spring-maps-hunterw spring-maps-deltasiege spring-maps-smallsupreme spring-maps-teamplay&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If you own the original Total Annihilation and want to use mods that require the original TA content, then do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;sudo apt-get install spring-data-nonfree&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For configuring the lobbies, you can note that the package installs the Spring executable at &amp;lt;code&amp;gt;/usr/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== http://www.springlobby.info/images/gentoo-small.png Gentoo ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OVERLAY CHANGED 2008-01-21. SpringLobby and Spring overlays are merged, so you need to add this overlay, if you haven&#039;t already, so you can upgrade again. If you are new user, you can ignore this.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
An overlay to use with layman is provided. If gentoo overlays and/or layman are new to you, [http://overlays.gentoo.org/ read about them], as they are an essential part of gentoo.&lt;br /&gt;
&lt;br /&gt;
This example assumes you never used layman before. If it&#039;s not your first time, you hopefully know what to do.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge layman&lt;br /&gt;
layman -f -a springlobby \&lt;br /&gt;
     -o http://svn.springlobby.info/trunk/gentoo/overlays.xml&lt;br /&gt;
echo &amp;quot;source /usr/portage/local/layman/make.conf&amp;quot; &amp;gt;&amp;gt; /etc/make.conf&lt;br /&gt;
echo &amp;quot;games-strategy/spring ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
echo &amp;quot;games-util/springlobby ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&lt;br /&gt;
emerge spring&lt;br /&gt;
emerge springlobby&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Layman makes upgrading really easy too:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
layman --sync ALL&lt;br /&gt;
emerge spring&lt;br /&gt;
emerge springlobby&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/games/bin/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== http://upload.wikimedia.org/wikipedia/en/thumb/9/95/Mandriva_logo.png/96px-Mandriva_logo.png  Mandriva ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
Mandriva has Spring in the official Contrib  repositories, follow the instructions at [http://easyurpmi.zarb.org Easy Urpmi] to add contrib mirrors&lt;br /&gt;
&lt;br /&gt;
after being done, to install enter the following command in a console:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;su root -C &amp;quot;urpmi spring&amp;quot;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and select yes to the confirmation question&lt;br /&gt;
&lt;br /&gt;
For configuring the lobbies, you can note that the package installs the Spring executable at /usr/games/spring and read-only data in /usr/share/games/spring.&lt;br /&gt;
&lt;br /&gt;
=== Binary for Other Linux Systems ===&lt;br /&gt;
&lt;br /&gt;
This is for version 0.76b1.&lt;br /&gt;
&lt;br /&gt;
There is an unofficial installer if none of the above work for you:&lt;br /&gt;
http://spring.clan-sy.com/phpbb/viewtopic.php?f=20&amp;amp;t=12802&lt;br /&gt;
&lt;br /&gt;
== Build From Source ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;You might encounter sync errors in online play if you are not using the exact same version of the compiler and same compiler settings as used for prebuilt packages!&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For 0.76b1 these are: TODO add them here.&lt;br /&gt;
&lt;br /&gt;
If there is no package tailored for your distribution, you have to install from sources manually. Doing this for distributions where packages are available is not recommended.&lt;br /&gt;
&lt;br /&gt;
=== Get Source ===&lt;br /&gt;
&lt;br /&gt;
You can either download the source as a 3.9MB tarball (recommended; v. 0.76b1) or get it from the subversion repository. Either way, the result is the same.&lt;br /&gt;
&lt;br /&gt;
==== Tarball ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /usr/local/src # or /var/tmp, or whatever&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1_src.tar.bz2&lt;br /&gt;
tar xjf spring_0.76b1_src.tar.bz2&lt;br /&gt;
cd spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE: The .zip release is for windows only. Linux users have to get .bz2 like shown above.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==== Subversion ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install subversion # if you are not on debian, figure it out&lt;br /&gt;
svn co https://spring.clan-sy.com/svn/spring/tags/spring_0.76b1 \&lt;br /&gt;
/usr/local/src/spring_0.76b1&lt;br /&gt;
cd /usr/local/src/spring_0.76b1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Dependencies ===&lt;br /&gt;
&lt;br /&gt;
For Etch (debian 4.0 stable) and Sid (debian unstable), I&#039;ve confirmed the&lt;br /&gt;
following to be the minimal set that is necessary to get. I have not tested&lt;br /&gt;
with any version of Ubuntu, but the line is probably almost identical if not&lt;br /&gt;
the same. Quilted tested with ubuntu fiesty fawn on july 28 2007 WORKS. Note&lt;br /&gt;
that Spring 0.75b2 depends on the boost libraries version 1.34.* and won&#039;t&lt;br /&gt;
work on lower versions. (updated libboost-serialization-dev, and libvorbis-dev dependencies for 0.76b1)&lt;br /&gt;
&lt;br /&gt;
Also, on 64-bit be sure to build against devIl 1.6.8-rc2 or higher, 1.6.7 has a bug in the PNG loading code that causes issues.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install scons build-essential zlib1g-dev libfreetype6-dev&lt;br /&gt;
aptitude install libsdl1.2-dev libopenal-dev libglew-dev libboost-dev&lt;br /&gt;
aptitude install libboost-thread-dev libboost-regex-dev libdevil-dev&lt;br /&gt;
aptitude install libboost-serialization-dev python2.5-dev zip&lt;br /&gt;
aptitude install sun-java6-jdk libvorbis-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This has been tested to work with a clean install of gentoo 2007.0:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
emerge dev-util/scons \&amp;gt;=media-libs/freetype-2.0.0 \&amp;gt;=media-libs/libsdl-1.2.0&lt;br /&gt;
emerge media-libs/openal =dev-lang/python-2.4\* media-libs/glew dev-libs/boost&lt;br /&gt;
emerge media-libs/devil app-arch/zip media-libs/libogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Users of other distributions should be able to figure out the correct package&lt;br /&gt;
names from this. The scons configure will whine if you forget something, but it&lt;br /&gt;
does not check if you remembered to install zip, even though you still need it.&lt;br /&gt;
&lt;br /&gt;
=== Build And Install ===&lt;br /&gt;
&lt;br /&gt;
The build will spew out warnings like the following, which you can safely ignore:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
warning: division by zero&lt;br /&gt;
warning: &#039;q&#039; may be used uninitialized in this function&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Configure and build:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons configure&lt;br /&gt;
scons&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Install:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
scons install&lt;br /&gt;
mkdir -p /etc/spring&lt;br /&gt;
echo &#039;$HOME/.spring&#039; &amp;gt; /etc/spring/datadir&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Your paths are: Spring executable in &amp;lt;code&amp;gt;/usr/local/games/spring&amp;lt;/code&amp;gt; and&lt;br /&gt;
read-only data in &amp;lt;code&amp;gt;/usr/local/share/games/spring&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Network ==&lt;br /&gt;
&lt;br /&gt;
If you have a public ip and no firewall, then you don&#039;t need to do anything.&lt;br /&gt;
&lt;br /&gt;
If you don&#039;t want to host any games, just join them, you shouldn&#039;t need to do anything.&lt;br /&gt;
&lt;br /&gt;
If you have a firewall, to be able to host, you must enable incoming udp to port 8452. If you are behind a NAT, to be able to host you must either use nat traversal / hole punching feature in your lobby client, OR port forward that port from your public ip to your gaming machine.&lt;br /&gt;
&lt;br /&gt;
= Finalizing installation =&lt;br /&gt;
&lt;br /&gt;
Now all the things you needed to run as root have been done. Some stuff needs to be done by the user who is going to play spring.&lt;br /&gt;
&lt;br /&gt;
I&#039;m assuming bash here, but you can use anything you like to do it of course.&lt;br /&gt;
&lt;br /&gt;
== Data Directories ==&lt;br /&gt;
&lt;br /&gt;
Do this to create your per-user data directories. You will be downloading maps and mods etc to these dirs later.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p ~/.spring/{base,maps,mods}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the above did not work for you, then you can try:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir ~/.spring ~/.spring/base ~/.spring/maps ~/.spring/mods&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Maps ==&lt;br /&gt;
&lt;br /&gt;
You need at least one map to succesfully run spring.&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.unknown-files.net/spring/category/13/Maps/ Unknown Files, Map Section] and download at least one map. Save it under ~/.spring/maps/ without unpacking the file in any way.&lt;br /&gt;
&lt;br /&gt;
Hint: If you know the map name you want, there is a Quick Search in the top right corner of the page. Just write a part of the name, like one word, and you&#039;ll easily find what you were looking for.&lt;br /&gt;
&lt;br /&gt;
== Mods ==&lt;br /&gt;
&lt;br /&gt;
You need at least one mod to successfully run spring.&lt;br /&gt;
&lt;br /&gt;
Go to [http://www.unknown-files.net/spring/category/14/Mods/ Unknown Files, Mod Section] and download at least one mod. Save it under ~/.spring/mods/ without unpacking the file in any way.&lt;br /&gt;
&lt;br /&gt;
Hint: If you know the mod name you want, there is a Quick Search in the top right corner of the page. Just write a part of the name, like one word, and you&#039;ll easily find what you were looking for.&lt;br /&gt;
&lt;br /&gt;
If you want to view unit stats of mods, [http://modinfo.unknown-files.net/modit/modit.php this] is the site for you.&lt;br /&gt;
&lt;br /&gt;
== OTA Content ==&lt;br /&gt;
&lt;br /&gt;
If you want to play mods based on Total Annihilation, for example XTA, AA, BA, then you have to do the following:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://ipxserver.dyndns.org/games/spring/mods/xta/base-ota-content.zip&lt;br /&gt;
unzip -d ~/.spring/base base-ota-content.zip&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that you need to own a copy of Total Annihilation, to download this file legally.&lt;br /&gt;
&lt;br /&gt;
Mods that do not require this file are at least NanoBlobs and Kernel Panic, TODO list other mods that don&#039;t need it.&lt;br /&gt;
&lt;br /&gt;
== Settings == &lt;br /&gt;
&lt;br /&gt;
Defaults should be usable, so you can ignore this until you want to maximize your eye candy or fps :)&lt;br /&gt;
&lt;br /&gt;
When you run spring the first time, it creates ~/.springrc which contains all the settings. It is a simple text file with name=value lines, most of which are pretty obvious and can be edited by hand.&lt;br /&gt;
&lt;br /&gt;
If you want a tool for editing the file, you can use [http://trac.springlobby.info/wiki/SpringSettings SpringSettings] ([http://springlobby.info SpringLobby] has this integrated).&lt;br /&gt;
&lt;br /&gt;
=== Dual Head ===&lt;br /&gt;
&lt;br /&gt;
Automatic: if you are using [http://trac.springlobby.info/wiki/SpringSettings SpringSettings] you can select a dual screen resolution in simple mode and the rest is done automatically. &lt;br /&gt;
&lt;br /&gt;
Manual: to make Dual Monitors work add/change these settings in your .springrc file.            &lt;br /&gt;
&amp;quot;DualScreenMiniMapOnLeft=1,&lt;br /&gt;
DualScreenMode=1,&lt;br /&gt;
XResolution=2560,&lt;br /&gt;
YResolution=1024&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Make sure to use your own resolution for the X,Y resolutions.  For example: you have two monitors configured for 1280x1024, the X,Y is 2560x1024.&lt;br /&gt;
&lt;br /&gt;
Save then restart Spring.&lt;br /&gt;
&lt;br /&gt;
== LuaUI ==&lt;br /&gt;
&lt;br /&gt;
Spring UI is scriptable with Lua. This is called LuaUI, and it is not enabled per default.&lt;br /&gt;
&lt;br /&gt;
Replace LuaUI=0 with LuaUI=1 in your ~/.springrc to use LuaUI. &lt;br /&gt;
&lt;br /&gt;
To install some LuaUI scripts, start by copying LuaUI folder from you read-only data directory to your read-write data directory.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
rm -r ~/.spring/LuaUI&lt;br /&gt;
cp -r /usr/share/games/spring/LuaUI ~/.spring/LuaUI&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then go find the LuaUI scripts you need from [http://spring.unknown-files.net/category/19/Lua_Scripts/ Unknown Files LuaUI Section]. All LuaUI scripts are released there, so if you make good ones yourself, make sure to upload them.&lt;br /&gt;
&lt;br /&gt;
The scripts can come in any setup, so prepare to decompress them if they are compressed. They might have a whole directory structure, and they should have their own instructions on how to install them. Check which directory you need to extract them to. Most likely it is ~/.spring/LuaUI but it might be a directory inside this directory too for some script.&lt;br /&gt;
&lt;br /&gt;
Once you have copied the script into place, when you start spring next time, you can press F11 to enable/disable anything from your list of installed LuaUI scripts. If your new script is not there, you copied it wrong.&lt;br /&gt;
&lt;br /&gt;
== Lobby Client ==&lt;br /&gt;
&lt;br /&gt;
To setup online games, you need a lobby client. There are several options to choose from.&lt;br /&gt;
&lt;br /&gt;
You can also use lobby client to setup single player matches against the AI. TODO more information about setting up tasclient to play against AI.&lt;br /&gt;
&lt;br /&gt;
Recommended lobby client for linux is either SpringLobby or AFLobby. You can use them in windows and mac too.&lt;br /&gt;
&lt;br /&gt;
=== Omni ===&lt;br /&gt;
&lt;br /&gt;
This project has been abandoned, and you should not use it.&lt;br /&gt;
&lt;br /&gt;
=== UnityLobby ===&lt;br /&gt;
&lt;br /&gt;
UnityLobby has been abandoned since april 2007, and you should not use it.&lt;br /&gt;
&lt;br /&gt;
=== [http://springlobby.info SpringLobby] ===&lt;br /&gt;
&lt;br /&gt;
SpringLobby is for (at least) Windows, Linux and Mac. It&#039;s now in a usable state and has a feature set close to that of TASClient for windows. Try it out! Bug reports and feature requests are very much welcome.&lt;br /&gt;
&lt;br /&gt;
Visit http://springlobby.info for all things SpringLobby.&lt;br /&gt;
&lt;br /&gt;
=== AFLobby ===&lt;br /&gt;
&lt;br /&gt;
This project is very promising, and is usable for online multi player. Its the oldest lobby still actively maintained.&lt;br /&gt;
&lt;br /&gt;
Official webpage for the project is http://www.darkstars.co.uk which should always have the latest release for download.&lt;br /&gt;
&lt;br /&gt;
=== TASClient ===&lt;br /&gt;
&lt;br /&gt;
I used to recommend wine+TASClient solution before, but now you should try SpringLobby or AFLobby first, before you go this route.&lt;br /&gt;
&lt;br /&gt;
Certain newish version of wine fails with tasclient, TODO can&#039;t remember which one. It should be fixed in the very latest version of wine.&lt;br /&gt;
&lt;br /&gt;
This is a windows program, but it works just fine under wine in linux, and can be used together with native linux spring. I used it myself before moving to SpringLobby.&lt;br /&gt;
&lt;br /&gt;
The only two downsides in using this are that you have to use wine (which should not be a big problem) and your rank won&#039;t increase as long as you use it (also because of win-linux binary interaction).&lt;br /&gt;
&lt;br /&gt;
TODO there is a way to make it support rank increases too, using trepans cool proxy, add info.&lt;br /&gt;
&lt;br /&gt;
Download the installer of Spring for Windows, and run it in wine:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
wget http://spring.clan-sy.com/dl/spring_0.76b1.exe&lt;br /&gt;
wine spring_0.76b1.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
No configuration of wine should be needed, if your distribution is sane.&lt;br /&gt;
&lt;br /&gt;
Complete the install, and let it install to the default location, which is Program Files\Spring.&lt;br /&gt;
&lt;br /&gt;
Assuming you completed the earlier step of creating the data directories, now we need to link the windows and linux data together:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
WINESPRING=~/.wine/drive_c/Program\ Files/Spring&lt;br /&gt;
NATIVE=~/.spring&lt;br /&gt;
&lt;br /&gt;
touch &amp;quot;${WINESPRING}/script.txt&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${WINESPRING}/script.txt&amp;quot; &amp;quot;${NATIVE}/script.txt&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/maps&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/maps&amp;quot; &amp;quot;${WINESPRING}/maps&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/mods&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/mods&amp;quot; &amp;quot;${WINESPRING}/mods&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/base&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/base&amp;quot; &amp;quot;${WINESPRING}/base&amp;quot;&lt;br /&gt;
&lt;br /&gt;
rm -r &amp;quot;${WINESPRING}/demos&amp;quot;&lt;br /&gt;
ln -s &amp;quot;${NATIVE}/demos&amp;quot; &amp;quot;${WINESPRING}/demos&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the windows-TASClient to be able to launch native linux spring, we need a wrapper exe in between them. Source code for wrapper exe is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#include &amp;lt;windows.h&amp;gt;&lt;br /&gt;
#include &amp;lt;stdio.h&amp;gt;&lt;br /&gt;
#include &amp;lt;tchar.h&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#define NATIVE_SPRING_LOCATION TEXT(&amp;quot;/usr/games/spring&amp;quot;)&lt;br /&gt;
#define SPRING_VERSION_REPLY &amp;quot;Spring 0.76b1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
int main (int argc, char **argv)&lt;br /&gt;
{&lt;br /&gt;
  if (argc &amp;gt; 1 &amp;amp;&amp;amp; !strcmp(argv[1], &amp;quot;/V&amp;quot;))&lt;br /&gt;
  {&lt;br /&gt;
     puts(SPRING_VERSION_REPLY);&lt;br /&gt;
     return 0;&lt;br /&gt;
  }&lt;br /&gt;
&lt;br /&gt;
  STARTUPINFO si;&lt;br /&gt;
  ZeroMemory( &amp;amp;si, sizeof(si) );&lt;br /&gt;
  si.cb = sizeof(si);&lt;br /&gt;
&lt;br /&gt;
  PROCESS_INFORMATION pi;&lt;br /&gt;
  ZeroMemory( &amp;amp;pi, sizeof(pi) );&lt;br /&gt;
&lt;br /&gt;
  // Start the child process.&lt;br /&gt;
  if (!CreateProcess(&lt;br /&gt;
    _tcsdup(NATIVE_SPRING_LOCATION), // No module name (use command line)&lt;br /&gt;
    GetCommandLine(),                // Command line&lt;br /&gt;
    NULL,                            // Process handle not inheritable&lt;br /&gt;
    NULL,                            // Thread handle not inheritable&lt;br /&gt;
    FALSE,                           // Set handle inheritance to FALSE&lt;br /&gt;
    0,                               // No creation flags&lt;br /&gt;
    NULL,                            // Use parent&#039;s environment block&lt;br /&gt;
    NULL,                            // Use parent&#039;s starting directory&lt;br /&gt;
    &amp;amp;si,                             // Pointer to STARTUPINFO structure&lt;br /&gt;
    &amp;amp;pi))                            // Pointer to PROCESS_INFORMATION structure&lt;br /&gt;
    {&lt;br /&gt;
      printf( &amp;quot;CreateProcess failed (%d).\n&amp;quot;, GetLastError() );&lt;br /&gt;
      return 1;&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
  // Wait until child process exits. Wine actually does not know how to wait&lt;br /&gt;
  // for native linux process, so this will return instantly and your gametime&lt;br /&gt;
  // counter does not increase so you don&#039;t get any rank.&lt;br /&gt;
  WaitForSingleObject( pi.hProcess, INFINITE );&lt;br /&gt;
&lt;br /&gt;
  // Close process and thread handles.&lt;br /&gt;
  CloseHandle( pi.hProcess );&lt;br /&gt;
  CloseHandle( pi.hThread );&lt;br /&gt;
&lt;br /&gt;
  return 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You might need to modify the define-lines in the beginning to match your location and version. Remember, the version reply must be exactly right, or your game just breaks totally in multiplayer or you can&#039;t even login to lobby server.&lt;br /&gt;
&lt;br /&gt;
Save this code to spring.cc for example, and then we need to install a windows-crosscompiler and compile a windows binary from it inside our linux box like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
aptitude install mingw32&lt;br /&gt;
i586-mingw32msvc-g++ spring.cc -o ~/.wine/drive_c/Program\ Files/Spring/spring.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This assumed debian for installing the crosscompiler, but mingw32 is probably simple to install on other distributions as well.&lt;br /&gt;
&lt;br /&gt;
TODO should provide binary packages for this launcher, as all people don&#039;t have the possibility to set up cross compiler. I compiled it but I can&#039;t test it due to lack of Wine+TASClient setup. Here is the binary anyway: http://buildbot.no-ip.org/~tvo/spring/spring.exe&lt;br /&gt;
&lt;br /&gt;
Then you should make a script for launching TASClient. The script can be named tasclient for example, and just put it somewhere in your path and make it executable. The script code is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/usr/bin/env sh&lt;br /&gt;
cd ~/.wine/drive_c/Program\ Files/Spring&lt;br /&gt;
wine TASClient.exe&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now you should be able to type tasclient on the command line, and the lobby appears. &#039;&#039;&#039;This cd operation is necessary. If your working directory is not the same as TASClient.exe&#039;s location, it will just give access violations to you.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Note that every time when you have added new maps, the lobby client caches them and this will take some time, or a long time if you downloaded many maps since last time. Just wait patiently.&lt;br /&gt;
&lt;br /&gt;
Then you should register an account and login with it, and you should be ready to join an online multiplayer game from the list that appears.&lt;br /&gt;
&lt;br /&gt;
It&#039;s likely that you don&#039;t have the correct map or mod at this point, so just get them and join the game. You don&#039;t need to restart your lobby client after downloading the files.&lt;br /&gt;
&lt;br /&gt;
It&#039;s recommended that you spectate a couple of high rank games first, to get some idea of how the game should be played. Some hosts don&#039;t allow spectators, but most do.&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
== Ingame ==&lt;br /&gt;
&lt;br /&gt;
=== LuaUI Crash Ingame ===&lt;br /&gt;
&lt;br /&gt;
LuaUI can crash during game, because some lua script you use has a bug. 0.75 should be resistant to this problem, but 0.74b3 is not. After crash, you won&#039;t see the bottom left tooltip box and top right resource bar anymore. Fear not, help is near:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/resbar 1&lt;br /&gt;
/tooltip 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
These might not be necessary in 0.75 anymore at all.&lt;br /&gt;
&lt;br /&gt;
Also, you won&#039;t be able to change the build menu page with mouse anymore, but keys , and . do the trick.&lt;br /&gt;
&lt;br /&gt;
LuaUI can also be restarted after it crashed. Often this does the trick and it works fine the rest of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/luaui reload&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Mouse is slow in fullscreen mode ===&lt;br /&gt;
&lt;br /&gt;
Run:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
echo &#039;export SDL_MOUSE_RELATIVE=0&#039; &amp;gt;&amp;gt; ~/.bash_profile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
And log out and log in again.&lt;br /&gt;
&lt;br /&gt;
The mouse should now be as fast as in windowed mode.&lt;br /&gt;
&lt;br /&gt;
=== Rotating Buildings Ingame ===&lt;br /&gt;
&lt;br /&gt;
You can rotate a building before you give the build order, but the keys that do this don&#039;t work in linux by default for some users. Issue the following commands in the beginning of the game:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/bind keycodex buildfacing inc&lt;br /&gt;
/bind keycodey buildfacing dec&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Keycodex and keycodey above are just placeholders. What you want to write depends on which key you want to use. To see what keycodes any keys have, do:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/keydebug yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then hit the keys you want to use, and spring prints the keycodes in the message buffer.&lt;br /&gt;
&lt;br /&gt;
TODO: add information on how to save the settings so that they work the next time you start spring.&lt;br /&gt;
&lt;br /&gt;
=== Map is White ===&lt;br /&gt;
&lt;br /&gt;
If the whole map is only shades of white and grey, there is a problem with your display driver. Maybe your gpu is very old and does not support some needed opengl feature. For example I had this problem with matrox g550 but not with some very old geforce.&lt;br /&gt;
&lt;br /&gt;
== Startup ==&lt;br /&gt;
&lt;br /&gt;
=== Missing Default Cursor ===&lt;br /&gt;
&lt;br /&gt;
This or any similar error of not being able to find a specific file are usually because the mod you are using needs ota content, download &amp;amp; install as explained [[SetupGuide#OTA_Content|earlier in this document]].&lt;br /&gt;
&lt;br /&gt;
=== sounds/button9.wav &amp;quot;cant find wav file&amp;quot; ===&lt;br /&gt;
&lt;br /&gt;
Same problem as above.&lt;br /&gt;
&lt;br /&gt;
=== Couldnt find matching GLX visual ===&lt;br /&gt;
&lt;br /&gt;
Reduce anti aliasing.&lt;br /&gt;
&lt;br /&gt;
=== GL_ARB_texture_compression not found ===&lt;br /&gt;
&lt;br /&gt;
This can be an issue with your gpu drivers. The drivers you are using do not support a feature that is required to run spring. You might have better luck with the closed source official drivers of nvidia or amd cards. If your gpu itself is really old, this might not help.&lt;br /&gt;
&lt;br /&gt;
If you use the fglrx ati-graphics driver and you are getting this error there might be a chance that still spring work (I use this with ubuntu gusty).&lt;br /&gt;
At first we must check that fglrx is installed correctly:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ fglrxinfo&lt;br /&gt;
display: :0.0  screen: 0&lt;br /&gt;
OpenGL vendor string: ATI Technologies Inc.&lt;br /&gt;
OpenGL renderer string: ATI Mobility Radeon X1400&lt;br /&gt;
OpenGL version string: 2.0.6747 (8.40.4)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then lets check the glx-extention.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ glxinfo | grep direct&lt;br /&gt;
Xlib:  extension &amp;quot;XFree86-DRI&amp;quot; missing on display &amp;quot;:1.0&amp;quot;.&lt;br /&gt;
direct rendering: No&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you get this message, notice that glxinfo releates to display &#039;:1&#039; and fglrxinfo to display &#039;:0&#039;!! Lets check the glx-extention on display :0 now.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 glxinfo | grep direct&lt;br /&gt;
direct rendering: Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This message mean that you can start spring by typing (in a terminal)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
~$ DISPLAY=:0 spring&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If you use the TASclient with wine and the native linux spring. Start the whole TASclient-start-script by typing. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
DISPLAY=:0 TASCLIENT-start-script&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But Notice under circumstances is no windowmanager running on screen :0! This means there are NO windowframes at the TASClient window! You can&#039;t move it or close it by clicking the closebutton (unless you click at the close button on the terminal-window in witch you startet TAS). You can although close TAS with the keys ALT-F4&lt;br /&gt;
&lt;br /&gt;
=== OpenAL Segfault ===&lt;br /&gt;
&lt;br /&gt;
If spring crashes with this output:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
OpenAL: ALC_EXT_capture AL_EXT_capture AL_EXT_vorbis AL_EXT_MP3&lt;br /&gt;
AL_LOKI_quadriphonic AL_LOKI_play_position AL_LOKI_WAVE_format&lt;br /&gt;
AL_LOKI_IMA_ADPCM_format AL_LOKI_buffer_data_callback ALC_LOKI_audio_channel&lt;br /&gt;
Segmentation fault (core dumped)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Look into this thread on the forums for a fix: http://spring.clan-sy.com/phpbb/viewtopic.php?f=20&amp;amp;t=12568&lt;br /&gt;
&lt;br /&gt;
Then bug nemo in #taspring to finish this troubleshooting entry. He knows how to fix it.&lt;br /&gt;
&lt;br /&gt;
This is mod-related, ie. it only happens on some mods. Please list here the mod versions that give this error for you.&lt;br /&gt;
&lt;br /&gt;
- Star Wars mod, unknown version, by user report&lt;br /&gt;
&lt;br /&gt;
The problematic mod contains a sound file that crashes openal. You can try to unzip the mod file that crashed for you, and play each sound file. Please report any sound files that fail to play right, just list them here.&lt;br /&gt;
&lt;br /&gt;
- unknown file&lt;br /&gt;
&lt;br /&gt;
== Compiletime ==&lt;br /&gt;
&lt;br /&gt;
=== make_gamedata_arch.sh not found ===&lt;br /&gt;
&lt;br /&gt;
The .zip you downloaded is for windows, you must download a .bz2, instructions [[SetupGuide#Downloading_A_Tarball|earlier in this document]].&lt;br /&gt;
&lt;br /&gt;
=== invalid use of ILvoid ===&lt;br /&gt;
&lt;br /&gt;
During compiling, if you get a lot of the following errors:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
/usr/include/IL/il.h:497: error: &#039;&amp;lt;anonymous&amp;gt;&#039; has incomplete type &lt;br /&gt;
/usr/include/IL/il.h:497: error: invalid use of &#039;ILvoid&#039;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This happens because the version of libdevil-dev you have installed is not compatible with gcc version 4.2 and newer.&lt;br /&gt;
&lt;br /&gt;
You should upgrade your libdevil-dev to fix this issue. However, in some distributions (at least gentoo), the fixed package has the SAME version number as the older unfixed package, so you might actually need to remove your current libdevil-dev package completely and reinstall it.&lt;br /&gt;
&lt;br /&gt;
TODO: add critical version numbers of libdevil.&lt;br /&gt;
&lt;br /&gt;
== Network Setup ==&lt;br /&gt;
&lt;br /&gt;
Usually you don&#039;t need to do any network setup whatsoever, because the lobbies take care of nat traversal with firewall hole punching, but if you need to know the topology, it goes like this:&lt;br /&gt;
&lt;br /&gt;
Host needs to enable incoming udp to port 8452, and outgoing replies to those.&lt;br /&gt;
Non-host players need to enable outgoing udp, and incoming replies to those.&lt;br /&gt;
So basically only non-host players initiate &amp;quot;connections&amp;quot;, and only the server listens on a well-known port.&lt;br /&gt;
&lt;br /&gt;
== If You Still Have Problems ==&lt;br /&gt;
&lt;br /&gt;
Join to #taspring on Freenode or #sy on QuakeNet and try your luck.&lt;br /&gt;
&lt;br /&gt;
However, generic linux problems not really related to installing this should be asked elsewhere.&lt;br /&gt;
&lt;br /&gt;
Prepare to list your distribution, which installation method you used, and what exactly is the error. Don&#039;t ask if people are around or not, just go straight to business and tell all details, for maximizing your chances of getting help.&lt;br /&gt;
&lt;br /&gt;
== IRC ==&lt;br /&gt;
&lt;br /&gt;
# #taspring @ FreeNode&lt;br /&gt;
# #sy @ QuakeNet&lt;br /&gt;
&lt;br /&gt;
== Asking For Help ==&lt;br /&gt;
&lt;br /&gt;
Ok so you need human help. This is how &#039;&#039;&#039;NOT&#039;&#039;&#039; to do it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
15:54 -!- **** [n=****@*] has joined #taspring&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; Hi, i have a problem with compiling spring on debian&lt;br /&gt;
15:54 &amp;lt; ****&amp;gt; can anyone help me?&lt;br /&gt;
15:57 -!- **** [n=****@*] has quit [Client Quit]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Don&#039;t ask to ask, instead go straight to business by stating the exact problem you have, and giving all necessary information. What you were trying to achieve, how did you try to do it, what happened and what did you expect to happen.&lt;br /&gt;
&lt;br /&gt;
Then WAIT for someone to notice you.&lt;br /&gt;
&lt;br /&gt;
== Configure Options ==&lt;br /&gt;
&lt;br /&gt;
If you want to see the configure options, because of a bug in the buildsystem you have to have spring configured first. But if configure fails, you are out of luck. So I have listed the options here:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
$ scons --help&lt;br /&gt;
scons: Reading SConscript files ...&lt;br /&gt;
make: Nothing to be done for `all&#039;.&lt;br /&gt;
Succes building streflop!&lt;br /&gt;
Updating bitmaps.sdz&lt;br /&gt;
Updating springcontent.sdz&lt;br /&gt;
scons: done reading SConscript files.&lt;br /&gt;
&lt;br /&gt;
platform: Set to linux, freebsd or windows&lt;br /&gt;
    default: None&lt;br /&gt;
    actual: linux&lt;br /&gt;
&lt;br /&gt;
debug: Set to yes to produce a binary with debug information&lt;br /&gt;
    default: 0&lt;br /&gt;
    actual: 3&lt;br /&gt;
&lt;br /&gt;
debugdefines: Set to no to suppress DEBUG and _DEBUG preprocessor #defines \&lt;br /&gt;
 (use to add symbols to release build)&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
syncdebug: Set to yes to enable the sync debugger&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
synccheck: Set to yes to enable sync checker &amp;amp; resyncer&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
optimize: Enable processor optimizations during compilation&lt;br /&gt;
    default: 1&lt;br /&gt;
    actual: 2&lt;br /&gt;
&lt;br /&gt;
profile: Set to yes to produce a binary with profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
profile_generate: Set to yes to compile with -fprofile-generate \&lt;br /&gt;
 to generate profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
profile_use: Set to yes to compile with -fprofile-use to use \&lt;br /&gt;
profiling information&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
cpppath: Set path to extra header files&lt;br /&gt;
    default: []&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
libpath: Set path to extra libraries&lt;br /&gt;
    default: []&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
fpmath: Set to 387 or SSE on i386 and AMD64 architectures&lt;br /&gt;
    default: 387&lt;br /&gt;
    actual: 387&lt;br /&gt;
&lt;br /&gt;
prefix: Install prefix used at runtime&lt;br /&gt;
    default: /usr/local&lt;br /&gt;
    actual: /usr/local&lt;br /&gt;
&lt;br /&gt;
installprefix: Install prefix used for installion&lt;br /&gt;
    default: /usr/local&lt;br /&gt;
    actual: /usr/local&lt;br /&gt;
&lt;br /&gt;
datadir: Data directory (relative to prefix)&lt;br /&gt;
    default: share/games/spring&lt;br /&gt;
    actual: share/games/spring&lt;br /&gt;
&lt;br /&gt;
bindir: Directory for executables (rel. to prefix)&lt;br /&gt;
    default: games&lt;br /&gt;
    actual: games&lt;br /&gt;
&lt;br /&gt;
libdir: Directory for AI plugin modules (rel. to prefix)&lt;br /&gt;
    default: lib/spring&lt;br /&gt;
    actual: lib/spring&lt;br /&gt;
&lt;br /&gt;
strip: Discard symbols from the executable (only when neither \&lt;br /&gt;
debugging nor profiling)&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
disable_avi: Set to no to turn on avi support&lt;br /&gt;
    default: False on windows, True otherwise&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
use_tcmalloc: Use tcmalloc from goog-perftools for memory allocation&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
use_mmgr: Use memory manager&lt;br /&gt;
    default: False&lt;br /&gt;
    actual: False&lt;br /&gt;
&lt;br /&gt;
dc_allowed: Specifies whether FPS mode (Direct Control) is allowed in game&lt;br /&gt;
    default: True&lt;br /&gt;
    actual: True&lt;br /&gt;
&lt;br /&gt;
cachedir: Cache directory (see scons manual)&lt;br /&gt;
    default: None&lt;br /&gt;
    actual:&lt;br /&gt;
&lt;br /&gt;
Use scons -H for help about command-line options.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Tips =&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;This section contains just some old crap I didn&#039;t write, and shouldn&#039;t be necessary.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
* If spring hangs/crashes while in full screen mode, you can press ctrl+alt+backspace to restart X, so no need for a reboot.&lt;br /&gt;
&lt;br /&gt;
* Spring uses OpenAL for sound, Config your sound output i.e esd / arts / oss / alsa by editing /etc/openalrc or ~/.openalrc, example: (&amp;quot;&#039;(&amp;quot; is not a typo)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;(define devices &#039;(alsa))&amp;lt;br&amp;gt;(define speaker-num 2)&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;(define alsa-out-device &amp;quot;hw:0,0&amp;quot;)&amp;lt;br&amp;gt;(define alsa-in-device &amp;quot;hw:0,0&amp;quot;)&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Adventurous people with an emu10k1 based card (sblive) can try the accelerated openal version. http://www.lost.org.uk/openal.html , don&#039;t submit audiobugs if you do.&lt;br /&gt;
&lt;br /&gt;
* If you really can&#039;t figure out how to get spring compiled, or you think there&#039;s a bug in the code or the buildsystem...&lt;br /&gt;
:* Just poke any developer on IRC:&lt;br /&gt;
::* channel &amp;lt;code&amp;gt;#taspring&amp;lt;/code&amp;gt; on [http://freenode.net/ FreeNode]&lt;br /&gt;
::* or channel &amp;lt;code&amp;gt;#sy&amp;lt;/code&amp;gt; on [http://www.quakenet.org/ QuakeNet]&lt;br /&gt;
:* Post it on [http://taspring.clan-sy.com/phpbb/ the forum]&lt;br /&gt;
:* or file a bug in our [http://taspring.clan-sy.com/mantis/ bug tracking system].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039; [[Main_Page|&amp;lt;- Back to Main page]]&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Linux Port]][[Category:Playing]]&lt;/div&gt;</summary>
		<author><name>Sombriks</name></author>
	</entry>
</feed>