diff --git a/PilotsDeck_FNX2PLD-latest.zip b/PilotsDeck_FNX2PLD-latest.zip index 0a76309..866326d 100644 Binary files a/PilotsDeck_FNX2PLD-latest.zip and b/PilotsDeck_FNX2PLD-latest.zip differ diff --git a/PilotsDeck_FNX2PLD/ElementManager.cs b/PilotsDeck_FNX2PLD/ElementManager.cs index 0c29649..d6ba08f 100644 --- a/PilotsDeck_FNX2PLD/ElementManager.cs +++ b/PilotsDeck_FNX2PLD/ElementManager.cs @@ -33,8 +33,8 @@ public ElementManager() { "FCU-1", new MemoryPattern("46 00 43 00 55 00 20 00 70 00 6F 00 77 00 65 00 72 00 20 00 69 00 6E 00 70 00 75 00 74 00") }, { "FCU-2", new MemoryPattern("00 00 00 00 CE 05 00 00 FF FF FF FF 00 00 00 80") }, { "ISIS-1", new MemoryPattern("49 00 53 00 49 00 53 00 20 00 70 00 6F 00 77 00 65 00 72 00 65 00 64 00") }, - //{ "COM1-1", new MemoryPattern("00 00 00 00 D3 01 00 00 FF FF FF FF 00 00 00 00 00 00 00 00") }, - { "COM1-1", new MemoryPattern("00 00 00 00 D3 01 00 00 FF FF FF FF", 3) }, + { "COM1-1", new MemoryPattern("00 00 00 00 D3 01 00 00 FF FF FF FF 00 00 00 00 00 00 00 00") }, + //{ "COM1-1", new MemoryPattern("00 00 00 00 D3 01 00 00 FF FF FF FF", 3) }, //works on flight restarts if com1-1 does not work { "XPDR-1", new MemoryPattern("58 00 50 00 44 00 52 00 20 00 63 00 68 00 61 00 72 00 61 00 63 00 74 00 65 00 72 00 73 00 20 00 64 00 69 00 73 00 70 00 6C 00 61 00 79 00 65 00 64") }, { "BAT1-1", new MemoryPattern("42 00 61 00 74 00 74 00 65 00 72 00 79 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00") }, { "BAT2-1", new MemoryPattern("61 00 69 00 72 00 63 00 72 00 61 00 66 00 74 00 2E 00 65 00 6C 00 65 00 63 00 74 00 72 00 69 00 63 00 61 00 6C 00 2E 00 62 00 61 00 74 00 74 00 65 00 72 00 79 00 31 00 2E") }, diff --git a/PilotsDeck_FNX2PLD/OutputDefinitions.cs b/PilotsDeck_FNX2PLD/OutputDefinitions.cs index 6ca3d31..aea7ab1 100644 --- a/PilotsDeck_FNX2PLD/OutputDefinitions.cs +++ b/PilotsDeck_FNX2PLD/OutputDefinitions.cs @@ -45,7 +45,7 @@ public static List CreateDefinitions() //FCU definitions.Add(AddIpcOffset("fcuSpdStr", "string", 10, ref nextOffset)); definitions.Add(AddIpcOffset("fcuHdgStr", "string", 9, ref nextOffset)); - definitions.Add(AddIpcOffset("fcuAltStr", "string", 7, ref nextOffset)); + definitions.Add(AddIpcOffset("fcuAltStr", "string", 8, ref nextOffset)); definitions.Add(AddIpcOffset("fcuVsStr", "string", 10, ref nextOffset)); //ISIS diff --git a/README.md b/README.md index 94a163c..d66af16 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,15 @@ It is designed to be started (and stopped) by FSUIPC - add this to your ini File RunIf1=READY,KILL,X:\PATH\YOU\USED\PilotsDeck_FNX2PLD.exe ``` But you can also start/stop it manually when MSFS is running (finished loading to the Menu)!
-If you want to start/stop it manually (or Need to restart it), I provided a Powershell-Script [here](https://github.com/Fragtality/PilotsDeck_FNX/blob/master/Restart-PilotsDeckFNX.ps1). You need to change the Path to the Binary in the Script before it can do anything useful. Don't restart it in Flight unless you really need to! +If you want to start/stop it manually, you can use the Powershell-Script [here](https://github.com/Fragtality/PilotsDeck_FNX/blob/master/Restart-PilotsDeckFNX.ps1). You need to change the Path to the Binary in the Script before it can do anything useful. BUT: Don't restart it in Flight unless you really need to!

# Usage If you want to start the Binary manually and before the Sim is running, set the *waitForConnect* Parameter in the Config-File to true!
-When it is running (started either automatically or manually) just set up your Flight as you normally would. The Tool will wait in the Background until the Fenix becomes active. It also automatically detects when you have clicked Ready-to-Fly before its intial Scan (the Timer from previous Versions is gone now).
+When it is running (started either automatically or manually) just set up your Flight as you normally would. The Tool will wait in the Background until the Fenix becomes active. It also automatically detects when you have clicked Ready-to-Fly before its intial Scan (the Timer from previous Versions is gone now). It is best started (manually) when MSFS is in the Main Menu.
Note that this Application has no Window - you have to use Task Manager if you want to see if is running. It should close automatically after MSFS is closed (even when started manually with *waitForConnect*).
The Memory Scan usually takes about one Second and the time it takes for an Update Cycle is around 0,3ms on average (on my System).

-Note that this Binary is a Best-Effort-Approach to have working FCU for the Fenix. It is by no means 100% accurate in every possible Situation - I need to guess Things. But it is very accurate in most and normal Flight-Situations (with Flight meaning you are in the Air). So please don't play arround on the Ground, especially with an uninitialized FMGC, and then tell me it is not working correctly - you're using it wrong.
+Note that this Binary is a Best-Effort-Approach to have working FCU for the Fenix. It is by no means 100% accurate in every possible Situation - I need to guess Things. But it is very accurate in most and normal Flight-Situations (with Flight meaning you are in the Air). So please don't play arround on the Ground, especially with an uninitialized FMGC, and then tell me it is not working correctly :wink:
The most "guesswork" is on the VS-Mode, especially in the Transition from (OP) CLB to VS. It should work when you have switched the Vertical Mode via the ALT or VS Knob (in the correct Way of increasing/decreasing it) - it is monitoring these Switches to get the Transition. The Transition into a managed Mode (e.g. from VS to G/S) should work though (since the Display goes dashed and the Value doesn't matter anymore).
Also Note that the Binary should not be started/restarted while in Flight - it could miss some Memory-Locations then and the FCU will not function correctly until the Fenix was reloaded!