Jump to content
The simFlight Network Forums

Fragtality

Members
  • Posts

    147
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by Fragtality

  1. On 8/31/2023 at 9:36 AM, aimoii said:

    Hi, I would need to test if FSUIPC7 works with Pilot's Deck/Stream Deck, as it requires FSUIPC7 / license as well

    Note that it does not need a registered/licensed Copy of FSUIPC per-se.
    But some pre-made Profiles do indeed need that because they use Lua-Scripts. (Even without a licensed Copy, some/most of the Functionality of such Profiles are still working - the ones not using Scripts)

    So it really depends on what you are using it for! 😉

    • Like 1
  2. 14 minutes ago, ark1320 said:

    In addition for testing I have disabled FSUIPC7.exe and FSUIPC7.ini by renaming these files, so I would think that would eliminate a profile switching problem.

    What should that have helped? It effectively kills the whole Functionality of the Plugin.

     

    16 minutes ago, ark1320 said:

    I think in the past I did associate the problem profile with MSFS, a mistake, and then tried to undo that by assigning the profile to None, but apparently the MSFS association still exists somewhere.

    Don't know ... never used that. Does not make Sense for me for a Flightsim (with different Planes and therefore Profiles) - the Reason I build in the Profile Switching Feature ^^

     

    18 minutes ago, ark1320 said:

    Profile switching does work correctly in that if FSUIPC7 is enabled, eventually the correct profile is loaded. I'm just trying to determine why the unwanted profile loads at all  in place of my default profile.

    What does "eventually" mean? The Profile Switching should happen when the Session is ready and the current FSUIPC Profile matches an associated StreamDeck profile (in the Profile Switcher Action)

  3. 3 hours ago, ark1320 said:

    That's what I was thinking but the Property Inspector shows a long press starts at 600ms and 3 x 150 waitTicks = 450 so I was not sure.   I assume the 150 waitTicks is milliseconds.

    Oh yeah, sorry - got I myself wrong ^^
    It is pollInterval x longPressTicks = Duration for Long (Default 200ms x 3 = 600ms)
     

     

    3 hours ago, ark1320 said:

    I did try setting the longPressTicks to a high value of 10 just as a test to see what would happen, but did not notice an difference in the long press. I restarted the SteamDeck app after making the change, maybe I need to reload the sim or restart the computer. When is the PilotsDeck.dll.config file read?

    Everytime the Plugin starts - so stopping the StreamDeck Software and starting it again should be enough

    • Upvote 1
  4. Hmm, maybe you done some extra Steps or still missed some Steps?
    Judging by the Screenshot the Names known/imported to PilotsDeck do not match the Profiles in the StreamDeck UI.

    Please follow the Procedure:
    - Disable Profile Switching (via the Button)
    - Export your Profiles (for which Switching should be enabled) and Copy them to the mentioned Folder. If you want to Rename them, do so before the Export.
    - Delete these exported Profiles (and to be sure their Clones) from the UI. The exported File saves the exact State of the Profile, so nothing is lost.
    - Stop the StreamDeck Software
    - Run the Importer
    - Start the StreamDeck Software
    - Enable Profile Switching and allow the Installation of the Profiles
    - In the End there should be exactly one Instance of each Profile (with matching Names StreamDeck UI == Profile Switcher)

    Also make sure you use the exact FSUIPC Profile Name in the Input Field. Even when the Profile Switching could work, it still won't do anything when the Name you entered can not be not matched to the current FSUIPC Profile. That the Plane/Livery is correctly associated with that FSUIPC Profile is assumed - the Plugin does not switch anything when FSUIPC is not switching anything 😉 

  5. 41 minutes ago, ark1320 said:

    BTW should I see my other Pilot's Deck profiles listed here as well?

    No, only the ones configured/imported for Profile-Switching since these are the only one which the Plugin can switch to 😉

     

    43 minutes ago, ark1320 said:

    But here is what I see in my overall Profiles list -- note none of the switching profiles show up.

    Sure they do - all with "Copy" appended. You missed the Step to remove them. So the Name and GUID are both wrong.

  6. Make sure you follow the Instruction from Top to Bottom!

     

    7 hours ago, ark1320 said:

    Do I need to drag and set up a profile switcher key for each profile (I have 4 total profiles,  two on the + deck, and two on the 15 key deck. I have two planes and have a profile on each deck for each plane.

    No, it is global/unique. You can have as many of these Buttons as you want, but they all configure the same Thing / have the same Settings.

     

    7 hours ago, ark1320 said:

    Your instructions refer to opening the Property Inspector – not sure what that is or how to open it.

    The Area in the StreamDeck Software where you configure the Properties (Settings) of a Button. The Area you have in the Screenshots 😉

     

    7 hours ago, ark1320 said:

    I do not see the imported profiles in the normal drop down profile list for either deck.

    Then you missed a Step or have done it out of order, check the Instructions.

     

    7 hours ago, ark1320 said:

           What goes in the boxes shown in the screenshots?

           I also do not understand the use of "default" below. It seems every box I've pointed to is associated with "default".

    Well, the Preparation/Import failed somewhere, so your Profiles are not listed there. When done correctly, your Profiles should appear there as additional Input-Fields (for the respective Deck-Type). In these you enter the FSUIPC Profile's Name it should be mapped to. When that FSUIPC Profile is active, that StreamDeck Profile will be loaded on that Device.

    The "Default" Profiles allow you to map any unmatched FSUIPC Profile to a Default StreamDeck Profile (when Use Default is enabled). This Default-Profile is already provided and included, but that can be changed also if needed. When Use Default is not enabled, the Plugin will not switch Profiles when no match is found.
     

  7. 1 hour ago, ark1320 said:

    Yep, that 's what I mean above by setting up Switch Profile buttons. Turns out you can use that to switch to a profile on another Stream Deck or the same one deck you are on.

    Ehm, nope^^ That Feature switches Profiles automatically (after configured),  so there is no Need for Elegato's Switch Profile Buttons 😉

     

    1 hour ago, ark1320 said:

    Any thoughts on why I have to restart FSUIPC7 sometimes after the sim loads?

    No, it just works for me 99% of the Time.

  8. PilotsDeck does not start any Program/App.
    The StreamDeck Software informs the Plugin as soon as any supported Sim is running. Then it expects FSUIPC to be started while the Sim is loading (and also the MF WASM Module for MSFS) - which is the default Behavior.

    It should not make a Difference when you start it. The StreamDeck Software (and therefore the Plugin) can run all the Time, to allow normal StreamDeck Usage for the Users outside of Flight Simming (in contrary to Spad). I let it start with Windows, since I use my StreamDeck for other Things too. But if a User only wants to start it only when the Sim is running, that is also perfectly fine 🙂 

    • Like 1
  9. What about:

    "*Name*: The Name of the L-Var with or without preceding `L:`. The L-Var Name can also contain Numbers (0-9), Dashes (-), Underscores (_) and Colons (:) as long as these are not the first Character in the Name. Please Note that **Space** is not allowed. Even though it seems technically possible, it is a very Bad Practice to have Variable Names with Spaces. Therefore Spaces will never be added. You can try if Calculator works for you as Work-Arround."

  10. 2 hours ago, ark1320 said:

    I am using this version and am having some trouble using the LVAR command mode. For example I could not get the toggle LVAR mode below to work, but when I used Calculator code it did work. I also noticed in LVAR mode the syntax checker did not like having a space in the LVAR name.  Am I doing something wrong as far as the LVAR mode goes?

    Not you, someone else did something "wrong". Even though Spaces seemed to be allowed for no comprehendible Reason, it is just very very Bad Practice to have Spaces in Variable Names. It's like a unwritten Baserule in programming.

    So I won't allow that in the Syntax-Checks. The last time I did that (FBW's fake L-Var Indices) it introduced Bugs in other Areas. So adding something no reasonable Developer would ever assume in a Variable Name could have that Potential too. I'm afraid you have to have the Workaround with Calculator Code.

     

     

    1 hour ago, ark1320 said:

    But the below using XML code did work. So again what am I doing wrong?  Thanks, Al.

    The Syntax is wrong, negative Numbers are prefixed with a minus in the normal World (=outside of RPN) 😅

  11. Uhm okay, so if you even know how to write RPN Code - I don't really what your initial Question is about to be honest 😕
    Because with that Knowledge I'd assume the available Action-Types would directly mean something to you.

    Maybe try to rephrase that:

    On 5/23/2023 at 8:07 PM, ark1320 said:

    I'd like to assign a key (or key combination) to a Stream Deck + button, but don't see how to do that.  This would allow executing a default MSFS key control binding with a Stream Deck + button.

     

  12. You don't and can't assign Keyboard-Keys and Joystick-Buttons in the first Place (in the Plugin). You tell the StreamDeck Button (respectively the PilotsDeck Action that is on that Button) what you want to send to the Simulator by the different Ways possible. Roughly spoken, the Plugin sends the Events directly to the Simulator, not by emulating Key-Inputs or Joystick-Inputs.

    I'd recommend to consult Chapter 2.1 of the Readme. For MSFS the Action-Types Control, Calculator or HVar might do the Trick.

  13. So you could sort it out?

    The Syntax-Checking in the UI is more an Assistance for the User - the "real" and thorough Syntax-Checking happens later on Execution. So it is still worth trying if it works even when the UI shows an Error there.

    But it could still be that some Corner-Cases for the A-Vars are not covered, though. For Example, I don't know if the current Check allows a Slash ("/") in the Unit-Type tbh!

  14. *Version Bump*

    Version 0.7.10

    • Fixed: DataRefs containing only 1 Character long Names where not recognized (The first Name in the Path still needs to be at least 2 Character long!)
    • Fixed: Offset-Addresses where sometimes registered as L-Var (and thus a L-Var with that Name was created)
    • Fixed: Links in the Installer pointed to the wrong minimum .NET Version (listed for completeness, was already fixed in the 0.7.9 Binary after the 3rd April)
    • Thanks 1
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.