Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Difference between revisions of "WorldEditor"

From FlightGear wiki
Jump to: navigation, search
(External links: Correct linking)
(added Linux compiling instructions)
Line 13: Line 13:
  
 
== Obtaining WorldEditor ==
 
== Obtaining WorldEditor ==
 +
=== Mac/Windows ===
 
Stable WED binaries for Windows and Mac can be downloaded from [http://scenery.x-plane.com/tools.php scenery.x-plane.com]. A development version is available through: [http://dev.x-plane.com/download/tools/ dev.x-plane.com].
 
Stable WED binaries for Windows and Mac can be downloaded from [http://scenery.x-plane.com/tools.php scenery.x-plane.com]. A development version is available through: [http://dev.x-plane.com/download/tools/ dev.x-plane.com].
  
 
In order to work with WED without installing X-Plane, one needs to create a special <tt>Custom Scenery</tt> directory, for example <tt>X-Plane/Custom Scenery</tt>. When launching WED for the first time, click the "Choose X-Plane folder" directory and select the folder that your <tt>Custom Scenery</tt> houses in (in our example: <tt>X-Plane</tt>).
 
In order to work with WED without installing X-Plane, one needs to create a special <tt>Custom Scenery</tt> directory, for example <tt>X-Plane/Custom Scenery</tt>. When launching WED for the first time, click the "Choose X-Plane folder" directory and select the folder that your <tt>Custom Scenery</tt> houses in (in our example: <tt>X-Plane</tt>).
 +
 +
 +
=== Linux ===
 +
Because there is no (useable) 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 <tt>git</tt>:
 +
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
 +
 +
 +
As on [[#Mac/Windows|Mac/Windows]] WED needs a certain working directory <tt>some_name/Custom Scenery</tt>. Assuming your self made scenery stuff lives (/is going to be) in <tt>~/FGscenery-workbench</tt>, create a directory:
 +
mkdir -p ~/FGscenery-workbench/Custom\ Scenery
 +
 +
 +
 +
Choose <tt>FGscenery-workbench</tt> as "X-PLANE FOLDER" the first time you start WED:
 +
build/Linux/release_opt/WED
 +
 +
 +
You may now copy the file <tt>build/Linux/release_opt/WED</tt> to <tt>~/bin</tt> or another location within your $PATH environment variable:
 +
cp build/Linux/release_opt/WED ~/bin
 +
  
 
== Related content ==
 
== Related content ==

Revision as of 17:24, 5 November 2012

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 (useable) 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


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:

build/Linux/release_opt/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


Related content

External links