Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVEDish] Flightgear: can't figure out how to add aircraft
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
statikregimen
Apprentice
Apprentice


Joined: 16 Jul 2011
Posts: 173
Location: USA/Michigan

PostPosted: Sat Oct 10, 2020 2:33 am    Post subject: [SOLVEDish] Flightgear: can't figure out how to add aircraft Reply with quote

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:
$ 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:
$ 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:
$ 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:
$ 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:
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
Back to top
View user's profile Send private message
nick_gentoo
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jan 2019
Posts: 120

PostPosted: Sat Oct 10, 2020 8:49 am    Post subject: Reply with quote

statikregimen, if you compiled flightgear with the qt5 flag, you can start it with
Code:
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:
fgfs --help
Back to top
View user's profile Send private message
AJM
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2002
Posts: 142
Location: Aberdeen, Scotland

PostPosted: Sat Oct 10, 2020 10:09 pm    Post subject: Reply with quote

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

Code:
--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:
--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.
Back to top
View user's profile Send private message
statikregimen
Apprentice
Apprentice


Joined: 16 Jul 2011
Posts: 173
Location: USA/Michigan

PostPosted: Sat Oct 10, 2020 11:52 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
statikregimen
Apprentice
Apprentice


Joined: 16 Jul 2011
Posts: 173
Location: USA/Michigan

PostPosted: Wed Oct 14, 2020 2:27 am    Post subject: Reply with quote

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!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum