algerad3 Posted June 16, 2011 Posted June 16, 2011 Well looky here, If you are into scripting with lua and have Saitek x52 pro and/or fip I just ran across this... http://www.super-hornet.com/2011/05/saitek-flight-panels-for-lua-released/#comment-3 I am playing with it now. Still learning how to set things up, looks promising. [sIGPIC][/sIGPIC] CPIAS FOR Saitek: Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs http://forums.eagle.ru/showthread.php?t=94174
chrilith Posted September 21, 2011 Posted September 21, 2011 Hi, Good question snipey :) A new version has been released today which fixes some stability issues and adds multi-script support when dealing with the same DLL instance (multi-threaded).
SV_huMMer Posted April 16, 2012 Posted April 16, 2012 Hi, guys! Does anyone know if there has been any success story in making SFIPs work in DCS? ================= "Если вы боитесь высоты, значит, вы просто еще не пугались ее отсутствия" "If you fear heights, you simply haven't yet feared the absence thereof" ================= Core i7 2600K, ASUS P8Z68 Deluxe/Gen3, 32GB DDR3 1600, Radeon HD 7950, 256Gb SSD Crucial M4, 2TB Samsung SATAIII, 1,5TB WD SATAIII, 650W Enermax Modu87+
chrilith Posted April 16, 2012 Posted April 16, 2012 Well, I developed this module for LUA thinking that DCS was also exposing API to deal with it. I haven't tried since as noone looked interested in it. Do you have some knowledge about DCS LUA API? Perhaps I can go back to my LUA module if someone can help testing in DCS BS.
algerad3 Posted April 16, 2012 Author Posted April 16, 2012 (edited) chrilith, I was playing with your module a little bit. I found that lua for windows has to be installed as the Dcs lua will not pick it up. I am still tinkering with it here and there. I was able to get mfds ( bs1) exported to the fips, still learning how to adjust bit mapping so I only get "noise". Still learning how all of this works. X-52 pro now works properly and sends strings , so thanks for fixing that. Edited April 16, 2012 by algerad3 [sIGPIC][/sIGPIC] CPIAS FOR Saitek: Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs http://forums.eagle.ru/showthread.php?t=94174
SV_huMMer Posted April 17, 2012 Posted April 17, 2012 Well, I developed this module for LUA thinking that DCS was also exposing API to deal with it. I haven't tried since as noone looked interested in it. Do you have some knowledge about DCS LUA API? Perhaps I can go back to my LUA module if someone can help testing in DCS BS. I'd be very interested in helping/testing, as I am very eager to get FIPs (and possibly, some other Saitek panels?..) operational in DCS. I can test it in DCS BS2 and A10C, I have three FIPs and the Switch Panel, I have the X52Pro just in case (although, I am not using it in DCS) the only problem is I am completely dumb in programming, but with a precise step-by-step instructions I can do the testing. PM me if anything... ================= "Если вы боитесь высоты, значит, вы просто еще не пугались ее отсутствия" "If you fear heights, you simply haven't yet feared the absence thereof" ================= Core i7 2600K, ASUS P8Z68 Deluxe/Gen3, 32GB DDR3 1600, Radeon HD 7950, 256Gb SSD Crucial M4, 2TB Samsung SATAIII, 1,5TB WD SATAIII, 650W Enermax Modu87+
SV_huMMer Posted April 17, 2012 Posted April 17, 2012 chrilith, I was playing with your module a little bit. I found that lua for windows has to be installed as the Dcs lua will not pick it up. I am still tinkering with it here and there. I was able to get mfds ( bs1) exported to the fips, still learning how to adjust bit mapping so I only get "noise". Still learning how all of this works. X-52 pro now works properly and sends strings , so thanks for fixing that. Let's join forces and try and do these things usable in DCS! I am not a programmer, but am eager to test things, if I can be of any help... What were you able to get out of your X52Pro and how? ================= "Если вы боитесь высоты, значит, вы просто еще не пугались ее отсутствия" "If you fear heights, you simply haven't yet feared the absence thereof" ================= Core i7 2600K, ASUS P8Z68 Deluxe/Gen3, 32GB DDR3 1600, Radeon HD 7950, 256Gb SSD Crucial M4, 2TB Samsung SATAIII, 1,5TB WD SATAIII, 650W Enermax Modu87+
chrilith Posted April 17, 2012 Posted April 17, 2012 (edited) Nice to hear some news about that :) algerad3, let me know how I can help. Where is the doc for DCS LUA? SV_huMMer, I think algerad3 may send you some stuff to test if he finally deal with the DCS APIs. Edited April 17, 2012 by chrilith
SV_huMMer Posted April 17, 2012 Posted April 17, 2012 Chrilith, thanks for your great work! I am looking very much forward to hearing from algerad3 on his technique. In the meantime, did you ever look into any other Saitek ProFlight panels? Given your experience in digging into Saitek SDK, you may be an invaluable guy to help us in the community in getting other Saitek stuff to work. As I mentioned, I have a Saitek Switch Panel, and would gladily provide whatever assistance a programming noob like me could do. ================= "Если вы боитесь высоты, значит, вы просто еще не пугались ее отсутствия" "If you fear heights, you simply haven't yet feared the absence thereof" ================= Core i7 2600K, ASUS P8Z68 Deluxe/Gen3, 32GB DDR3 1600, Radeon HD 7950, 256Gb SSD Crucial M4, 2TB Samsung SATAIII, 1,5TB WD SATAIII, 650W Enermax Modu87+
chrilith Posted April 17, 2012 Posted April 17, 2012 SV_huMMer thank for your enthusiasm :) About other panels, I don't know if Saitek provides APIs to cntrol them directly. Perhaps I'll heck it later when we have confirmation that FIPs can be controlled properly with my module.
algerad3 Posted April 17, 2012 Author Posted April 17, 2012 Well, looks like we may have a team together. I am currently on a ship in Alaska and internet is a bit spendy here. I will try and put more time into this and send info when I get back home ( 12 days from here.) I am not much of a programmer but, I have been learning quite a bit. I will send more information when possible. [sIGPIC][/sIGPIC] CPIAS FOR Saitek: Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs http://forums.eagle.ru/showthread.php?t=94174
SV_huMMer Posted April 18, 2012 Posted April 18, 2012 Well, looks like we may have a team together. I am currently on a ship in Alaska and internet is a bit spendy here. I will try and put more time into this and send info when I get back home ( 12 days from here.) I am not much of a programmer but, I have been learning quite a bit. I will send more information when possible. WOW, have a nice trip! :-) And looking forward to getting some info on this! ================= "Если вы боитесь высоты, значит, вы просто еще не пугались ее отсутствия" "If you fear heights, you simply haven't yet feared the absence thereof" ================= Core i7 2600K, ASUS P8Z68 Deluxe/Gen3, 32GB DDR3 1600, Radeon HD 7950, 256Gb SSD Crucial M4, 2TB Samsung SATAIII, 1,5TB WD SATAIII, 650W Enermax Modu87+
SV_huMMer Posted April 18, 2012 Posted April 18, 2012 About other panels, I don't know if Saitek provides APIs to cntrol them directly. Perhaps I'll heck it later when we have confirmation that FIPs can be controlled properly with my module. It looks like all Saitek ProFlight devices are somehow managed in a similar way. At least, FSX does control them (LEDs status, numbers on Multi Panel display, etc.). Could potentially be very interesting... A BIP panel, for instance, could be a fantastic fit for Ka-50. ================= "Если вы боитесь высоты, значит, вы просто еще не пугались ее отсутствия" "If you fear heights, you simply haven't yet feared the absence thereof" ================= Core i7 2600K, ASUS P8Z68 Deluxe/Gen3, 32GB DDR3 1600, Radeon HD 7950, 256Gb SSD Crucial M4, 2TB Samsung SATAIII, 1,5TB WD SATAIII, 650W Enermax Modu87+
chrilith Posted April 18, 2012 Posted April 18, 2012 @algerad3, sure. In the meantime, can anyone point me to the DCS LUA documentation? :) @SV_huMMer can you look at your Saitek installation folder and see if there is a SDK folder of any kind?
SV_huMMer Posted April 18, 2012 Posted April 18, 2012 @algerad3, sure. In the meantime, can anyone point me to the DCS LUA documentation? :) @SV_huMMer can you look at your Saitek installation folder and see if there is a SDK folder of any kind? chrilith, I don't think there's a document on DCS LUA, at least not in the users' hands :-) I am in contact with ED guys begging them to share something, will let you know. And I'll look for the folders you're asking. ================= "Если вы боитесь высоты, значит, вы просто еще не пугались ее отсутствия" "If you fear heights, you simply haven't yet feared the absence thereof" ================= Core i7 2600K, ASUS P8Z68 Deluxe/Gen3, 32GB DDR3 1600, Radeon HD 7950, 256Gb SSD Crucial M4, 2TB Samsung SATAIII, 1,5TB WD SATAIII, 650W Enermax Modu87+
chrilith Posted April 18, 2012 Posted April 18, 2012 (edited) Found this: http://www.digitalcombatsimulator.com/en/dev_journal/lua-export/ http://forums.eagle.ru/showthread.php?t=45071&page=10 Still searching.... Edited April 18, 2012 by chrilith
SV_huMMer Posted April 18, 2012 Posted April 18, 2012 Found this Still searching.... Oh, sorry - I thought you needed a technical document developers are using. If this one works - it's just great! ================= "Если вы боитесь высоты, значит, вы просто еще не пугались ее отсутствия" "If you fear heights, you simply haven't yet feared the absence thereof" ================= Core i7 2600K, ASUS P8Z68 Deluxe/Gen3, 32GB DDR3 1600, Radeon HD 7950, 256Gb SSD Crucial M4, 2TB Samsung SATAIII, 1,5TB WD SATAIII, 650W Enermax Modu87+
SV_huMMer Posted April 19, 2012 Posted April 19, 2012 chrilith, hi! As promised, I checked my Saitek installation folders. It looks like SDK is only available for FIP. In any case, I attach two archives with full content of /Program Files/Saitek and /Program Files(x86)/Saitek folders. See if there's anything useful. The test panel files are actually little programs that allow you to test the functions of your panel(s).Saitek_Program Files.rarSaitek Program Files(x86).rar ================= "Если вы боитесь высоты, значит, вы просто еще не пугались ее отсутствия" "If you fear heights, you simply haven't yet feared the absence thereof" ================= Core i7 2600K, ASUS P8Z68 Deluxe/Gen3, 32GB DDR3 1600, Radeon HD 7950, 256Gb SSD Crucial M4, 2TB Samsung SATAIII, 1,5TB WD SATAIII, 650W Enermax Modu87+
chrilith Posted April 19, 2012 Posted April 19, 2012 OK SV_huMMer, thank you for checking. Indeed, I don't find anything related to flight panel. Let's focus on FIP and X52 for now.
SV_huMMer Posted April 19, 2012 Posted April 19, 2012 Let's focus on FIP and X52 for now. Is there anything else I can do/check? ================= "Если вы боитесь высоты, значит, вы просто еще не пугались ее отсутствия" "If you fear heights, you simply haven't yet feared the absence thereof" ================= Core i7 2600K, ASUS P8Z68 Deluxe/Gen3, 32GB DDR3 1600, Radeon HD 7950, 256Gb SSD Crucial M4, 2TB Samsung SATAIII, 1,5TB WD SATAIII, 650W Enermax Modu87+
chrilith Posted April 20, 2012 Posted April 20, 2012 Is there anything else I can do/check? Not for now. Thanks :)
SV_huMMer Posted May 3, 2012 Posted May 3, 2012 Not for now. Thanks :) Hi there! :) Any good news for us, FIP owners and DCS users? :-) ================= "Если вы боитесь высоты, значит, вы просто еще не пугались ее отсутствия" "If you fear heights, you simply haven't yet feared the absence thereof" ================= Core i7 2600K, ASUS P8Z68 Deluxe/Gen3, 32GB DDR3 1600, Radeon HD 7950, 256Gb SSD Crucial M4, 2TB Samsung SATAIII, 1,5TB WD SATAIII, 650W Enermax Modu87+
algerad3 Posted May 17, 2012 Author Posted May 17, 2012 Well, here I sit. got home and had a few things to keep me busy. I have not had any time to look at this project again. I will try an focus on this week end. [sIGPIC][/sIGPIC] CPIAS FOR Saitek: Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs http://forums.eagle.ru/showthread.php?t=94174
SV_huMMer Posted May 23, 2012 Posted May 23, 2012 COOOOL! Looking forward to hearing from you on the progress. ================= "Если вы боитесь высоты, значит, вы просто еще не пугались ее отсутствия" "If you fear heights, you simply haven't yet feared the absence thereof" ================= Core i7 2600K, ASUS P8Z68 Deluxe/Gen3, 32GB DDR3 1600, Radeon HD 7950, 256Gb SSD Crucial M4, 2TB Samsung SATAIII, 1,5TB WD SATAIII, 650W Enermax Modu87+
Recommended Posts