Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Gamers & Players
  • Search

[SOLVEDish] Flightgear: can't figure out how to add aircraft

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
5 posts • Page 1 of 1
Author
Message
statikregimen
Apprentice
Apprentice
Posts: 173
Joined: Sat Jul 16, 2011 7:31 am
Location: USA/Michigan
Contact:
Contact statikregimen
Website

[SOLVEDish] Flightgear: can't figure out how to add aircraft

  • Quote

Post by statikregimen » Sat Oct 10, 2020 2:33 am

Good day,

Seems no matter what I try, drawing from the Gentoo wiki and other sources, Flightgear will not find and/or load any downloaded aircraft. Flightgear was installed from the official Gentoo repository. I've lost the plot after a few nights of trying, so here are some initial data points (despite me trying many many other things, and presuming I'm now way off course):

Code: Select all

$ ls -l ~/.fgfs/Aircraft/
total 16
drwxr-xr-x 4 statik statik 4096 Oct 22  2018 747
drwxr-xr-x 5 statik statik 4096 Oct 22  2018 Dragonfly
drwxr-xr-x 9 statik statik 4096 Oct 22  2018 S-51-Dragonfly
drwxr-xr-x 2 statik statik 4096 Oct  5 20:41 ThumbnailCache

Code: Select all

$ ls -l ~/.fgfs/Aircraft/S-51-Dragonfly/
total 1180
-rw-r--r-- 1 statik statik  18040 Oct 22  2018 COPYING
drwxr-xr-x 2 statik statik   4096 Oct 22  2018 Help
drwxr-xr-x 2 statik statik   4096 Oct 22  2018 Inputs
drwxr-xr-x 3 statik statik   4096 Oct 22  2018 Instruments
-rw-r--r-- 1 statik statik   8422 Oct 22  2018 LIS-MOI_GNU-GPL
drwxr-xr-x 5 statik statik   4096 Oct 22  2018 Models
drwxr-xr-x 3 statik statik   4096 Oct 22  2018 Panels
-rw-r--r-- 1 statik statik    872 Oct 22  2018 README-FIRST
-rw-r--r-- 1 statik statik   4171 Oct 22  2018 S-51-set.xml
-rw-r--r-- 1 statik statik   7272 Oct 22  2018 s51.xml
drwxr-xr-x 2 statik statik   4096 Oct 22  2018 Sounds
-rw-r--r-- 1 statik statik 701328 Oct 22  2018 splash2.rgb
-rw-r--r-- 1 statik statik 416621 Oct 22  2018 splash.rgb
drwxr-xr-x 2 statik statik   4096 Oct 22  2018 System
-rw-r--r-- 1 statik statik   3857 Oct 22  2018 thumbnail.jpg

Code: Select all

$ fgfs --aircraft=s51
    0.00 [INFO]:general    FlightGear:  Version 2020.1.2
    0.00 [INFO]:general    FlightGear:  Build Type Release
    0.00 [INFO]:general    Built with GNU C++ version 9.3
    0.00 [INFO]:general    Jenkins number/ID 0:none
    0.00 [INFO]:general    platform default fg_root = Path "/usr/share/flightgear"
    0.01 [INFO]:input      Reading user settings from Path "/home/statik/.fgfs/autosave_2020_1.xml"
    0.01 [INFO]:general    init package root at:Path "/home/statik/.fgfs/Aircraft"
    0.01 [INFO]:input      aircraft = s51
FATAL: The requested aircraft (s51) could not be found in any of the search paths.
    0.01 [ALRT]:general    Cannot find the specified aircraft: 's51'
    0.01 [INFO]:io         Saving user settings to Path "/home/statik/.fgfs/autosave_2020_1.xml"
    0.01 [WARN]:general    SGSubsystemMgr::remove: not found: scenery

Code: Select all

$ fgfs --show-aircraft
    0.00 [INFO]:general    FlightGear:  Version 2020.1.2
    0.00 [INFO]:general    FlightGear:  Build Type Release
    0.00 [INFO]:general    Built with GNU C++ version 9.3
    0.00 [INFO]:general    Jenkins number/ID 0:none
    0.00 [INFO]:general    platform default fg_root = Path "/usr/share/flightgear"
    0.01 [INFO]:input      Reading user settings from Path "/home/statik/.fgfs/autosave_2020_1.xml"
    0.01 [INFO]:general    init package root at:Path "/home/statik/.fgfs/Aircraft"
    0.01 [INFO]:input      No user specified aircraft, using default
Available aircraft:
   c172p                        Cessna 172P Skyhawk (1982)
   c172p-amphibious             Cessna 172P (180 hp) Amphibious
   c172p-bush26                 Cessna 172P (160 hp) 26" Bush Tires
   c172p-bush36                 Cessna 172P (160 hp) 36" Bush Tires
   c172p-float                  Cessna 172P (180 hp) Float
   c172p-ski                    Cessna 172P (180 hp) Ski
   mibs                         FG video assistant
   ufo                          UFO from the 'White Project' of the UNESCO
What concerns me about some of the above command outputs, is that a couple of times it says

Code: Select all

init package root at:Path "/home/statik/.fgfs/Aircraft"


So it seems to be looking in the right place. Again, I've simply tried too many things to give much more of a detailed summary of ground I've already covered at this point (basically starting over, hopefully with some help), but assuming I'm missing something obvious.

Thanks for reading.
Last edited by statikregimen on Wed Oct 14, 2020 2:26 am, edited 1 time in total.
Top
nick_gentoo
Tux's lil' helper
Tux's lil' helper
Posts: 140
Joined: Mon Jan 07, 2019 7:42 pm

  • Quote

Post by nick_gentoo » Sat Oct 10, 2020 8:49 am

statikregimen, if you compiled flightgear with the qt5 flag, you can start it with

Code: Select all

fgfs --launcher
This gives you a GUI launcher, where you can configure various settings and also set the aircraft search path or download additional aircraft.

Without it, maybe you can use some of the options shown by

Code: Select all

fgfs --help
Top
AJM
Apprentice
Apprentice
User avatar
Posts: 195
Joined: Wed Sep 25, 2002 7:46 pm
Location: Aberdeen, Scotland

  • Quote

Post by AJM » Sat Oct 10, 2020 10:09 pm

My ~/.fgfs/fgfsrc contains this line (amongst many others):

Code: Select all

--fg-aircraft=/usr/local/share/fgfs/flightgear-fgaddon/Aircraft:/home/aj/.fgfs/Aircraft/aj
Edit... another thing to watch for is case - the current / SVN version of the Sikorsky 51 at least is launched with

Code: Select all

--aircraft=S-51
, NOT s51 etc. I don't think that's your only problem though, as --show-aircraft ought to have listed it anyway.
Top
statikregimen
Apprentice
Apprentice
Posts: 173
Joined: Sat Jul 16, 2011 7:31 am
Location: USA/Michigan
Contact:
Contact statikregimen
Website

  • Quote

Post by statikregimen » Sat Oct 10, 2020 11:52 pm

nick_gentoo - Thanks for the tip about the launcher. If I can't figure anything else out, I'll rebuild it with that.

I did look over the man page and all, but obviously was not able to figure anything out :(

AJM - I do not seem to have an fgfsrc file anywhere, so I'll look that up and see if it might help.

As for the aircraft name, I had tried S-51, I think, as well as the directory name, and others (of course, I've also tried loading the other aircraft in various ways too). That was all before realizing --show-aircraft was not picking them up in the first place.

Thanks for the replies!
Top
statikregimen
Apprentice
Apprentice
Posts: 173
Joined: Sat Jul 16, 2011 7:31 am
Location: USA/Michigan
Contact:
Contact statikregimen
Website

  • Quote

Post by statikregimen » Wed Oct 14, 2020 2:27 am

I've decided to just rebuild with the qt5 use flag for the launcher. I imagine in 2020 that's what most people would do anyway. Everything seems to be working now. Thanks for the help!!
Top
Post Reply
  • Print view

5 posts • Page 1 of 1

Return to “Gamers & Players”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy