- Windows: Install Microsoft .NET 4.0 CP, If you don't have it yet
- Download http://zero-k.info/lobby/Zero-K.exe and put it into any folder
Install the dependencies:
sudo apt-add-repository ppa:spring/ppa sudo apt-get update sudo apt-get install spring mono-complete xprintidle p7zip wget libsdl2-2.0-0 wget http://zero-k.info/lobby/Zero-K.exe mono Zero-K.exe
Note that if you are running Ubuntu older than 13.10, you will have to also add sources for sdl2 before running the above or compile it yourself. Upgrading to a newer Ubuntu version might be easier.
sudo add-apt-repository deb http://cz.archive.ubuntu.com/ubuntu saucy main universe
Officially, Zero-K uses Spring version 97.0 now, however, some hosts still use 91.0. You can download a static build of Spring 91.0 here:
If the static build does not work, you will need to compile spring 91.0 and make some symlinks in ~/.spring/engine/91.0. To compile spring 91.0 first install its dependencies:
sudo apt-get install build-essential cmake cmake-gui git sudo apt-get install libglew-dev libsdl-dev libdevil-dev libopenal-dev libogg-dev libvorbis-dev libfreetype6-dev sudo apt-get install p7zip-full libxcursor-dev libboost-thread-dev libboost-regex-dev sudo apt-get install libboost-system-dev libboost-program-options-dev libboost-signals-dev
Then download the source files from http://sourceforge.net/projects/springrts/files/springrts/spring-91.0/spring_91.0_src.tar.gz/download and unpack it into any directory. Navigate to the directory you unpacked the source to in a terminal. Now you need to compile the program:
cmake . make sudo make install
You now have spring 91.0 installed. to make Zero-K lobby detect your compiled version of spring you need to make two symlinks, one to the unitsync file and one to the spring executable. Do this by running:
ln -s /usr/local/bin/spring ~/.spring/engine/91.0 ln -s /usr/local/lib/libunitsync.so ~/.spring/engine/91.0
Now Zero-K Lobby should detect that you have the engine installed.
NOTE: the above only applies to autohosts that still run 91.0. On 97.0 Zero-K Lobby will take care of it all automatically.
Something to be aware of is that if you use Intel graphics with Mesa you will have some rather annoying graphics issues. This includes your units having missing polygons when certain units are visible and a multitude of missing graphics features.
The issue is because the version of the Spring engine currently used by some autohosts, 91.0, is not compatible with Mesa and it will not render certain 3D file formats correctly. It is likely that all hosts will update to a newer engine in time, so be sure to check back for updates on development. You will also be unable to render LuaShaders and all effects use LuaShaders. This is because LuaShaders uses GLSL and Intel's linux graphics drivers are yet to support GLSL properly.
If you have error spam in your chat box and/or infolog there is something you can do about it. First delete the file called "cawidgets.lua" from ~/.spring/LuaUI. Then download the file from http://pastebin.com/XSus0ckp and save it to your ~/.spring/LuaUI folder as "cawidgets.lua". The file you downloaded is a modified cawidgets.lua that contains a error filter for chat. This filter uses the same mechanism as is used when people are blocked from chat for spamming or excessively flaming. This should dramatically increase your FPS too. Credit goes to xponen for modifying the file. Secondly, set your infolog file to read-only to prevent it from growing too large due to error spam (some people reported it could grow up to 1Gb, which is a waste of system resource).
These problems can make it harder to play the game, but all Spring versions released after 91.0 are free of them. Of the versions that are free of these problems, 96.0 is the most stable for most people. For more information ask in the lobby.
Go to the link:
If you're using Linux you might need to download version 91.0 from the Help tab.