FlightGear Git on Windows

From FlightGear wiki
Revision as of 20:38, 29 May 2010 by Gijs (talk | contribs) (Created page with 'This document guides you through the development version of FlightGear (Git) installation process on Windows. ===Pre-installation work=== Before we start, we will choose…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This document guides you through the development version of FlightGear (Git) installation process on Windows.

Pre-installation work

Before we start, we will choose an installation directory. This can be any drive on your computer. In this document, we assume that you install FlightGear on the D:/ drive. Just replace the commands given in this document by your installation directory when using another drive or different directory root.

Create the following directories on your drive:

  • FlightGear/
    • bin/
      • win32/
    • data/

Obtaining data from Git

You can use any Git software, however we advise to use msysGit. You can download it through this link. Follow the download/installation instructions that show up on your screen.

Once msysGit is installed, browse to your FlightGear/data directory and right click. Choosing the "Git Bash" option pops up a command prompt. Add the following command and press Enter.

git clone git://gitorious.org/fg/fgdata.git D:/FlightGear/data

Now msysGit will pull the entire fgdata package into your FlightGear/data directory. This can take up to a couple of hours on slow internet connections!

Getting the binary

Now we've got all the data, we need to have a binary, which contains the actual software that runs FlightGear. Go to ftp://ftp.ihg.uni-duisburg.de/FlightGear/Win32 and download the latest fgrun+fgfs-osg-win32-git.zip file that is available. Unpack the file in your FlightGear/bin/win32 directory.

Running FlightGear

Run FlightGear/bin/win32/fgrun.exe to launch the FlightGear Wizard, or run FlightGear/bin/win32/fgfs.exe by commandline.