ShadowDragonCZ Posted July 29, 2022 Share Posted July 29, 2022 (edited) 11 hours ago, Bailey said: Post your lua here so someone can take a look. Development of the app is focused on dcs-bios integration. If you can make those exceptions for the handful of aircraft it would be greatly appreciated. I have managed to make the F1 export script work, there was a problem with Encoding of the lua and probably also Line endings. Cant really modify the original code of StreamDeck interface. Might have a look at it later and change the lookup path for Mirage in my own fork. Because of pure interest, I am writing my own tool for exporting the Button IDs from DCS modules. As I am C# developer not used to work LUA, it's a chance to learn. I was already able to get some data for Mirage F1, so will be working on formatting those into CSV or HTML page. If the project goes well, I might publish it for everyone. This tool could also be in form of DLL to be used by other projects. I have also looked at StreamDeck development examples and Elgato doesnt provide C# toolkit, which is a pitty. As StreamDeck DCS interface doesnt seem to be updated, I wanted to check, how much work it would be to recreate it from scratch and add some ideas. For now, not an option for me. I just would like to ease some work for others in looking up those damn Button IDs for their SD profiles. Edited July 29, 2022 by ShadowDragonCZ 4 Link to comment Share on other sites More sharing options...
secretcode Posted July 31, 2022 Share Posted July 31, 2022 (edited) Has anyone experienced a massive drop in frames while using the Apache lua file and turning ON the CMWS ? Whenever I turn ON the CMWS I drop 30fps, and if I turn it back OFF I recover the lost frames. As a note I downloaded the Apache lua from the exports library on github and I use it in conjunction with this stream deck profile: https://www.digitalcombatsimulator.com/en/files/3321515/ Has anyone have an idea on what might be the issue? Edited July 31, 2022 by secretcode Link to comment Share on other sites More sharing options...
inexus Posted August 2, 2022 Share Posted August 2, 2022 On 8/1/2022 at 12:37 AM, secretcode said: Has anyone experienced a massive drop in frames while using the Apache lua file and turning ON the CMWS ? Whenever I turn ON the CMWS I drop 30fps, and if I turn it back OFF I recover the lost frames. As a note I downloaded the Apache lua from the exports library on github and I use it in conjunction with this stream deck profile: https://www.digitalcombatsimulator.com/en/files/3321515/ Has anyone have an idea on what might be the issue? I just tried to test this with the instant mission mission on the Persian map. I didn't notice any difference. Turning on/off the CWMS and all the switches. 13900@5.8Ghz, Asus TUF 4090 OC, 64GB@6400mhz DDR5, 4K, TrackIR 5, Tobii, Virpil CM2, CM3 F-15E | F-16C | F/A-18C | A-10C | A-10C II | AV-8B | AH-64D | MI-24P | MI-8 | BS 2 | UH-1H | Mosquito | BF 109 | Spitfire | P-47D | CA | SC | WWII AP Link to comment Share on other sites More sharing options...
marcost Posted August 7, 2022 Share Posted August 7, 2022 On 6/14/2022 at 12:47 AM, Scofflaw said: Sorry, I'm not super familiar with github, but I downloaded the .zip from github (this URL : https://github.com/asherao/DCS-ExportScripts/archive/refs/heads/master.zip). Is this not the latest? On github, I see the tools.lua link on line 38 of this file : https://github.com/asherao/DCS-ExportScripts/blob/master/Scripts/DCS-ExportScript/ExportScript.lua This matches the exportscript.lua in on my computer, am I using the wrong version? Hi, Did you resolve this problem, I have the same symptoms and went through the same troubleshooting process before I found this thread. High spec PC, latest DCS-ExportScript = unusable stutters Thanks W10 64 I7 4790k o/c to 4.6Ghz Asus Maximus Ranger VII 24gb DDR3 RAM @ 2133 Asus Strix 1080ti OC ASUS ROG G-sync 27" monitor DCS on M2 drive Samsung 960 Pro MS FFB2 with F-16 grip CH pro throttle MFG Crosswind pedals TrackIR 5 3 x Bodnar button & axis boxes Link to comment Share on other sites More sharing options...
Scofflaw Posted August 8, 2022 Share Posted August 8, 2022 10 hours ago, marcost said: Hi, Did you resolve this problem, I have the same symptoms and went through the same troubleshooting process before I found this thread. High spec PC, latest DCS-ExportScript = unusable stutters Thanks Unfortunately, I was unable to get this script working without the stutters. I often see other people complaining of stutters with export LUAs, but none of the fixes they propose work for me either. run come save me Link to comment Share on other sites More sharing options...
marcost Posted August 8, 2022 Share Posted August 8, 2022 (edited) Hi, I feared that was the situation, which is a real pity. Thanks for taking the time to reply. Regards, M **EDIT** I did find a workround for partial functionality by removing the two-way communication process. By removing the line: ExportScript.Tools.createUDPListner() in ExportScript.lua By doing this, there is still status info from DCS>>Streamdeck but obviously I cannot send keypresses Streamdeck>>DCS. However, I have working switch status lights etc on the Streamdeck and no stutters. Also suggests where the issue lies, so I will investigate more. Edited August 8, 2022 by marcost More info W10 64 I7 4790k o/c to 4.6Ghz Asus Maximus Ranger VII 24gb DDR3 RAM @ 2133 Asus Strix 1080ti OC ASUS ROG G-sync 27" monitor DCS on M2 drive Samsung 960 Pro MS FFB2 with F-16 grip CH pro throttle MFG Crosswind pedals TrackIR 5 3 x Bodnar button & axis boxes Link to comment Share on other sites More sharing options...
wombat778 Posted August 9, 2022 Share Posted August 9, 2022 I managed to essentially eliminate the stutters by editing Config.lua and increasing ExportScript.Config.ExportInterval. In mine it was 0.01 (even though the comment suggested it should be 0.05) and I changed to 0.25 and it was much much better Link to comment Share on other sites More sharing options...
marcost Posted August 9, 2022 Share Posted August 9, 2022 I tried changing that setting, but it just made the stutters further apart on my system Thanks W10 64 I7 4790k o/c to 4.6Ghz Asus Maximus Ranger VII 24gb DDR3 RAM @ 2133 Asus Strix 1080ti OC ASUS ROG G-sync 27" monitor DCS on M2 drive Samsung 960 Pro MS FFB2 with F-16 grip CH pro throttle MFG Crosswind pedals TrackIR 5 3 x Bodnar button & axis boxes Link to comment Share on other sites More sharing options...
fouga magister Posted August 12, 2022 Share Posted August 12, 2022 On 28/07/2022 at 20:44, ShadowDragonCZ said: Salut à tous! Bailey, avez-vous réussi à obtenir la liste des valeurs de l'interface DCS après avoir cliqué sur Actualiser ? J'ai copié le Mirage-F1CE.lua pour exporter le dossier des scripts et je n'obtiens aucune sortie en SD. Les autres modules et scripts fonctionnent très bien. De plus, le plugin DCS Interface est-il toujours en développement ? Il ne peut pas lire les identifiants DCS, car l'outil utilisé pour les extraire, qui fait partie du plugin, ne peut pas lire les données cliquables grâce au fait que la structure des dossiers est différente pour F1. Il n'a pas de cas exceptionnel pour F1, comme c'est le cas pour L-39 ou C-101. Ce serait une solution assez facile pour le développeur, même si je pourrais le faire moi-même, mais on dirait que le développement du plugin est mort, ce qui est dommage. Merci de vos conseils Bailey, mais en ce qui me concerne, j'ai suivi les procédures pour que je puisse jouer avec mon streamdeck xl et les touches ne sont pas reconnues dans le jeu. Même sur le mirage F1, quand j'appuie sur Id Lookup et qu'il faut ouvrir la fenêtre et chercher son cockpit avion, il trouve bien le cockpit Mirage F1 mais rien n'est écrit dedans. Tout cela est fatigant et il faut, à mon avis, savoir quelles sont les versions exigées que vous utilisez. Un petit film sur youtube serait bienvenu. Je pense que je ne suis pas le seul à ne pas pouvoir faire fonctionner le streamdeck pour DCS. Link to comment Share on other sites More sharing options...
Bailey Posted August 13, 2022 Author Share Posted August 13, 2022 (edited) SU30 mod luas added https://github.com/asherao/DCS-ExportScripts/tree/master/Scripts/DCS-ExportScript/ExportsModules 8 hours ago, fouga magister said: Merci de vos conseils Bailey, mais en ce qui me concerne, j'ai suivi les procédures pour que je puisse jouer avec mon streamdeck xl et les touches ne sont pas reconnues dans le jeu. Même sur le mirage F1, quand j'appuie sur Id Lookup et qu'il faut ouvrir la fenêtre et chercher son cockpit avion, il trouve bien le cockpit Mirage F1 mais rien n'est écrit dedans. Tout cela est fatigant et il faut, à mon avis, savoir quelles sont les versions exigées que vous utilisez. Un petit film sur youtube serait bienvenu. Je pense que je ne suis pas le seul à ne pas pouvoir faire fonctionner le streamdeck pour DCS. The Mirage F1 is not recognized because DCS-Interface does not have the capability to read the files for modules with multiple versions like the F1 and C101. There are instructions on how to use DCS-Interface with the Mirage here: https://github.com/asherao/DCS-ExportScripts/wiki/Mirage-F1 Edited August 13, 2022 by Bailey 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...
fouga magister Posted August 14, 2022 Share Posted August 14, 2022 désolé, cela ne fonctionne pas. Link to comment Share on other sites More sharing options...
Bailey Posted August 14, 2022 Author Share Posted August 14, 2022 (edited) 23 minutes ago, fouga magister said: désolé, cela ne fonctionne pas. If you would like assistance on how you can get it yo work for your system, please describe your processes and expectations as detailed as you can. It has worked for myself and many others. Edited August 14, 2022 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...
sobe Posted August 16, 2022 Share Posted August 16, 2022 Bailey I have just downloaded your Mirage F1 profile and installed it in my streamdeck. The profile pictures in your July 21st post have a lot more icons, etc than the profile I just downloaded. I downloaded the profile from your July 21st post today. Is there a more recent profile? 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 August 16, 2022 Author Share Posted August 16, 2022 2 hours ago, sobe said: Bailey I have just downloaded your Mirage F1 profile and installed it in my streamdeck. The profile pictures in your July 21st post have a lot more icons, etc than the profile I just downloaded. I downloaded the profile from your July 21st post today. Is there a more recent profile? No, I have not posted a newer profile. The profile remains mostly the same. The differences can be found in the wiki. If you need help making or finding specific tiles, let me know. 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...
sobe Posted August 16, 2022 Share Posted August 16, 2022 (edited) Bailey This is my first attempt at using the streamdeck with the DCS Interface so I am still trying to understand everything. Are the tiles in the wiki (and not in the current profile) available to copy/use? Do you intend to update the profile to include these tiles? Edited August 16, 2022 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 August 16, 2022 Author Share Posted August 16, 2022 21 minutes ago, sobe said: Bailey This is my first attempt at using the streamdeck with the DCS Interface so I am still trying to understand everything. Are the tiles in the wiki (and not in the current profile) available to copy/use? Do you intend to update the profile to include these tiles? Yes, all Lua files are up to date with the wiki Tile documentation. 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...
sobe Posted August 16, 2022 Share Posted August 16, 2022 Bailey So is this the latest link to your F1 profile? https://github.com/asherao/DCS-ExportScripts/tree/master/docu/StreamDeck Examples 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 August 16, 2022 Author Share Posted August 16, 2022 3 hours ago, sobe said: Bailey So is this the latest link to your F1 profile? https://github.com/asherao/DCS-ExportScripts/tree/master/docu/StreamDeck Examples Yep 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 September 11, 2022 Author Share Posted September 11, 2022 Added Bronco OV-10A mod stuff: - Wiki (https://github.com/asherao/DCS-ExportScripts/wiki/Bronco-OV-10A) - exportScript lua (https://github.com/asherao/DCS-ExportScripts/tree/master/Scripts/DCS-ExportScript/ExportsModules) - WIP streamdeck profile (https://github.com/asherao/DCS-ExportScripts/tree/master/docu/StreamDeck Examples) 1 2 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 September 12, 2022 Share Posted September 12, 2022 Sigh.....now I'll have to download and try the mod. lol 1 Link to comment Share on other sites More sharing options...
skypickle Posted September 12, 2022 Share Posted September 12, 2022 @Bailey thank you for that ov10 work. How did you get the battery, generators and start switches mapped? 4930K @ 4.5, 32g ram, TitanPascal Link to comment Share on other sites More sharing options...
Jexmatex Posted September 12, 2022 Share Posted September 12, 2022 (edited) Awsome job you did here currently working on your Mirage F1 Profil to fit it to my needs is there a way to separate the information in flight instant to have bigger numbers like altitude separate from pressure etc ? and i guess you already know but you tacan button supposed to be for uit doesnt work it put the tacan Off instead Edited September 12, 2022 by Jexmatex Link to comment Share on other sites More sharing options...
Bailey Posted September 12, 2022 Author Share Posted September 12, 2022 5 hours ago, skypickle said: @Bailey thank you for that ov10 work. How did you get the battery, generators and start switches mapped? I didn't 5 hours ago, Jexmatex said: Awsome job you did here currently working on your Mirage F1 Profil to fit it to my needs is there a way to separate the information in flight instant to have bigger numbers like altitude separate from pressure etc ? and i guess you already know but you tacan button supposed to be for uit doesnt work it put the tacan Off instead 1 - Yep. Just modify the lua to make your own exports and then increase the font size. 2 - No, I do not know what you are talking about for the tacan. 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...
skypickle Posted September 13, 2022 Share Posted September 13, 2022 TY. I've also been looking for a T45 lua. Have you seen any floating around? 4930K @ 4.5, 32g ram, TitanPascal Link to comment Share on other sites More sharing options...
Bailey Posted September 14, 2022 Author Share Posted September 14, 2022 (edited) 19 hours ago, skypickle said: TY. I've also been looking for a T45 lua. Have you seen any floating around? Nope. The next time you boot DCS you can help make one. After getting in the T-45 look for the file called `Saved Games/DCS/Logs/Export.lua`. In there there will be a line that say something to the effect of `Unknown Module Name: T-45`. Remember that module name (It may not be "T-45", but for the rest of this example lets say it was). Navigate to `Saved Games\DCS\Scripts\DCS-ExportScript\ExportsModules`. Make a copy of `Empty-DCS.lua` and rename it to the T-45 module name that was displayed earlier, then open the file. At the top rename ExportScript.Version.<ModuleName> = "1.2.X". The `<ModuleName>` is the same as what you found earlier, but without dashes (see other luas for reference). Replace the 1.2.X with 1.2.1. Save the lua, add some args like in other modules (eg, [0] = "%.4f", etc), save again, test it, and then you can post it here and I can add it to the library! I did the above with a fresh Empty-DCS.lua on the A4 mod. It worked great. Good luck! Oh, and I have made some non-critical changes to Empty-DCS.lua and the Bronco lua. Just makes some things easier. You can find them here: https://github.com/asherao/DCS-ExportScripts/tree/master/Scripts/DCS-ExportScript/ExportsModules Edited September 14, 2022 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...
Recommended Posts