Giter Club home page Giter Club logo

g940ledcontrol's People

Contributors

mvrens avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

g940ledcontrol's Issues

Using auto-launch with FS2020

Currently there is no option to automatically launch G940 LED Control when FS 2020 launches, like there is for FSX. As I do not have a Delphi license anymore I will likely not be adding support myself, but there is a manual workaround which I will describe in this issue.

The way G940LEDControl is able to auto-launch is using "exe.xml", which is a part of the SimConnect interface. This file is supported by FS2020 as well.

File location

Reference: https://forums.flightsimulator.com/t/using-exe-xml/361510/2

For the Steam version (which I own and can confirm) the file should be in "%appdata%\Microsoft Flight Simulator" (which when pasted into Windows Explorer will expand into something like C:\Users<your username>\AppData\Roaming\Microsoft Flight Simulator). The Microsoft Store version is apparantly in %localappdata%\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\ (C:\Users<your username>\AppData\Local...).

Note: the guide below assumes "exe.xml" is not yet present for FS 2020. If you have other add-ons installed this may not be the case. See the third option for instructions.

Using G940 LED Control to generate the file

  1. Start G940 LED Control
  2. Enable "Automatically start G940 LED Control when FSX launches"
  3. Open Windows Explorer and go to "%appdata%\Microsoft\FSX"
  4. Copy "exe.xml"
  5. Go to the FS2020 folder mentioned above
  6. Paste the file

Manual

  1. Open Notepad or your favourite text editor and copy/paste the contents below
  2. Modify the "Path" entry if you have G940 LED Control installed in a different folder
  3. Save the file as "exe.xml" in the FS2020 folder mentioned above. Note that you might need to change the "Save as type" to "All files (.)" before doing so to avoid .txt from being added automatically.
<?xml version="1.0" encoding="Windows-1252"?>
<SimBase.Document Type="Launch" version="1,0">
  <Descr>Launch</Descr>
  <Filename>EXE.xml</Filename>
  <Disabled>False</Disabled>
  <Launch.ManualLoad>True</Launch.ManualLoad>
  <Launch.Addon>
    <Name>G940LEDControl</Name>
    <Disabled>False</Disabled>
    <ManualLoad>False</ManualLoad>
    <Path>C:\Program Files (x86)\G940 LED Control\G940LEDControl.exe</Path>
  </Launch.Addon>
</SimBase.Document>

If "exe.xml" is already present

To avoid breaking other add-ons, the existing file needs to be modified instead of overwritten.

Using G940 LED Control

  1. Copy the existing "exe.xml" from the FS 2020 folder to the FSX folder "%appdata%\Microsoft\FSX"
  2. Follow the steps above to let G940 LED Control modify the file and then copy it back, overwriting it

Manual

  1. Open the existing "exe.xml" in Notepad or any other text editor
  2. Add only the "<Launch.Addon>...</Launch.Addon>" section, before "</SimBase.Document>" and save

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.