You may be wondering, how can I contribute to this awesome project and help Ze_PilOt out? But, you may not know where to start. Well, here's how:
First, download Python 2.7 (the language FAF is written in) here: http://www.python.org/ftp/python/2.7.4/python-2.7.4.msi
You'll need to install it before continuing. Once it's installed, you'll need to tell your computer where it can find Python. To do this, you need to find your My Computer icon and right click it, then click on Properties. In the window that pops up, find "Advanced System Settings" and click on that. When that box opens, click on the Environment Variables button at the bottom. When that box opens, you'll see a list of stuff. In the second part of the window, under System variables, find a key called "Path." Highlight this and click Edit... then go to the end of that line and type a semicolon, followed by the path where you installed Python to. If you accepted all the defaults, it'll be C:\Python27\. Click OK when you're finished, then OK again on the Environment Variables window.
You've by now successfully installed Python and your system knows where to find python.exe. Now what?
You'll need to get yourself a way of retrieving a copy of FAFs files so you can modify them. For that, you'll need to install Git and TortoiseHG. Git can be retrieved from http://msysgit.googlecode.com/files/Git ... 130201.exe and Tortoise can be retrieved from http://cdn.bitbucket.org/tortoisehg/fil ... .2-x64.msi. Install both of those and if you need help during installation, refer to their respective documentations. It's outside the scope of this guide.
Now that you have a way to get Ze_PilOt's files, how do you actually make changes and test them?
Ze_PilOt didn't just use the base Python libraries to build FAF. APIs were downloaded and installed to assist with FAFs development. You'll want to download and install the following APIs for Python:
- PyQt4 with QT 4.7.2: http://hivelocity.dl.sourceforge.net/pr ... .4-x32.exe
- Python Win32Api: http://iweb.dl.sourceforge.net/project/ ... -py2.7.exe
- Py2Exe: http://superb-dca3.dl.sourceforge.net/p ... -py2.7.exe
- Numpy: http://superb-dca3.dl.sourceforge.net/p ... hon2.7.exe
- Scipy: http://hivelocity.dl.sourceforge.net/pr ... hon2.7.exe
- Python matplotlib: http://hivelocity.dl.sourceforge.net/pr ... -py2.7.exe
- FreeImagePy: http://hivelocity.dl.sourceforge.net/pr ... ll.tar.bz2
- bsdiff: If you have FAF installed, you already have this file. It is the bsdiff.pyd file in FAFs install directory. Simply copy and paste that into the src directory of the clone you have of Ze_PilOt's repo.
Note that all of these files are 32-bit distributions. I tried a 64 bit version of Python along with 64-bit versions of the libraries, but had to stop when I found a library that didn't exist in 64-bit.
By now, you should have everything so that you can navigate a command line window to the directory you downloaded your clone, run python main.py and FAF should run its development version.
Happy coding!