SIMCONNECT INI DEFINITION

IMPORTANT! This section relates to a legacy process intended for use with Microsoft Flight Simulator X. It is still valid for Microsoft Flight Simulator but may be changed or even removed at some time in the future and should only be used for support of legacy add-ons.

The SimConnect.ini file (which you can get here) will enable the debug window and disable the log file when using SimConnect. This base file can be edited from the default values to suit your own needs. This file is optional and would go in the local folder for the server, which will be different depending on which source installed Microsoft Flight Simulator:

  • Microsoft Store:

    C:\Users\<user_name>\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalState\

  • Steam:

    C:\Users\<user_name>\AppData\Roaming\Microsoft Flight Simulator\

 

 

[SimConnect]

The SimConnect.ini has only one section header [SimConnect], and under that you would have the following key/value pairs:

 

Key Description Value Type
level This key sets the level of text communication to be provided to the console, debug string, or log file. Default is "Off"

String:

Verbose
Normal
Warning
Error
Off

console When set to TRUE (1) this will open a command line debug window to display server to client communication. Default is FALSE (0). Bool
RedirectStdOutToConsole

Sets whether to redirect the output of console print functions to the SimConnect console window (TRUE, 1) or not (FALSE, 0), which can be useful for debugging DLL or GUI based SimConnect applications that do not launch a console window. Default is FALSE (0).

Bool
OutputDebugString

Sets whether to send the output text to the Platform SDK (TRUE, 1) or not (FALSE, 0).

Bool
file

This holds the output path for writing debug information to a log file. If the text %03u is included in the filename, then the filename will be incremented each run, giving a new log file for each test. An example would be: file=c:\logs\simconnect%03u.log

String
file_next_index The index of the first log file. Subsequent log files will have the index number incremented by one. Integer