15
edits
(→Obtaining data from Git: activate SafeCRLF option in git) |
No edit summary |
||
| Line 14: | Line 14: | ||
===Obtaining data from Git=== | ===Obtaining data from Git=== | ||
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. | 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. | ||
Method 1: | |||
[[Image:msysgit_clone_fgdata.jpg|thumb|270px|The Git Bash window]] | [[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 30: | Line 32: | ||
'''IMPORTANT II:''' Some files demand that CR/LF (carriage return / line feed) line breaks are kept in the way they are stored on Gitorious. Make sure to set "git-config core.safecrlf true" and "git-config core.autocrlf false" in your options or you may receive nasty error or even a crash on startup of FG (e.g. fgtzfile_read(): : Invalid argument... Fatal error: Timezone reading failed). | '''IMPORTANT II:''' Some files demand that CR/LF (carriage return / line feed) line breaks are kept in the way they are stored on Gitorious. Make sure to set "git-config core.safecrlf true" and "git-config core.autocrlf false" in your options or you may receive nasty error or even a crash on startup of FG (e.g. fgtzfile_read(): : Invalid argument... Fatal error: Timezone reading failed). | ||
Method 2: | |||
Download this file : fgdata.bundle from http://peter-server.homelinux.net/fgdata/fgdata/ | |||
or http://flightgear.mxchange.org/pub/fgfs/ | |||
Copy this file to your <tt>FlightGear/data</tt>. | |||
Browse to the Flightgear directory, right click on the | |||
<tt>/data</tt> directory . Choosing the "Git Bash" option pops up a command prompt. Add the following command and press Enter. | |||
git clone fgdata.bundle | |||
Now msysGit will pull the entire fgdata package into your <tt>FlightGear/data</tt> directory. | |||
===Getting the binary=== | ===Getting the binary=== | ||
edits