Jump to content

DCS-ExportScripts for Stream Deck Community Github Library


Recommended Posts

On 10/1/2022 at 2:58 PM, skypickle said:

I made a stream deck profile for the mosquito but am having an issue with stream deck buttons for the rocket controls. The on/off switch, the pair/salvo/switch and the rocket station counter button do work but they do not return any values. As a result I cannot change the button icon or the text displayed. I would appreciate any help.

Make sure your Lua is sending those values somehow. 

Link to comment
Share on other sites

Hi all I am hoping someone can help me with getting the DCS-Exports script working. I have followed Charles YT video on installing the DCS interface and have it all installed. But the issue I am having is when I run DCS it is not showing up in the comms menu and the profile I have isnt working. 

I have checked the ports and then match up with the .lua file and I have the .config for the AH64 - I have made sure the mission is running.

I am running on steam, not sure if that changes things. The AH64 is showing up in my streamdeck all ok and I can see the AH64 when I search for the IDLookup.

Please see screenshots of mysetup. I am using DCS Open Beta, not sure if there a folder I need to create or make etc... Sorry been a noob.

Is this correct `\Saved Games\DCS.openbeta\Scripts\DCS-ExportScript\ExportsModules` 

Should I have a Openbeta folder in my steamapps ?

Do I need to put anything into here? - H:\Steam\steamapps\common\DCSWorld 

I am trying to use this profile - https://www.digitalcombatsimulator.com/en/files/3321515/

Thanks hoping someone can help.

nullnullnullnullnull

image.png

image.png

image.png

image.png

image.pngnullnull

image.png

image.png


Edited by zedman1uk
Link to comment
Share on other sites

  • 4 weeks later...

EDIT: 18/11/2022 - Decided to test after the latest patch and everything is working fine again with no changes on my end as far as I can tell.

 

Just started getting massive lag when the exportscript line is enabled in my Export.lua file. Was working fine last night and loaded the game today with zero changes and I get around 2-3fps instead of 100. Can fix it by commenting out the export script line but that obviously disables the whole thing.

Had a look at my DCS log and there is nothing in there that seems to be an error relating to the export or slowdown.

I thought maybe it was a GPU issue because when the game is running my actual GPU core load is around 2-3% and then if I press escape to pause the single player mission it goes back up to 99% and it stops lagging which is due to the fact that the exportscript isn't polling data when paused (I think). Even though the GPU usage is low the memory is completely full like it usually would be.

Tried GPU driver uninstall with DDU and then a reinstall of the latest one which is the same as the one I uninstalled but no dice.


Edited by 3000 Black Jets of Allah
Extra info
Link to comment
Share on other sites

  • 2 weeks later...
On 11/10/2022 at 4:25 PM, 3000 Black Jets of Allah said:

EDIT: 18/11/2022 - Decided to test after the latest patch and everything is working fine again with no changes on my end as far as I can tell.

 

Just started getting massive lag when the exportscript line is enabled in my Export.lua file. Was working fine last night and loaded the game today with zero changes and I get around 2-3fps instead of 100. Can fix it by commenting out the export script line but that obviously disables the whole thing.

Had a look at my DCS log and there is nothing in there that seems to be an error relating to the export or slowdown.

I thought maybe it was a GPU issue because when the game is running my actual GPU core load is around 2-3% and then if I press escape to pause the single player mission it goes back up to 99% and it stops lagging which is due to the fact that the exportscript isn't polling data when paused (I think). Even though the GPU usage is low the memory is completely full like it usually would be.

Tried GPU driver uninstall with DDU and then a reinstall of the latest one which is the same as the one I uninstalled but no dice.

 

Try removing all of your aircraft exportScript lua files (after backing them up). Does that solve the fps issules?

Link to comment
Share on other sites

54 minutes ago, Bailey said:

Try removing all of your aircraft exportScript lua files (after backing them up). Does that solve the fps issules?

It's all working fine again, I decided to test after the update and there's no lag. I'll keep that in mind if it happens again so thanks 🙂

 

Also just wanted to say that I love your work, really appreciate the things you've created for the community!

  • Like 1
Link to comment
Share on other sites

On 11/19/2022 at 2:07 AM, 3000 Black Jets of Allah said:

It's all working fine again, I decided to test after the update and there's no lag. I'll keep that in mind if it happens again so thanks 🙂

 

Also just wanted to say that I love your work, really appreciate the things you've created for the community!

Awesome. Good to hear. One of those invisible little gremlins.

Thank you so much! I am glad to provide.

Link to comment
Share on other sites

  • 2 weeks later...
23 hours ago, bones1014 said:

Has anyone used one of the new stream decks with the rotaries on it?

Sent from my SM-G781U using Tapatalk
 

I just got mine today, but have never used dcs streamdeck. Was going to swap my XL from my stream PC and use that instead of the new one. Anything you'd like to know about the Plus? I'll try to answer.

Link to comment
Share on other sites

On 11/30/2022 at 4:17 PM, Padinn said:

I just got mine today, but have never used dcs streamdeck. Was going to swap my XL from my stream PC and use that instead of the new one. Anything you'd like to know about the Plus? I'll try to answer.

would just be nice to have rotaries for radios and whatever else knobs you might want to manipulate.

  • Like 1
Link to comment
Share on other sites

I just started using the stream deck a few days ago, and after following the tutorial and setting up my DCS and stream deck, I noticed that the ID lookup is empty, except for Flaming Cliffs, and my version is Steam Openbeta. By some guesses I was able to set some buttons like in the tutorial. But the Button ID I can't find anyway, so I can only try by guessing, which is a pain.

Is there any solution for this?

Link to comment
Share on other sites

  • 3 weeks later...
On 11/30/2022 at 4:17 PM, Padinn said:

I just got mine today, but have never used dcs streamdeck. Was going to swap my XL from my stream PC and use that instead of the new one. Anything you'd like to know about the Plus? I'll try to answer.

I see there's an LCD screen right above the rotaries. Can that be used to display things like radio freqs?

Link to comment
Share on other sites

On 12/20/2022 at 3:30 AM, Jexmatex said:

Any hint on how to create an export script for the KA-50 III ?

Thanks by advance

To make a lua for a new module:
- Start DCS and get in the new aircraft
- Open C:\Users\UserName\Saved Games\DCS.openbeta\Logs\Export.log. You will see a line saying something like "Unknown module: Ka-50_3"
- Copy the file C:\Users\UserName\Saved Games\DCS.openbeta\Scripts\DCS-ExportScript\ExportsModules\Empty-DCS.lua and rename it to Ka-50_3.lua
- Open Ka-50_3.lua
- Change the top line to "-- Ka-50_3"
- Change line 4 to `ExportScript.Version.Ka50_3 = "1.2.1"` (note that there is no dash in "Ka50". Always remove the dashes for this step)
- Save the file. Restart DCS. Check that you are getting a value for [0] in DCS-Interface.
- Congrats, now you can start putting in other args in the lua!

Tips:
You can use the following programs to try to get some args auto-generated for you. 
https://github.com/charlestytler/dcs-clickabledata-extract
https://github.com/asherao/dcs-unclickabledata-extract

 

Update:
- Ka-50 III lua added! (Includes about 250 non-clickable args/indications)
https://github.com/asherao/DCS-ExportScripts/tree/master/Scripts/DCS-ExportScript/ExportsModules

 

 

On 12/4/2022 at 6:51 PM, Dautty said:

I just started using the stream deck a few days ago, and after following the tutorial and setting up my DCS and stream deck, I noticed that the ID lookup is empty, except for Flaming Cliffs, and my version is Steam Openbeta. By some guesses I was able to set some buttons like in the tutorial. But the Button ID I can't find anyway, so I can only try by guessing, which is a pain.

Is there any solution for this?

You will have to provide more specific information. What aircraft are you trying to use? What troubleshooting steps have you tried? Have you used the Update button on the proper path in the ID lookup field? etc.


Edited by Bailey
  • Like 1
Link to comment
Share on other sites

On 11/30/2022 at 2:23 PM, Motion_Blurz said:

Really happy that I found this resource.  Thank you Baily for your efforts.  Any chance we can get an MB-339 export script lua file?

 

I am glad to provide.

Unfortunately, a fully populated MB-339 lua file is unlikely due to the time and effort it would take me to make it. You can follow the steps above to make the base lua file as an exercise. 

Edit: I had already started doing a MB-339A lua. If you or anyone else would like to continue my efforts, let me know and I can send or post the incomplete file. The biggest difficulty is that the aircraft is not only a 2 seater, but there are 2 versions. This, more or less, means that the effort required for complete luas will be that of almost 4 separate single seater aircraft.

Let me know if you want me to post what I have into the library.


Edited by Bailey
Link to comment
Share on other sites

Hello,

I have been doing a lot of work on the L-39 Ikarus profiles and also updated the export script to include a missing item or two. I have almost all gauge outputs working for Metric, Imperial and rear seat gauges. If you have a minute and can tell me what I should do to get it shared, I'll do it ASAP when all is ready.

Thank you and best wishes,

Cary  -smil-


Edited by JG14_Smil
Link to comment
Share on other sites

18 hours ago, FusRoPotato said:

Do you know if it's possible to export axis inputs from control sticks and mini sticks from the export.lua?

Not to my knowledge. You can, however, get the animation or deflection data from the aircraft itself using the LoGet() stuff. 

12 hours ago, JG14_Smil said:

Hello,

I have been doing a lot of work on the L-39 Ikarus profiles and also updated the export script to include a missing item or two. I have almost all gauge outputs working for Metric, Imperial and rear seat gauges. If you have a minute and can tell me what I should do to get it shared, I'll do it ASAP when all is ready.

Thank you and best wishes,

Cary  -smil-

 

Thats awesome news! If you are familiar with github you can request a pull. If you aren't familiar with Github you can post it here and when I have the opportunity I'll post it to the library under your name/credit and let you and this thread know. 

  • Like 1
Link to comment
Share on other sites

On 12/22/2022 at 4:45 AM, Bailey said:

To make a lua for a new module:
- Start DCS and get in the new aircraft
- Open C:\Users\UserName\Saved Games\DCS.openbeta\Logs\Export.log. You will see a line saying something like "Unknown module: Ka-50_3"
- Copy the file C:\Users\UserName\Saved Games\DCS.openbeta\Scripts\DCS-ExportScript\ExportsModules\Empty-DCS.lua and rename it to Ka-50_3.lua
- Open Ka-50_3.lua
- Change the top line to "-- Ka-50_3"
- Change line 4 to `ExportScript.Version.Ka50_3 = "1.2.1"` (note that there is no dash in "Ka50". Always remove the dashes for this step)
- Save the file. Restart DCS. Check that you are getting a value for [0] in DCS-Interface.
- Congrats, now you can start putting in other args in the lua!

Tips:
You can use the following programs to try to get some args auto-generated for you. 
https://github.com/charlestytler/dcs-clickabledata-extract
https://github.com/asherao/dcs-unclickabledata-extract

 

Update:
- Ka-50 III lua added! (Includes about 250 non-clickable args/indications)
https://github.com/asherao/DCS-ExportScripts/tree/master/Scripts/DCS-ExportScript/ExportsModules

 

 

You will have to provide more specific information. What aircraft are you trying to use? What troubleshooting steps have you tried? Have you used the Update button on the proper path in the ID lookup field? etc.

 

Thank you for the answer !

  • Thanks 1
Link to comment
Share on other sites

On 12/22/2022 at 4:45 AM, Bailey said:

To make a lua for a new module:
- Start DCS and get in the new aircraft
- Open C:\Users\UserName\Saved Games\DCS.openbeta\Logs\Export.log. You will see a line saying something like "Unknown module: Ka-50_3"
- Copy the file C:\Users\UserName\Saved Games\DCS.openbeta\Scripts\DCS-ExportScript\ExportsModules\Empty-DCS.lua and rename it to Ka-50_3.lua
- Open Ka-50_3.lua
- Change the top line to "-- Ka-50_3"
- Change line 4 to `ExportScript.Version.Ka50_3 = "1.2.1"` (note that there is no dash in "Ka50". Always remove the dashes for this step)
- Save the file. Restart DCS. Check that you are getting a value for [0] in DCS-Interface.
- Congrats, now you can start putting in other args in the lua!

Tips:
You can use the following programs to try to get some args auto-generated for you. 
https://github.com/charlestytler/dcs-clickabledata-extract
https://github.com/asherao/dcs-unclickabledata-extract

 

Update:
- Ka-50 III lua added! (Includes about 250 non-clickable args/indications)
https://github.com/asherao/DCS-ExportScripts/tree/master/Scripts/DCS-ExportScript/ExportsModules

 

 

You will have to provide more specific information. What aircraft are you trying to use? What troubleshooting steps have you tried? Have you used the Update button on the proper path in the ID lookup field? etc.

 

I have updated my streamdeck and dcs plugin doesn't seem to work anymore, 

i have even reinstalled windows from scratch, but nothing appen it wont comunicate anymore

 

anyone else in this case ?

Link to comment
Share on other sites

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...