algerad3 Posted October 4, 2015 Author Share Posted October 4, 2015 CHSubZero, Let us work our way slowly through this: When you start saitekstart.lua do you see a screen on the fip like the one in my sig? [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 Link to comment Share on other sites More sharing options...
CHSubZero Posted October 5, 2015 Share Posted October 5, 2015 Hi algered To answer your question: No I don't see it :cry: Maybe a bit more infos to help you: I have Windows 10 Pro 64 bit, Saitek X-55 and Saitek Pro Flight Instrument Panel. Lets see if I missed something from your installation manual: 1: Make sure you have "lua for windows" installed. It is free and can be found here :http://sourceforge.net/projects/luaf...atest/download Version 5.1.4-46 installed in default folder "C:\Program Files(x86)\Lua\5.1" 2: After lua for windows is installed, find the saitek.dll (in the zip files) and place it in the following folder: C:\Program Files(x86)\Lua32\5.1\clibs. saitek.dll copied into "C:\Program Files(x86)\Lua\5.1\clibs". 3: To use these scripts, you have to install the Fip drivers. If you only have an X-52Pro, you still need the Fip drivers. If you have both, I am sure you have installed the X-52Pro then the Fip. Drivers are here :http://www.saitek.com/# . I am currently using X52pro :7_0_34_109_64, Fip :7_0_34_109_64 Saitek X-55 Rhino HOTAS (X55_Rhino_7_0_32_81_x64_Drivers.exe) and Saitek Pro Flight Instrument Panel (Saitek_Pro_Flight_Instrument_Panel_7_0_42_12_x64_Full_pfw.exe) installed. 4: Now if, go to C:\Program Files\Saitek\DirectOutput. and put the folders A-10 Gauges and TITLE PAGES in the DirectOutput folder. (do not seperate the contents. This is where all the gauges .png files will be located. Both folders copied directly into the folder DirectOutput 5: Now we move on to User\Saved Games\DCS\Scripts. ( you may have to create that folder.) Insert Export.Lua and saiteka10c.lua into this folder. Scripts folder created and Export.lua and saiteka10c.lua copied into this folder. 6: Create a folder on your desktop(name it whatever you want) and insert Saitekstart.luac and DirectoutputA-10.lua. this folder will hold the scripts for other aircraft. Folder "fip test" created and copied file DirectoutputA-10.lua into it. There was no file Saitekstart.luac in your zip so I copied Saitekstart.lua and renamed the extension to Saitekstart.luac. Made a system reboot here just in case ;-) To start the scripting,double click on CPIAS.luac. No such file found so I double clicked on Saitekstart.luac. Nothing happens on FIP, just the usual saitek advertise screens. DCS was not running at this time (should I start DCS before the luac or after your luac file?) so I started it and started a quick A-10C mission. Still no change on display... My Mods: DCS User Files Modules owned: EVERY Module :pilotfly: Link to comment Share on other sites More sharing options...
algerad3 Posted October 5, 2015 Author Share Posted October 5, 2015 try this. Maybe , I have given the impression all you have to do is click "Saitek lua , I wrote that while working on the CPIAS.luac script. Try the Cpias script(remove Saiek lua and use CPIAS.lua). double click Cpias.luac and let me know if you get a lua console box on your primary display screen and the picture on the fip. If so, then Cpias will wait for you to start a mission and then inform you when the mission starts to select a gauge ( big bold yellow letters on Fip.)CPIAS.zip [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 Link to comment Share on other sites More sharing options...
CHSubZero Posted October 6, 2015 Share Posted October 6, 2015 No luck so far. I guess the error happens in function reconnect. When you check if FIPS > 0 the error occurs because FIPS is nil at this point... My Mods: DCS User Files Modules owned: EVERY Module :pilotfly: Link to comment Share on other sites More sharing options...
CHSubZero Posted October 6, 2015 Share Posted October 6, 2015 tried also something with no result My Mods: DCS User Files Modules owned: EVERY Module :pilotfly: Link to comment Share on other sites More sharing options...
algerad3 Posted October 6, 2015 Author Share Posted October 6, 2015 I found the problem, The new drivers for the fip are borked. I had that problem before with another driver build. I removed my current drivers and installed the new drivers and have the same issues. Even the X-52 pro is affected. I also tested the newer version of luafor windows and that works without issues with My good fip drivers, so you are o.k there. Remove your current drivers and Use these drivers and please report back.Saitek_Pro_Flight_Instrument_Panel_7_0_34_109_64_Full_pfw.zip 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 Link to comment Share on other sites More sharing options...
CHSubZero Posted October 6, 2015 Share Posted October 6, 2015 Thanks algerad! With this old driver it works superb :-) Thank you very much My Mods: DCS User Files Modules owned: EVERY Module :pilotfly: Link to comment Share on other sites More sharing options...
algerad3 Posted October 6, 2015 Author Share Posted October 6, 2015 Sweet, I knew we would get it figured out. After looking at your signature, Am I getting my hopes up too high? Are you jumping in on this project? [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 Link to comment Share on other sites More sharing options...
algerad3 Posted November 14, 2015 Author Share Posted November 14, 2015 Question: in the export .lua did the functions "LoSetSharedTexture(name)" ,"LoRemoveSharedTexture(name)"and "LoUpdateSharedTexture(name)" stop working or get deprecated? With the new engine I tried to get it working and no such luck.... Maybe I am doing something wrong. [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 Link to comment Share on other sites More sharing options...
Devrim Posted February 2, 2016 Share Posted February 2, 2016 Is there any LCD photo about this mod. I sold my 52, but still wonder this how it looks like while working... Intel i7-14700@5.6GHz | MSI RTX4080 Super SuprimX | Corsair V. 32GB@6400MHz. | Samsung 1TB 990 PRO SSD (Win10Homex64) Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | Saitek X-55 Rhino & Rudder | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5 >>MY MODS<< | Discord: Devrim#1068 Link to comment Share on other sites More sharing options...
algerad3 Posted February 3, 2016 Author Share Posted February 3, 2016 Devrim, Pretty much the same as in here http://forums.eagle.ru/showthread.php?p=1524290#post1524290 Just added function to the scroll wheel to adjust the radio freq and alt pressures. Lights on the stick ( in some cases ) change color for gear status. [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 Link to comment Share on other sites More sharing options...
chrilith Posted February 16, 2016 Share Posted February 16, 2016 OK guys, I'm back on business. Ready to make the Saitek DLL open source.... but I don't remember what code base I the proper one (since I worked in some addition in the past). So, I need your help to find it out. I need some testers here to evaluate the latest DLL I think is correct in order to clean up the code and put it on GitHub. Anyone? Thanks! Link to comment Share on other sites More sharing options...
algerad3 Posted February 16, 2016 Author Share Posted February 16, 2016 Chrilith, Welcome back. So where can we find you latest ? [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 Link to comment Share on other sites More sharing options...
chrilith Posted February 16, 2016 Share Posted February 16, 2016 Well, I uploaded a new DLL which should basically be the same as the one you already have. But I need to validate the fact that it is working as expected and it based on the proper source code. Win32: http://chrilith.com/temp/saitek/Win32/Lua_SaitekLib.dll x64: http://chrilith.com/temp/saitek/x64/Lua_SaitekLib.dll Let me know. If OK, I'll clean it up a bit a push it to GitHub. Thanks! Link to comment Share on other sites More sharing options...
algerad3 Posted February 16, 2016 Author Share Posted February 16, 2016 Chrilith, The dll you pposted is not working as intended. Instead of displaying the created gauges, it captures in cockpit graphics. I would be interested in perusing through the source of that one as I want to display the mfds, abris, radar etc. Do you still have your fip and did you get dcs running on your machine? [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 Link to comment Share on other sites More sharing options...
chrilith Posted February 16, 2016 Share Posted February 16, 2016 OK, looking at the code, it seems that I changed (years ago :)) the way images are rendered. The cockpit stuff should be just an overflow read... weirdly. Unfortunately it seems that I just crashed my old disk... But I saved all the old source codes yesterday, hopefully nothing is missing :( I'll check an older code tomorrow to check the SetImage() code and reactivate it so that I can start where I stopped the version your are all currently running. Link to comment Share on other sites More sharing options...
algerad3 Posted February 16, 2016 Author Share Posted February 16, 2016 I also updated the wiki on the Superhornet site. Would love to know how you got the imaging to work the way you did on that other dll, might be handy. [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 Link to comment Share on other sites More sharing options...
chrilith Posted February 17, 2016 Share Posted February 17, 2016 Looking at the code, it was an experimentation to catch window content. This should be why you were seeing part of the copckpit instead of the expected image. Since my disk crashes, I set up a whole new dev env based on Visual Studio 2015. So, using the new DLL may need the installation of a new VC package if not already on your computer: https://www.microsoft.com/en-us/download/details.aspx?id=48145 Try these and let me know. I can compile a full DLL without external dependencies but the DLL may be 350KB bigger. Win32: http://chrilith.com/temp/saitek/Win32/Lua_SaitekLib.dll x64: http://chrilith.com/temp/saitek/x64/Lua_SaitekLib.dll Link to comment Share on other sites More sharing options...
algerad3 Posted February 17, 2016 Author Share Posted February 17, 2016 After installing the vc package it works. I only tried the win32 dll as I am not using the 64 bit in the scripting. [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 Link to comment Share on other sites More sharing options...
chrilith Posted February 17, 2016 Share Posted February 17, 2016 OK cool then. Let's start with this code base. Thanks you for testing. I'll let you know when the source is available. Link to comment Share on other sites More sharing options...
algerad3 Posted February 17, 2016 Author Share Posted February 17, 2016 Thanks. Have you seen how far I finally got on this project? Man what an education. lol [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 Link to comment Share on other sites More sharing options...
chrilith Posted February 17, 2016 Share Posted February 17, 2016 YES! this is really amazing thank you for using it! :) Link to comment Share on other sites More sharing options...
chrilith Posted February 20, 2016 Share Posted February 20, 2016 OK, code is on GitHub. Some cleanup to do, tests and we are all set! https://github.com/chrilith/Passerelle Link to comment Share on other sites More sharing options...
algerad3 Posted February 21, 2016 Author Share Posted February 21, 2016 Cool Beans , thanx. [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 Link to comment Share on other sites More sharing options...
chrilith Posted February 22, 2016 Share Posted February 22, 2016 Have you tried any new FIP drivers? Is there still a problem with newer drivers? Link to comment Share on other sites More sharing options...
Recommended Posts