Slackware install: Difference between revisions
Jpcordovae (talk | contribs) |
Jpcordovae (talk | contribs) |
||
| Line 51: | Line 51: | ||
<ul> | <ul> | ||
<li>[http://www.megaupload.com/?d=VPPV1MN9 spring_slackware_32b_install_v1.0.sh](first patch already)</li> | <li>[http://www.megaupload.com/?d=VPPV1MN9 spring_slackware_32b_install_v1.0.sh](first patch already)</li> | ||
<li>[ spring_slackware_64b_install.sh]</li> | <li>[http://www.megaupload.com/?d=GIR3E4UF spring_slackware_64b_install.sh]</li> | ||
</ul> | </ul> | ||
Revision as of 17:20, 14 May 2011
Linux Setup Guide < Slackware install
For packaging requests or complaints, please contact the packagers.
Slackware
Working for version 0.82.7.1
Due from several request, we compile in a single file packages (including springlobby), maps, games and a simple script that install all this and ready to play !!!. Packages was compiled from sources, starting from a full install (Slackware DVD), so if some package is missed, most probably is because you don't have all packages needed by default, but just send us a mail and we will add it as soon as possible, or can we told you how to do it (it is realy easy btw).
Installers
Spring-0.82.7.1-Slackware-13.1.0-i486.tar.gz
Spring-0.82.7.1-Slackware-13.37.0-x86_64.tar.gz
[ Spring-0.82.7.1-Slackware-13.37.0-i486.tar.gz]
each installer contain:
maps
- DeltaSiegeDry.sd7
- FolsomDamFinal.sd7
- LLTAComplexV2.sd7
- Small_Supreme_Battlefield_V2.sd7
- SpeedMetal.sd7
- Tabula-v2.sd7
- TheRockFinal.sd7
- Tropical.sd7
- Wide Pass v3.2.sd7
- folsomdamdeluxev4.sd7
games
- ba731.sdz
- zk-v0.8.7.sdz
script
- spring_slackware_32b_install.sh
- spring_slackware_64b_install.sh
If something goes wrong, replace install scripts with one of this ones, in this way you don't have to download all file to get a patch, just replace it and run it again.
- spring_slackware_32b_install_v1.0.sh(first patch already)
- spring_slackware_64b_install.sh
packages
Depending of each architecture and version of Slackware there is different versions, this is an example for Slackware 13.37.0 64bits.
- DevIL-1.6.8_rc2-x86_64-3_SBo.tgz
- OpenAL-1.12.854-x86_64-1_SBo.tgz
- icu4c-4.6.1-x86_64-1_SBo.tgz
- libtorrent-rasterbar-0.15.5-x86_64-1_SBo.tgz
- p7zip-9.13-x86_64-1_SBo.tgz
- spring-0.82.7.1-x86_64-1_SBo.tgz
- springlobby-0.131-x86_64-1_SBo.tgz
- wxGTK-2.8.12-x86_64-1_SBo.tgz
How to choose a correct installer file ?
You need to know just 3 things, what version of spring do you want, what version of Slackware is running, and what kind of architecture do you have. To know what version of spring you need just go to http://www.springrts.com and check last version, and if there is no update, just send us a mail. To get Slackware version from your system, you just need to type this:
cat /etc/slackware-version
and to get a architecture of your CPU just type:
uname -m
Architectures i686, i486 and any other different from x86_64 are 32bits and should work with i486.
For example, this Slackware version is 13.1.0 and the architecture is i686, and I know that the last version of spring is 0.82.7.1, so the file I need is:
Spring-<SPRING_VERSION>-Slackware-<SLACKWARE_VERSION>-<ARCHITECTURE>.tar.gz
Spring-0.82.7.1-Slackware-13.1.0-i486.tar.gz
Install
After download the file, you must decompress it with:
tar xzvf Spring-0.82.7.1-Slackware-13.1.0-i486.tar.gz
This should create a directory with the same name as the file:
cd Spring-0.82.7.1-Slackware-13.1.0-i486/
And there you just should run:
./spring_slackware_32b_install.sh
The script will ask for root password, install packages, copy maps and games, and check a boost symbolic link that this distribution need to make run springlobby properly.
Install by package
For a full install the dependencies in precompiled tgz's for 32 bits:
There is all dependencies in precompiled tgz's for 64 bits (Slackware 13.0, working on 13.1):
Assuming that all .tgz are saved in the same directory, open a console and cd inside that directory; then do this:
su -c "installpkg *.tgz"
When asked for the root password, give it.
A menu entry for spring and another to springlobby will apear in KDE, XFCE and GNOME.
Finalizing installation
You should have Spring installed by now; if not, please see the SetupGuide.
Maps & Mods
Since Spring is only an engine, you need to download games for it, and the maps that go with those games.
SpringLobby will automatically do this for you when you attempt to join a game with a map or mod that you do not currently have, using an integrated downloader.
If you want to download it manually or browse existing maps, there are several easy to use websites:
Pick any of those sites, download a map or mod, and then double click it. This will move it to your Spring folder, using the spring map/mod installer program. If you wish to move maps/mods by hand, they are located under ~/.spring/maps/ or ~/.spring/mods/ (if the folder does not exist - create it). Do not 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 friend). 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 name of the map you want, there is a Search function provided in those websites. Just write a part of the name, like one word, and you will easily find the map you were looking for.
Linux specific Troubleshooting
Ingame
Slow Mouse
Run:
echo '# Slow fullscreen cursor fix for Spring' >> ~/.xsessionrc
echo 'SDL_MOUSE_RELATIVE=0' >> ~/.xsessionrc
echo 'export SDL_MOUSE_RELATIVE' >> ~/.xsessionrc
And log out and log in again.
The mouse should now be as fast as in windowed mode.
Rotating Buildings
You can rotate a building before you give the build order, but the keys that do this do not work in Linux by default for some users. Issue the following commands in the beginning of the game:
/bind keycodex buildfacing inc
/bind keycodey buildfacing dec
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:
/keydebug yes
And then hit the keys you want to use, and spring prints the keycodes in the message buffer.
If you want to save these keys you have to edit the uikeys.txt.
Problems with Audio
The engine needs at least OpenAL Soft 1.6 for its sound. If you still have the old openal-0.0.8 installed, you should update it.
Additionally, pulseaudio causes lots of issues, so try to disable it for spring if you have sound problems.
Desync in game
Spring only send the commands and not the result over the network, so it needs to run all math in a repeatable manner, so all other clients in a multiplayer match get the same results. So some CPU specific features have to enabled/disabled. If you desync, you either have a CPU that is not SSE1 capable, or you set the wrong -march/-mtune compiler flags. If you compile Spring via CMake, remove CMakeCache.txt, and leave the march flag at the default.
