MonoPlane

From X-Plugins

Jump to: navigation, search

Contents

Introduction

MonoPlane is a plugin that will allow the creation of ".NET" plugins for X-Plane.

MonoPlane currently compiles successfully on Ubuntu Linux and OS X 10.4.11, it uses the Mono 1.x .NET runtimes.

In the last week I have done a lot of work on the MonoPlane project:

* The X-Plane plugin has been refined and corrected, it is basically finished now.
* Creation of an SDK wrapper in C# to allow OO access in a manner that feels natural to C# context.
* Creation of a "KickStart" .NET plugin that takes care of loading other .NET assemblies.
* Creation of some quick and dirty example plugins that show how common X-Plane plugin tasks can be achieved with a minimal amount of fuss.
* Creation of doxygen config files to start generating .NET X-Plane Wrapper API documentation.

News

2008-04-19 - I have uploaded a heap of files for the Windows version of MonoPlane. One of the projects is for an X-Plane plugin dll that uses the Microsoft Common Language Runtime .NET host instead of Mono. The plugin works for some things but has issues with others. For example:

* Using a "Flight Loop" processing callback works ok.
* Using a "Widget Callback" to deal with things like clicks on the window close button, crashes X-Plane.
* Have seen some strange errors when creating Widgets that look like buffer overflows failing in nice ways. (random code jumps instead of crash to desktop)


2008-04-14 - Created a plugin in Windows using Visual C# and loaded it in Linux... works!

2008-04-13 - Created a plugin in Windows using VB.NET and tried to load it in Linux. Failed. Mono 1.2.4 might be to blame.

Downloads

Note: There are currently no X-Plane plugins to download. Source code only. Dot NET Assembly .dlls are available however.

Binaries for MonoPlane are available here:

http://code.google.com/p/monoplane/downloads/list

MonoPlane is a GPL project and the full source code is available on Google Code at the following URL.

http://code.google.com/p/monoplane/

Documentation

Doxygen auto-generated documentation for the XPlane .NET wrapper is here:

http://www.x-plugins.com/MonoPlane/dox/annotated.html

Original X-Plane SDK documentation is here:

http://www.xsquawkbox.net/xpsdk/phpwiki/index.php?Documentation


Example .NET Plugin Code

< insert sample code here >


Personal tools