This is the official source code repository for the FlyWithLua plugin project.
FlyWithLua offers Lua scripting to X-Plane since X-Plane 9.
Discussions to general topics should be opened on the official forum at x-plane.org.
You will find a binary version ready to use in X-Plane 9 or 10 in the download area of x-plane.org.
You will find a binary version ready to use in X-Plane 11 only and the binary is also in the download area of x-plane.org.
The new versions are X-Plane 12 only and the binary is also in the download area of x-plane.org.
If you want to grab a most current binary, just download FlyWithLua_plugin.zip
from the most recent GitHub Actions build and unpack it into your X-Plane's plugin folder.
Copyright (c) 2012 Carsten Lynker
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Install required software using Chocolatey using admin command prompt:
choco install git cmake
choco install mingw --version 8.1.0
You can also install the same programs manually if you prefer.
Checkout and configure the project:
git clone https://github.com/X-Friese/FlyWithLua.git
cd FlyWithLua
cmake -G "MinGW Makefiles" -S .\src -B .\build -DCMAKE_BUILD_TYPE=RelWithDebInfo
Build the project and copy the plugin DLL into the appropriate directory:
cmake --build .\build
mkdir .\FlyWithLua\win_x64
copy .\build\win.xpl .\FlyWithLua\win_x64\FlyWithLua.xpl
Install required software:
sudo apt-get install -y --no-install-recommends build-essential cmake git freeglut3-dev libudev-dev libopenal-dev
Checkout and configure the project:
git clone https://github.com/X-Friese/FlyWithLua.git
cd FlyWithLua
cmake -S ./src -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo
Build the project and copy the plugin DLL into the appropriate directory:
cmake --build ./build
mkdir ./FlyWithLua/lin_x64
cp ./build/lin.xpl ./FlyWithLua/lin_x64/FlyWithLua.xpl
Install XCode, Git, CMake (Homebrew can be convenient for this).
Checkout and configure the project:
git clone https://github.com/X-Friese/FlyWithLua.git
cd FlyWithLua
cmake -S ./src -B ./build -DCMAKE_BUILD_TYPE=RelWithDebInfo
Build the project and copy the plugin DLL into the appropriate directory:
cmake --build ./build
mkdir ./FlyWithLua/mac_x64
cp ./build/mac.xpl ./FlyWithLua/mac_x64/FlyWithLua.xpl