Jump to content

DCS-ExportScripts for Stream Deck Community Github Library


Recommended Posts

Can anyone help with Mirage F1 with streamdeck? Streamdeck doesn't populate any buttons. Additionally, none of the inputs I push work. However, I can see that exports from DCS to streamdeck, such as button status, DO work.

I'm having this exact .lua in this folder. Most of the other planes populate buttons just fine, excluding Ka-50 and F-15E.

I have tried two different streamdeck-profiles, one made by Bailey. Both of them have the same issue.

I have manually checked that the DCS ID on streamdeck is matching the ID on .lua-file.

Link to comment
Share on other sites

25 minutes ago, Eraseri said:

Can anyone help with Mirage F1 with streamdeck? Streamdeck doesn't populate any buttons. Additionally, none of the inputs I push work. However, I can see that exports from DCS to streamdeck, such as button status, DO work.

I'm having this exact .lua in this folder. Most of the other planes populate buttons just fine, excluding Ka-50 and F-15E.

I have tried two different streamdeck-profiles, one made by Bailey. Both of them have the same issue.

I have manually checked that the DCS ID on streamdeck is matching the ID on .lua-file.

Partially replying to my own question. There has been some changes to the Mirage F1 .lua-files. Bailey's instructions give as an example the "Fuselage bombs pushbutton".

In the example the Button ID is 3594. However, inspecting the clickabledata_common_F1C.lua -file reveals that the Button ID is actually 3517. When changing the button ID from streamdeck profile the pushbutton works.

If someone would have some tips how to get the buttons to populate it would great

Link to comment
Share on other sites

  • 3 weeks later...

Having issues with the Huey (see screenshot) frametime spikes seriously impacting framerate. If I remove the Huey script from the ExportsModules folder then all is good, but no Huey export.

image.png

Link to comment
Share on other sites

Hey everyone! @ExoLight and I have put a little something together. They are away on business and allowed me to present our work.

The F-4E lua can be found here: https://github.com/asherao/DCS-ExportScripts/blob/master/Scripts/DCS-ExportScript/ExportsModules/F-4E-45MC.lua
With over 1,000 args, you'll find it pretty extensive. Thank you to https://github.com/charlestytler/dcs-clickabledata-extract!

ExoLight's work on the profile for the StreamDeck can be found here: https://github.com/asherao/DCS-ExportScripts/blob/master/docu/StreamDeck Examples/F-4E.streamDeckProfile
and here: https://github.com/asherao/DCS-ExportScripts/tree/master/docu/Pics/F-4E/Exo's F-4E icons

They had not gotten everything they would have liked in there, but it is still a wonderful start. They will add some more exports in there when they have more time to do so.

Sidenote, they made a table in the Lua file to associate names with export IDs. They feel like this is a good way to keep contributions from multiple people more organized and make bugs less likely. You'll find it pretty explicit.

We hope that some people will find it useful at launch!

image.png.57a9490e95f570f92e1b93767698a358.png

image.png.a617569fa404d610880e8222cbb24c11.png

image.png.aff6e92293ab5db0a3633f56550acaed.png

  • Like 1
  • Thanks 5
Link to comment
Share on other sites

14 hours ago, CraigDubya said:

Having issues with the Huey (see screenshot) frametime spikes seriously impacting framerate. If I remove the Huey script from the ExportsModules folder then all is good, but no Huey export.

image.png

Modified for less CPU load. Try it out! https://github.com/asherao/DCS-ExportScripts/blob/master/Scripts/DCS-ExportScript/ExportsModules/UH-1H.lua

Link to comment
Share on other sites

Posted (edited)
2 hours ago, bones1014 said:

Looks like the Compass Mode control crashes the Streamdeck app if you try to use value 955 with the thumb input. Works fine if you use 955 with a momentary button.

null

image.png

That's not good. May be best to comment it out with an explanation. Or just a note. I'll get to it when I can unless someone else does. 


Edited by Bailey
Link to comment
Share on other sites

1 hour ago, Bailey said:

That's not good. May be best to comment it out with an explanation. Or just a note. I'll get to it when I can unless someone else does. 

 

It's not a problem if you use the 955 button press instead of the thumb input.

Link to comment
Share on other sites

Posted (edited)

EDIT: It's possible my export scripts crapped out mid way through setup of F4E, standby...

The crash seems related to the below function, after a bit of testing whenever I try to use those is causes a complete crash of the streamdeck plugin and export scripts that requires a streamdeck restart to restore.

Edit, additional functions that increment by 0.3333333 all cause the same issue

I'm not sure the pilot nav input and nav mode are working for the F4E unless I've figured it wrong.

As far as I can tell this should be for setting mode between VOR TAC, TAC, ADF TAC and NAV COMP

PILOT_NAV_FUNCT_SEL_PANEL_SOURCE_MODE_SELECTOR_KNOB

And this should be for setting mode between HDG, NAV COMP, TAC and VOR ILS

PILOT_NAV_FUNCT_SEL_PANEL_BRG_DIST_SWITCH

Neither appear to work for me


Edited by Simm0
Link to comment
Share on other sites

Thank you for the F-4E export script and profile.

Here's a nice icon for this plane on your Streamdecks: 

f4-phantom-jet-fighter-top-600nw-2142412047.webp

  • Like 2

Zip - VEAF :pilotfly:

 

If you want to learn, talk and fly with french-speaking friends, the Virtual European Air Force is here for you ! Meet us on our Discord and our forum

If you're a mission creator, you may want to check the VEAF Mission Creation Tools (and its GitHub repository) a set of open-source scripts and tools that make creating a dynamic mission a breeze !

Link to comment
Share on other sites

8 hours ago, FredOfMBOX said:

Sorry, but what is the thumb input? 

it's a substitution for a rotary knob. In the image the top is the one that works and it's a momentary button input. The bottom one is a thumb input and is like a rotary knob.

null

image.png

7 hours ago, Simm0 said:

EDIT: It's possible my export scripts crapped out mid way through setup of F4E, standby...

The crash seems related to the below function, after a bit of testing whenever I try to use those is causes a complete crash of the streamdeck plugin and export scripts that requires a streamdeck restart to restore.

Edit, additional functions that increment by 0.3333333 all cause the same issue

I'm not sure the pilot nav input and nav mode are working for the F4E unless I've figured it wrong.

As far as I can tell this should be for setting mode between VOR TAC, TAC, ADF TAC and NAV COMP

PILOT_NAV_FUNCT_SEL_PANEL_SOURCE_MODE_SELECTOR_KNOB

And this should be for setting mode between HDG, NAV COMP, TAC and VOR ILS

PILOT_NAV_FUNCT_SEL_PANEL_BRG_DIST_SWITCH

Neither appear to work for me

 

yea I've noticed the same issue. the fix on the user end is just to take all the repeating numbers off the end and cut it down from 0.333333 to 0.3.

  • Like 1
Link to comment
Share on other sites

20 hours ago, Simm0 said:

EDIT: It's possible my export scripts crapped out mid way through setup of F4E, standby...

The crash seems related to the below function, after a bit of testing whenever I try to use those is causes a complete crash of the streamdeck plugin and export scripts that requires a streamdeck restart to restore.

Edit, additional functions that increment by 0.3333333 all cause the same issue

I'm not sure the pilot nav input and nav mode are working for the F4E unless I've figured it wrong.

As far as I can tell this should be for setting mode between VOR TAC, TAC, ADF TAC and NAV COMP

PILOT_NAV_FUNCT_SEL_PANEL_SOURCE_MODE_SELECTOR_KNOB

And this should be for setting mode between HDG, NAV COMP, TAC and VOR ILS

PILOT_NAV_FUNCT_SEL_PANEL_BRG_DIST_SWITCH

Neither appear to work for me

 

Updated. 

  • Thanks 1
Link to comment
Share on other sites

Posted (edited)
50 minutes ago, bones1014 said:

I would like an indicated airspeed, bombing interval, and altitude readouts. I'll look into those. Wish me luck. lol

Good luck! 😀 Looking forward to seeing how they turn out. 


Edited by Bailey
Link to comment
Share on other sites

Posted (edited)
1 hour ago, Bailey said:

Good luck! 😀 Looking forward to seeing how they turn out. 

 

Just sent up the Pilot's altimeter. Kinda messed up though. I'll have to tweak it. it goofs up when the needle is in between 9 and 0 and from 0 to 1.


Edited by bones1014
Link to comment
Share on other sites

Good day.

I am getting crashes of the other aircrafts export lua and Streamdeck is not working properly after using the F-4 Export lua. 

Does anyone else has that?

 

Thank you?

http://104thphoenix.com/ "Failure Is Not An Option" - Online Combat Simulation Since 1997

www.youtube.com/user/AntonioGR201 www.twitch.tv/104th_Tiger www.facebook.com/TIGER.GR.Tiger/

Discord: 104th_Tiger#1883

 

 

Link to comment
Share on other sites

I have managed to import the F4E profile and associated lua file and to my shock, it worked.  The True Air Speed button seems to be correct and corresponds with the game.  However, I tried to find the true air speed listing in the ID lookup and could not find it.  I tried to use it as a model to try to get the radar altitude and while I found several device IDs for the radar altitude, I could not find anything that deals with the actual attitude.  What am I doing wrong?

 

Trackir4 using the latest Trackir 5 software, Win10 Pro [Creator Update] updated from Win7Pro Pro 64Bit, Intel® Core™ i5-2500 3.30 GHz 6M Intel Smart Cache LGA115 , GigaByte GA-Z68XP-UD4 Intel Z68 Chipset DDR3 16GB Ram, GTX MSI Gaming 1060 [6 GB] Video Card, Main Monitor 1 on left 1920x1080 Touchscreen Monitor 2 on right 1920x1080 .

Link to comment
Share on other sites

×
×
  • Create New...