Running LK8000 under WINE

This page was last updated on 11 October, 2010.

The procedure described below was tested using LK8000 1.23d and Wine 1.3.1

If you're not a Windows user you can still use LK8000-PC.exe and LK8000SIM-PC.exe by running them under WINE. The following description shows how to run them in a Linux installation and can probably be adapted for other installations, such as OS-X on an Intel Mac. It makes two assumptions:

I further assume you'll run the PC versions within a directory that represents an SD card image: In other words the LK8000 components are installed in a directory called LK8000:

If your login directory is /home/gliding and the SD card image is at /home/gliding/XCSoar/lk8000:

To run a program, set the wine prefix, cd to the SD drive root and run it:

cd
WINEPREFIX=$HOME/.wine_lk8000 wine LK8000/LK8000-PC.exe

or to run the simulator:

cd
WINEPREFIX=$HOME/.wine_lk8000 wine LK8000/LK8000SIM-PC.exe

If the program can't find the map, turnpoints, etc, setting $WINEDEBUG can help but be warned that the debug volume is huge. To do this, preceed the wine command by:

export WINEDEBUG=file

Notes on LK8000-PC.exe and LK8000SIM-PC.exe 1.23d