


<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://bitfighter.org/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://bitfighter.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dbuck</id>
		<title>Bitfighter - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="http://bitfighter.org/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dbuck"/>
		<link rel="alternate" type="text/html" href="http://bitfighter.org/wiki/index.php/Special:Contributions/Dbuck"/>
		<updated>2026-11-29T08:58:28Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.23.15</generator>

	<entry>
		<id>http://bitfighter.org/wiki/index.php/Building_Bitfighter</id>
		<title>Building Bitfighter</title>
		<link rel="alternate" type="text/html" href="http://bitfighter.org/wiki/index.php/Building_Bitfighter"/>
				<updated>2010-11-16T20:42:42Z</updated>
		
		<summary type="html">&lt;p&gt;Dbuck: /* Source */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Source Code=&lt;br /&gt;
Bitfighter uses subversion for source content control and management.&lt;br /&gt;
&lt;br /&gt;
The current version of the Bitfighter source is available via SVN:&lt;br /&gt;
 svn checkout &amp;lt;nowiki&amp;gt;https://bitfighter.googlecode.com/svn/tags/bitfighter-013e&amp;lt;/nowiki&amp;gt; bitfighter&lt;br /&gt;
&lt;br /&gt;
You may also checkout from trunk to test the bleeding edge changes:&lt;br /&gt;
 svn checkout &amp;lt;nowiki&amp;gt;https://bitfighter.googlecode.com/svn/trunk&amp;lt;/nowiki&amp;gt; bitfighter&lt;br /&gt;
&lt;br /&gt;
Browsing: http://code.google.com/p/bitfighter/source/browse/&lt;br /&gt;
&lt;br /&gt;
Changelog: http://code.google.com/p/bitfighter/source/list&lt;br /&gt;
&lt;br /&gt;
=Linux=&lt;br /&gt;
Bitfighter should build on any major flavor of Linux.  It has been tested and is known to work on Ubuntu and Centos.  &lt;br /&gt;
&lt;br /&gt;
The Bitfighter client depends on Freeglut and the Lua development libraries.  Freeglut is not needed to build a Bitfighter dedicated server (without client portions).&lt;br /&gt;
&lt;br /&gt;
Bitfighter must be compiled with the g++ compiler, which is not included in many Linux distributions.  SVN is required to obtain the source code.&lt;br /&gt;
&lt;br /&gt;
To get the Bitfighter source, use SVN (get the latest production version using the command at the top of this page)&lt;br /&gt;
&lt;br /&gt;
The game will build out-of-the-box on many distros.  For details of the various build options, please see the top-level Makefile.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Building full game client on a clean install of Ubuntu'''&lt;br /&gt;
These instructions should work on both 32 and 64 bit platforms.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install subversion g++ libreadline6-dev&lt;br /&gt;
sudo apt-get install freeglut3-dev libopenal-dev libalut-dev&lt;br /&gt;
&lt;br /&gt;
# Get the source code&lt;br /&gt;
svn co https://bitfighter.googlecode.com/svn/tags/[version] bitfighter&lt;br /&gt;
&lt;br /&gt;
# Build the game -- the standard options should work&lt;br /&gt;
cd bitfighter&lt;br /&gt;
make&lt;br /&gt;
&lt;br /&gt;
# Copy required files into exe folder:&lt;br /&gt;
cd exe&lt;br /&gt;
cp -r ../installer/levels .&lt;br /&gt;
cp -r ../installer/robots .&lt;br /&gt;
cp -r ../installer/sfx .&lt;br /&gt;
cp -r ../installer/screenshots .&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Building a dedicated server on a typical clean Centos virtual server instance'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
yum -y update&lt;br /&gt;
yum -y install subversion&lt;br /&gt;
yum -y install gcc&lt;br /&gt;
yum -y install gcc-c++&lt;br /&gt;
yum -y install zip        # For archiving purposes&lt;br /&gt;
&lt;br /&gt;
yum install -y ncurses-devel     # Needed on some servers&lt;br /&gt;
yum install -y readline-devel    # Needed on some servers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Get the source code&lt;br /&gt;
svn co https://bitfighter.googlecode.com/svn/tags/[version] bitfighter&lt;br /&gt;
&lt;br /&gt;
# Build the dedicated server (called bitfighterd)&lt;br /&gt;
cd bitfighter&lt;br /&gt;
make dedicated &lt;br /&gt;
&lt;br /&gt;
# Copy required files into exe folder:&lt;br /&gt;
cd exe&lt;br /&gt;
cp -r ../installer/levels .&lt;br /&gt;
cp -r ../installer/robots .&lt;br /&gt;
cp -r ../installer/sfx .&lt;br /&gt;
cp -r ../installer/screenshots .&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Windows=&lt;br /&gt;
Bitfighter can be built with MS Visual C++ 2010 Express Edition, a free download from Microsoft, and a much-improved IDE over previous versions.  &lt;br /&gt;
&lt;br /&gt;
To compile, you'll need to obtain a few files directly from Microsoft -- see the &amp;lt;i&amp;gt;readme.txt&amp;lt;/i&amp;gt; in the folder &amp;lt;i&amp;gt;win_include_do_not_distribute&amp;lt;/i&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=OS X=&lt;br /&gt;
Bitfighter builds on OS X using Xcode 3.1 or greater.  You must have developer tools installed to build bitfighter on OS X!&lt;br /&gt;
(You can get them [http://developer.apple.com/technologies/tools/xcode.html from Apple].)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you don't wish to download Xcode with iOS integration (saves about 2GB off of downloading) you can get older versions on the [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wo/5.1.17.2.1.3.3.1.0.1.1.0.3.3.3.3.1 developer downloads page].  Xcode 3.2.2 is the latest without iOS built in.&lt;br /&gt;
&lt;br /&gt;
===Getting the source===&lt;br /&gt;
The Bitfighter source is available via SVN.  To access SVN on your Mac, open Applications &amp;gt; Utilities &amp;gt; Terminal and paste in the SVN command, located at the top of this page,&lt;br /&gt;
[http://bitfighter.org/wiki/index.php?title=Building_Bitfighter#Source here]&lt;br /&gt;
&lt;br /&gt;
This will download the Bitfighter source into your home folder.&lt;br /&gt;
&lt;br /&gt;
===Building Bitfighter===&lt;br /&gt;
'''Note: ''' ''Do NOT use the OSX project folder. It is an old unused file. Instead, find the folder that says 'zap' ''&lt;br /&gt;
&lt;br /&gt;
#Navigate through bitfighter &amp;gt; zap &amp;gt; Bitfighter.xcodeproj&lt;br /&gt;
#Open Bitfighter.xcodeproj with Xcode.&lt;br /&gt;
#Click 'Build and Go' at the top.  Bitfighter should compile successfully and attempt to launch.&lt;br /&gt;
#*'''Note:''' building from trunk may NOT complete successfully and/or the launch may fail.&lt;br /&gt;
#Your newly created bundle is found in your SVN source checkout folder at bitfighter &amp;gt; zap &amp;gt; build &amp;gt; Release&lt;br /&gt;
&lt;br /&gt;
Now you have successfully built your own Bitfighter game.&lt;br /&gt;
&lt;br /&gt;
===Notes===&lt;br /&gt;
# The bitfighter project also builds the tnl and libtomcrypt frameworks automatically before compiling the bitfighter source itself.&lt;br /&gt;
# The following frameworks are added automatically to the bundle:&lt;br /&gt;
#*libtomcrypt.framework&lt;br /&gt;
#*tnl.framework&lt;br /&gt;
#*Openal-Soft.framework&lt;br /&gt;
#*FreeALUT.framework&lt;br /&gt;
# Upon first launch of your newly created game, a hidden folder '.bitfighter' is created in your home directory.  This folder contains bitfighter settings as well as the levels, scripts, and screenshots save locations.  You can get to the folder in a terminal, or by going through the alias as Documents &amp;gt; bitfighter_settings.&lt;/div&gt;</summary>
		<author><name>Dbuck</name></author>	</entry>

	<entry>
		<id>http://bitfighter.org/wiki/index.php/Getting_the_source_code</id>
		<title>Getting the source code</title>
		<link rel="alternate" type="text/html" href="http://bitfighter.org/wiki/index.php/Getting_the_source_code"/>
				<updated>2010-11-16T20:40:14Z</updated>
		
		<summary type="html">&lt;p&gt;Dbuck: /* Windows */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;See: [http://bitfighter.org/wiki/index.php?title=Building_Bitfighter#Source Building Bitfighter]&lt;/div&gt;</summary>
		<author><name>Dbuck</name></author>	</entry>

	<entry>
		<id>http://bitfighter.org/wiki/index.php/Getting_the_source_code</id>
		<title>Getting the source code</title>
		<link rel="alternate" type="text/html" href="http://bitfighter.org/wiki/index.php/Getting_the_source_code"/>
				<updated>2010-11-16T20:39:35Z</updated>
		
		<summary type="html">&lt;p&gt;Dbuck: /* Linux, Mac, Windows(Cygwin) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Windows=&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
See: [http://bitfighter.org/wiki/index.php?title=Building_Bitfighter#Source Building Bitfighter]&lt;/div&gt;</summary>
		<author><name>Dbuck</name></author>	</entry>

	<entry>
		<id>http://bitfighter.org/wiki/index.php/Building_Bitfighter</id>
		<title>Building Bitfighter</title>
		<link rel="alternate" type="text/html" href="http://bitfighter.org/wiki/index.php/Building_Bitfighter"/>
				<updated>2010-11-16T20:37:52Z</updated>
		
		<summary type="html">&lt;p&gt;Dbuck: googlecode SVN; mac building updates&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Source=&lt;br /&gt;
Bitfighter uses subversion for source content control and management.&lt;br /&gt;
&lt;br /&gt;
The current version of the Bitfighter source is available via SVN:&lt;br /&gt;
 svn checkout &amp;lt;nowiki&amp;gt;https://bitfighter.googlecode.com/svn/tags/bitfighter-013e&amp;lt;/nowiki&amp;gt; bitfighter&lt;br /&gt;
&lt;br /&gt;
You may also checkout from trunk to test the bleeding edge changes:&lt;br /&gt;
 svn checkout &amp;lt;nowiki&amp;gt;https://bitfighter.googlecode.com/svn/trunk&amp;lt;/nowiki&amp;gt; bitfighter&lt;br /&gt;
&lt;br /&gt;
=Linux=&lt;br /&gt;
Bitfighter should build on any major flavor of Linux.  It has been tested and is known to work on Ubuntu and Centos.  &lt;br /&gt;
&lt;br /&gt;
The Bitfighter client depends on Freeglut and the Lua development libraries.  Freeglut is not needed to build a Bitfighter dedicated server (without client portions).&lt;br /&gt;
&lt;br /&gt;
Bitfighter must be compiled with the g++ compiler, which is not included in many Linux distributions.  SVN is required to obtain the source code.&lt;br /&gt;
&lt;br /&gt;
To get the Bitfighter source, use SVN (get the latest production version using the command at the top of this page)&lt;br /&gt;
&lt;br /&gt;
The game will build out-of-the-box on many distros.  For details of the various build options, please see the top-level Makefile.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Building full game client on a clean install of Ubuntu'''&lt;br /&gt;
These instructions should work on both 32 and 64 bit platforms.&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install subversion g++ libreadline6-dev&lt;br /&gt;
sudo apt-get install freeglut3-dev libopenal-dev libalut-dev&lt;br /&gt;
&lt;br /&gt;
# Get the source code&lt;br /&gt;
svn co https://bitfighter.googlecode.com/svn/tags/[version] bitfighter&lt;br /&gt;
&lt;br /&gt;
# Build the game -- the standard options should work&lt;br /&gt;
cd bitfighter&lt;br /&gt;
make&lt;br /&gt;
&lt;br /&gt;
# Copy required files into exe folder:&lt;br /&gt;
cd exe&lt;br /&gt;
cp -r ../installer/levels .&lt;br /&gt;
cp -r ../installer/robots .&lt;br /&gt;
cp -r ../installer/sfx .&lt;br /&gt;
cp -r ../installer/screenshots .&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Building a dedicated server on a typical clean Centos virtual server instance'''&lt;br /&gt;
&amp;lt;source lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
yum -y update&lt;br /&gt;
yum -y install subversion&lt;br /&gt;
yum -y install gcc&lt;br /&gt;
yum -y install gcc-c++&lt;br /&gt;
yum -y install zip        # For archiving purposes&lt;br /&gt;
&lt;br /&gt;
yum install -y ncurses-devel     # Needed on some servers&lt;br /&gt;
yum install -y readline-devel    # Needed on some servers&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Get the source code&lt;br /&gt;
svn co https://bitfighter.googlecode.com/svn/tags/[version] bitfighter&lt;br /&gt;
&lt;br /&gt;
# Build the dedicated server (called bitfighterd)&lt;br /&gt;
cd bitfighter&lt;br /&gt;
make dedicated &lt;br /&gt;
&lt;br /&gt;
# Copy required files into exe folder:&lt;br /&gt;
cd exe&lt;br /&gt;
cp -r ../installer/levels .&lt;br /&gt;
cp -r ../installer/robots .&lt;br /&gt;
cp -r ../installer/sfx .&lt;br /&gt;
cp -r ../installer/screenshots .&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Windows=&lt;br /&gt;
Bitfighter can be built with MS Visual C++ 2010 Express Edition, a free download from Microsoft, and a much-improved IDE over previous versions.  &lt;br /&gt;
&lt;br /&gt;
To compile, you'll need to obtain a few files directly from Microsoft -- see the &amp;lt;i&amp;gt;readme.txt&amp;lt;/i&amp;gt; in the folder &amp;lt;i&amp;gt;win_include_do_not_distribute&amp;lt;/i&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=OS X=&lt;br /&gt;
Bitfighter builds on OS X using Xcode 3.1 or greater.  You must have developer tools installed to build bitfighter on OS X!&lt;br /&gt;
(You can get them [http://developer.apple.com/technologies/tools/xcode.html from Apple].)&lt;br /&gt;
&lt;br /&gt;
'''Note:''' If you don't wish to download Xcode with iOS integration (saves about 2GB off of downloading) you can get older versions on the [http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wo/5.1.17.2.1.3.3.1.0.1.1.0.3.3.3.3.1 developer downloads page].  Xcode 3.2.2 is the latest without iOS built in.&lt;br /&gt;
&lt;br /&gt;
===Getting the source===&lt;br /&gt;
The Bitfighter source is available via SVN.  To access SVN on your Mac, open Applications &amp;gt; Utilities &amp;gt; Terminal and paste in the SVN command, located at the top of this page,&lt;br /&gt;
[http://bitfighter.org/wiki/index.php?title=Building_Bitfighter#Source here]&lt;br /&gt;
&lt;br /&gt;
This will download the Bitfighter source into your home folder.&lt;br /&gt;
&lt;br /&gt;
===Building Bitfighter===&lt;br /&gt;
'''Note: ''' ''Do NOT use the OSX project folder. It is an old unused file. Instead, find the folder that says 'zap' ''&lt;br /&gt;
&lt;br /&gt;
#Navigate through bitfighter &amp;gt; zap &amp;gt; Bitfighter.xcodeproj&lt;br /&gt;
#Open Bitfighter.xcodeproj with Xcode.&lt;br /&gt;
#Click 'Build and Go' at the top.  Bitfighter should compile successfully and attempt to launch.&lt;br /&gt;
#*'''Note:''' building from trunk may NOT complete successfully and/or the launch may fail.&lt;br /&gt;
#Your newly created bundle is found in your SVN source checkout folder at bitfighter &amp;gt; zap &amp;gt; build &amp;gt; Release&lt;br /&gt;
&lt;br /&gt;
Now you have successfully built your own Bitfighter game.&lt;br /&gt;
&lt;br /&gt;
===Notes===&lt;br /&gt;
# The bitfighter project also builds the tnl and libtomcrypt frameworks automatically before compiling the bitfighter source itself.&lt;br /&gt;
# The following frameworks are added automatically to the bundle:&lt;br /&gt;
#*libtomcrypt.framework&lt;br /&gt;
#*tnl.framework&lt;br /&gt;
#*Openal-Soft.framework&lt;br /&gt;
#*FreeALUT.framework&lt;br /&gt;
# Upon first launch of your newly created game, a hidden folder '.bitfighter' is created in your home directory.  This folder contains bitfighter settings as well as the levels, scripts, and screenshots save locations.  You can get to the folder in a terminal, or by going through the alias as Documents &amp;gt; bitfighter_settings.&lt;/div&gt;</summary>
		<author><name>Dbuck</name></author>	</entry>

	</feed>