User:Callahanp: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(added note about fg-devel mailing list topic US & Canada updated scenery)
mNo edit summary
Line 8: Line 8:
There are interesting ongoing development projects on Flightgear, including new features, new scenery and aircraft.  I wanted to try some of them out.
There are interesting ongoing development projects on Flightgear, including new features, new scenery and aircraft.  I wanted to try some of them out.


As part of my project https://github.com/callahanp/fgdev, I want to document the command line options, build options, necessary files, environment variables and actions needed to enable specific features
As part of my project https://github.com/callahanp/fgdev, I want to document the command line options, build options, necessary files, environment variables and actions needed to use, test and develop flightgear features, scenery, airports and aircraft.
 
*
 
'''Shamelss plug for "flightgear development utilities":'''
 
Let's make this easy: <nowiki>https://github.com/callahanp/fgdev</nowiki>
 
b -c next
 
r next  --airport=KBED --developer
 
v next
 
1,2,3 - Build, run, open flightgear and simgear in vscode and use it's debugger.
*  
{| class="wikitable"
{| class="wikitable"
|+
|+
Line 30: Line 17:
|Notes:
|Notes:


* Recommended File Placement
*Recommended File Placement
* Command Line Options
*Command Line Options
* Development Status
*Development Status
* Report Errors to:
*Report Errors to:
|-
|-
|HDR:  
|HDR:
|<nowiki>--compositor=Compositor/HDR/hdr</nowiki>
|<nowiki>--compositor=Compositor/HDR/hdr</nowiki>
|[[HDR Pipeline]]
|[[HDR Pipeline]]
Line 41: Line 28:
|-
|-
|New Canvas GUI
|New Canvas GUI
| {{Note|The [[PUI|PUI Compatible Canvas GUI]] is a compile time option: Use the following [[Building using CMake|cmake option]] to enable this code: {{CMake Build Option|option=ENABLE_PUICOMPAT|default=ON|description=This requires latest SG/FG AND FGDATA}}. But this is all highly fluid and most of it really developer only. At one point they will become default or be accessible in the launcher.<ref>https://sourceforge.net/p/flightgear/mailman/message/37834004/</ref>}}
|{{Note|The [[PUI|PUI Compatible Canvas GUI]] is a compile time option: Use the following [[Building using CMake|cmake option]] to enable this code: {{CMake Build Option|option=ENABLE_PUICOMPAT|default=ON|description=This requires latest SG/FG AND FGDATA}}. But this is all highly fluid and most of it really developer only. At one point they will become default or be accessible in the launcher.<ref>https://sourceforge.net/p/flightgear/mailman/message/37834004/</ref>}}
<p/>
<p />
<code>--prop:/nasal/gui/enabled=1</code>
<code>--prop:/nasal/gui/enabled=1</code>
| {{Main article|PUI#Canvas_Emulation}}
|{{Main article|PUI#Canvas_Emulation}}
To learn more about the implementation of underlying widgets, see [[Canvas widget matrix]]
To learn more about the implementation of underlying widgets, see [[Canvas widget matrix]]
|-
|-
Line 52: Line 39:


|-
|-
|World Scenery 3.0
| World Scenery 3.0
|
|
|
|
Line 81: Line 68:
|-
|-
|Multiplayer
|Multiplayer
| --multiplay=in,10,<your-internal-ip-address>,5000
|see: [[Command line options#MultiPlayer Options]]
 
 
--multiplay=in,10,<your-internal-ip-address>,5000
example: --multiplay=in,10,192.168.1.246,5000  
example: --multiplay=in,10,192.168.1.246,5000  
|In your router, allow TCP and UDP Port forwarding.
|In your router, allow TCP and UDP Port forwarding.
Line 105: Line 95:
|
|
|5001
|5001
|Both
| Both
|192.168.1.246
|192.168.1.246
|5001
|5001
Line 111: Line 101:
|}
|}
|-
|-
|Web Server
| Web Server - Phi
|<nowiki>--httpd=5401</nowiki>
|see: [[Command line options#Network Options]]
 
 
<nowiki>--httpd=5401</nowiki>
|In web browser on the same machine as Flightgear is running on, enter this URL:
|In web browser on the same machine as Flightgear is running on, enter this URL:
localhost:5401
localhost:5401
|-
|-
|Other useful Options
|Other useful Options
| --callsign=N1742C --timeofday=noon --httpd=5401 --enable-terrasync --enable-real-weather-fetch --enable-horizon-effect -multiplay=in,10,192.168.1.246,5000  
| --callsign=N1742C --timeofday=noon --enable-terrasync --enable-real-weather-fetch --enable-horizon-effect -multiplay=in,10,192.168.1.246,5000 --httpd=5401
|These options are present by default when you run using the fgdev infrastructure.
|These options are present by default when you run using the fgdev infrastructure. Your ip address and environment variable MY_CALLSIGN will be used
|-
|Building Flightgear from Sources
|see [[Building FlightGear]]
|'''Shamelss plug for "flightgear development utilities":'''
 
Let's make this easy: <nowiki>https://github.com/callahanp/fgdev</nowiki>
 
b -c next
 
r next  --airport=KBED --developer
 
v next
 
1,2,3 - Build, run, open flightgear and simgear in vscode and use it's debugger.
|}
|}


*
*
<references />
936

edits

Navigation menu