LINDA Lesson 2 Create Aircraft Module


Last week we wrote Linda Lesson 1. If you are a beginner with LINDA and did not read this, please do, otherwise you will get disconnected in understanding what’s going on.
A short refresh. In order to use LINDA with any piece of hardware, you must de-activate the contents of that hardware in the file Standard.XML as long as it concerns key assigments. Since FSX is creating a new Standard.XML when you remove all the hardware statements from the joystick sections, you have to start all over again. The instruction for use of LINDA is incorrect at this point. So, open the Standard.XML and remove only the key assignments from your joystick. Leave the settings in FSX where it concerns the Controls as “enabled”.
Don’forget: the file Standard.XML resides in C:UsersyournameAppDataRoamingMicrosoftFSXControls

This is what you should get if you follow my sample. First the basics…later on we will do the trics.

<SimControls.Map>
<Name>Logitech Extreme 3D{8BCFF350-AAE9-11E3-8001-444553540000}</Name>
<Axis>
<AxName>XAxis</AxName>
<Index>0</Index>
<AxEvent>AXIS_AILERONS_SET</AxEvent>
<AxScale>64</AxScale>
<AxNull>36</AxNull>
</Axis>
<Axis>
<AxName>YAxis</AxName>
<Index>1</Index>
<AxEvent>AXIS_ELEVATOR_SET</AxEvent>
<AxScale>64</AxScale>
<AxNull>36</AxNull>
</Axis>
<Axis>
<AxName>RzAxis</AxName>
<Index>5</Index>
<AxEvent>AXIS_RUDDER_SET</AxEvent>
<AxScale>64</AxScale>
<AxNull>36</AxNull>
</Axis>
<Axis>
<AxName>Slider</AxName>
<Index>6</Index>
<AxEvent>AXIS_THROTTLE_SET</AxEvent>
<AxScale>127</AxScale>
<AxNull>1</AxNull>
</Axis>
<POV>
<Index>0</Index>
<Down>PAN_VIEW</Down>
<DownRpt>1</DownRpt>
</POV>
</SimControls.Map>

LINDA-01Next observations: the files that LINDA creates, where you can find them and what they do.
Since we deleted all our key statements from the joystick, nothing will work, except the axis and POV switch.

All the files LINDA needs or creates, are in your Modules folder and since you will be visiting this location frequently, it would be handsome to create a shortcut to your desktop: right mouse click on the Modules folder in FSX and from the context menu: Sent to Desktop (create shortcut)…that will save you some time…LINDA-04.PNG

LINDA-05.PNGNow start FSX, C172 and LINDA and selection *FSX Default will pop up automatically. You will get the list you created in lesson 1. Take notice that on the right of *FSX Default there is a little button FSX-sync.

LINDA-04For the exercise push the button and see the differences  in function with or without FSX -sync. With FSX-sync pressed you get an orange colored button and at the same time the drop down menu is blocked.

LINDA-06.PNG

You want an aircraft specic file in LINDA. At the left of *FSX Default there is a button called “New” to create a new aircraft module. Press New, give a Module name. In the big white center field a list of all your airplanes is populated from ../Simobjects/Airplanes. If you want to do a search…search, else select C172. For now, select Copy from existing *FSX Default and press Create. Done.  If you get an error message, ignore it.

Next step…check what has happened.
Open the ../Modules folder/linda/aircrafts and search the folder called C172.
You wil find one file: ident.lua…
There you get your error message! A file actions.lua is missing.
Copy the file actions.lua from the D:/FSX/Modules/linda/data/template/saircraft into the new made folder D:/FSX/Modules/linda/aircrafts/C172
Close LINDA and restart the app…it will show the Joystick with *FSX Default selection.
Press FSX-sync button and the standards from FSX are now visible with a * up front. OK?
You cannot delete or change * values in a specific profile OR you must do that in  *FSX Default status.LINDA-07.PNG

Continue reading more in lesson_3 or start with lesson_1

LINDA Lesson 1 Install and Basic setup


LINDA stands for Lua Integrated Non-complex Device Assigning

  • LINDA is meant to make your HID Device / Joystick assigning for FSX as simple as possible. With the advance of having many additional functions.
  • LINDA also supports the VRInsight MCP Combo and adds many new functions to it.
  • And LINDA is a tool to make hunting for FSX controls, offsets and LUA variables much easier as it was till now.
  • LINDA should be the platform and a standard for all future user created LUA scripts

First of all, read this review to have a sound understanding what LINDA is and why and where you scan use this app. Read it? Oké, now get the software here from the home page of LINDA. Next to LINDA you need a licensed copy of FSUIPC4 using FSX/P3D

  1. Download the latest version (LINDA 1.13)
  2. Unzip the file in your download folder.
  3. Before you go…make a backup of your …/FSX/Modules-folder.
  4. From your unzipped folder LINDA-1.13 copy/paste the folders and the files (as shown in the image) go your ../FSX/Modules folder
  5. Done! Uninstalling? Just delete the same folders and files…
  6. In order to prevent that your joystick is assigned in both  LINDA and FSX, you must delete the joystick assignments in FSX.
  7. To delete all FSX Joystick assignments at once:
    1. Open the Controls subdirectory  in
      C:Users<YourUserName>AppDataRoamingMicrosoftFSXControls
    2. Make a copy of this file (!) before you delete it…you never know.
    3. Open the file called Standard.xml using Notepad or a similar text-only editor.
    4. Scroll through the contents until you see the two entries for each of your Joysticks:
      <Name>
      Logitech Extreme 3D{8BCFF350-AAE9-11E3-8001-444553540000}</Name>
      <Name>
      Logitech Extreme 3D SLEW {8BCFF350-AAE9-11E3-8001-444553540000}</Name>
    5. Now delete everything between each of those entries and their next </SimControls.Map> entry. (Note the preceding slash).
      This removes the entire contents of the relevant sections.
    6. Save the edited file. Done so far.
  8. Without starting FSX…launch LINDA.exe (in the ../Modules folder) and this is what you get:
  9. Connect your joystick and this piece of hardware will be recognized as
    e.g.: LGT Extreme 3D –> B:12 H:1
  10. Press the line Setup required and you wil see your joystick registered.
  11. Click Save, get back to the Summary and look at: Everything is oké!
  12. Start FSX at your favorite airport with a C172 and set LINDA to FSX Default
  13. The joysticks assignments are empty.
  14. AND KNOW A NO-BRAINER….LINDA DOES NOT FACILITATE AXES !
    So first of all assign your axis in FSUIPC4. Then….
  15. Press the buttons one by one and observe what is happening in the LINDA assignment view. The numbers of the buttons pressed are equal to the numbers on the joystick.
  16. Now you are able to link a function to the button of the joystick.
  17. Press the “Brake” button (1); select empty in the column On Press and then LIB:Default FSX > Systems > Brakes. Press Save…Next
  18. Press the “View” button (2); select empty in the column On Press and then Set FSX Control, in Filter list type: VIEW, select VIEW 65606, OK, return FSX:VIEW:0; Press Save… and so forth and so on.
  19. The best thing you can do is to make a list with button numbers and related functions you want to execute with that button. As a sample for this joystick:
  1. Brakes
  2. Views
  3. Elevator Trim down
  4. Elevator Trim up
  5. Flaps extended
  6. Flaps retracted
  7. empty……end of this lesson 1.

Continue reading more in lesson_2 – lesson_3

LINDA-02.PNG
LINDA-03.PNG