Gentoo install: Difference between revisions

From Spring
Jump to navigationJump to search
Jk (talk | contribs)
Abma (talk | contribs)
No edit summary
 
(13 intermediate revisions by 4 users not shown)
Line 4: Line 4:
[[Image:Gentoo.png]]
[[Image:Gentoo.png]]


For packaging <font color="#00DD00">requests</font> or <font color="#FF0000">complaints</font>, please contact [[Linux:Packaging#Gentoo | the packagers]].
For packaging <font color="#00DD00">requests</font> or <font color="#FF0000">complaints</font>, please contact [https://github.com/spring/gentoo-overlay/issues the packagers].


= Installation =
= Installation =


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.
See https://github.com/spring/gentoo-overlay#overlay


This example assumes you never used layman before.
= See Also: =
* [[Finalizing_linux_install]]
* [[Troubleshooting_linux]]


==Install layman==
[[Category: Linux]]
<code style="font-size: 80%; color:#9f9"><pre>
### install layman (with git support)
### you don't need to if you used layman before, obviously
echo "app-portage/layman git" >> /etc/portage/package.use
emerge layman
 
### Note: for Layman version 1.3.0 or later use:
echo "source /var/lib/layman/make.conf" >> /etc/make.conf
 
### Note: for Layman version <1.3.0 use:
echo "source /usr/local/portage/layman/make.conf" >> /etc/make.conf
</pre></code>
 
==Install Spring Overlay==
<code style="font-size: 80%; color:#9f9"><pre>
### add spring overlay to layman
layman -f -a Spring -o http://springrts.com/dl/overlays.xml
 
### allow installation of unstable versions
echo "games-strategy/spring ~x86" >> /etc/portage/package.keywords/spring.keywords
echo "games-util/springlobby ~x86" >> /etc/portage/package.keywords/spring.keywords
 
### Note: for Layman version <1.3.0 use:
echo "games-strategy/spring ~x86" >> /etc/portage/package.keywords
echo "games-util/springlobby ~x86" >> /etc/portage/package.keywords
 
emerge eselect-wxwidgets wxGTK
 
### make sure wxWidgets has been activated, springlobby will fail without it with error:
### Could NOT find wxWidgets (missing: wxWidgets_FOUND)
eselect wxwidgets list
# Available wxWidgets profiles:
#  [1]  gtk2-unicode-release-2.8 *
 
# if none set, select one with e.g.:
eselect wxwidgets set 1
 
### install game and lobby
emerge spring springlobby
</pre></code>
 
== Upgrading ==
 
<code><pre>
### update the repository and check for new versions
layman -S
 
### to auto update layman with `emerge --sync` do:
mkdir -p /etc/portage/postsync.d/
echo "layman -S" >> /etc/portage/postsync.d/layman
 
### upgrade existing installations
emerge -u spring springlobby
</pre></code>
 
Your paths are: Spring executable in <code>/usr/games/bin/spring</code> and
read-only data in <code>/usr/share/games/spring</code>.
 
= Finalizing installation =
 
Now you have Spring installed along with SpringLobby. You are now ready to start springlobby for the first time.
 
== Maps & Games ==
 
Since Spring is only an engine, you need to download games/games for it, and the maps that go with those games.
 
Springlobby will automatically do this for you using bittorrent when you attempt to join a game with a map or mod that you don't currently have.
 
If you want to download it manually or browse existing maps, there are several easy to use websites - here are some:
*[http://spring.jobjol.nl/subcategory.php?id=1 SpringFiles]
*[http://spring-portal.com/ Spring-Portal]
*[http://www.darkstars.co.uk/downloads/index.php?dir=spring Darkstars]
 
Pick any of those sites, download a map or game, and then double click it.  This will move it to your Spring folder using the spring map/game installer program.  If you wish to move maps/games by hand, they are located under ~/.spring/maps/ or ~/.spring/mods/ (if the folder doesn't exist - create it). Don't unpack the file in any way though, just download and save it. Reload your maps/mods in Springlobby, (Tools -> Reload maps/mods) and they will be ready to use.
 
These sites also may provide other neat things like lua widgets, epic replays, AI bots (for playing offline or to team up on with a freind).  Generally the installation requires you to download the file and place it in the appropriate folder in your ~/.spring directory. (you may have to create the folder)
 
Hint: If you know the map name you want, there is a Search function provided in those websites. Just write a part of the name, like one word, and you'll easily find the map you were looking for - this is helpful later on.
 
=== BA (Balanced Annihilation) ===
 
A popular mod to get started with is Balanced Annihilation (BA) 6.21. Please note that before you can run it though, you'll need to download the OTA content - read the section below on how to get that.
 
=== CA (Complete Annihilation) ===
 
A new mod with better models, graphical effects, and a different take on gameplay is the CA mod - get it [http://trac.caspring.org/wiki/CAInstaller here].
 
{{Troubleshooting_linux}}
[[Category:Linux]]

Latest revision as of 11:33, 5 February 2022

Linux Setup Guide < Gentoo install

For packaging requests or complaints, please contact the packagers.

Installation

See https://github.com/spring/gentoo-overlay#overlay

See Also: