<?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=TheSamo</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=TheSamo"/>
	<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/wiki/Special:Contributions/TheSamo"/>
	<updated>2026-11-08T20:33:01Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16391</id>
		<title>SetupGuide</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16391"/>
		<updated>2007-06-09T16:52:19Z</updated>

		<summary type="html">&lt;p&gt;TheSamo: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Linux Setup Guide ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo linux ===&lt;br /&gt;
* If you&#039;re running [http://www.gentoo.org Gentoo linux], you&#039;re lucky, because [http://developer.berlios.de/project/showfiles.php?group_id=4358 an ebuild is already available].&amp;lt;br&amp;gt;The best way to install the ebuild in gentoo would be to add an portage overlay and copy the file into the overlay. Now in detail:&amp;lt;br&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;mkdir /usr/local/portage&amp;lt;/b&amp;gt;&lt;br /&gt;
:# add this line to you /etc/make.conf&amp;lt;br&amp;gt; &amp;lt;b&amp;gt;PORTDIR_OVERLAY=&amp;quot;/usr/local/portage&amp;quot;&amp;lt;/b&amp;gt;&lt;br /&gt;
:# download the ebuild you want, for example: spring-ebuilds-0.74-r3.tar.bz2&lt;br /&gt;
:# &amp;lt;b&amp;gt;mv spring-ebuilds-0.74-r3.tar.bz2 /usr/local/portage&amp;lt;/b&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;cd /usr/local/portage&amp;lt;/b&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;tar jxvf spring-ebuilds-0.74-r3.tar.bz2&amp;lt;/b&amp;gt;&lt;br /&gt;
:# most likely you don&#039;t run a ~x86 system (unstable) so do a:&amp;lt;br&amp;gt; &amp;lt;b&amp;gt;echo &amp;quot;games-strategy/spring ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&amp;lt;/b&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;echo &amp;quot;dev-libs/boost threads&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.use&amp;lt;/b&amp;gt;&lt;br /&gt;
:# if you want spring&#039;s evn version instead of stable do: &amp;lt;br&amp;gt; &amp;lt;b&amp;gt;emerge spring-svn&amp;lt;/b&amp;gt;&lt;br /&gt;
:# You might want to have a look at the USE flags, type:&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;emerge -pv spring&amp;lt;/b&amp;gt;&lt;br /&gt;
:# the current useflags are debug, optimize(which i enabled and worked without errors), omni (for omni lobby) and unity (for Unity Lobby).&lt;br /&gt;
:# finally install it with:&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;emerge spring&amp;lt;/b&amp;gt;&lt;br /&gt;
:* if you get this error:&lt;br /&gt;
:: Calculating dependencies... done!&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; Emerging (1 of 1) games-strategy/taspring-linux-release-0.72-r1 to /&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking ebuild checksums ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking auxfile checksums ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking miscfile checksums ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking taspring-linux-data-0.72b1.tar.bz2 ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; Unpacking source...&lt;br /&gt;
:: &lt;br /&gt;
:: !!! ERROR: games-strategy/taspring-linux-release-0.72-r1 failed.&lt;br /&gt;
:: Call stack:&lt;br /&gt;
::   ebuild.sh, line 1539:   Called dyn_unpack&lt;br /&gt;
::   ebuild.sh, line 711:   Called src_unpack&lt;br /&gt;
::   taspring-linux-release-0.72-r1.ebuild, line 45:   Called subversion_src_unpack &lt;br /&gt;
::   subversion.eclass, line 278:   Called subversion_fetch&lt;br /&gt;
::   subversion.eclass, line 127:   Called die&lt;br /&gt;
:: !!! subversion.eclass: ESVN_REPO_URI is empty.&lt;br /&gt;
:: !!! If you need support, post the topmost build error, and the call stack if relevant.&lt;br /&gt;
:: &lt;br /&gt;
:: !!! This ebuild is from an overlay: &#039;/usr/local/portage&#039; &lt;br /&gt;
:* Then try: &amp;lt;b&amp;gt;rm -Rf /usr/portage/distfiles/svn-src/spring&amp;lt;/b&amp;gt;&lt;br /&gt;
:* Afterwards do: &amp;lt;b&amp;gt;emerge spring&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Debian, Ubuntu &amp;amp; derivatives ===&lt;br /&gt;
&lt;br /&gt;
* Add one of the following lines to your /etc/apt/sources.list file to enable the repository with spring packages.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;deb http://www.osrts.info/~tvo/deb edgy spring # Ubuntu Edgy Eft&amp;lt;br&amp;gt;deb http://www.osrts.info/~tvo/deb etch spring # Debian Testing&amp;lt;br&amp;gt;deb http://www.osrts.info/~tvo/deb sid spring &amp;amp;nbsp;# Debian Unstable&amp;lt;br&amp;gt;&amp;lt;/code&amp;gt; &amp;lt;small&amp;gt;As this file is by default read-only, you will have to start your file-explorer with root priviliges, usually by entering: &amp;lt;code&amp;gt;sudo [name of explorer]&amp;lt;/code&amp;gt; in your console.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Update your local package database by running: &amp;lt;code&amp;gt;sudo apt-get update&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;(Or use the update feature of your favorite package manager, Synaptic, Adept, aptitude, etc.)&lt;br /&gt;
&lt;br /&gt;
* Install the spring package: &amp;lt;code&amp;gt;sudo apt-get install spring&amp;lt;/code&amp;gt; . &amp;lt;small&amp;gt; This will also automagically install all the packages Spring depends on.&amp;lt;/small&amp;gt;&amp;lt;br&amp;gt;&amp;lt;small&amp;gt; If you get errors at the last stage (dependencies not found, e.g.could not find libboost-regex1.33.1) then you will have to edit /etc/apt/sources.list once more. Basicly you will have to add package source links which are more up to date then the ones you have, however I can not be specific, as it depends on which Debian-derivative you are using. &amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create directories for data files: &amp;lt;code&amp;gt;mkdir -p ~/.spring/{maps,mods,base}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Point your browser to [http://spring.unknown-files.net/ Unknown Files]. Download at least one map from the map section (put it in ~/.spring/maps), and at least one mod from the mod section (put in ~/.spring/mods). The default maps are [http://spring.unknown-files.net/file/2106/SmallDivide/ SmallDivide] and [http://spring.unknown-files.net/file/2107/Mars/ Mars]. Default mods are either [http://spring.unknown-files.net/file/1967/XTA_v8.1/ XTA] or [http://spring.unknown-files.net/file/1977/NanoBlobs_0.64GPL_Release./ NanoBlobs] (XTA is based on Total Annihilation content, NanoBlobs is free). Note: do NOT unzip .sdz and .sd7 files!&lt;br /&gt;
&lt;br /&gt;
* If you downloaded XTA in the previous step, or ever want to play mods that depend on Total Annihilation content (XTA, AA, BA, etc.), then do the following:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;wget http://ipxserver.dyndns.org/games/spring/mods/xta/base-ota-content.zip&amp;lt;br&amp;gt;unzip -d ~/.spring/base base-ota-content.zip&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Note that you are legally required to own a copy of Total Annihilation if you perform this last step.&lt;br /&gt;
&lt;br /&gt;
=== All other linux distributions ===&lt;br /&gt;
&lt;br /&gt;
* Make sure you have the following packages installed:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;build-essential sun-java6-jdk libsdl-dev libopenal-dev libglew-dev libboost-dev libboost-thread-dev libboost-regex-dev libdevil-dev libfreetype6-dev python2.4-dev scons subversion zip free-java-sdk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create a working directory, we&#039;ll use this to compile spring:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;mkdir ~/workdir&amp;lt;br&amp;gt;cd ~/workdir&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download the most recent source tarball (.tar.bz2 file) from [http://developer.berlios.de/project/showfiles.php?group_id=4358 BerliOS], save it in ~/workdir.&lt;br /&gt;
&lt;br /&gt;
* Extract the tarball and switch to the directory (adjust version numbers if necessary):&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;tar xfj spring_0.74b3_src.tar.bz2&amp;lt;br&amp;gt;cd spring_0.74b3&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;small&amp;gt;Watch out when using graphical extraction tools. They don&#039;t always create the included empty directories, causing later steps to fail. It is recommended to extract the archive using the above command.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Configure: &amp;lt;code&amp;gt;scons configure&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;If this doesn&#039;t work, be sure to check you installed all dependencies, and peek at the file config.log, which may show the reason it didn&#039;t work in detail. To tune the configuration (installation paths, debugging, etc.), refer to: &amp;lt;code&amp;gt;scons -H&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Compile by running: &amp;lt;code&amp;gt;scons&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;This can take 5-15 minutes depending on your system.&lt;br /&gt;
&lt;br /&gt;
* To install spring, run the following as root: &amp;lt;code&amp;gt;scons install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Set up spring to look in your home directory for data files (run as root):&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;mkdir -p /etc/spring&amp;lt;br&amp;gt;echo &#039;$HOME/.spring&#039; &amp;gt; /etc/spring/datadir&#039;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Alternatively you can specify it in ~/.springrc (if you don&#039;t have root access):&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;echo &amp;quot;SpringData=$HOME/.spring&amp;quot; &amp;gt;&amp;gt; ~/.springrc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Now continue at the fourth (4th) step under &amp;lt;b&amp;gt;Debian, Ubuntu &amp;amp; derivatives&amp;lt;/b&amp;gt;: &amp;quot;Create directories for data files&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Tips:&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;
=== Settings Editing === &lt;br /&gt;
the .springrc file is difficult to edit by hand, and the windows settings editor won&#039;t change your settings, so use Kloot&#039;s [http://members.chello.nl/mjtobi/Settings++.tar.gz Settings++]. untar it anywhere and open it by typing &amp;quot;./Settings++&amp;quot; and edit away.&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>TheSamo</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16390</id>
		<title>SetupGuide</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16390"/>
		<updated>2007-06-09T16:50:12Z</updated>

		<summary type="html">&lt;p&gt;TheSamo: /* Gentoo linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Linux Setup Guide ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo linux ===&lt;br /&gt;
* If you&#039;re running [http://www.gentoo.org Gentoo linux], you&#039;re lucky, because [http://developer.berlios.de/project/showfiles.php?group_id=4358 an ebuild is already available].&amp;lt;br&amp;gt;The best way to install the ebuild in gentoo would be to add an portage overlay and copy the file into the overlay. Now in detail:&amp;lt;br&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;mkdir /usr/local/portage&amp;lt;/b&amp;gt;&lt;br /&gt;
:# add this line to you /etc/make.conf&amp;lt;br&amp;gt; &amp;lt;b&amp;gt;PORTDIR_OVERLAY=&amp;quot;/usr/local/portage&amp;quot;&amp;lt;/b&amp;gt;&lt;br /&gt;
:# download the ebuild you want, for example: spring-ebuilds-0.74-r3.tar.bz2&lt;br /&gt;
:# &amp;lt;b&amp;gt;mv spring-ebuilds-0.74-r3.tar.bz2 /usr/local/portage&amp;lt;/b&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;cd /usr/local/portage&amp;lt;/b&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;tar jxvf spring-ebuilds-0.74-r3.tar.bz2&amp;lt;/b&amp;gt;&lt;br /&gt;
:# most likely you don&#039;t run a ~x86 system (unstable) so do a:&amp;lt;br&amp;gt; &amp;lt;b&amp;gt;echo &amp;quot;games-strategy/spring ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&amp;lt;/b&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;echo &amp;quot;dev-libs/boost threads&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.use&amp;lt;/b&amp;gt;&lt;br /&gt;
:# if you want spring&#039;s evn version instead of stable do: &amp;lt;br&amp;gt; &amp;lt;b&amp;gt;emerge spring-svn&amp;lt;/b&amp;gt;&lt;br /&gt;
:# You might want to have a look at the USE flags, type:&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;emerge -pv spring&amp;lt;/b&amp;gt;&lt;br /&gt;
:# the current useflags are debug, optimize(which i enabled and worked without errors), omni (for omni lobby) and unity (for Unity Lobby).&lt;br /&gt;
:# finally install it with:&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;emerge spring&amp;lt;/b&amp;gt;&lt;br /&gt;
:* if you get this error:&lt;br /&gt;
:: Calculating dependencies... done!&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; Emerging (1 of 1) games-strategy/taspring-linux-release-0.72-r1 to /&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking ebuild checksums ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking auxfile checksums ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking miscfile checksums ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking taspring-linux-data-0.72b1.tar.bz2 ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; Unpacking source...&lt;br /&gt;
:: &lt;br /&gt;
:: !!! ERROR: games-strategy/taspring-linux-release-0.72-r1 failed.&lt;br /&gt;
:: Call stack:&lt;br /&gt;
::   ebuild.sh, line 1539:   Called dyn_unpack&lt;br /&gt;
::   ebuild.sh, line 711:   Called src_unpack&lt;br /&gt;
::   taspring-linux-release-0.72-r1.ebuild, line 45:   Called subversion_src_unpack &lt;br /&gt;
::   subversion.eclass, line 278:   Called subversion_fetch&lt;br /&gt;
::   subversion.eclass, line 127:   Called die&lt;br /&gt;
:: !!! subversion.eclass: ESVN_REPO_URI is empty.&lt;br /&gt;
:: !!! If you need support, post the topmost build error, and the call stack if relevant.&lt;br /&gt;
:: &lt;br /&gt;
:: !!! This ebuild is from an overlay: &#039;/usr/local/portage&#039; &lt;br /&gt;
:* Then try: &amp;lt;b&amp;gt;rm -Rf /usr/portage/distfiles/svn-src/spring&amp;lt;/b&amp;gt;&lt;br /&gt;
:* Afterwards do: &amp;lt;b&amp;gt;emerge spring&amp;lt;/b&amp;gt;&lt;br /&gt;
* &#039;&#039;&#039;Settings Editing&#039;&#039;&#039;: the .springrc file is difficult to edit by hand, and the windows settings editor won&#039;t change your settings, so use Kloot&#039;s [http://members.chello.nl/mjtobi/Settings++.tar.gz Settings++]. untar it anywhere and open it by typing &amp;quot;./Settings++&amp;quot; and edit away.&lt;br /&gt;
&lt;br /&gt;
=== Debian, Ubuntu &amp;amp; derivatives ===&lt;br /&gt;
&lt;br /&gt;
* Add one of the following lines to your /etc/apt/sources.list file to enable the repository with spring packages.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;deb http://www.osrts.info/~tvo/deb edgy spring # Ubuntu Edgy Eft&amp;lt;br&amp;gt;deb http://www.osrts.info/~tvo/deb etch spring # Debian Testing&amp;lt;br&amp;gt;deb http://www.osrts.info/~tvo/deb sid spring &amp;amp;nbsp;# Debian Unstable&amp;lt;br&amp;gt;&amp;lt;/code&amp;gt; &amp;lt;small&amp;gt;As this file is by default read-only, you will have to start your file-explorer with root priviliges, usually by entering: &amp;lt;code&amp;gt;sudo [name of explorer]&amp;lt;/code&amp;gt; in your console.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Update your local package database by running: &amp;lt;code&amp;gt;sudo apt-get update&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;(Or use the update feature of your favorite package manager, Synaptic, Adept, aptitude, etc.)&lt;br /&gt;
&lt;br /&gt;
* Install the spring package: &amp;lt;code&amp;gt;sudo apt-get install spring&amp;lt;/code&amp;gt; . &amp;lt;small&amp;gt; This will also automagically install all the packages Spring depends on.&amp;lt;/small&amp;gt;&amp;lt;br&amp;gt;&amp;lt;small&amp;gt; If you get errors at the last stage (dependencies not found, e.g.could not find libboost-regex1.33.1) then you will have to edit /etc/apt/sources.list once more. Basicly you will have to add package source links which are more up to date then the ones you have, however I can not be specific, as it depends on which Debian-derivative you are using. &amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create directories for data files: &amp;lt;code&amp;gt;mkdir -p ~/.spring/{maps,mods,base}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Point your browser to [http://spring.unknown-files.net/ Unknown Files]. Download at least one map from the map section (put it in ~/.spring/maps), and at least one mod from the mod section (put in ~/.spring/mods). The default maps are [http://spring.unknown-files.net/file/2106/SmallDivide/ SmallDivide] and [http://spring.unknown-files.net/file/2107/Mars/ Mars]. Default mods are either [http://spring.unknown-files.net/file/1967/XTA_v8.1/ XTA] or [http://spring.unknown-files.net/file/1977/NanoBlobs_0.64GPL_Release./ NanoBlobs] (XTA is based on Total Annihilation content, NanoBlobs is free). Note: do NOT unzip .sdz and .sd7 files!&lt;br /&gt;
&lt;br /&gt;
* If you downloaded XTA in the previous step, or ever want to play mods that depend on Total Annihilation content (XTA, AA, BA, etc.), then do the following:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;wget http://ipxserver.dyndns.org/games/spring/mods/xta/base-ota-content.zip&amp;lt;br&amp;gt;unzip -d ~/.spring/base base-ota-content.zip&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Note that you are legally required to own a copy of Total Annihilation if you perform this last step.&lt;br /&gt;
&lt;br /&gt;
=== All other linux distributions ===&lt;br /&gt;
&lt;br /&gt;
* Make sure you have the following packages installed:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;build-essential sun-java6-jdk libsdl-dev libopenal-dev libglew-dev libboost-dev libboost-thread-dev libboost-regex-dev libdevil-dev libfreetype6-dev python2.4-dev scons subversion zip free-java-sdk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create a working directory, we&#039;ll use this to compile spring:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;mkdir ~/workdir&amp;lt;br&amp;gt;cd ~/workdir&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download the most recent source tarball (.tar.bz2 file) from [http://developer.berlios.de/project/showfiles.php?group_id=4358 BerliOS], save it in ~/workdir.&lt;br /&gt;
&lt;br /&gt;
* Extract the tarball and switch to the directory (adjust version numbers if necessary):&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;tar xfj spring_0.74b3_src.tar.bz2&amp;lt;br&amp;gt;cd spring_0.74b3&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;small&amp;gt;Watch out when using graphical extraction tools. They don&#039;t always create the included empty directories, causing later steps to fail. It is recommended to extract the archive using the above command.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Configure: &amp;lt;code&amp;gt;scons configure&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;If this doesn&#039;t work, be sure to check you installed all dependencies, and peek at the file config.log, which may show the reason it didn&#039;t work in detail. To tune the configuration (installation paths, debugging, etc.), refer to: &amp;lt;code&amp;gt;scons -H&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Compile by running: &amp;lt;code&amp;gt;scons&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;This can take 5-15 minutes depending on your system.&lt;br /&gt;
&lt;br /&gt;
* To install spring, run the following as root: &amp;lt;code&amp;gt;scons install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Set up spring to look in your home directory for data files (run as root):&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;mkdir -p /etc/spring&amp;lt;br&amp;gt;echo &#039;$HOME/.spring&#039; &amp;gt; /etc/spring/datadir&#039;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Alternatively you can specify it in ~/.springrc (if you don&#039;t have root access):&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;echo &amp;quot;SpringData=$HOME/.spring&amp;quot; &amp;gt;&amp;gt; ~/.springrc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Now continue at the fourth (4th) step under &amp;lt;b&amp;gt;Debian, Ubuntu &amp;amp; derivatives&amp;lt;/b&amp;gt;: &amp;quot;Create directories for data files&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Tips:&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>TheSamo</name></author>
	</entry>
	<entry>
		<id>https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16389</id>
		<title>SetupGuide</title>
		<link rel="alternate" type="text/html" href="https://springrts-wiki.p2004a.com/mediawiki/index.php?title=SetupGuide&amp;diff=16389"/>
		<updated>2007-06-09T15:53:02Z</updated>

		<summary type="html">&lt;p&gt;TheSamo: /* Gentoo linux */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Linux Setup Guide ==&lt;br /&gt;
&lt;br /&gt;
=== Gentoo linux ===&lt;br /&gt;
* If you&#039;re running [http://www.gentoo.org Gentoo linux], you&#039;re lucky, because [http://developer.berlios.de/project/showfiles.php?group_id=4358 an ebuild is already available].&amp;lt;br&amp;gt;The best way to install the ebuild in gentoo would be to add an portage overlay and copy the file into the overlay. Now in detail:&amp;lt;br&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;mkdir /usr/local/portage&amp;lt;/b&amp;gt;&lt;br /&gt;
:# add this line to you /etc/make.conf&amp;lt;br&amp;gt; &amp;lt;b&amp;gt;PORTDIR_OVERLAY=&amp;quot;/usr/local/portage&amp;quot;&amp;lt;/b&amp;gt;&lt;br /&gt;
:# download the ebuild you want, for example: spring-ebuilds-0.74-r3.tar.bz2&lt;br /&gt;
:# &amp;lt;b&amp;gt;mv spring-ebuilds-0.74-r3.tar.bz2 /usr/local/portage&amp;lt;/b&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;cd /usr/local/portage&amp;lt;/b&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;tar jxvf spring-ebuilds-0.74-r3.tar.bz2&amp;lt;/b&amp;gt;&lt;br /&gt;
:# most likely you don&#039;t run a ~x86 system (unstable) so do a:&amp;lt;br&amp;gt; &amp;lt;b&amp;gt;echo &amp;quot;games-strategy/spring ~x86&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.keywords&amp;lt;/b&amp;gt;&lt;br /&gt;
:# &amp;lt;b&amp;gt;echo &amp;quot;dev-libs/boost threads&amp;quot; &amp;gt;&amp;gt; /etc/portage/package.use&amp;lt;/b&amp;gt;&lt;br /&gt;
:# if you want spring&#039;s evn version instead of stable do: &amp;lt;br&amp;gt; &amp;lt;b&amp;gt;emerge spring-svn&amp;lt;/b&amp;gt;&lt;br /&gt;
:# You might want to have a look at the USE flags, type:&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;emerge -pv spring&amp;lt;/b&amp;gt;&lt;br /&gt;
:# the current useflags are debug, optimize(which i enabled and worked without errors), omni (for omni lobby) and unity (for Unity Lobby).&lt;br /&gt;
:# finally install it with:&amp;lt;br&amp;gt;&amp;lt;b&amp;gt;emerge spring&amp;lt;/b&amp;gt;&lt;br /&gt;
:* if you get this error:&lt;br /&gt;
:: Calculating dependencies... done!&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; Emerging (1 of 1) games-strategy/taspring-linux-release-0.72-r1 to /&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking ebuild checksums ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking auxfile checksums ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking miscfile checksums ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; checking taspring-linux-data-0.72b1.tar.bz2 ;-)&lt;br /&gt;
:: &amp;gt;&amp;gt;&amp;gt; Unpacking source...&lt;br /&gt;
:: &lt;br /&gt;
:: !!! ERROR: games-strategy/taspring-linux-release-0.72-r1 failed.&lt;br /&gt;
:: Call stack:&lt;br /&gt;
::   ebuild.sh, line 1539:   Called dyn_unpack&lt;br /&gt;
::   ebuild.sh, line 711:   Called src_unpack&lt;br /&gt;
::   taspring-linux-release-0.72-r1.ebuild, line 45:   Called subversion_src_unpack &lt;br /&gt;
::   subversion.eclass, line 278:   Called subversion_fetch&lt;br /&gt;
::   subversion.eclass, line 127:   Called die&lt;br /&gt;
:: !!! subversion.eclass: ESVN_REPO_URI is empty.&lt;br /&gt;
:: !!! If you need support, post the topmost build error, and the call stack if relevant.&lt;br /&gt;
:: &lt;br /&gt;
:: !!! This ebuild is from an overlay: &#039;/usr/local/portage&#039; &lt;br /&gt;
:* Then try: &amp;lt;b&amp;gt;rm -Rf /usr/portage/distfiles/svn-src/spring&amp;lt;/b&amp;gt;&lt;br /&gt;
:* Afterwards do: &amp;lt;b&amp;gt;emerge spring&amp;lt;/b&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Debian, Ubuntu &amp;amp; derivatives ===&lt;br /&gt;
&lt;br /&gt;
* Add one of the following lines to your /etc/apt/sources.list file to enable the repository with spring packages.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;deb http://www.osrts.info/~tvo/deb edgy spring # Ubuntu Edgy Eft&amp;lt;br&amp;gt;deb http://www.osrts.info/~tvo/deb etch spring # Debian Testing&amp;lt;br&amp;gt;deb http://www.osrts.info/~tvo/deb sid spring &amp;amp;nbsp;# Debian Unstable&amp;lt;br&amp;gt;&amp;lt;/code&amp;gt; &amp;lt;small&amp;gt;As this file is by default read-only, you will have to start your file-explorer with root priviliges, usually by entering: &amp;lt;code&amp;gt;sudo [name of explorer]&amp;lt;/code&amp;gt; in your console.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Update your local package database by running: &amp;lt;code&amp;gt;sudo apt-get update&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;(Or use the update feature of your favorite package manager, Synaptic, Adept, aptitude, etc.)&lt;br /&gt;
&lt;br /&gt;
* Install the spring package: &amp;lt;code&amp;gt;sudo apt-get install spring&amp;lt;/code&amp;gt; . &amp;lt;small&amp;gt; This will also automagically install all the packages Spring depends on.&amp;lt;/small&amp;gt;&amp;lt;br&amp;gt;&amp;lt;small&amp;gt; If you get errors at the last stage (dependencies not found, e.g.could not find libboost-regex1.33.1) then you will have to edit /etc/apt/sources.list once more. Basicly you will have to add package source links which are more up to date then the ones you have, however I can not be specific, as it depends on which Debian-derivative you are using. &amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create directories for data files: &amp;lt;code&amp;gt;mkdir -p ~/.spring/{maps,mods,base}&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Point your browser to [http://spring.unknown-files.net/ Unknown Files]. Download at least one map from the map section (put it in ~/.spring/maps), and at least one mod from the mod section (put in ~/.spring/mods). The default maps are [http://spring.unknown-files.net/file/2106/SmallDivide/ SmallDivide] and [http://spring.unknown-files.net/file/2107/Mars/ Mars]. Default mods are either [http://spring.unknown-files.net/file/1967/XTA_v8.1/ XTA] or [http://spring.unknown-files.net/file/1977/NanoBlobs_0.64GPL_Release./ NanoBlobs] (XTA is based on Total Annihilation content, NanoBlobs is free). Note: do NOT unzip .sdz and .sd7 files!&lt;br /&gt;
&lt;br /&gt;
* If you downloaded XTA in the previous step, or ever want to play mods that depend on Total Annihilation content (XTA, AA, BA, etc.), then do the following:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;wget http://ipxserver.dyndns.org/games/spring/mods/xta/base-ota-content.zip&amp;lt;br&amp;gt;unzip -d ~/.spring/base base-ota-content.zip&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Note that you are legally required to own a copy of Total Annihilation if you perform this last step.&lt;br /&gt;
&lt;br /&gt;
=== All other linux distributions ===&lt;br /&gt;
&lt;br /&gt;
* Make sure you have the following packages installed:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;build-essential sun-java6-jdk libsdl-dev libopenal-dev libglew-dev libboost-dev libboost-thread-dev libboost-regex-dev libdevil-dev libfreetype6-dev python2.4-dev scons subversion zip free-java-sdk&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Create a working directory, we&#039;ll use this to compile spring:&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;mkdir ~/workdir&amp;lt;br&amp;gt;cd ~/workdir&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Download the most recent source tarball (.tar.bz2 file) from [http://developer.berlios.de/project/showfiles.php?group_id=4358 BerliOS], save it in ~/workdir.&lt;br /&gt;
&lt;br /&gt;
* Extract the tarball and switch to the directory (adjust version numbers if necessary):&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;tar xfj spring_0.74b3_src.tar.bz2&amp;lt;br&amp;gt;cd spring_0.74b3&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;small&amp;gt;Watch out when using graphical extraction tools. They don&#039;t always create the included empty directories, causing later steps to fail. It is recommended to extract the archive using the above command.&amp;lt;/small&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Configure: &amp;lt;code&amp;gt;scons configure&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;If this doesn&#039;t work, be sure to check you installed all dependencies, and peek at the file config.log, which may show the reason it didn&#039;t work in detail. To tune the configuration (installation paths, debugging, etc.), refer to: &amp;lt;code&amp;gt;scons -H&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Compile by running: &amp;lt;code&amp;gt;scons&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;This can take 5-15 minutes depending on your system.&lt;br /&gt;
&lt;br /&gt;
* To install spring, run the following as root: &amp;lt;code&amp;gt;scons install&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Set up spring to look in your home directory for data files (run as root):&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;mkdir -p /etc/spring&amp;lt;br&amp;gt;echo &#039;$HOME/.spring&#039; &amp;gt; /etc/spring/datadir&#039;&amp;lt;/code&amp;gt;&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;Alternatively you can specify it in ~/.springrc (if you don&#039;t have root access):&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&amp;lt;code&amp;gt;echo &amp;quot;SpringData=$HOME/.spring&amp;quot; &amp;gt;&amp;gt; ~/.springrc&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Now continue at the fourth (4th) step under &amp;lt;b&amp;gt;Debian, Ubuntu &amp;amp; derivatives&amp;lt;/b&amp;gt;: &amp;quot;Create directories for data files&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Tips:&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>TheSamo</name></author>
	</entry>
</feed>