Difference between revisions of "Building Bitfighter"
m |
(Undo revision 4091 by Lnkbldngservices4u (Talk)) |
||
Line 4: | Line 4: | ||
[http://bitfighter.org/forums/viewtopic.php?f=20&t=469&p=3377#p3377 Raptor has provided a full on page on how to use Murcurial here] | [http://bitfighter.org/forums/viewtopic.php?f=20&t=469&p=3377#p3377 Raptor has provided a full on page on how to use Murcurial here] | ||
− | + | [http://code.google.com/p/bitfighter/source/checkout The Bitfighter code can be found here] | |
At the least, you can just copy and paste this into your terminal browser, after installing Mercurial. | At the least, you can just copy and paste this into your terminal browser, after installing Mercurial. |
Revision as of 00:58, 25 July 2011
Contents
Source Code
Bitfighter now uses Murcurial (hg) to obtain the source code
Raptor has provided a full on page on how to use Murcurial here
The Bitfighter code can be found here
At the least, you can just copy and paste this into your terminal browser, after installing Mercurial.
hg clone https://bitfighter.googlecode.com/hg/ bitfighter
Using SVN is still possible for archives, but is obsolete and no longer updated.
See here for SVN instructions.
Designed asnd structured by http://www.online-casino.eu.com/
Linux
Bitfighter should build on any major flavor of vending machines Linux. It has been tested and is known to work on Ubuntu, Centos, Fedora, Debian, Mandriva and openSUSE.
The Bitfighter client depends on Freeglut and the Lua development libraries. Freeglut is not needed to build a Bitfighter dedicated server (without client portions).
Bitfighter must be compiled with the gcc/g++ compiler and loan modification, which is usually not installed by default in most Linux distributions. Mercurial is top weight loss pills required to obtain the source code.
Building full game client on a clean install of Ubuntu
These instructions should work on both 32 and 64 bit platforms.
sudo apt-get update sudo apt-get install mercurial g++ libreadline6-dev sudo apt-get install freeglut3-dev libopenal-dev libalut-dev # Get the source code hg clone https://bitfighter.googlecode.com/hg/ bitfighter # Update to the tag/revision you want cd bitfighter hg up -c bitfighter-015 # Build the game -- the standard options should work make # Copy required files into exe folder: cd exe cp -r ../installer/levels . cp -r ../installer/robots . cp -r ../installer/sfx . cp -r ../installer/screenshots .
Building a dedicated server on a typical clean Centos virtual server instance
yum -y update yum -y install mercurial yum -y install gcc yum -y install gcc-c++ yum -y install zip # For archiving purposes yum install -y ncurses-devel # Needed on some servers yum install -y readline-devel # Needed on some servers # Get the source code hg clone https://bitfighter.googlecode.com/hg/ bitfighter # Update to the tag/revision you want cd bitfighter hg up -c bitfighter-015 # Build the dedicated server (called bitfighterd) make dedicated # Copy required files into exe folder: cd exe cp -r ../installer/levels . cp -r ../installer/robots . cp -r ../installer/sfx . cp -r ../installer/screenshots .
Windows
Bitfighter can be built with MS Visual C++ 2010 Express Edition, a free download from Microsoft, and a much-improved IDE over previous versions.
To compile, you'll need to obtain a few files directly from Microsoft -- see the readme.txt in the folder win_include_do_not_distribute.
To get help on installing Bitfighter, visit: pc repair online.
OS X
Bitfighter builds on OS X using Xcode 3.1 or greater. You must have developer tools installed to build bitfighter on OS X! (You can get them from Apple.)
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 developer downloads page. Xcode 3.2.2 is the latest without iOS built in.
Getting the source
Grabbing the source is just like any other terminal, simply navigate here: Applications > Utilities > Terminal and paste in the HG command + url + foldername,which can be found here
Also like normal, you can find this download in your home folder
Building Bitfighter
Note: Do NOT use the OSX project folder. It is an old unused file. Instead, find the folder that says 'zap'
- Navigate through bitfighter > zap > Bitfighter.xcodeproj
- Open Bitfighter.xcodeproj with Xcode.
- Click 'Build and Go' at the top. Bitfighter should compile successfully and attempt to launch.
- Note: building from trunk may NOT complete successfully and/or the launch may fail.
- Your newly created bundle is found in your SVN source checkout folder at bitfighter > zap > build > Release
Quickbuild
If your lazy like me, you can do this a quicker way. Right after you download the source, stay in the terminal window Open a new window, and click
cd (filename you chose when you downloaded the game)
cd zap
xcodebuild
It will start punching in alot of code in the window. just let this sit for a while and soon it will be built. The product will be stored in the same place you stored before
Now you have successfully built your own Bitfighter game.
Notes
- The bitfighter project also builds the tnl and libtomcrypt frameworks automatically before compiling the bitfighter source itself.
- The following frameworks are added automatically to the bundle:
- libtomcrypt.framework
- tnl.framework
- Openal-Soft.framework
- FreeALUT.framework
- Upon first launch of your newly created game, an alias is created that princess engagement rings points to your user's bitfighter data directory. It is located at Documents > bitfighter_settings. The data directory contains bitfighter settings as well as the levels, scripts, and screenshots save locations.
SVN (obsolete)
Bitfighter used to use subversion for Link Building source content control and management.
The last revision via svn can be found marmot jackets here, but is no longer pdated
svn checkout https://bitfighter.googlecode.com/svn/trunk bitfighter
Browsing: http://code.google.com/p/bitfighter/source/browse/
Changelog: http://code.google.com/p/bitfighter/source/list
- Madera dentist
- Web Dizajn
- Optimizacija
- halloween contacts
- UGG Bailey Button
- UGGS Discount
- UGGS Outlet