algerad3 Posted July 1, 2014 Author Posted July 1, 2014 I am still here , just not a lot of tinker time. Trying to get things set up and organized for when I make more changes /or improvements. Just been very busy over here... maybe , just maybe.... [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
algerad3 Posted July 12, 2014 Author Posted July 12, 2014 Just a brief update. Finally got the radio dials /knobs to act right for the Huey and the A-10. All radios, tacan and ils devices can be dialed in with the X-52pro now like the ka -50. I am thinking about setting up the flare dispensers as well. I will add radio pages to the F.I.Ps , these will provide more function as they have more buttons plus the rotaries. I am working on cleaning things up, fixing the gauges performance/accuracy and looks. So far I am looking at making 15 pages of info for the X52 pro for most modules. And around 18 each for the Fips. Of course you can turn off the ones you do not need/want and reorder the pages. ( Will, include a new , more orderly how to at that time.) Time frame is like everything else in Dcs world. Done when Done ( hopefully soon, time constraints. And of course "Everything is subject to change" [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
Megatherion Posted August 6, 2014 Posted August 6, 2014 Wow, awesome work algerad3, I have been looking for this for a long time, too bad I just found it now. I read through some of this post and downloaded the Saitek Gauge Pack with guide, but I am a bit confused how to install it all. Could you please point me to the post(s) in this thread that will walk me through what programs I need to install and how to install the gauges please? What pro flight panels do you have? I have one FIP, the radio panel, the multi panel, the switch panel and the BIP panel. I read in some of your latest posts you have the radio panel working, could you please point me to the post(s) in this thread to install/use all relevant pro flight panel applications you have made? Do they work on all aircraft? I have ALL DCS World modules. Thank you very much for all of your hard work in getting any of the saitek pro flight panels to work with DCS World, the people at Saitek never supported these excellent products for any other sim besides FSX, and I think they never will. Just a couple of days ago, I sent an email to MadCatz support about this very issue, hoping they might do something about it since the old Saitek support never lifted a finger. The reply I got was disheartening, no support for these products for flight sims other than FSX, leaving it to brilliant, ingenious people like you and others in the community (someone made a plugin for X-Plane for all of the panels, it works great- I fly X-Plane 10 too). I am aware of the application for the switch panel, am in the process of installing it too. Keep up the great work, and if there is anything I can do to help in the process, do not hesitate to ask. I have no programming skills at all unfortunately.
algerad3 Posted August 6, 2014 Author Posted August 6, 2014 Well now , I have spent so much time tinkering and reporting my results in this thread it seems all the good stuff is hard to find. What I am working on is the X52 pro and Flight instrument panels(gauges). Since I moved the project over to a socket set up some of the old steps are now obsolete. First download and install lua for windows (free). Once that is installed then you will need the saitek dll which is here:http://forums.eagle.ru/showpost.php?p=1931609&postcount=245 Download the dll and place it into C:Program Files(x86)\Lua32\5.1\clibs. Make sure the dll is named saitek.dll Make sure you have a file folder named "scripts" in User\saved games\DCS. Download the gauge pack and place all of the files the start with "saitek" i.e "saiteka10c". Also make sure that the downloaded export file is in there with the saitek scripts. You can place the files starting with "Directoutput" anywhere convenient. Double click on the directoutput script for the module you want to fly ... I.E Directoutput KA50. When you start the sim and pick the Ka50 to fly you will get the gauges for that aircraft. This is still a work in progress and I am still working on incorporating radio controls and X-52pro functions. Just taking a little time as I am still finding new things to add. Hope this helps. [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
Megatherion Posted August 6, 2014 Posted August 6, 2014 Awesome, that is a very easy guide to follow. I do not have the X52 pro, just the normal X52. I assume the gauges will still work for me? Are they all 64 bit compatible?
algerad3 Posted August 6, 2014 Author Posted August 6, 2014 Actually , the scripting and dll as well as lua for windows is 32 bit. But since we are using a tcp connection to another script , it works for dcs . This scripts will give you digital readout for the X52 pro and gauges for the fip. 1 [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
algerad3 Posted August 11, 2014 Author Posted August 11, 2014 (edited) X52pro script for A-10c out. Something for the Warthog fans……..X52pro mfd script is ready for testing and approval. I have not gotten a lot of stick time on any of the models since starting this project. My most used module is the Ka 50. So this is a hit or miss as far as useful functions goes. I am sure that there is more things some would like to see scripted. Make a note and let me know. One thing I noticed is that it is difficult to see the radio panels due to the cockpit layout in the A-10c, so I have focused on the radios for the mfd. goes insaiteka10c "user/saved games/dcs /script" folder as before. Directoutput a10.lua file goes where ever you want. Double click saiteka10 script to start then run mission. X52turbines aka page 1 turbine fuel and fuel flow. X52hydraulics aka page 2 hydraulic and oil pressure. X52fueloil aka page 3 core speeds and temps. X52rotorandspeed aka page4 core rpms, apu and egt temps. X52altitude aka page 5 Altitude and qnh. Qnh is adjustable using the scroll wheel. X52vhf1 aka page 6 Vhf1. Change frequencies with scroll wheel. Press scroll wheel down to select dials to adjust. Line three indicates which dial is ready to adjust. X52vhf2 aka page 7 is Vhf2 radio page. Works the same as VHF 1 X52tacan aka page 9.Tacan page works the same as VHF1. X52ils aka page 10 Ils page. The same as VHF1. X52uhf aka page 8 is UHF radio page. Works the same as VHF 1. Keep in mind I need to rework the function to keep he frequency from continuously rolling over. Numbers do not stop like they should. Also reworked the exporting script a little to add the values I will work with in the future. This also affects future fip use. Made the changes for the fip data structure in these scripts. The gauges are still the same so no new gauge drawings or fixes yet. (That will happen after I get the Huey and p-51 x52pro script completed.) Almost done with preliminary x-52 script for the Huey. Let me know of any issues! Enjoy for now.saiteka10c.luaDirectoutput A-10.lua Edited February 16, 2015 by algerad3 got the files mixed up. [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
algerad3 Posted August 13, 2014 Author Posted August 13, 2014 HUEY Time A little script adding radio control for the Huey. Same design as above for the A-10. Only used X52p for radio control in this one. Some Fip gauges math reworked. Rough draft as I will add more later. Enjoy for now.Directoutput Huey.luasaitekuh1h.lua [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
algerad3 Posted October 11, 2014 Author Posted October 11, 2014 Yay!!!!!! I get a little block of free time. I am trying to catch up on the released modules and then I will rework the previously released gauges and try to get them perfected. I will have something for something soon, just don't know where to start. [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
algerad3 Posted October 26, 2014 Author Posted October 26, 2014 Well now, her we go again!!! working on some new module scripts and it seems , either I forgot how this works or the values from the main panel.lua are off again. Going to take awhile to get this straight. Have gauge panels for the f86 just need to wire them up and then wire up the X52pro mfd. [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
FONS Posted October 28, 2014 Posted October 28, 2014 (edited) "Once the lua install / modification is done, rename the Lua_SatekLib module to saitek.dll." Where's "Lua_SatekLib" can't find that archive anywhere... Thanks in advance. Edited October 28, 2014 by FONS [sIGPIC][/sIGPIC] SystemCPU: i7 4790K GPU: Asus GTX 970 4Gb MOBO: Asus Z97 PRO RAM: 16Gb OS: Win10 x64
algerad3 Posted October 29, 2014 Author Posted October 29, 2014 Fons, http://forums.eagle.ru/showpost.php?p=2138872&postcount=279 This is from page 28 and should get you were you need to go. I really need to take the time to sort things out and make the most relevant information easier to find. You will also want to peruse pages 27-29 as there were changes that affect the x-52 pro scripting. Any questions let me know. [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
FONS Posted October 31, 2014 Posted October 31, 2014 (edited) Fons, http://forums.eagle.ru/showpost.php?p=2138872&postcount=279 This is from page 28 and should get you were you need to go. I really need to take the time to sort things out and make the most relevant information easier to find. You will also want to peruse pages 27-29 as there were changes that affect the x-52 pro scripting. Any questions let me know. Thank for your fast replies Algerad3. But me and my team are struggling to install this thing that should be much more easy than it looks, but the fact of not having a propper updated and complete guide to install this from zero made us spent the whole morning trying to make this work with no success, even friends that have programming related works... I really don't understand this step: "You can place the files starting with "Directoutput" anywhere convenient. Double click on the directoutput script for the module you want to fly ... I.E Directoutput KA50. When you start the sim and pick the Ka50 to fly you will get the gauges for that aircraft." I place the "Directoutput" files inside that "scripts" folder with all the files of the "dcs scripts" folder. And what i have to do next? If i double click i.e. Directoutput A-10 , when i start the sim and pick an A-10 i have nothing on my Saitek X52 pro mfd. Also what's that "cprogram files saitek" ? You don't say nothing about that folder and i don't know if i need it, because i just want to use the saitek mfd, not external mfd's... We should have missed something because the steps are all over this 30 pages of thread i really don't know... I'm gonna quit with this untill your reply because i am going mad... :helpsmilie: Edited October 31, 2014 by FONS [sIGPIC][/sIGPIC] SystemCPU: i7 4790K GPU: Asus GTX 970 4Gb MOBO: Asus Z97 PRO RAM: 16Gb OS: Win10 x64
algerad3 Posted October 31, 2014 Author Posted October 31, 2014 (edited) Fons, Install lua for windows. Once that is done open up the C:\Program files(x86)\lua\5.1\clibs folder and drop in the Saitek dll (32 bit please) . Make sure the dll is named Saitek. After that is done , you go to user/saved games/DCS/script ( you might have to make a "script" folder.) In this folder you put the "export.lua" script and the "saitek huey, saiteka-10 and etc" files. The directoutput scripts can go anywhere( desktop, saved games,documents etc) Start the directoutput script by double clicking AND then press the blue arrow on the top of scite program. (I think I forgot to mention that part.) Start Dcs . The C:\programs\saitek\directoutput\ is for the fips graphics. Not applicable for the x-52pro. Even though the saitek dll is 32 bit and Dcs world is 64 bit , the two programs function separately there is no conflict there. Let me know how that works. If it does not work , can you reply with steps you have taken. Edited October 31, 2014 by algerad3 additions [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
algerad3 Posted December 3, 2014 Author Posted December 3, 2014 (edited) Some help for setting up Hellpilot, Can you do one more thing? Start the directoutput script then Dcs and then press one of the arrow buttons in between the knobs (page change) wait for a second or so. Anything change? Edited December 3, 2014 by algerad3 more details [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
algerad3 Posted December 3, 2014 Author Posted December 3, 2014 Hellpilot, I just went throught the thread again and came to the driver portion. I am afraid you are absolutely correct. The saitek driver version 7-0-34-109-64 that you installed for your fip will not work. I know you mentioned that up front and I only remembered the part where both the x52 and fip would not play nicely. I forgot about how that piece of information came to be. This is the posting you mentioned :http://forums.eagle.ru/showpost.php?p=1918647&postcount=231 A solution has been posted in another forum and I posted about it here: http://forums.eagle.ru/showpost.php?p=1920549&postcount=236 As you are only using the fips, I would install the fip driver vers.7.0.11.1. and it should work. That is what I am using. I sincerely apologize for not paying adequate attention and delaying your use and enjoyment of the fips. [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
HellPilot Posted December 3, 2014 Posted December 3, 2014 Algerad3, Dinistalled that driver and installed the old but nothing ........ if i press the buttons between the knobs (in the scite output i see true7, true8) the screen go blank, if i press again return to saitek products...... Many thanks for your patience
algerad3 Posted December 3, 2014 Author Posted December 3, 2014 (edited) This is good, now we have captured the device and changed the pages. Have you started the directoutput script and Dcs mission yet. Give it a second after you start the mission then change pages. It should capture the gauges then. Edited December 3, 2014 by algerad3 spelling [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
HellPilot Posted December 3, 2014 Posted December 3, 2014 unfortunately does not change.. :(. I've also checked the directoutput script to see where are the gauges .... the directory is correct... thanks again
HellPilot Posted December 3, 2014 Posted December 3, 2014 finally ..... it works. I started from scratch 1. reinstalled lua. 2. reinstalled saitek driver 3. restart 4. put gagues and dll in the place 5. start directoutput script 6. start dcs Many thanks to algerad3 who helped me to solve this problem .... without his help my two fips were useless. One last thing. I have already a export.lua file in \saved games\dcs\script for gadroc's helios setup. If i append with a dofile the export.lua for the fips they do not work. here's the command: dofile (c:\path_to_file\fip.lua) where fip.lua is export.lua renamed. almost done ......
algerad3 Posted December 4, 2014 Author Posted December 4, 2014 Hellport, good to hear. I hope you enjoy, I do have plans to finish gauges for other modules and then update the gauge graphics, as well as extend the functions of the x-52 pro. [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
Raptor007 Posted January 5, 2015 Posted January 5, 2015 Hellpilot, I just went throught the thread again and came to the driver portion. I am afraid you are absolutely correct. The saitek driver version 7-0-34-109-64 that you installed for your fip will not work. I know you mentioned that up front and I only remembered the part where both the x52 and fip would not play nicely. I forgot about how that piece of information came to be. This is the posting you mentioned :http://forums.eagle.ru/showpost.php?p=1918647&postcount=231 A solution has been posted in another forum and I posted about it here: http://forums.eagle.ru/showpost.php?p=1920549&postcount=236 As you are only using the fips, I would install the fip driver vers.7.0.11.1. and it should work. That is what I am using. I sincerely apologize for not paying adequate attention and delaying your use and enjoyment of the fips. Why would the FIP 7.0.34.109 driver not work? I've switched over to that driver version for both X52 Pro and FIP, and they do play nicely together with DirectOutput. Saitek fixed a lot of bugs since the old 7.0.11.1/7.0.27.13 release, such as the ability to use different device types together without having to manually replace a DLL, and the X52 Pro MFD page change wheel. For FIP-only, the old 6.6.1.40 or 7.0.11.1 drivers were fine, but 7.0.34.109 seems to return from DirectOutput_SetImage a little faster, so you could potentially get a better FIP framerate. I think it went from about 15fps to 20fps?
algerad3 Posted January 12, 2015 Author Posted January 12, 2015 (edited) Thanks for that info. I was not aware of the new drivers out there. I will try them out and see what happens. Edit: I just tried the new drivers and I found that these drivers are more responsive. I was also able to reduce the T+ timing for the export files and had no issues. I will keep on adjusting and tinkering as I now have some free time on my hands ( finally). Thanks again for the heads up Raptor007. Edited January 13, 2015 by algerad3 post testing results. [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
algerad3 Posted January 18, 2015 Author Posted January 18, 2015 Just a heads up, I ma now back to working on this project. I am now able to automatically select which gauge set will be used.(I.E. you start the main program and once connected to Dcs it will select the correct gauge set for the module being flown). Hopefully I will be able to figure out how to close and then reopen a socket so that it turns into a background program until you close it. I will also work on a basic gui, and update the graphics of gauges already out, Of course the new modules need to be plugged in as well. Long days and long nights ahead. [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
GurbY Posted February 15, 2015 Posted February 15, 2015 (edited) Something for the Warthog fans……..X52pro mfd script is ready for testing and approval. I have not gotten a lot of stick time on any of the models since starting this project. My most used module is the Ka 50. So this is a hit or miss as far as useful functions goes. I am sure that there is more things some would like to see scripted. Make a note and let me know. One thing I noticed is that it is difficult to see the radio panels due to the cockpit layout in the A-10c, so I have focused on the radios for the mfd. Directoutput a10.lua goes in "user/saved games/dcs /script" folder as before. saiteka10c file goes where ever you want. Double click saiteka10 script to start then run mission. X52turbines aka page 1 turbine fuel and fuel flow. X52hydraulics aka page 2 hydraulic and oil pressure. X52fueloil aka page 3 core speeds and temps. X52rotorandspeed aka page4 core rpms, apu and egt temps. X52altitude aka page 5 Altitude and qnh. Qnh is adjustable using the scroll wheel. X52vhf1 aka page 6 Vhf1. Change frequencies with scroll wheel. Press scroll wheel down to select dials to adjust. Line three indicates which dial is ready to adjust. X52vhf2 aka page 7 is Vhf2 radio page. Works the same as VHF 1 X52tacan aka page 9.Tacan page works the same as VHF1. X52ils aka page 10 Ils page. The same as VHF1. X52uhf aka page 8 is UHF radio page. Works the same as VHF 1. Keep in mind I need to rework the function to keep he frequency from continuously rolling over. Numbers do not stop like they should. Also reworked the exporting script a little to add the values I will work with in the future. This also affects future fip use. Made the changes for the fip data structure in these scripts. The gauges are still the same so no new gauge drawings or fixes yet. (That will happen after I get the Huey and p-51 x52pro script completed.) Almost done with preliminary x-52 script for the Huey. Let me know of any issues! Enjoy for now. Algerad3: I followed the above post. I installed Lua for Windows (5.1) and put the saitek.dll file in the above mentioned dir. I click on the A10 lua file, but all that happens is a black (cmd) window, which stays like that until I stop it. If it runs, the MFD on my X52 Pro becomes blank; only time and date is visible. If I run DCS and start an A10 mission, nothing happens. If I close the cmd window (still black..) the MFD gets the "No Profile" message again. What am I doing wrong..?? **EDIT** I rebooted; now after clicking the A10lua file the cmd window opens for half a second or so and closes. Still, nothings happens on the display in DCS...? Edited February 15, 2015 by GurbY
Recommended Posts