Products Support > GSX Support FSX/P3D

Next Update, Bypass GSX Menu ?

(1/2) > >>

hkhoanguyen:
Hello,

Would it be possible for the next update, we can bypass the GSX Menu ? something like the GSX Services can be called by writing the LVARS ? and specific action will be called by writing the correspond numbers 1 2 3 4

Thanks

virtuali:
Before doing that, we need to add other new services first. I don't think using LVars for that would work, we'd need a proper communication protocol based on Simconnect.

Fragtality:
Imho an "API/SDK" based on SimConnect would not really help Users, not even "advanced Users". The Complexity alone to get to the Point where you could do any Communication with GSX would be so high, you would end up writing an API which almost no User would (or can) use. Excluding Plane-Devs of course, but they already can do really much (e.g. FSLabs) with just the Lvars. Or as another Example: I would not even had started writing an Integration for the QW787 if the current API would already be in SimConnect to be honest! (and I wrote a whole StreamDeck-Plugin in C#) ^^

It also would not need that much work imho (compared to a whole new Approach via SimConnect)! For Example: if there would be a "Request Lvar" where the User/Plan-Dev could write a non-zero Value which Service to Request (like 1=Refuel, 2=Cater and so on) could already achieve the goal to bypass the Menu. Paired with some Optimizations on the existing Status Variables (e.g. showing Service Availability earlier) this would already offer a very capable "API/SDK".

virtuali:

--- Quote from: Fragtality on February 21, 2022, 09:26:25 pm ---I would not even had started writing an Integration for the QW787 if the current API would already be in SimConnect to be honest! (and I wrote a whole StreamDeck-Plugin in C#)
--- End quote ---

It wouldn't be much different than that.

Fragtality:
Uhm ... sure it would be. With C# and the FSUIPCClient it's basically 3 Lines to read/write an Lvar (and setting up the VS-Project is also much less complex). With a Lua-Script within FSUIPC you can directly read/write Lvars. Experienced the hassles I just had to today to get a small prototype running on how to read a single Lvar via a C++ DLL (PDK), I really wouldn't have done the Integration ^^
But I guess it depends on the experience in coding in C/C++ for FlightSims ;)

I just wanted to remark that if that "SimConnect-API" would be intended for Users, it would make the User-Base really small.

Navigation

[0] Message Index

[#] Next page

Go to full version