8,814
edits
mNo edit summary |
m (+ update paragraph) |
||
| Line 2: | Line 2: | ||
This document guides you through the development version of [[FlightGear]] ([[Git]]) installation process on Windows. | This document guides you through the development version of [[FlightGear]] ([[Git]]) installation process on Windows. | ||
==A first Git install== | |||
===Pre-installation work=== | ===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. | 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. | ||
| Line 13: | Line 14: | ||
===Obtaining data from Git=== | ===Obtaining data from Git=== | ||
You can use any Git software, however we advise to use msysGit. You can download it through [http://code.google.com/p/msysgit/downloads/list this link]. Follow the download/installation instructions that show up on your screen. | You can use any Git software, however we advise to use msysGit (which will be used in this document). You can download it through [http://code.google.com/p/msysgit/downloads/list this link]. Follow the download/installation instructions that show up on your screen. | ||
[[Image:msysgit_clone_fgdata.jpg|thumb|270px|The Git Bash window]] | |||
Once msysGit is installed, browse to your <tt>FlightGear/data</tt> directory and right click. Choosing the "Git Bash" option pops up a command prompt. Add the following command and press Enter. | Once msysGit is installed, browse to your <tt>FlightGear/data</tt> directory and right click. Choosing the "Git Bash" option pops up a command prompt. Add the following command and press Enter. | ||
| Line 26: | Line 28: | ||
===Running FlightGear=== | ===Running FlightGear=== | ||
Run <tt>FlightGear/bin/win32/fgrun.exe</tt> to launch the [[FlightGear Wizard]], or run <tt>FlightGear/bin/win32/fgfs.exe</tt> by commandline. | Run <tt>FlightGear/bin/win32/fgrun.exe</tt> to launch the [[FlightGear Wizard]], or run <tt>FlightGear/bin/win32/fgfs.exe</tt> by commandline. | ||
==Keeping your FlightGear up to date== | |||
Of course you want to keep FlightGear up to date, to keep current with the latest developments. Else you don't have a reason to use the development version. | |||
# Download the latest binary, as described in [[#Getting the binary|Getting the binary]] and overwrite the old one in <tt>FlightGear/bin/win32</tt> (instead you could rename the current binary's directory to something like win32_latest, in case the newer binary doesn't work well). | |||
# Update your <tt>FlightGear/data/</tt> directory, to match it with the binary. For smooth operations, it is very important to have data and a binary from matching dates! | |||
## Find out what date your just downloaded binary was created. | |||
## Find out what's the version of the latest commit of the day before that day, through the [http://gitorious.org/fg/fgdata/commits/master Gitorious log]. A version-"number" looks like: da1ba93. | |||
## Right click > Git Bash the following script to your <tt>FlightGear/data</tt> directory (replacing da1ba93 with your appropriate version).<br><pre>git checkout da1ba93 D:/FlightGear/data</pre> | |||