Howto:Install scenery: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(added note and link about the availability of custom scenery)
mNo edit summary
Line 1: Line 1:
= Terrain =
You can download the base [[World Scenery]] 1.0.1 terrain from the FlightGear site : http://www.flightgear.org/Downloads/scenery-1.0.1.html.


You can download the base [[World Scenery]] 1.0.1 terrain from the FlightGear site : http://www.flightgear.org/Downloads/scenery-1.0.1.html.
Alternatively, custom scenery is available for certain specific areas. They are distributed separately due to their license, or because their level of detail it is not suitable for low-end machines. See the [[Suggested Airports/Scenery]] page for a list of custom scenery projects.


Alternatively, custom scenery is available for certain specific areas. They are distributed separately due to their license, or because their level of detail it is not suitable for low-end machines. See the [[Suggested_Airports/Scenery]] page for a list of custom scenery projects.
To install the scenery just extract (uncompress) the tar.gz archive file in the [[$FG_ROOT]]/Scenery directory (under Win32, using a tool such as for example [http://www.izarc.org/ izArc] or [http://www.7-zip.org/ 7-Zip]), preserving all directory structures in the file. The Scenery will be installed automatically.


To install the scenery just extract (uncompress) the tar.gz archive file in the $FG_ROOT/Scenery directory (under Win32, using a tool such as for example [http://www.izarc.org/ izArc] or [http://www.7-zip.org/ 7-Zip]), preserving all directory structures in the file. The Scenery will be installed automatically.
You can use [[FGadmin]] to uninstall added scenery.
You can use fgadmin to uninstall added scenery.


There is also a 4 DVD set available for download via BitTorent,
There is also a 4 DVD set available for download via BitTorent, which can be a higher performance option for those wanting to download the entire world:
which can be a higher performance option for those wanting
http://www.torrentbox.com/download/59050/FlightGear_4_DVD_Disk-set.torrent.
to download the entire world:
http://www.torrentbox.com/download/59050/FlightGear_4_DVD_Disk-set.torrent


== Installing Scenery ==
==Scenery==
=== Terrain ===
In your FG_ROOT directory you would find the following directories:


In your FG_ROOT directory you would find the following directories
<tt>
<pre>
*Translations/
./Translations
*Protocol/
./Protocol
*Textures/
./Textures
*Timezone/
./Timezone
*Airports/
./Airports
*gui/
./gui
*Aircraft-uiuc/
./Aircraft-uiuc
*Scenery/
./Scenery
*Traffic/
./Traffic
</tt>
...
</pre>


The Scenery directory will show the following:-
The Scenery directory will show the following (scenery is shown for completeness and for easy reference to above):
(Scenery is shown for completeness and for easy reference to above)


<pre>
<tt>
Scenery/
*Scenery/
    Terrain/
**Terrain/
        w130n30/
***w130n30/
    Objects/
**Objects/
        w130n30/
***w130n30/
</pre>
</tt>


If you download a scenery module called w90n40.tgz from [[http://flightgear.org/Downloads/scenery-1.0.1.html flightgear.org]] and extract it in Scenery, the result will resemble something like the following:-
If you download a scenery module called w90n40.tgz from [[http://flightgear.org/Downloads/scenery-1.0.1.html flightgear.org]] and extract it in Scenery, the result will resemble something like the following:


<pre>
<tt>
Scenery/
*Scenery/
    Terrain/
**Terrain/
        w09n40/
***w09n40/
        w130n30/
***w130n30/
    Objects/
**Objects/
        w09n40/
***w09n40/
        w130n30/
***w130n30/
</pre>
</tt>


:Note that the directory structure is already present in the tar archive, starting from the Scenery directory. Note that you have to extract the tar archive in the Scenery directory, not in the FG_ROOT directory, because the Scenery directory is not present in the archive.
:Note that the directory structure is already present in the tar archive, starting from the Scenery directory. Note that you have to extract the tar archive in the Scenery directory, not in the FG_ROOT directory, because the Scenery directory is not present in the archive.
Line 56: Line 52:
:If you are under linux operation system and you are not using a graphical interface to extract the tar archive, you can use one of the two following set of commands in a shell terminal.
:If you are under linux operation system and you are not using a graphical interface to extract the tar archive, you can use one of the two following set of commands in a shell terminal.


<pre>
cd $FG_ROOT/Scenery
cd $FG_ROOT/Scenery
tar -xvzf 'input_file.tgz'
tar -xvzf 'input_file.tgz'
</pre>


or
or


<pre>
tar -xvzf 'input_file.tgz' -C $FG_ROOT/Scenery
tar -xvzf 'input_file.tgz' -C $FG_ROOT/Scenery
</pre>


:In the above two example it is supposed that the variable FG_ROOT is set to the root of the data directory. If this is not set, you should substitute in the above examples the $FG_ROOT with the full pathname of this directory. In the above examples 'input_file.tgz' should be substituted with the filename of the archive to be extracted (the filename should be completed with the full pathname or any other valid method so that the shell could find the correct archive)
In the above two examples it is supposed that the variable $FG_ROOT is set to the root of the data directory. If this is not set, you should substitute in the above examples the $FG_ROOT with the full pathname of this directory. In the above examples 'input_file.tgz' should be substituted with the filename of the archive to be extracted (the filename should be completed with the full pathname or any other valid method so that the shell could find the correct archive)


TODO : Windows decompression help.
TODO : Windows decompression help.


== Objects ==
=== Objects ===
Objects and models can be found at the [http://scenemodels.flightgear.org/ FlightGear Scenery Objects Database]
Objects and models can be found at the [http://scenemodels.flightgear.org/ FlightGear Scenery Objects Database].
 
These objects are included in each scenery release, but as the object database is frequently updated one may want to occasionally update the Object subdirectory from the FlightGear Scenery Objects Database between scenery releases.
These objects are included in each scenery release, but as the object database is frequently updated one may want to occasionally update the Object subdirectory from the FlightGear Scenery Objects Database between scenery releases.
Another option is to download or update the scenery on-demand by using the terrasync program described below.
Another option is to download or update the scenery on-demand by using the terrasync program described below.
Line 78: Line 71:
Objects are really part of the scenery and can be found in the Scenery directory under $FG_ROOT.
Objects are really part of the scenery and can be found in the Scenery directory under $FG_ROOT.


<pre>
<tt>
Scenery/
*Scenery/
    Objects/
**Objects/
        w130n30/
***w130n30/
</pre>
</tt>


Any objects should be installed under the Scenery/Objects directory.
Any objects should be installed under the Scenery/Objects directory.


= Technical =
==Technical==
Scenery for FlightGear is determined by looking at the environment variable $FG_SCENERY. Should the paths in $FG_SCENERY not be valid, FlightGear falls back to $FG_ROOT/scenery.
Scenery for FlightGear is determined by looking at the environment variable $FG_SCENERY. Should the paths in $FG_SCENERY not be valid, FlightGear falls back to $FG_ROOT/scenery.


Line 95: Line 88:


Then you should set up $FG_SCENERY to use the new path:
Then you should set up $FG_SCENERY to use the new path:
On POSIX Clients
*On POSIX Clients<br>set FG_SCENERY="$FOOBAR/Scenery" + FG_SCENERY
set FG_SCENERY="$FOOBAR/Scenery" + FG_SCENERY
*On Windows (FGRun)<br>Go back to the first page of fgrun, and add the $FOOBAR/Scenery folder to the list.
On Windows (fgrun)
Go back to the first page of fgrun, and add the $FOOBAR/Scenery folder to the list.
 
= Downloading From Mirrors =
A list of mirrors can be found here: http://www.flightgear.org/mirrors.html#ftp
<br>
On most of the mirrors, the latest scenery can be found under "Scenery-1.0.0/" <br> Downloading from mirrors is often better than the official site, because mirrors are sometimes faster and have more user capacity. Use the graphical interface ( http://www.flightgear.org/Downloads/scenery-1.0.0.html ) and use the link locations to find the appropriate chunk. <br>
Be careful about confusing N with S, and E with W!! <br>
Here is how to find an airport's co-ordinates: <br><br>


* Go to the Wikipedia page for the airport in question (for example, PHNL for Honolulu)
==Downloading from mirrors==
* Find the co-ordinates (often at the top or right and side, marked with a small globe)
A list of mirrors can be found [http://www.flightgear.org/mirrors.html#ftp here].
* e.g. PHNL is in 21 N 157 W. If it's in the western hemisphere, you should round it up... so you should find the block with W160N20 If the co-ords were 21 N 157 E, you would round it '''down'''.. meaning that this location would be E150N20.


= TerraSync =
On most of the mirrors, the latest scenery can be found under <tt>Scenery-1.0.0/</tt>. Downloading from mirrors is often better than the official site, because mirrors are sometimes faster and have more user capacity. Use the [http://www.flightgear.org/Downloads/scenery-1.0.0.html graphical interface] to find the appropriate chunk. Be careful about confusing N with S, and E with W!!
Here is how to find an airport's co-ordinates:


TerraSync is a very useful utility that automatically downloads needed FlightGear scenery while the simulator is running.  
# Go to the Wikipedia page for the airport in question (for example, PHNL for Honolulu)
# Find the co-ordinates (often at the top or right and side, marked with a small globe)
#* e.g. PHNL is in 21 N 157 W. If it's in the western hemisphere, you should round it up... so you should find the block with W160N20 If the co-ords were 21 N 157 E, you would round it '''down'''.. meaning that this location would be E150N20.


For more information, see the main entry [[TerraSync]].
==TerraSync==
[[TerraSync]] is a very useful utility that automatically downloads needed FlightGear scenery while the simulator is running.  


=See also=
==Related content==
* [[FlightGear Admin Wizard|FGAdmin]]
* [[FlightGear Admin Wizard|FGAdmin]]
* [[Installing Aircraft]]
* [[Installing Aircraft]]

Navigation menu