Jump to content

Recommended Posts

Posted (edited)

Hi, i am trying to make f4u streamdeck profile but it doesn't work, in streamdeck > DCS COMS > it say "module not detected" even it work with all other module , someone have an idea about this problem? i miss something ?

Edited by jabbabzh
Posted

I have created a Lua file and named it F4U-1D.Lua. See attachment.

 

I have no experience with this stuff, I copied the first lines from an existing one and simply replaced the text of the original module with F4U-1D.

So I could at least access the module.

As I said, I have no idea what I'm doing and just gave it a try.

Of course I wanted to understand it but I still have a few years to live maybe I'll check it out 😉

 

Screenshot 2025-06-24 193835.png

F4U-1D.Lua

Posted

i have this if i click on "ID lookup" in stream deck interface but clic on "DCS comms" in streamdeck interface and look if you have something under 

DCS ID - LAST RECEIVED VALUE

Posted

Hello,

i coppied F4U-1D.Lua to directory "C:\Users\<username>\Saved Games\DCS.openbeta\Scripts\DCS-ExportScript\ExportsModules" and can select mdule f4u-1d in UI of stream deck. But if i press a button in stream deck nothing happens. What i have to do?

Posted
vor 10 Stunden schrieb buur:

some one have to create a export script for the F4U. Otherwise streamdeck is not working.

That is the point.

Unfortunately, I'm absolutely not in a position to do something like that.

Is there an easy to understand tutorial somewhere to get started with a few simple things?

Posted

What surprises me is that the stream deck seems to be able to read all the buttons somehow. How can I use this source to create an export script? Where is the best place to start?

Posted

Stream deck (or the script in the plugin) can read the clickable.lua where the button are described. The export script send the state of the buttons (on/off) to the stream deck.

If you look in the export script you see [113] = "%1d", -- Master arm. The 113 is the DCS ID. You found these value also with the ID Lookup.

Oh, and I see that I have forgotten to delete some lines from the Gazell export script, which I had used as basis for the Corsair.

  • Like 1
Posted
On 6/30/2025 at 7:10 PM, GTFreeFlyer said:

Just a bump.  Did anyone get their hands on a completed script for the F4U?

I am working on building one. I'm at the stage where I need to actually test it, but I found a lot of the ID's.

  • Like 6
  • 2 weeks later...
Posted (edited)

Ok, as traveling for work keeps happening and I did not find the time to test (and will not until at least Tuesday), here is the file I made.
Haven't got a clue if it will be even detected, so some troubleshooting for that may be needed, before even testing if I got the ID's correct.

Maybe somebody can test this, correct this and re-share so we can all built it to full functionality together so we all benefit. 

As a heads up, I made this by following the guide here... https://github.com/s-d-a/DCS-ExportScripts/wiki/Documentation-in-English#Create
I did this on a laptop that does not even have DCS on it. 

F4U-1D.lua

Edited by Feller-Buncher
  • Like 3
Posted
6 hours ago, Feller-Buncher said:

Ok, as traveling for work keeps happening and I did not find the time to test (and will not until at least Tuesday), here is the file I made.
Haven't got a clue if it will be even detected, so some troubleshooting for that may be needed, before even testing if I got the ID's correct.

Maybe somebody can test this, correct this and re-share so we can all built it to full functionality together so we all benefit. 

As a heads up, I made this by following the guide here... https://github.com/s-d-a/DCS-ExportScripts/wiki/Documentation-in-English#Create
I did this on a laptop that does not even have DCS on it. 

F4U-1D.lua 4.93 kB · 2 downloads

Interesting timing.  I started working on my own last night and was going to continue this morning.  I just took a quick look at yours and was hoping to replace mine and test it out.  I have only built the weapons stuff so far into my Stream Deck, and have tested it all out, working.  

After a quick look through your lua file, there's lots missing.  I didn't see any of the weapons stuff (main panel, rocket panel, bat bomb, etc.).  I know this is just a work-in-progress, so I'm just throwing this out there for anyone else who might download it and expect more functionality.

The ID's you have for all the clickable elements seem to match up with what is in DCS Interface's ID Lookup table.  However, all the stuff you have for the gauges and indicators do not appear in the ID Lookup table, so I don't know if they'll work without any additional work involved.

That was just my quick-look.  I'm going to take the few switches you have and combine them into mine and continue plugging and chugging.

Thanks for sharing.

  • Like 2

My DCS Missions: Band of Buds series | The End of the T-55 Era | Normandy PvP | Host of the Formation Flight Challenge server

 

Supercarrier Reference Kneeboards

 

IRL: Private Pilot, UAS Test Pilot, Aircraft Designer, and... eh hem... DCS Enthusiast

Posted (edited)

Alright, I got most, if not all the clickable data (switches, knobs, etc) in here, with the exception of circuit breakers.  I was able to test out a lot, but not everything.  What I tested works so far.  Feller, I added your name along with mine at the top for credits.

This should satisfy most Stream Deck users. 

Work to be done:

1. Test and let me know if anything is broken. 

2. Add more outputs (gauges, needle positions, indicator lights, etc.).  I likely won't get around to this as I don't need these for my personal Stream Deck needs.

3. Continue sharing the love of this bird and reupload any additions/fixes you may have.

Cheers,

-GT-

F4U-1D.lua

Edited by GTFreeFlyer
  • Like 3

My DCS Missions: Band of Buds series | The End of the T-55 Era | Normandy PvP | Host of the Formation Flight Challenge server

 

Supercarrier Reference Kneeboards

 

IRL: Private Pilot, UAS Test Pilot, Aircraft Designer, and... eh hem... DCS Enthusiast

Posted (edited)

Did a bunch of flying last night with my new Stream Deck profile and got to test out a lot more.  These 5 engine controls had incorrect decimal formats.  Change your lines to what you see below.

I still haven't tested out the radios, mostly because there are still some bugs in the way they operate and I didn't want to mess with them too much in case things change in the next ED update.

Side note:  Which GitHub account is the official, and current one to get ExportScripts?  There are several forked ones.  I wanted to open up a pull-request and get the F4U officially in, but don't know with whom to do that.

-- Engine (Device ID 3)
    [43] = "%.2f",    -- Throttle
    [44] = "%.1f",    -- Supercharger Lever 
    [46] = "%.3f",   -- Mixture Lever
    [59]  = "%.2f",   -- Fuel Selector
    [105] = "%.3f",   -- Ignition Switch (Magnetos)
Edited by GTFreeFlyer
  • Like 1

My DCS Missions: Band of Buds series | The End of the T-55 Era | Normandy PvP | Host of the Formation Flight Challenge server

 

Supercarrier Reference Kneeboards

 

IRL: Private Pilot, UAS Test Pilot, Aircraft Designer, and... eh hem... DCS Enthusiast

  • Recently Browsing   0 members

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