FGo!: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Created page with 'FGo! is a simple GUI front-end for FlightGear written in Python. It takes slightly different approach than any other such application - it combines a simple GUI which allows you …')
 
(Link to other front-ends, remove note)
 
(49 intermediate revisions by 9 users not shown)
Line 1: Line 1:
FGo! is a simple GUI front-end for FlightGear written in Python. It takes slightly different approach than any other such application - it combines a simple GUI which allows you to select a plane, airport, runway, park position and scenario. In addition there is text window where you can write more advanced command line options that will be passed to FlightGear.
{{Infobox Software
| title                  = FGo!
| image                  = FGo_1.4.png
| alt                    =
| developedby            = Robert 'erobo' Leda,<br />Florent Rougon
| initialrelease        = 0.9 (24.09.2009)
| latestrelease          = 1.5.5 (30.11.2014)
| writtenin              = Python
| os                    = GNU/Linux, Windows
| developmentstatus      = Active (2009- )
| website                = https://sites.google.com/site/erobosprojects/flightgear/add-ons/fgo
| license                = [http://en.wikipedia.org/wiki/WTFPL WTFPL ]
}}'''FGo!''' is a simple and fast [[:Category:FlightGear_front_ends|GUI front end]] for [[FlightGear]], written in Python. It takes a slightly different approach from any other similar application, by combining a simple graphical interface, where users can select an [[aircraft]], [[:Category:Airports|airport]], runway, park position and scenario, with a text window where it is possible to write more advanced [[command line options]] that will be passed to FlightGear. These features allow FGo! to keep a minimalist but powerful design.


In its current state it also provides a checkbox for terragear and supports different languages. FGo! is available for download from in the first post of its [http://www.flightgear.org/forums/viewtopic.php?f=6&t=6279 forums thread].
In its current state of development, the application also provides a checkbox for [[TerraSync]], supports several languages, can manage different scenery and aircraft locations, as well as giving access to METAR data. Since version 1.5.0 it is compatible with FlightGear 3.0 and its new apt.dat database format.


[[Image:Fgo01.jpg|thumb|270px|FGo!]]
FGo! is available for download at the [https://sites.google.com/site/erobosprojects/flightgear/add-ons/fgo official website]. A specific [http://forum.flightgear.org/viewtopic.php?f=6&t=6279 thread] at the [http://forum.flightgear.org FlightGear forum] is used for discussion about FGo! and for announcements of new releases. All information needed in order to set up and run the application can be found in the README files. The application itself also provides useful tooltips, which are viewable in the "Preferences" menu by moving the mouse cursor over the available options.


All one have to know to set it up and run it is in FGo!s README:
== Requirements ==
FGo! 1.2
 
A simple GUI front-end for FlightGear.
* GNU/Linux operating system (for Windows please see below)
* FlightGear
--------------------------------------------------------------------------------
* Python 2.7.8 <ref>FGo! is compatible only with Python 2.x.</ref>
* TKinter
MINIMUM REQUIREMENTS:
* Python Imaging Library (PIL) 1.1.7 or Pillow (PIL fork) 2.5.1 with ImageTk module <ref>This library is not mandatory to run FGo!, but is needed to display aircraft thumbnails.</ref>
Operating system GNU/Linux
* Tcl/Tk 8.6
FlightGear 1.9.0
 
Python 2.5.2*
The version numbers given above correspond to software versions used in the development process. It's quite likely that FGo! will work with older (or newer) versions as well, but it was not tested with them.
TKinter
 
Python Imaging Library (PIL) 1.1.6 (with ImageTk module)
== Installation ==
Tcl/Tk 8.4
=== Linux ===
FGo! doesn't require an installation: you can just unpack the archive anywhere and make sure that all software dependencies are met before the first start.
*FGo! is compatible only with Python 2.x series.
 
In Debian and Debian-based distributions (e.g. Ubuntu or LinuxMint) FGo! can be installed via the official repositories: "apt-get install fgo"
--------------------------------------------------------------------------------
 
For Slackware and compatible systems a SlackBuild for FGo! is available in the official repository of the [http://www.slackbuilds.org SlackBuilds.org] project. The included script will generate a package that allows for a clean, system-wide installation of the program.
INSTALLATION
 
This program requires no installation, but Python (with Tkinter and
=== Windows ===
PIL modules) and Tcl/Tk library need to be installed prior FGo!'s first run.
 
All of them should be easy to get using package manager. In Debian based
DISCLAIMER - This application is not well tested on Windows, for this reason unexpected behavior may occur.
distributions you may be required to install these packages:
 
python, python-tk, python-imaging, python-imaging-tk, tcl8.x and tk8.x.
In order to use FGo! on a Windows operating system, download and install [https://www.python.org/ftp/python/2.7.8/python-2.7.8.msi Python 2.7.8] and [http://effbot.org/media/downloads/PIL-1.1.7.win32-py2.7.exe PIL-1.1.7]: these are the needed libraries and binaries for Python. It may also be helpful to rename the "fgo" executable file, located in the main FGo! directory, to "fgo.py": otherwise Windows, unlike Linux, might not recognize it as a Python application.
You may simply choose python-imaging-tk package, and manager should
 
automatically install all other required dependencies.
== Notes ==
 
--------------------------------------------------------------------------------
<references/>
 
RUNNING
== Related content ==
FGo! does not provide its own window to print FlightGear's messages, that's why
* [[FlightGear Launch Control]] (FGRun), the default graphical front end
the best method to run the application is to run it from command line. Open
* [[JFlightWizard]], another graphical front end
a terminal, navigate to directory where the FGo! was unpacked and run it using
 
"python fgo.py" or "./fgo" command, or if your system offers this feature,
[[Category:FlightGear front ends]]
you can simply click on the fgo icon and choose in dialog option:
[[Category:GPL software]]
Run in terminal. In last two cases, make sure that fgo file is an executable.
 
[[de:FGo!]]
--------------------------------------------------------------------------------
[[fr:FGo!]]
[[it:FGo!]]
CONFIGURATION
[[pl:FGo!]]
To use FGo! you need first set it up. Open preferences window (in menu choose:
Settings => Preferences) and fill in empty entry fields.
FlightGear settings:
    Path to executable file - enter the path to “fgfs” file.
    FG_ROOT - path to FlightGear's main directory.
    FG_SCENERY - path to scenery. You can specify more than one path to scenery
        (separated by a colon) in order from highest to lowest layer.
    Working directory - optional parameter specifying FlightGear's working
        directory. That is the directory where logs or screen-shots
        will be saved. If left blank, the working directory is the user's
        home directory.
TerraSync settings:
    Path to executable file - enter the path to “terrasync” file.
    Port - a port address used by TerraSync.
    Scenery path - directory where TerraSync saves downloaded scenery.
Miscellaneous:
    Change language - choose another language. If language not selected,
        FGo! will try to choose the system language.
    Airport data source - select data source where FGo! will be looking for
        information about runways or parking positions. There are two options:
        Default - FGo! will show runway numbers based on fgo/data/apt file,
            which is generated from FG_ROOT/Airports/apt.dat.gz database.
            Parking names will be taken from FG_ROOT/AI/Airports directory.
        Scenery - runway and parking information will be taken from
            FG_SCENERY/Airports folder - or folders - if multiple scenery
            paths are provided.
        Generally speaking: "Default" option will tell FGo! to show the same
        data that FlightGear uses by default when selecting starting location,
        while "Scenery" option will tell FGo! to look for that data
        directly in scenery folder. In that latter case, you may add
        --prop:/sim/paths/use-custom-scenery-data=true argument into textbox
        to tell FlightGear to use the same data.
        If not sure which option you should choose, the best is to stick
        with default setting.
    Rebuild Airport Database - build new airport database from current
        FG_ROOT/Airports/apt.dat.gz. Useful in case when apt.dat.gz file
        has been updated.
Filling the first three entries is necessary for proper operation of
the program - the rest is optional. When you are done with configuration,
click "Save Settings" button. After a few moments in the main window should
appear a list of available aircraft and airports.
Changes in FlightGear's settings are applied immediately after clicking on
"Save Settings" button, however changes in TerraSync and language settings
may require restarting FGo!.
--------------------------------------------------------------------------------
ADVANCED OPTIONS
In text window at the bottom you can write command line options with which
FlifhtGear will be run.
Few options are provided by default:
--multiplay=out,10,mpserver02.flightgear.org,5000 - run FlightGear with
    multiplayer support.
--callsign= - choose your nickname.
--enable-real-weather-fetch - enables real weather.
--geometry=800x600 - resolution of FlightGear's window.
--enable-fullscreen - enables fullscreen mode.
--prop:/sim/frame-rate-throttle-hz=35 - maximum frames per second.
All above options are inactive (comment out) by default. To activate option,
remove "#" character before appropriate line.
--------------------------------------------------------------------------------
TIPS&TRICKS
* Airport's list shows *all* airports available in FlightGear, no mater if
respective scenery is actually present on your hard drive or not.
* If airport data source was set to "Scenery", then information about
airport's runways and park positions may not be available until
corresponding scenery is installed.
* If you type in airport's search box *only* capital letters, program will
search only ICAO codes starting from that letters. For example:
if you type capital letters "ED", the result will be a list of (almost) only
German airports.
* You can start a flight from an aircraft carrier. In a middle panel click on
current airport ICAO code (right under aircraft picture) and choose
one from available ships. ICAO code will then change to selected ship's name,
and will be highlighted blue to indicate that you're now in "carrier mode".
Corresponding scenario will be selected automatically.
To be able to choose airports again you need to click on carrier name,
and from popup list select "None".
* In "Select Scenario" list you can right click on any scenario to see its
description (if available).
* Window resolution is saved when "Save&Quit" button is clicked.
* If apt.dat.gz file has changed (for example, if you installed a new version
of FlightGear), then "Rebuild Airport Database" button placed in
Preferences window need to be use in order to apply any changes in
airport database into FGo!.
--------------------------------------------------------------------------------
Thank you for using this software,
Robert 'erobo' Leda

Latest revision as of 15:36, 10 April 2019

FGo!
FGo 1.4.png
Developed by Robert 'erobo' Leda,
Florent Rougon
Initial release 0.9 (24.09.2009)
Latest release 1.5.5 (30.11.2014)
Written in Python
OS GNU/Linux, Windows
Development status Active (2009- )
License WTFPL
Website

FGo! is a simple and fast GUI front end for FlightGear, written in Python. It takes a slightly different approach from any other similar application, by combining a simple graphical interface, where users can select an aircraft, airport, runway, park position and scenario, with a text window where it is possible to write more advanced command line options that will be passed to FlightGear. These features allow FGo! to keep a minimalist but powerful design.

In its current state of development, the application also provides a checkbox for TerraSync, supports several languages, can manage different scenery and aircraft locations, as well as giving access to METAR data. Since version 1.5.0 it is compatible with FlightGear 3.0 and its new apt.dat database format.

FGo! is available for download at the official website. A specific thread at the FlightGear forum is used for discussion about FGo! and for announcements of new releases. All information needed in order to set up and run the application can be found in the README files. The application itself also provides useful tooltips, which are viewable in the "Preferences" menu by moving the mouse cursor over the available options.

Requirements

  • GNU/Linux operating system (for Windows please see below)
  • FlightGear
  • Python 2.7.8 [1]
  • TKinter
  • Python Imaging Library (PIL) 1.1.7 or Pillow (PIL fork) 2.5.1 with ImageTk module [2]
  • Tcl/Tk 8.6

The version numbers given above correspond to software versions used in the development process. It's quite likely that FGo! will work with older (or newer) versions as well, but it was not tested with them.

Installation

Linux

FGo! doesn't require an installation: you can just unpack the archive anywhere and make sure that all software dependencies are met before the first start.

In Debian and Debian-based distributions (e.g. Ubuntu or LinuxMint) FGo! can be installed via the official repositories: "apt-get install fgo"

For Slackware and compatible systems a SlackBuild for FGo! is available in the official repository of the SlackBuilds.org project. The included script will generate a package that allows for a clean, system-wide installation of the program.

Windows

DISCLAIMER - This application is not well tested on Windows, for this reason unexpected behavior may occur.

In order to use FGo! on a Windows operating system, download and install Python 2.7.8 and PIL-1.1.7: these are the needed libraries and binaries for Python. It may also be helpful to rename the "fgo" executable file, located in the main FGo! directory, to "fgo.py": otherwise Windows, unlike Linux, might not recognize it as a Python application.

Notes

  1. FGo! is compatible only with Python 2.x.
  2. This library is not mandatory to run FGo!, but is needed to display aircraft thumbnails.

Related content