Howto:Test your airport layout: quick and easy: Difference between revisions

Added a quicker but dirty way
No edit summary
(Added a quicker but dirty way)
Line 34: Line 34:
# Go to the scenery folder and delete both the new ABCD.btg.gz and the new "bucket-number".stg file.
# Go to the scenery folder and delete both the new ABCD.btg.gz and the new "bucket-number".stg file.
# Locate the three files that were renamed "BACKUP" at the end, and rename them back to their previous names.
# Locate the three files that were renamed "BACKUP" at the end, and rename them back to their previous names.
== Quicker but Dirty Way ==
This way is quicker because you don't need to modify your current scenery (nor make backup copies or restore it afterward). The only drawback (the ''dirty'' part, so to speak) is that the '''only''' thing that you will see is the new airport.
* Run the genapts command as described above in the first paragraph.
* Go into the directory of the generated airport object. eg:
cd AirportObj/w060s40/w059s38/
:(Your path should be consistent with the coordinates of your airport)
* Rename the .ind file with a .stg extension. eg:
mv 1984723.ind 1984723.stg
* Get back to the AirportObj directory:
cd ../../
* Start FlightGear with the current directory as the scenery path and loacted on your new airport (change ABCD with the icao code of your airport):
fgfs --fg-scenery=. --aircraft=ufo --airport=ABCD
And that's it!
11

edits