Jump to content

Saitek X52Pro Mfd and Fip how to home


algerad3

Recommended Posts

  • Replies 513
  • Created
  • Last Reply

Top Posters In This Topic

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

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

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

  • Like 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

  • 1 month later...

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

  • 2 months later...

Is there any LCD photo about this mod.

I sold my 52, but still wonder this how it looks like while working...

i7-2600 @3.4GHz | Corsair 16GB @1600MHz. | MSI GTX1660Ti Gaming X | Samsung 256GB SSD (Win10HPx64)
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

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

  • 2 weeks later...

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

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

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

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

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...