Bailey Posted October 11, 2020 Share Posted October 11, 2020 (edited) Have you been waiting too long for ED's CMS DTC feature? Wait no longer! Roll for initiative with DiCE and use the DCS Special Options menu to edit countermeasure programs! Download DiCE v6 from the ED Userfiles here: https://www.digitalcombatsimulator.com/en/files/3312680/ Hello and welcome to DiCE: DCS Integrated Countermeasure Editor. DiCE allows you to use the DCS Special Options menu to change and modify the flare and chaff countermeasure programs of various DCS aircraft, for example, the F-18C and F-16C. DiCE is a solution to DCS's not yet implemented DTC (Data Cartridge) Countermeasure functions. The README includes: -Introduction -Install Instructions -Common or Possible Issues -Acknowledgments and Credits Huge thanks to all of the people who helped out with DiCE! More pics below. FAQs: Q: Is DiCE IC safe? A: Yes, DiCE passes Integrity Check so you can use it for Single Player and Multiplayer. Q: Does the DiCE mod remember your CM settings after DCS updates? A: DCS should remember the Special Options menu so all you would have to do is press 'OK' in the Special Options menu for the aircraft to get its countermeasure profiles back after a DCS update. Q: What aircraft are included? A: F-18C, F-16C, A-10C, A-10C2, AV-8B, M2000C. Q: I have DCS installed in Program Files. Why does DiCE crash when I try to edit a countermeasure profile? A: DiCE does not have the privileges to write to Program Files. The current solution is to either run DCS as Admin, or manually start DiCE as Admin. This is fixed in DiCE v5! -Please join us in the Discord server: https://discord.gg/d4VFhde49b. -Check out DiCE on the DCS forums here: https://forums.eagle.ru/showthread.php?t=288709 -Check out my other Mods, Utilities. and VoiceAttack profiles here: https://www.digitalcombatsimulator.c...TED_BY=asherao -Please feel free to donate. All donations go back into DCS to create more free mods, just like this one: https://www.paypal.com/paypalme/asherao Feel free to contact me on the ED forums (Bailey) or better yet on Discord (Bailey#6230). Remember that comments, questions, critiques, and requests are always welcome! Enjoy! ~Bailey MAY2023 Version Notes: v1 -Initial Release -DiCE F-18C enabled -DiCE F-16C enabled v2 -DiCE A-10C and A-10C2 enabled (one Special Menu for both) v2.1 -Corrected some F-16C values v2.2 -DiCE now opens minimized (requested feature) -Fixed a F-16 special options menu showing all zeros (added two parenthesis) v3 -DiCE AV-8B enabled v4 -DiCE M2000C enabled -Adjusted some Gui stuff v4.1 -Updated readme (read readme if you have DCS installed in Program Files) -Took away “DiCE is already running” popup v4.11 -Fixed DiCE errors in dcs.log file v4.2 -DiCE now makes CMS changes on startup too (thanks Bear21) v4.3 -Updated F-16C for DCS v2.7.7.15038 v5.0 -Removed use of exe (Requires removing ALL DiCE files before installing v5, to include `Saved Games/DCS/Scripts/Hooks/DiCE-DCS-Integrated-Countermeasure-Editor.lua` -Updated F18C -Updated F16C -Adjusted Special Options > DiCE GUI v5.1 -TAIPAN_ fixed F-16 programs not applying saved programs, manual and auto (only program 1 was working) -TAIPAN_ fixed AV8B Chaff only program not saving properly v6 - Added the option to disable DiCE (Integrity Check Pass Mode) - Minor code cleanup Edited May 24, 2023 by Bailey 8 4 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...
Snake122 Posted October 11, 2020 Share Posted October 11, 2020 Awesome work Bailey! Definitely tired of waiting for DTC features and you made a real nice option here. The main advantage of this compared to the CMS editor you made is that it is directly in the UI, correct? The other one has a basic backup function and more aircraft supported for now. Could we even use your CMS Editor in conjunction for the F-16 and F/A-18 to do edits outside of DCS with it and then when we are in DCS use DiCE to fine tune the programs? Sent from my LM-G850 using Tapatalk I7-9700KF@5ghz, 32GB DDR4 3200, RTX 3090, Pimax 5k+, Virpil T-50CM2 base with Warthog, F/A-18, T-50cm, and VFX grips, Saitek X65F, Saitek Switch Panel, TM Cougar MFDs, TM TPR pedals, JetSeat and bass pucks, H640P for VRK, PointCtrl 3rd Space Vest project for basic G Seat/G Suit simulation Link to comment Share on other sites More sharing options...
Bailey Posted October 11, 2020 Author Share Posted October 11, 2020 Awesome work Bailey! Definitely tired of waiting for DTC features and you made a real nice option here. The main advantage of this compared to the CMS editor you made is that it is directly in the UI, correct? The other one has a basic backup function and more aircraft supported for now. Could we even use your CMS Editor in conjunction for the F-16 and F/A-18 to do edits outside of DCS with it and then when we are in DCS use DiCE to fine tune the programs? Sent from my LM-G850 using Tapatalk You are exactly right. DiCE is for in-game. CMS Editor is for out of game and provides backups as well as more aircraft at the moment. https://forums.eagle.ru/showthread.php?t=281284. Hmmm, as for the second part, using CMS Editor and then DiCE. The problem with that is that DiCE does not "read" the aircraft countermeasure lua. DiCE reads the DCS options.lua. This means that whatever changes you make to the aircraft cms lua will not retroactively be displayed in the Special Options menus. But, if you are looking for a quick change of profiles in the middle of a mission (because the profiles are loaded on plane spawn and re-spawn), CMS Editor will be your go-to in that specific situation. 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...
Snake122 Posted October 11, 2020 Share Posted October 11, 2020 You are exactly right. DiCE is for in-game. CMS Editor is for out of game and provides backups as well as more aircraft at the moment. https://forums.eagle.ru/showthread.php?t=281284. Hmmm, as for the second part, using CMS Editor and then DiCE. The problem with that is that DiCE does not "read" the aircraft countermeasure lua. DiCE reads the DCS options.lua. This means that whatever changes you make to the aircraft cms lua will not retroactively be displayed in the Special Options menus. But, if you are looking for a quick change of profiles in the middle of a mission (because the profiles are loaded on plane spawn and re-spawn), CMS Editor will be your go-to in that specific situation. Okay, good to know. Thanks for all your apps, donation sent. I look forward using DiCE and future updates! Sent from my LM-G850 using Tapatalk I7-9700KF@5ghz, 32GB DDR4 3200, RTX 3090, Pimax 5k+, Virpil T-50CM2 base with Warthog, F/A-18, T-50cm, and VFX grips, Saitek X65F, Saitek Switch Panel, TM Cougar MFDs, TM TPR pedals, JetSeat and bass pucks, H640P for VRK, PointCtrl 3rd Space Vest project for basic G Seat/G Suit simulation Link to comment Share on other sites More sharing options...
Bailey Posted October 11, 2020 Author Share Posted October 11, 2020 Okay, good to know. Thanks for all your apps, donation sent. I look forward using DiCE and future updates! Sent from my LM-G850 using Tapatalk Donation received! Thank you so much! It is much appreciated! 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 October 12, 2020 Author Share Posted October 12, 2020 DiCE v2 has been released! v2 -DiCE A-10C and A-10C2 enabled (one Special Menu for both) Download it from the ED Userfiles here:https://www.digitalcombatsimulator.com/en/files/3312680/ Take a look at the A10C menu in the first post. Enjoy! ~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...
mongo52 Posted October 13, 2020 Share Posted October 13, 2020 (edited) This is awesome. Now if you could do something similar for the A10CII HMCS profiles. Donation sent. Edited October 13, 2020 by mongo52 Link to comment Share on other sites More sharing options...
Bailey Posted October 13, 2020 Author Share Posted October 13, 2020 This is awesome. Now if you could do something similar for the A10CII HMCS profiles. Donation sent. Donation received! Thank you so much! I'll see what I can do for the A10CII HMCS profiles. No promises though. It's typically up to the dev to make things like that visible via lua or some other method. 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 October 18, 2020 Author Share Posted October 18, 2020 DiCE has been updated to v2.2. Check it out! v2.1 -Corrected some F-16C values v2.2 -DiCE now opens minimized (requested feature) Not a critical update, but a nice QoL update. Enjoy! https://www.digitalcombatsimulator.com/en/files/3312680/ 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 October 20, 2020 Author Share Posted October 20, 2020 Harrier is here! v3 -DiCE AV-8B enabled Download v3 here: https://www.digitalcombatsimulator.com/en/files/3312680/ 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...
Kayos Posted October 20, 2020 Share Posted October 20, 2020 Nice job, thanks! [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
davidp57 Posted October 21, 2020 Share Posted October 21, 2020 Awesome, can't wait to try it ! Thanks ! 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 More sharing options...
RogueSqdn Posted October 25, 2020 Share Posted October 25, 2020 Hmmm. On first loading, I get THIS when launching DCS. DEFENSOR FORTIS Spoiler Systems: Falcon NW Talon: Ryzen 9 5950X @4.9GHz, 64GB DDR4, RTX 3090 FE; Falcon NW Mach V: Core i7 3930K @3.2GHz, 32GB DDR3, GTX 1080 FE Cockpit: MonsterTech MTX F, 42" 4K TV, HP Reverb G2, Oculus Rift S, PointCTRL Controls: RS F16SGRH CE, RS F18CGRH, VPC T-50CM2, VFX, WarBRD (Grips); VPC T-50CM2, RS FSSB R3L (Bases); Winwing F/A-18C, VPC T-50CM3, VPC T-50CM, TM Warthog, Cougar (Throttles); VPC ACE2 (Rudders) Link to comment Share on other sites More sharing options...
Bailey Posted October 25, 2020 Author Share Posted October 25, 2020 Hmmm. On first loading, I get THIS when launching DCS. [ATTACH=JSON]{"alt":"Click image for larger version Name:\tDICE_Failure.png Views:\t0 Size:\t60.4 KB ID:\t7116860","data-align":"none","data-attachmentid":"7116860","data-size":"full","title":"DICE_Failure.png"}[/ATTACH] Please ensure that you have read the Readme and installed DiCE in Saved Games. Most people who see that have mistakenly installed DiCE in their DCS install location. The DCS install location is the incorrect install location for DiCE. 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...
RogueSqdn Posted October 25, 2020 Share Posted October 25, 2020 That was it... I saw a note about admin privileges and it clicked. It doesn't crash, but I'm not getting any updates to my programs. Does DCS still need to run as admin? I know the CMDS programs are stored in the install folder... I don't know if putting your programs in Saved Games works. EDIT: Tried running DCS as admin and it works. My only other question is this: Is there an easy way to copy over edits I'd already made prior to installing DICE, so it recognizes them? Thanks! DEFENSOR FORTIS Spoiler Systems: Falcon NW Talon: Ryzen 9 5950X @4.9GHz, 64GB DDR4, RTX 3090 FE; Falcon NW Mach V: Core i7 3930K @3.2GHz, 32GB DDR3, GTX 1080 FE Cockpit: MonsterTech MTX F, 42" 4K TV, HP Reverb G2, Oculus Rift S, PointCTRL Controls: RS F16SGRH CE, RS F18CGRH, VPC T-50CM2, VFX, WarBRD (Grips); VPC T-50CM2, RS FSSB R3L (Bases); Winwing F/A-18C, VPC T-50CM3, VPC T-50CM, TM Warthog, Cougar (Throttles); VPC ACE2 (Rudders) Link to comment Share on other sites More sharing options...
Bailey Posted October 25, 2020 Author Share Posted October 25, 2020 EDIT: Tried running DCS as admin and it works. My only other question is this: Is there an easy way to copy over edits I'd already made prior to installing DICE, so it recognizes them? Thanks! Yay! I am glad you got it worked out. No, unfortunately there is not a way to gracefully import other CMS settings. If you want, you can manually edit them into the options.lua file. 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...
RogueSqdn Posted October 25, 2020 Share Posted October 25, 2020 Silly me, I was looking at the DICE optionsDB.lua and scratching my head. Doing this in Notepad++ will be a lot easier and less tedious than doing it in the DCS options menu. :thumbup: DEFENSOR FORTIS Spoiler Systems: Falcon NW Talon: Ryzen 9 5950X @4.9GHz, 64GB DDR4, RTX 3090 FE; Falcon NW Mach V: Core i7 3930K @3.2GHz, 32GB DDR3, GTX 1080 FE Cockpit: MonsterTech MTX F, 42" 4K TV, HP Reverb G2, Oculus Rift S, PointCTRL Controls: RS F16SGRH CE, RS F18CGRH, VPC T-50CM2, VFX, WarBRD (Grips); VPC T-50CM2, RS FSSB R3L (Bases); Winwing F/A-18C, VPC T-50CM3, VPC T-50CM, TM Warthog, Cougar (Throttles); VPC ACE2 (Rudders) Link to comment Share on other sites More sharing options...
Bailey Posted October 25, 2020 Author Share Posted October 25, 2020 Silly me, I was looking at the DICE optionsDB.lua and scratching my head. Doing this in Notepad++ will be a lot easier and less tedious than doing it in the DCS options menu. :thumbup: Haha, yea. I hope that the value names are self explanatory! 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...
Bear21 Posted October 26, 2020 Share Posted October 26, 2020 I installed it in the Saved games/DCS folder (simply drag the two folders onto the DCS folder, the rest is automatic). It appeared in the Specials tab and I could edit the programs, but nothing happened in the aircraft. I found the solution. You need Modify authority for the DCS folders CMDS_ALE47.lua file. You find it here for the F-16: xx:\Program files\Eagle Dynamics\DCS World\Mods\aircraft\F-16C\Cockpit\Scripts\EWS\CMDS\device You find it somewhere in the Cockpit\Scripts folder for the other aircraft. Right-click on the file for Properties, then go to the Security tab. Click Edit and in the dialog click "Users (xxx\Users)"and set "Modify" rights. Then OK and it should work in DCS. Nice utility Bailey. ____________________________ HP Envy 34 TM16000/TWCS/TFRP. Simrig: I7-8700, 32GB, RTS2080Ti, 4K U32590C, TrackIR5, MG-T50C2 stick/base, T50CM2 throttle, CH Pro pedals Link to comment Share on other sites More sharing options...
Bailey Posted November 20, 2020 Author Share Posted November 20, 2020 DiCE has been updated to v4 and now includes the Mirage M2000C! Enjoy! Check out the first post for pics and the download link: https://www.digitalcombatsimulator.com/en/files/3312680/ ~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...
Bailey Posted November 20, 2020 Author Share Posted November 20, 2020 I installed it in the Saved games/DCS folder (simply drag the two folders onto the DCS folder, the rest is automatic). It appeared in the Specials tab and I could edit the programs, but nothing happened in the aircraft. I found the solution. You need Modify authority for the DCS folders CMDS_ALE47.lua file. You find it here for the F-16: xx:\Program files\Eagle Dynamics\DCS World\Mods\aircraft\F-16C\Cockpit\Scripts\EWS\CMDS\device You find it somewhere in the Cockpit\Scripts folder for the other aircraft. Right-click on the file for Properties, then go to the Security tab. Click Edit and in the dialog click "Users (xxx\Users)"and set "Modify" rights. Then OK and it should work in DCS. Nice utility Bailey. Thanks for the tip, and thank you for the props :D 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...
Gone1Crazy Posted November 20, 2020 Share Posted November 20, 2020 was looking into something like this a long time ago ! [sIGPIC][/sIGPIC] Link to comment Share on other sites More sharing options...
Bailey Posted November 21, 2020 Author Share Posted November 21, 2020 was looking into something like this a long time ago ! Tadaa! Here it is! 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...
dali Posted November 21, 2020 Share Posted November 21, 2020 Eagle, please buy this code :) Link to comment Share on other sites More sharing options...
=52d= Skip Posted November 23, 2020 Share Posted November 23, 2020 Hey Baily, just got DiCE and it works great out of the Box! However, my clumsy fingers have a hard time adjusting Burst Intv and Salvo Intv. You think it would be possible to make these either direct input or more granular by reducing the Max possible Value? Either way - excellent stuff & thanks for doing this! Link to comment Share on other sites More sharing options...
Recommended Posts