Phoenix FR Posted January 8, 2023 Share Posted January 8, 2023 On 1/1/2023 at 8:11 AM, Bailey said: What I have for my F1 profile is here: https://github.com/asherao/DCS-ExportScripts/tree/master/docu/StreamDeck Examples Check out the pics here: https://github.com/asherao/DCS-ExportScripts/wiki/Mirage-F1 Is it for the standard steamdeck or the XL version ? Link to comment Share on other sites More sharing options...
sobe Posted January 8, 2023 Share Posted January 8, 2023 (edited) bones1014 Did you upload your updated Mirage F1 profile? The one I downloaded from Bailey did not contain all the button art that was on his example page and is 3 months old. Edited January 8, 2023 by sobe 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 More sharing options...
Bailey Posted January 8, 2023 Author Share Posted January 8, 2023 6 hours ago, Phoenix FR said: Is it for the standard steamdeck or the XL version ? XL DCS VoiceAttack Profiles | My Mods and Utilities on ED User Files | DiCE: DCS Integrated Countermeasure Editor DCS Update Witching Utility | DCS-ExportScripts for Stream Deck Community Github Library Link to comment Share on other sites More sharing options...
Lange_666 Posted January 9, 2023 Share Posted January 9, 2023 Yesterday i noticed a constant annoying stutter when running DCS. Before that it ran silky smooth. Quick test in IL-2 and Elite Dangerous showed that it was only in DCS because they ran supersmooth. Because i played around with my StreamDeck the other day (added an M-2000 profile and some HW64Info data) i first thought of that. Removed my export.lua and all ran smooth again. Then i commented out line by line to find the problem and it turned out to be the DCS-ExportScript entry. When i commented out: -- load the DCS ExportScript for DAC and Ikarus dofile(lfs.writedir()..[[Scripts\DCS-ExportScript\ExportScript.lua]]) DCS ran without stutters again. I also have TacView, The Way and SRS in the export.lua but these didn't cause stutters, only the DCS ExportScript did. Q1: What causes DCS to stutter with this DCS ExportScript (latest version) in the export.lua and how to prevent it? Q2: Do i actually need DCS-ExportScript for my StreamDeck. The profiles that i made still actually work without it. Win11 Pro 64-bit, Ryzen 5800X3D, Corsair H115i, Gigabyte X570S UD, EVGA 3080Ti XC3 Ultra 12GB, 64 GB DDR4 G.Skill 3600. Monitors: LG 27GL850-B27 2560x1440 + Samsung SyncMaster 2443 1920x1200, HOTAS: Warthog with Virpil WarBRD base, MFG Crosswind combat pedals, TrackIR4, Rift-S. Personal Wish List: A6 Intruder, Vietnam theater, decent ATC module, better VR performance! Link to comment Share on other sites More sharing options...
bones1014 Posted January 9, 2023 Share Posted January 9, 2023 there might be something being exported at high priority that is causing increased processing. Link to comment Share on other sites More sharing options...
Lange_666 Posted January 9, 2023 Share Posted January 9, 2023 That was my thought too but how do you pinpoint what is causing that? Win11 Pro 64-bit, Ryzen 5800X3D, Corsair H115i, Gigabyte X570S UD, EVGA 3080Ti XC3 Ultra 12GB, 64 GB DDR4 G.Skill 3600. Monitors: LG 27GL850-B27 2560x1440 + Samsung SyncMaster 2443 1920x1200, HOTAS: Warthog with Virpil WarBRD base, MFG Crosswind combat pedals, TrackIR4, Rift-S. Personal Wish List: A6 Intruder, Vietnam theater, decent ATC module, better VR performance! Link to comment Share on other sites More sharing options...
Bailey Posted January 10, 2023 Author Share Posted January 10, 2023 (edited) 10 hours ago, Lange_666 said: That was my thought too but how do you pinpoint what is causing that? I do it the old school way. Backup everything. Remove half of the lua profiles. If problem is not fixed then then remove half of the half. Repeat. If the problem is fixed during this process then replace the half you removed, remove the half that was there, and then test again. The above method is for locating the issue Lua script. Similar can be done if you are trying to locate a process heavy function within a specific Lua. Edited January 10, 2023 by Bailey 1 DCS VoiceAttack Profiles | My Mods and Utilities on ED User Files | DiCE: DCS Integrated Countermeasure Editor DCS Update Witching Utility | DCS-ExportScripts for Stream Deck Community Github Library Link to comment Share on other sites More sharing options...
Dagi85 Posted January 10, 2023 Share Posted January 10, 2023 Hallo I downladed the Mirage-F1CE.lua and stored it with all my other export modules, but the "ID Lookup"- window won't populate with the available Button IDs for the F1? The DCS Comms is working, and the already assign Button IDs work with the in-game cockpit. How can I get the DCS Module Clickable Data to populate for the F1? 1 Link to comment Share on other sites More sharing options...
Lange_666 Posted January 10, 2023 Share Posted January 10, 2023 (edited) 6 hours ago, Bailey said: I do it the old school way. Backup everything. Remove half of the lua profiles. If problem is not fixed then then remove half of the half. Repeat. If the problem is fixed during this process then replace the half you removed, remove the half that was there, and then test again. The above method is for locating the issue Lua script. Similar can be done if you are trying to locate a process heavy function within a specific Lua. Thx for the tip, should have thought of it myself. Turned out to be the F-16C lua (wondering: i have stutters when this lua is in the ExportsModules, shouldn't other people have them too, it's the latest version that is in the DCS ExportScript). For now: Removed the entire DCS-Exportscript since i don't export anything to the Streamdeck for my own profiles, they only work one way (Deck to DCS). Edited January 10, 2023 by Lange_666 2 Win11 Pro 64-bit, Ryzen 5800X3D, Corsair H115i, Gigabyte X570S UD, EVGA 3080Ti XC3 Ultra 12GB, 64 GB DDR4 G.Skill 3600. Monitors: LG 27GL850-B27 2560x1440 + Samsung SyncMaster 2443 1920x1200, HOTAS: Warthog with Virpil WarBRD base, MFG Crosswind combat pedals, TrackIR4, Rift-S. Personal Wish List: A6 Intruder, Vietnam theater, decent ATC module, better VR performance! Link to comment Share on other sites More sharing options...
Phoenix FR Posted January 10, 2023 Share Posted January 10, 2023 On 1/8/2023 at 10:04 PM, Bailey said: XL Ok, it's not for me. Thank you. Link to comment Share on other sites More sharing options...
Bailey Posted January 10, 2023 Author Share Posted January 10, 2023 10 hours ago, Dagi85 said: Hallo I downladed the Mirage-F1CE.lua and stored it with all my other export modules, but the "ID Lookup"- window won't populate with the available Button IDs for the F1? The DCS Comms is working, and the already assign Button IDs work with the in-game cockpit. How can I get the DCS Module Clickable Data to populate for the F1? 1. You can't. 2. If you are code savvy, you can visit the Github for DCS-Interface and take a shot at updating the program to recognize modules with different versions such as the F1, L39, Blackshark, C101, and others. DCS VoiceAttack Profiles | My Mods and Utilities on ED User Files | DiCE: DCS Integrated Countermeasure Editor DCS Update Witching Utility | DCS-ExportScripts for Stream Deck Community Github Library Link to comment Share on other sites More sharing options...
Bailey Posted January 10, 2023 Author Share Posted January 10, 2023 11 hours ago, Dagi85 said: Hallo I downladed the Mirage-F1CE.lua and stored it with all my other export modules, but the "ID Lookup"- window won't populate with the available Button IDs for the F1? The DCS Comms is working, and the already assign Button IDs work with the in-game cockpit. How can I get the DCS Module Clickable Data to populate for the F1? To add to the above reply, here is the Readme on how to add buttons of your own https://github.com/asherao/DCS-ExportScripts/wiki/Mirage-F1 DCS VoiceAttack Profiles | My Mods and Utilities on ED User Files | DiCE: DCS Integrated Countermeasure Editor DCS Update Witching Utility | DCS-ExportScripts for Stream Deck Community Github Library Link to comment Share on other sites More sharing options...
bones1014 Posted January 14, 2023 Share Posted January 14, 2023 (edited) On 1/8/2023 at 10:14 AM, sobe said: bones1014 Did you upload your updated Mirage F1 profile? The one I downloaded from Bailey did not contain all the button art that was on his example page and is 3 months old. Sorry, I just saw this and I just uploaded my profiles. Just awaiting review by a moderator. You'll be able to find them under the user files for the Mirage F1. *EDIT Files are now available for download. Based off of Bailey's profile https://www.digitalcombatsimulator.com/en/files/3328388/ Edited January 15, 2023 by bones1014 added link to Stream Deck download in user files Link to comment Share on other sites More sharing options...
bones1014 Posted January 14, 2023 Share Posted January 14, 2023 @BaileyI think the F1CE DCS ID's have been changed and the MRAD calculator isn't working. Your do you recall which controls they were intended to change so I can update the IDs from the lua? I'm assuming the top Alt buttons were for the Manual Gravity Drop Selection Wheel. Link to comment Share on other sites More sharing options...
Jarmak Posted January 17, 2023 Share Posted January 17, 2023 (edited) After doing a fresh install of DCS I cannot get export scripts to run at all. I've done a fresh install of the DCS-ExportScript folder twice, I've tried commenting out everything else I have in export.lua, I've confirmed I have the module in the ExportModules folder, and still nothing. I'm not seeing an export.log file even being generated. I'm a little bit at a loss where to even go from here, does anyone have any ideas? edit: disregard, it's working now, I'm a little confused because I opened export.lua in notepad instead of code and the ExportScript line was duplicated where it wasn't in code. I fixed/saved it in notepad and forced code to revert to the saved version and now everything works. Edited January 17, 2023 by Jarmak 1 Link to comment Share on other sites More sharing options...
johnv2pt0 Posted January 22, 2023 Share Posted January 22, 2023 On 12/27/2022 at 10:40 AM, Torattacker said: It shows nothing. Anyone solved this issue yet? I can't figure out how to get the Ka50_3 up to show in dcs interface Link to comment Share on other sites More sharing options...
jonny415 Posted January 22, 2023 Share Posted January 22, 2023 How do I combine these 3 lines to display into 1 tile? Also need the IFEI tile Link to comment Share on other sites More sharing options...
Super Weasel Posted January 28, 2023 Share Posted January 28, 2023 Any possibilty of a F1EE export script relatively soon? Link to comment Share on other sites More sharing options...
bones1014 Posted January 28, 2023 Share Posted January 28, 2023 8 minutes ago, Super Weasel said: Any possibilty of a F1EE export script relatively soon? posted here muh dood Link to comment Share on other sites More sharing options...
Super Weasel Posted January 28, 2023 Share Posted January 28, 2023 6 minutes ago, bones1014 said: posted here muh dood Thanks man Link to comment Share on other sites More sharing options...
skypickle Posted January 28, 2023 Share Posted January 28, 2023 (edited) On 10/12/2022 at 8:42 AM, Bailey said: Make sure your Lua is sending those values somehow. SOLVED IT but I forgot to post the solution. The clickabledata.lua shows: -- Manual Advancement Button elements["RX_STEP_SW"] = mcabin_button( {0}, _("Cockpit.Mosquito.rockets_manual_button"), devices.ROCKETS, device_commands.Button_5, 384) So I added this line to the mosquito lua in the DCS-Exports folder in scripts in Saved games. [384] = "%.1f", The rocket selector button is a rotary button with range of 1 to 4 with increment by 1. The display is a momentary display button with DCS ID 384. Pushing the rocket selector button now works and the display in the cockpit advances properly showing the correct rocket. Only problem is the decimal. so I specify [384] = "%.0f", I suppose there is a nicer way to specify an integer. Now the only detail is when you spawn in, the streamdeck says 0 but the cockpit is showing 1 but once you start clicking the problem goes away. How do I get this change into the github? Edited January 30, 2023 by skypickle 4930K @ 4.5, 32g ram, TitanPascal Link to comment Share on other sites More sharing options...
312_JS Posted February 8, 2023 Share Posted February 8, 2023 (edited) Hello. I can't seem to get the SRS working with ExportScripts. When the ExportScripts is in the Export.lua, SRS doesn't connect the Game plugs. The SRS Client still connects to an SRS server on a DCS server join, but only shows the Ctrl+Shift+ESC message after that. Any idea what might be wrong, please? These are my only lines in Export.lua. dofile(lfs.writedir()..[[Scripts\DCS-ExportScript\ExportScript.lua]]) pcall(function() local dcsSr=require('lfs'); dofile(dcsSr.writedir()..[[Mods\Services\DCS-SRS\Scripts\DCS-SimpleRadioStandalone.lua]]); end,nil); Edited February 8, 2023 by 312_JS Link to comment Share on other sites More sharing options...
bones1014 Posted February 9, 2023 Share Posted February 9, 2023 Here's my export.lua file -- load the DCS ExportScript for DAC and Ikarus dofile(lfs.writedir()..[[Scripts\DCS-ExportScript\ExportScript.lua]]) --BIOS = {}; BIOS.LuaScriptDir = [[C:\Program Files\DCS-BIOS\dcs-lua\]]; BIOS.PluginDir = [[C:\Users\cdeat\AppData\Roaming/DCS-BIOS/Plugins\]]; if lfs.attributes(BIOS.LuaScriptDir..[[BIOS.lua]]) ~= nil then dofile(BIOS.LuaScriptDir..[[BIOS.lua]]) end --[[DCS-BIOS Automatic Setup]] --TACVIEW local Tacviewlfs=require('lfs');dofile(Tacviewlfs.writedir()..'Scripts/TacviewGameExport.lua') dofile(lfs.writedir()..[[Scripts\Helios\HeliosExport16.lua]]) --SRS pcall(function() local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[Mods\Services\DCS-SRS\Scripts\DCS-SimpleRadioStandalone.lua]]); end,nil); Link to comment Share on other sites More sharing options...
312_JS Posted February 9, 2023 Share Posted February 9, 2023 Looks like the issue was the ";" at the end of the pcall function. Without it it works flawless. So my Export.lua now is: dofile(lfs.writedir()..[[Scripts\DCS-ExportScript\ExportScript.lua]]) pcall(function() local dcsSr=require('lfs');dofile(dcsSr.writedir()..[[Mods\Services\DCS-SRS\Scripts\DCS-SimpleRadioStandalone.lua]]); end,nil) 1 Link to comment Share on other sites More sharing options...
Admiral Sarn Posted February 14, 2023 Share Posted February 14, 2023 I'm not very code savvy and I'm new to this kind of thing but I've tried what I can to make this work but it still doesnt seem to be exporting anything to DCS Interface. I have included some files that may lead to an answer. I tried watching the DCS logs and it doesnt seem to be exporting anything at all. Thanks in advance, Sarn Export.lua Config.lua ExportScript.lua Link to comment Share on other sites More sharing options...
Recommended Posts