153
edits
m (Robot: Cosmetic changes) |
m (spelling, added download link) |
||
Line 1: | Line 1: | ||
This [[:Category:Howto|tutorial]] explains how to '''convert X-Plane scenery objects''' to the [[File Formats#.2A.ac|AC3D format]] (.ac) used by [[FlightGear]] (mostly) automatically using the xplane2fg collection of scripts. To convert '''Microsoft (R) Flight Simulator scenery objects''', first convert them to X-Plane format using [http://marginal.org.uk/x-planescenery/tools.html FS2XPlane], then follow the method described below. | This [[:Category:Howto|tutorial]] explains how to '''convert X-Plane scenery objects''' to the [[File Formats#.2A.ac|AC3D format]] (.ac) used by [[FlightGear]] (mostly) automatically using the xplane2fg collection of scripts. To convert '''Microsoft (R) Flight Simulator scenery objects''', first convert them to X-Plane format using [http://marginal.org.uk/x-planescenery/tools.html FS2XPlane], then follow the method described below. | ||
The scripts | The were scripts developed on Linux and should work fine on any Unix system including Mac ([[Howto: Convert objects from MSFS#Note to Windows Users|note to Windows users]]). | ||
The | The conversion consists of three steps, all conveniently handled by scripts: | ||
* convert the actual 3-D objects from .obj to .ac format using blender, | * convert the actual 3-D objects from .obj to .ac format using blender, | ||
* extract position of objects (longitude, latitude, altitude, and heading) from .dsf file(s) and write them to FlightGear's .stg file(s), | * extract position of objects (longitude, latitude, altitude, and heading) from .dsf file(s) and write them to FlightGear's .stg file(s), | ||
Line 16: | Line 16: | ||
= Installation and setup = | = Installation and setup = | ||
== Prerequisites == | == Prerequisites == | ||
Besides a Unix environment, you'll need the following | Besides a Unix environment, you'll need the following tools: | ||
* [http://www.mediafire.com/?z0azupkpzr3viq3 xplane2fg] | |||
* [http://www.blender.org Blender] (tested with ver. 2.48a-r3) | * [http://www.blender.org Blender] (tested with ver. 2.48a-r3) | ||
* XPlane2blender from [http://marginal.org.uk/x-planescenery/tools.html Jonathan Harris' page], tested with ver. 3.09 | * XPlane2blender from [http://marginal.org.uk/x-planescenery/tools.html Jonathan Harris' page], tested with ver. 3.09 | ||
Line 61: | Line 62: | ||
Now everything should be set up to actually convert scenery! | Now everything should be set up to actually convert scenery! | ||
= | = Conversion = | ||
First load xplane2fg's environment profile: | First load xplane2fg's environment profile: | ||
source $HOME/fgfs/convert/xplane2fg/profile | source $HOME/fgfs/convert/xplane2fg/profile | ||
Line 79: | Line 80: | ||
== Convert == | == Convert == | ||
Now run the main | Now run the main conversion script: | ||
cd $HOME/fgfs/convert/ | cd $HOME/fgfs/convert/ | ||
xplane2fg.sh EDDN EDDN.fg | xplane2fg.sh EDDN EDDN.fg |
edits