<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://staging-wiki.unvanquished.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Qrntz</id>
	<title>Unvanquished - User contributions [en-gb]</title>
	<link rel="self" type="application/atom+xml" href="https://staging-wiki.unvanquished.net/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Qrntz"/>
	<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/wiki/Special:Contributions/Qrntz"/>
	<updated>2026-04-04T19:58:43Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=User:Qrntz&amp;diff=598</id>
		<title>User:Qrntz</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=User:Qrntz&amp;diff=598"/>
		<updated>2012-08-06T14:26:24Z</updated>

		<summary type="html">&lt;p&gt;Qrntz: Created page with &amp;quot;File:Vigilant.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:Vigilant.png]]&lt;/div&gt;</summary>
		<author><name>Qrntz</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=File:Vigilant.png&amp;diff=597</id>
		<title>File:Vigilant.png</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=File:Vigilant.png&amp;diff=597"/>
		<updated>2012-08-06T14:25:19Z</updated>

		<summary type="html">&lt;p&gt;Qrntz: A token of vigilance.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;A token of vigilance.&lt;/div&gt;</summary>
		<author><name>Qrntz</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=Getting_the_source&amp;diff=481</id>
		<title>Getting the source</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=Getting_the_source&amp;diff=481"/>
		<updated>2012-07-01T13:55:10Z</updated>

		<summary type="html">&lt;p&gt;Qrntz: added the section on Gentoo, preferably should be transfered to a separate page for distro-specific packages later&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
&lt;br /&gt;
The [https://github.com/Unvanquished/Unvanquished Unvanquished source code] is hosted on GitHub. You can either download a snapshot of the source code in [https://github.com/Unvanquished/Unvanquished/zipball/master ZIP archive form], or you can use Git to clone the repository.&lt;br /&gt;
&lt;br /&gt;
==Installing Git==&lt;br /&gt;
&lt;br /&gt;
If you already have Git installed, you can skip this step.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
&lt;br /&gt;
Windows users can acquire Git from the [http://code.google.com/p/msysgit/ MSysGit project]. If you would prefer a graphical front-end, there is [http://code.google.com/p/tortoisegit/ TortoiseGit], but MSysGit must be installed regardless.&lt;br /&gt;
&lt;br /&gt;
===Mac OS X===&lt;br /&gt;
&lt;br /&gt;
Apple has included Git with Xcode since version 4. You may download [https://developer.apple.com/xcode/ Xcode] from  Apple's developer website. Please note that while XCode 4 was available for a very brief time for 32-bit and Snow Leopard users for a small price ($5 from the Mac App Store), this is no longer the case; it is now free, but available only to 64-bit Lion users. Snow Leopard (10.6) users and prior may now only use XCode 3, which does not include Git. If you are one of these users, you may [http://git-scm.com/download/mac acquire a copy of Git] from its site. A [http://git-scm.com/download/gui/mac selection of GUIs for Git] is also available.&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
&lt;br /&gt;
====Debian &amp;amp; Ubuntu====&lt;br /&gt;
&lt;br /&gt;
Install Git using the package manager:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install git&lt;br /&gt;
&lt;br /&gt;
====Gentoo====&lt;br /&gt;
&lt;br /&gt;
The ebuilds for Unvanquished (games-fps/unvanquished) and the assets (games-fps/unvanquished-data) are available from the [https://github.com/hasufell/hasufell-overlay ''hasufell''] overlay.&lt;br /&gt;
If you don't have layman installed, you can install it with&lt;br /&gt;
&lt;br /&gt;
 $ emerge layman&lt;br /&gt;
&lt;br /&gt;
Then, adding the overlay and installing should be trivial.&lt;br /&gt;
&lt;br /&gt;
 $ layman -a hasufell&lt;br /&gt;
 $ emerge unvanquished&lt;br /&gt;
&lt;br /&gt;
See [https://bugs.gentoo.org/show_bug.cgi?id=419421 the entry on bugs.gentoo.org] for additional comments about the ebuilds.&lt;br /&gt;
&lt;br /&gt;
==Downloading the source==&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
&lt;br /&gt;
Use the following command line:&lt;br /&gt;
&lt;br /&gt;
 $ git clone https://github.com/Unvanquished/Unvanquished.git&lt;br /&gt;
&lt;br /&gt;
This will create a directory called ''Unvanquished''.&lt;br /&gt;
&lt;br /&gt;
===Mac OS X===&lt;br /&gt;
&lt;br /&gt;
====Command Line====&lt;br /&gt;
&lt;br /&gt;
Acquiring the source code using the command line is the same as on Linux. Open a Terminal (/Applications/Utilities/Terminal) window and clone the source code like so:&lt;br /&gt;
&lt;br /&gt;
 $ git clone https://github.com/Unvanquished/Unvanquished.git&lt;br /&gt;
&lt;br /&gt;
====Xcode 4====&lt;br /&gt;
&lt;br /&gt;
# Start Xcode.&lt;br /&gt;
# Open the Organizer window (Window &amp;amp;rarr; Organizer or &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;Shift&amp;lt;/span&amp;gt;+&amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;Command&amp;amp;nbsp;&amp;amp;#x2318;&amp;lt;/span&amp;gt;+&amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;2&amp;lt;/span&amp;gt;)&lt;br /&gt;
# Click the &amp;quot;Repositories&amp;quot; button on the top bar.&lt;br /&gt;
# Click the &amp;quot;+&amp;quot; button in the lower-left corner, and choose &amp;quot;Checkout or Clone Repository&amp;amp;hellip;&amp;quot;.&lt;br /&gt;
# In the rollout sheet that appears, enter &amp;lt;code&amp;gt;https://github.com/Unvanquished/Unvanquished.git&amp;lt;/code&amp;gt; into the &amp;quot;Location&amp;quot; field, and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# Enter &amp;quot;Unvanquished&amp;quot; into the &amp;quot;Name&amp;quot; field, ensure that the &amp;quot;Type&amp;quot; combo box is set to &amp;quot;Git&amp;quot;, and click &amp;quot;Clone&amp;quot;.&lt;br /&gt;
# You will be prompted where to save the repository. Choose a location and click &amp;quot;Clone&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
&lt;br /&gt;
====TortoiseGIT====&lt;br /&gt;
&lt;br /&gt;
# Make and enter a new folder to store the source code in&lt;br /&gt;
# Right click the inside of the folder &amp;amp;rarr; Git Clone...&lt;br /&gt;
# In the Url textbox enter: &amp;lt;code&amp;gt;https://github.com/Unvanquished/Unvanquished.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Click ok.&lt;br /&gt;
&lt;br /&gt;
====Command Line====&lt;br /&gt;
Open the MsysGit terminal and type:&lt;br /&gt;
 $ git clone https://github.com/Unvanquished/Unvanquished.git&lt;br /&gt;
&lt;br /&gt;
==Compiling==&lt;br /&gt;
&lt;br /&gt;
After getting the source code, you can [[Compiling the source|compile]] it.&lt;/div&gt;</summary>
		<author><name>Qrntz</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=Compiling_the_source&amp;diff=215</id>
		<title>Compiling the source</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=Compiling_the_source&amp;diff=215"/>
		<updated>2012-04-15T06:59:52Z</updated>

		<summary type="html">&lt;p&gt;Qrntz: /* Compiling */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
&lt;br /&gt;
==Mac OS X==&lt;br /&gt;
&lt;br /&gt;
The preferred way of building Unvanquished on Mac OS X is to use Apple's [https://developer.apple.com/xcode/ XCode] along with [http://www.cmake.org/cmake/resources/software.html CMake]; CMake is used to generate an XCode project file that is then used to compile the code.&lt;br /&gt;
&lt;br /&gt;
First, you need to [[Getting_the_source##Mac_OS_X_2|acquire the source code]].&lt;br /&gt;
&lt;br /&gt;
Next, perform the following:&lt;br /&gt;
&lt;br /&gt;
# Run CMake.&lt;br /&gt;
# Enter the location of the source code.&lt;br /&gt;
# Enter the location in which you would like to build the source code. This may be the same directory.&lt;br /&gt;
# Click &amp;quot;Configure&amp;quot;. You will be prompted as to which generator you would like to use. If you have Xcode installed, choose that.&lt;br /&gt;
# Wait while the configuration process runs.&lt;br /&gt;
# '''''TODO: explain which libraries will likely have to be set'''''&lt;br /&gt;
# Click &amp;quot;Generate&amp;quot;.&lt;br /&gt;
# Close CMake and open Xcode.&lt;br /&gt;
# Open the project file created by CMake, which should be in the build directory you specified.&lt;br /&gt;
# Click the build button.&lt;br /&gt;
&lt;br /&gt;
Unvanquished can also be built from the command line if you're not a fan of Xcode. The build process is the same as under Linux.&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
&lt;br /&gt;
The preferred way of building Unvanquished on Windows is to use Microsoft Visual Studio 2010.&lt;br /&gt;
The free Express version of the software works fine.&lt;br /&gt;
&lt;br /&gt;
Steps:&lt;br /&gt;
# Open src/engine/Daemon.sln in Visual Studio 2010.&lt;br /&gt;
# In the two text boxes in the toolbar, select &amp;quot;Release&amp;quot; in the first one and Win32 or Win64 in the second one&lt;br /&gt;
# Press F5 to build solution and run application, or just use Build &amp;amp;rarr; Build Solution to compile the code.&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO: this may be incomplete --&amp;gt;&lt;br /&gt;
====Debian/Ubuntu====&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install libcurl4-gnutls-dev libfreetype6-dev libglew1.5-dev \&lt;br /&gt;
   libgmp3-dev libjpeg8-dev libncurses5-dev libogg-dev libopenal-dev \&lt;br /&gt;
   libpng12-dev libsdl1.2-dev libvorbis-dev zlib1g-dev nettle-dev \&lt;br /&gt;
   libhogweed2 libwebp-dev libspeex-dev libspeexdsp-dev libtheora-dev&lt;br /&gt;
&lt;br /&gt;
Actual dev package names may vary, e.g. libgmp-dev instead of libgmp3-dev and libglew-dev or libglew1.7-dev instead of libglew1.5-dev.&lt;br /&gt;
&lt;br /&gt;
Since we have a debian directory in the source, you can also to check what's needed then install the listed packages (choosing from alternatives as needed):&lt;br /&gt;
&lt;br /&gt;
 $ cd &amp;lt;var&amp;gt;/path/to/unvanquished&amp;lt;/var&amp;gt;&lt;br /&gt;
 $ dpkg-checkbuilddeps&lt;br /&gt;
 …&lt;br /&gt;
 $ sudo apt-get install &amp;lt;var&amp;gt;package(s)&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If dpkg-checkbuilddeps produces no output, you have all necessary build dependencies. Also, debhelper's only needed if you're building .debs.&lt;br /&gt;
&lt;br /&gt;
====Gentoo====&lt;br /&gt;
&lt;br /&gt;
 $ emerge curl freetype glew gmp jpeg ncurses libogg openal libpng libsdl libvorbis zlib&lt;br /&gt;
&lt;br /&gt;
===Configuring the code with CMake===&lt;br /&gt;
&lt;br /&gt;
After you have [[Getting the source|acquired the source code]], you can proceed to compile. Unvanquished uses CMake, so you must have that installed. &lt;br /&gt;
&lt;br /&gt;
====Using ccmake (curses-based front-end)====&lt;br /&gt;
&lt;br /&gt;
On Debian or Ubuntu:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install cmake-curses-gui&lt;br /&gt;
&lt;br /&gt;
On Gentoo you should set the '''ncurses''' USE flag either globally or individually, just for cmake.&lt;br /&gt;
To add the USE flag globally, edit the USE array in /etc/make.conf for it to include '''ncurses'''.&lt;br /&gt;
To only install cmake with ncurses functionality, you could do the following:&lt;br /&gt;
&lt;br /&gt;
 $ echo 'dev-util/cmake ncurses' &amp;gt;&amp;gt; /etc/portage/package.use &amp;amp;&amp;amp; emerge cmake&lt;br /&gt;
&lt;br /&gt;
Note that in Ubuntu, &amp;lt;code&amp;gt;cmake-curses-gui&amp;lt;/code&amp;gt; is in Universe, which you may have to enable with &amp;lt;code&amp;gt;software-properties-gtk&amp;lt;/code&amp;gt;. Make sure to reload the software sources with &amp;lt;code&amp;gt;sudo apt-get update&amp;lt;/code&amp;gt; afterwards.&lt;br /&gt;
&lt;br /&gt;
Next, configure the codebase.&lt;br /&gt;
&lt;br /&gt;
 $ cd &amp;lt;var&amp;gt;/path/to/unvanquished&amp;lt;/var&amp;gt;&lt;br /&gt;
 $ mkdir build&lt;br /&gt;
 $ cd build&lt;br /&gt;
 $ ccmake ..&lt;br /&gt;
&lt;br /&gt;
Or, in Debian or Ubuntu, you can build a package (but you'll need to have devscripts and fakeroot installed):&lt;br /&gt;
&lt;br /&gt;
 $ cd &amp;lt;var&amp;gt;/path/to/unvanquished&amp;lt;/var&amp;gt;&lt;br /&gt;
 $ fakeroot dpkg-buildpackage -b -uc&lt;br /&gt;
 $ sudo dpkg -i &amp;lt;var&amp;gt;../unvanquished_*.deb&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once in &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt;, use the following keys:&lt;br /&gt;
&lt;br /&gt;
* Press &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;c&amp;lt;/span&amp;gt; to configure. If an error occurs during this phase, make note of it and press &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;e&amp;lt;/span&amp;gt; to dismiss it.&lt;br /&gt;
* Use the up and down arrow keys to navigate the compilation options.&lt;br /&gt;
* Press &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;Enter&amp;lt;/span&amp;gt; to enable or disable boolean options (i.e., on/off) or to edit textual options.&lt;br /&gt;
** Press &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;Esc&amp;lt;/span&amp;gt; when editing a textual option to cancel the change.&lt;br /&gt;
&lt;br /&gt;
Once you have finished the configuration process, press &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;C&amp;lt;/span&amp;gt; again, then &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;G&amp;lt;/span&amp;gt; to generate the makefile.&lt;br /&gt;
&lt;br /&gt;
====Using cmake-qt-gui (graphical front-end)====&lt;br /&gt;
&lt;br /&gt;
This graphical front end for cmake has its own package you must install:&lt;br /&gt;
&lt;br /&gt;
=====Debian/Ubuntu=====&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install cmake-qt-gui&lt;br /&gt;
&lt;br /&gt;
=====Gentoo=====&lt;br /&gt;
&lt;br /&gt;
With the '''qt4''' USE flag enabled:&lt;br /&gt;
&lt;br /&gt;
 $ emerge cmake&lt;br /&gt;
&lt;br /&gt;
Once installed, run with &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cmake-qt-gui.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
# Set the path where you have the source code downloaded.&lt;br /&gt;
# Set the path where you would like to build the engine. This may be the same directory if you wish.&lt;br /&gt;
# Click 'Configure'.&lt;br /&gt;
# Click 'Generate'.&lt;br /&gt;
&lt;br /&gt;
====Unnecessary libraries====&lt;br /&gt;
&lt;br /&gt;
Regardless of which front-end to cmake you use, you may want to disable some libraries that are not strictly necessary:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;USE_WEBP&amp;lt;/code&amp;gt; &amp;amp;mdash; Some maps use WebP to store their textures. Currently this should have little impact on gameplay but more maps will likely use this format in the future.&lt;br /&gt;
* &amp;lt;code&amp;gt;USE_OPENAL&amp;lt;/code&amp;gt; &amp;amp;mdash; If this is disabled, SDL is used instead for sound.&lt;br /&gt;
* &amp;lt;code&amp;gt;USE_CODEC_VORBIS&amp;lt;/code&amp;gt; &amp;amp;mdash; Disabling this will cause certain sound effects (those using the &amp;lt;code&amp;gt;.ogg&amp;lt;/code&amp;gt; format) not to play. At present, this has only a minor impact on gameplay, but more and more sounds will likely use the format in the future.&lt;br /&gt;
* &amp;lt;code&amp;gt;USE_CURSES&amp;lt;/code&amp;gt; &amp;amp;mdash; Disabling this will cause the external (not in-game) console to not use curses; it will not be scrollable and will be similar to the console in the original Tremulous. This does in no way affect gameplay.&lt;br /&gt;
* &amp;lt;code&amp;gt;USE_CIN_THEORA&amp;lt;/code&amp;gt; &amp;amp;mdash; Disabling this prevents videos from being recorded in Theora.&lt;br /&gt;
* &amp;lt;code&amp;gt;USE_CIN_XVID&amp;lt;/code&amp;gt; &amp;amp;mdash; Disabling this prevents videos from being recorded in Xvid.&lt;br /&gt;
* &amp;lt;code&amp;gt;USE_VOIP&amp;lt;/code&amp;gt; &amp;amp;mdash; Disabling this removes VOIP support. Alternatively enabling &amp;lt;code&amp;gt;USE_INTERNAL_SPEEX&amp;lt;/code&amp;gt; will use the libraries distributed with Unvanquished for VoIP&lt;br /&gt;
* &amp;lt;code&amp;gt;USE_INTERNAL_CRYPTO&amp;lt;/code&amp;gt; &amp;amp;mdash; Enable this to use the crypto libraries provided by Unvanquished.&lt;br /&gt;
&lt;br /&gt;
===Compiling===&lt;br /&gt;
&lt;br /&gt;
 $ cd &amp;lt;var&amp;gt;path/to/unvanquished&amp;lt;/var&amp;gt;&lt;br /&gt;
 $ make -j4&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt; switch to make allows you to speed up the compilation process by running it in multiple threads; set the number following this to the number of cores your processor(s) have.&lt;br /&gt;
&lt;br /&gt;
===Acquiring the Game Files===&lt;br /&gt;
&lt;br /&gt;
The game files are not in the Git repository, and must be downloaded separately.&lt;br /&gt;
&lt;br /&gt;
 $ cd &amp;lt;var&amp;gt;path/to/Unvanquished&amp;lt;/var&amp;gt;&lt;br /&gt;
 $ cd main&lt;br /&gt;
 $ wget http://sourceforge.net/projects/unvanquished/files/Assets/pak0.pk3/download&lt;br /&gt;
 $ wget http://sourceforge.net/projects/unvanquished/files/Assets/pak1.pk3/download&lt;br /&gt;
 $ wget http://sourceforge.net/projects/unvanquished/files/Map%20Pack/maps.7z/download&lt;br /&gt;
&lt;br /&gt;
You can also get the pak files in this way (requires curl):&lt;br /&gt;
&lt;br /&gt;
 $ cd &amp;lt;var&amp;gt;path/to/Unvanquished&amp;lt;/var&amp;gt;&lt;br /&gt;
 $ ./download-pk3.sh main&lt;br /&gt;
&lt;br /&gt;
The maps archive file isn't strictly necessary: if you don't have a particular map, the game will normally download it for you.&lt;br /&gt;
&lt;br /&gt;
Now you can proceed to [[running the game]].&lt;/div&gt;</summary>
		<author><name>Qrntz</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=Compiling_the_source&amp;diff=111</id>
		<title>Compiling the source</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=Compiling_the_source&amp;diff=111"/>
		<updated>2012-03-18T06:09:37Z</updated>

		<summary type="html">&lt;p&gt;Qrntz: /* Linux */ Merging all Linux instructions into a generic one with distro-specific variants when needed&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
&lt;br /&gt;
==Mac OS X==&lt;br /&gt;
&lt;br /&gt;
The preferred way of building Unvanquished on Mac OS X is to use Apple's [https://developer.apple.com/xcode/ XCode] along with [http://www.cmake.org/cmake/resources/software.html CMake]; CMake is used to generate an XCode project file that is then used to compile the code. &amp;lt;!-- TODO: is it possible to build using gcc? --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
First, follow the instructions on [[Getting_the_source##Mac_OS_X_2|this page]] to acquire the source code.&lt;br /&gt;
&lt;br /&gt;
Next, perform the following:&lt;br /&gt;
&lt;br /&gt;
# Run CMake.&lt;br /&gt;
# Enter the location of the source code.&lt;br /&gt;
# Enter the location in which you would like to build the source code. This may be the same directory.&lt;br /&gt;
# Click &amp;quot;Configure&amp;quot;. You will be prompted as to which generator you would like to use. If you have Xcode installed, choose that.&lt;br /&gt;
# Wait while the configuration process runs.&lt;br /&gt;
# '''''TODO: explain which libraries will likely have to be set'''''&lt;br /&gt;
# Click &amp;quot;Generate&amp;quot;.&lt;br /&gt;
# Close CMake and open Xcode.&lt;br /&gt;
# Open the project file created by CMake, which should be in the build directory you specified.&lt;br /&gt;
# Click the build button.&lt;br /&gt;
&lt;br /&gt;
==Windows==&lt;br /&gt;
&lt;br /&gt;
The preferred way of building Unvanquished on Windows is to use Microsoft Visual Studio.&lt;br /&gt;
The free Express version of the software works fine.&lt;br /&gt;
&lt;br /&gt;
Steps:&lt;br /&gt;
# Open src/engine/Daemon.sln in Visual Studio&lt;br /&gt;
# In the two text boxes in the toolbar, select &amp;quot;Release&amp;quot; in the first one and Win32 or Win64 in the second one&lt;br /&gt;
# Use Build &amp;amp;rarr; Build Solution to compile the code&lt;br /&gt;
&lt;br /&gt;
==Linux==&lt;br /&gt;
&lt;br /&gt;
===Dependencies===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- TODO: this may be incomplete --&amp;gt;&lt;br /&gt;
Debian/Ubuntu:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install libcurl4-gnutls-dev libfreetype6-dev libglew1.5-dev \&lt;br /&gt;
   libgmp-dev libjpeg8-dev libncurses5-dev libogg-dev libopenal-dev \&lt;br /&gt;
   libpng12-dev libsdl1.2-dev libvorbis-dev zlib1g-dev&lt;br /&gt;
&lt;br /&gt;
Gentoo:&lt;br /&gt;
&lt;br /&gt;
 $ emerge curl freetype glew gmp jpeg ncurses libogg openal libpng libsdl libvorbis zlib&lt;br /&gt;
&lt;br /&gt;
===Configuring the code with CMake===&lt;br /&gt;
&lt;br /&gt;
After you have [[Getting the source|acquired the source code]], you can proceed to compile. Unvanquished uses CMake, so you must have that installed. &lt;br /&gt;
&lt;br /&gt;
====Using ccmake (curses-based front-end)====&lt;br /&gt;
&lt;br /&gt;
Debian/Ubuntu:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install cmake-curses-gui&lt;br /&gt;
&lt;br /&gt;
On Gentoo you should set the '''ncurses''' USE flag either globally or individually, just for cmake.&lt;br /&gt;
To add the USE flag globally, edit the USE array in /etc/make.conf for it to include '''ncurses'''.&lt;br /&gt;
To only install cmake with ncurses functionality, you could do the following:&lt;br /&gt;
&lt;br /&gt;
 $ echo 'dev-util/cmake ncurses' &amp;gt;&amp;gt; /etc/portage/package.use &amp;amp;&amp;amp; emerge cmake&lt;br /&gt;
&lt;br /&gt;
Note that in Ubuntu, &amp;lt;code&amp;gt;cmake-curses-gui&amp;lt;/code&amp;gt; is in Universe, which you may have to enable with &amp;lt;code&amp;gt;software-properties-gtk&amp;lt;/code&amp;gt;. Make sure to reload the software sources with &amp;lt;code&amp;gt;sudo apt-get update&amp;lt;/code&amp;gt; afterwards.&lt;br /&gt;
&lt;br /&gt;
Next, configure the codebase.&lt;br /&gt;
&lt;br /&gt;
 $ cd &amp;lt;var&amp;gt;/path/to/unvanquished&amp;lt;/var&amp;gt;&lt;br /&gt;
 $ mkdir build&lt;br /&gt;
 $ cd build&lt;br /&gt;
 $ ccmake ..&lt;br /&gt;
&lt;br /&gt;
Alternatively, you may want to build the engine in the same directory.&lt;br /&gt;
&lt;br /&gt;
 $ cd &amp;lt;var&amp;gt;/path/to/unvanquished&amp;lt;/var&amp;gt;&lt;br /&gt;
 $ ccmake .&lt;br /&gt;
&lt;br /&gt;
Once in &amp;lt;code&amp;gt;ccmake&amp;lt;/code&amp;gt;, use the following keys:&lt;br /&gt;
&lt;br /&gt;
* Press &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;c&amp;lt;/span&amp;gt; to configure. If an error occurs during this phase, make note of it and press &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;e&amp;lt;/span&amp;gt; to dismiss it.&lt;br /&gt;
* Use the up and down arrow keys to navigate the compilation options.&lt;br /&gt;
* Press &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;Enter&amp;lt;/span&amp;gt; to enable or disable boolean options (i.e., on/off) or to edit textual options.&lt;br /&gt;
** Press &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;Esc&amp;lt;/span&amp;gt; when editing a textual option to cancel the change.&lt;br /&gt;
&lt;br /&gt;
Once you have finished the configuration process, press &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;C&amp;lt;/span&amp;gt; again, then &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;G&amp;lt;/span&amp;gt; to generate the makefile.&lt;br /&gt;
&lt;br /&gt;
====Using cmake-qt-gui (graphical front-end)====&lt;br /&gt;
&lt;br /&gt;
This graphical front end for cmake has its own package you must install:&lt;br /&gt;
&lt;br /&gt;
Debian/Ubuntu:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install cmake-qt-gui&lt;br /&gt;
&lt;br /&gt;
Gentoo (with the '''qt4''' USE flag enabled):&lt;br /&gt;
&lt;br /&gt;
 $ emerge cmake&lt;br /&gt;
&lt;br /&gt;
Once installed, run with &amp;lt;code&amp;gt;cmake-gui&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[[Image:Cmake-qt-gui.png|thumb]]&lt;br /&gt;
&lt;br /&gt;
# Set the path where you have the source code downloaded.&lt;br /&gt;
# Set the path where you would like to build the engine. This may be the same directory if you wish.&lt;br /&gt;
# Click 'Configure'.&lt;br /&gt;
# Click 'Generate'.&lt;br /&gt;
&lt;br /&gt;
====Unnecessary libraries====&lt;br /&gt;
&lt;br /&gt;
Regardless of which front-end to cmake you use, you may want to disable some libraries that are not strictly necessary:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;USE_WEBP&amp;lt;/code&amp;gt; &amp;amp;mdash; Some maps use WebP to store their textures. Currently this should have little impact on gameplay but more maps will likely use this format in the future.&lt;br /&gt;
* &amp;lt;code&amp;gt;USE_OPENAL&amp;lt;/code&amp;gt; &amp;amp;mdash; If this is disabled, SDL is used instead for sound.&lt;br /&gt;
* &amp;lt;code&amp;gt;USE_CODEC_VORBIS&amp;lt;/code&amp;gt; &amp;amp;mdash; Disabling this will cause certain sound effects (those using the &amp;lt;code&amp;gt;.ogg&amp;lt;/code&amp;gt; format) not to play. At present, this has only a minor impact on gameplay, but more and more sounds will likely use the format in the future.&lt;br /&gt;
* &amp;lt;code&amp;gt;USE_CURSES&amp;lt;/code&amp;gt; &amp;amp;mdash; Disabling this will cause the external (not in-game) console to not use curses; it will not be scrollable and will be similar to the console in the original Tremulous. This does in no way affect gameplay.&lt;br /&gt;
&lt;br /&gt;
===Compiling===&lt;br /&gt;
&lt;br /&gt;
 $ cd &amp;lt;var&amp;gt;/path/to/unvanquished&amp;lt;/var&amp;gt;&lt;br /&gt;
 $ make -j4&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;-j&amp;lt;/code&amp;gt; switch to make allows you to speed up the compilation process by running it in multiple threads; set the number following this to the number of cores your processor(s) have.&lt;br /&gt;
&lt;br /&gt;
===Acquiring the Game Files===&lt;br /&gt;
&lt;br /&gt;
The game files are not in the Git repository, and must be downloaded separately.&lt;br /&gt;
&lt;br /&gt;
 $ cd &amp;lt;var&amp;gt;path/to/Unvanquished&amp;lt;/var&amp;gt;&lt;br /&gt;
 $ cd main&lt;br /&gt;
 $ wget http://sourceforge.net/projects/unvanquished/files/Assets/pak0.pk3/download&lt;br /&gt;
 $ wget http://sourceforge.net/projects/unvanquished/files/Assets/pak1.pk3/download&lt;br /&gt;
 $ wget http://sourceforge.net/projects/unvanquished/files/Map%20Pack/maps.7z/download&lt;br /&gt;
&lt;br /&gt;
You can also get the pak files in this way (requires curl):&lt;br /&gt;
&lt;br /&gt;
 $ cd &amp;lt;var&amp;gt;path/to/Unvanquished&amp;lt;/var&amp;gt;&lt;br /&gt;
 $ ./download-pk3.sh main&lt;br /&gt;
&lt;br /&gt;
The maps archive file isn't strictly necessary: if you don't have a particular map, the game will normally download it for you.&lt;br /&gt;
&lt;br /&gt;
Now you can proceed to [[running the game]].&lt;/div&gt;</summary>
		<author><name>Qrntz</name></author>
	</entry>
	<entry>
		<id>https://staging-wiki.unvanquished.net/index.php?title=Getting_the_source&amp;diff=110</id>
		<title>Getting the source</title>
		<link rel="alternate" type="text/html" href="https://staging-wiki.unvanquished.net/index.php?title=Getting_the_source&amp;diff=110"/>
		<updated>2012-03-18T05:06:20Z</updated>

		<summary type="html">&lt;p&gt;Qrntz: a spelling error has been corrected&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Overview==&lt;br /&gt;
&lt;br /&gt;
==Installing Git==&lt;br /&gt;
&lt;br /&gt;
If you already have Git installed, you can skip this step.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
&lt;br /&gt;
Windows users can acquire git from the [http://code.google.com/p/msysgit/ MSysGit project]. If you would prefer a graphical front-end, there is [http://code.google.com/p/tortoisegit/ TortoiseGit], but regardless MSysGit must be installed.&lt;br /&gt;
&lt;br /&gt;
===Mac OS X===&lt;br /&gt;
&lt;br /&gt;
Apple has included Git with Xcode since version 4. You may download Xcode from [https://developer.apple.com/xcode/ Apple's developer website].&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
&lt;br /&gt;
====Debian &amp;amp; Ubuntu====&lt;br /&gt;
&lt;br /&gt;
Install git using the package manager:&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install git&lt;br /&gt;
&lt;br /&gt;
==Downloading the source==&lt;br /&gt;
&lt;br /&gt;
The Unvanquished source code is hosted on GitHub [https://github.com/TremZ/Unvanquished here]. You can either download a snapshot of the source by clicking 'ZIP', or you can use git to clone the repository.&lt;br /&gt;
&lt;br /&gt;
===Linux===&lt;br /&gt;
&lt;br /&gt;
Use git on the command line:&lt;br /&gt;
&lt;br /&gt;
 $ git clone https://github.com/TremZ/Unvanquished.git&lt;br /&gt;
&lt;br /&gt;
This will create a directory called &amp;lt;code&amp;gt;Unvanquished&amp;lt;/code&amp;gt; in your home folder.&lt;br /&gt;
&lt;br /&gt;
===Mac OS X===&lt;br /&gt;
&lt;br /&gt;
====Command Line====&lt;br /&gt;
&lt;br /&gt;
Acquiring the source code using the command line is the same as on Linux. Just open a Terminal (/Applications/Utilities/Terminal) window and clone the source code like so:&lt;br /&gt;
&lt;br /&gt;
 $ git clone https://github.com/TremZ/Unvanquished.git&lt;br /&gt;
&lt;br /&gt;
====Xcode 4====&lt;br /&gt;
&lt;br /&gt;
# Start Xcode.&lt;br /&gt;
# Open the Organizer window (Window &amp;amp;rarr; Organizer or &amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;Shift&amp;lt;/span&amp;gt;+&amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;Command&amp;amp;nbsp;&amp;amp;#x2318;&amp;lt;/span&amp;gt;+&amp;lt;span class=&amp;quot;hotkey&amp;quot;&amp;gt;2&amp;lt;/span&amp;gt;)&lt;br /&gt;
# Click the &amp;quot;Repositories&amp;quot; button on the top bar.&lt;br /&gt;
# Click the &amp;quot;+&amp;quot; button in the lower-left corner, and choose &amp;quot;Checkout or Clone Repository&amp;amp;hellip;&amp;quot;.&lt;br /&gt;
# In the rollout sheet that appears, enter &amp;lt;code&amp;gt;https://github.com/TremZ/Unvanquished.git&amp;lt;/code&amp;gt; into the &amp;quot;Location&amp;quot; field, and click &amp;quot;Next&amp;quot;.&lt;br /&gt;
# Enter &amp;quot;Unvanquished&amp;quot; into the &amp;quot;Name&amp;quot; field, ensure that the &amp;quot;Type&amp;quot; combo box is set to &amp;quot;Git&amp;quot;, and click &amp;quot;Clone&amp;quot;.&lt;br /&gt;
# You will be prompted where to save the repository. Choose a location and click &amp;quot;Clone&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
===Windows===&lt;br /&gt;
&lt;br /&gt;
====TortoiseGIT====&lt;br /&gt;
&lt;br /&gt;
# Make and enter a new folder to store the source code in&lt;br /&gt;
# Right click the inside of the folder &amp;amp;rarr; Git Clone...&lt;br /&gt;
# In the Url textbox enter: &amp;lt;code&amp;gt;https://github.com/TremZ/Unvanquished.git&amp;lt;/code&amp;gt;&lt;br /&gt;
# Click ok.&lt;br /&gt;
&lt;br /&gt;
====Command Line====&lt;br /&gt;
Open the MsysGit terminal and type:&lt;br /&gt;
 $ git clone https://github.com/Tremz/Unvanquished.git&lt;br /&gt;
&lt;br /&gt;
==Compiling==&lt;br /&gt;
&lt;br /&gt;
Please see [[Compiling the source|this page]] for more information.&lt;/div&gt;</summary>
		<author><name>Qrntz</name></author>
	</entry>
</feed>