WorldEditor: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
m (Starting WED for the first time - minor edit of what I typed earlier)
m (typo fix and added link to WED manual)
Line 49: Line 49:


== Starting WED for the first time ==
== Starting WED for the first time ==
WED will require that you Choose the X-Plane folder before it will do anything else. Create a working directory with the following structure before starting WED for the first time.
WED will require that you choose the X-Plane folder before it will do anything else. Create a working directory with the following structure before starting WED for the first time.
  working directory
  working directory
     |--Custom Scenery
     |--Custom Scenery
Line 66: Line 66:
  mkdir -p ~/FGscenery-workbench/Custom\ Scenery
  mkdir -p ~/FGscenery-workbench/Custom\ Scenery


Choose <tt>FGscenery-workbench</tt> as "X-PLANE FOLDER" the first time you start WED:


Choose <tt>FGscenery-workbench</tt> as "X-PLANE FOLDER" the first time you start WED:
build/Linux/release_opt/WED




Line 83: Line 81:
* [http://xsimreviews.com/2012/12/16/x-plane-scenery-design-tutorial-4-wed-pt1/ WED tutorial part one] (Xsimreviews blog)
* [http://xsimreviews.com/2012/12/16/x-plane-scenery-design-tutorial-4-wed-pt1/ WED tutorial part one] (Xsimreviews blog)
* [http://xsimreviews.com/2013/02/03/x-plane-scenery-design-tutorial-5-wed-part-ii/ WED tutorial part two] (Xsimreviews blog)
* [http://xsimreviews.com/2013/02/03/x-plane-scenery-design-tutorial-5-wed-part-ii/ WED tutorial part two] (Xsimreviews blog)
* [http://www.x-plane.com/support/manuals/wed/ Online version of the WorldEditor Manual] (webpage)


[[Category:Software]]
[[Category:Software]]
[[Category:Scenery enhancement]]
[[Category:Scenery enhancement]]

Revision as of 16:39, 7 July 2013

WorldEditor
Amsterdam Schiphol in WED.
Amsterdam Schiphol in WED.
Developed by Ben Supnik, Cristiano Maggi
Initial release 2007
OS GNU/Linux, Windows, MacOS X
License GNU General Public License
Website

WorldEditor (WED) is a CAD-like graphic editor that lets you create custom airport layouts. It is designed for X-Plane, and works with apt.dat version 850 and higher.

Obtaining WorldEditor

Mac/Windows

Stable WED binaries for Windows and Mac can be downloaded from scenery.x-plane.com. A development version is available through: dev.x-plane.com.

In order to work with WED without installing X-Plane, one needs to create a special Custom Scenery directory, for example X-Plane/Custom Scenery. When launching WED for the first time, click the "Choose X-Plane folder" directory and select the folder that your Custom Scenery houses in (in our example: X-Plane).


Linux

Because there is no (stable) binary available for Linux based operating systems, the user has to compile it from source. Don't be afraid of that, since it brings most of its dependencies along, it is not hard. However, some things need to be provided by the user's system:

  • binutils and binutils-devel
  • git
  • GNU coreutils
  • GNU make
  • libmpfr-devel
  • mesa-libGL-devel and mesa-libGLU-devel
  • qt4-devel


Downloading WED's source (about 170 MiB) is done via git:

git clone http://dev.x-plane.com/git/xptools.git xptools.git
cd xptools.git


Afterwards WED's dependencies have to be downloaded (about 260 MiB) and compiled. These steps have to be done only once, before compiling WED the first time:

git submodule update --init
cd libs
make -j2
cd ..


Compiling WED:

conf=release_opt make -j2 WED

You may now copy the file build/Linux/release_opt/WED to ~/bin or another location within your $PATH environment variable:

cp build/Linux/release_opt/WED ~/bin

Starting WED for the first time

WED will require that you choose the X-Plane folder before it will do anything else. Create a working directory with the following structure before starting WED for the first time.

working directory
   |--Custom Scenery
   |--Global Scenery
   |--Resources
         |--default scenery
NOTICE: WED looks for this specific directory structure and directory names !
Reference:
xptools/src/WEDCore/WED_PackageMgr.cpp lines 33-35
CUSTOM_PACKAGE_PATH="Custom Scenery"
GLOBAL_PACKAGE_PATH="Global Scenery"
DEFAULT_PACKAGE_PATH="Resources" DIR_STR="default scenery"
This paragraph was written by a person who is a newbie to WED. An experienced WED user is requested to verify and edit this as required.

As on Mac/Windows WED needs a certain working directory some_name/Custom Scenery. Assuming your self made scenery stuff lives (/is going to be) in ~/FGscenery-workbench, create a directory:

mkdir -p ~/FGscenery-workbench/Custom\ Scenery

Choose FGscenery-workbench as "X-PLANE FOLDER" the first time you start WED:



There is a beta binary of WorldEditor 1.2 which is quite usable but you have to be careful and save your work often because it could crash and make you lose your work. Note that this binary works only on 64 bit linux systems. developer.x-plane.com

Related content

External links