Skip to content

Commit

Permalink
Reverted COM Change / made Alt String longer
Browse files Browse the repository at this point in the history
  • Loading branch information
Fragtality committed Feb 10, 2023
1 parent 37a85d7 commit 308bff6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Binary file modified PilotsDeck_FNX2PLD-latest.zip
Binary file not shown.
4 changes: 2 additions & 2 deletions PilotsDeck_FNX2PLD/ElementManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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") },
Expand Down
2 changes: 1 addition & 1 deletion PilotsDeck_FNX2PLD/OutputDefinitions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static List<OutputDefinition> 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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)!<br/>
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!
<br/><br/>

# 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!<br/>
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).<br/>
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.<br/>
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*).<br/>
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).<br/><br/>
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.<br/>
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:<br/>
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).<br/>
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!
<br/><br/>
Expand Down

0 comments on commit 308bff6

Please sign in to comment.