gfd Posted September 26, 2015 Report Posted September 26, 2015 Greetings, I know Peter is away until the 4th. However, I have an issue that I would appreciate some help with. I reinstalled my system, upgrading to Windows 10. I did a clean install. I did save all of my flight data, including the Modules folder. I have just upgraded to the latest version of FSUIPC. I did a comparison on WinMerge and was able to merge the old and new FSUIPC ini file. There were few differences; mainly had to move the profile references into the new ini file. FSUIPC loads without issue. The controllers are recognized by FSUIPC correctly. The profiles (in folders) are recognized. I have setup WideFS button screens on a networked machine. Just an excellent feature! Saves a bundle on hardware costs. I digress. I have LUA files setup with custom scripts for button assignments. I loaded a flight with an aircraft that had a profile (in this case the A2A 172). The axes were setup as expected in the FSUIPC GUI. However when I pressed buttons on the controllers, the lua file did not show up. Only the parameter numbers. It seems FSUIPC forgot the lua file. I looked in the profile and noticed entries like CL19, CL20, etc. Is that the code for the lua file(s)? Sample button entry in the profile: 21=R68,12,CL19:R,51 Is CL19 the reference to the lua file? If so, can re-train FSUIPC to recognize the files? If not, I suppose I'll have to reprogram FSUIPC for each of the profiles; at least the file reference. Not a big deal. Just curious. Many thanks in advance for your assistance, Graham
Gypsy Baron Posted September 27, 2015 Report Posted September 27, 2015 "CL19, CL20, etc. Is that the code for the lua file(s)?: Yes. The number is assigned by FSUIPC4 when it reads the Lua files in initially or when it sees a new one. Does the list of Lua files in the INI file compare exactly to your previous file....#19 is <some lua file name>, #20 is <another file name>? If you did not have the INI file setting set to: [JoyNames]AutoAssignLetters=Yes but instead have "AutoAssignLetters=No" then it is quite possible that Windows assigned NEW JoyNumbers when it scanned your controllers and FSUIPC4 still has the 'old' JoyNumbers and buttons. Similar issues can occur if you unplug a controller then reinstall it later, perhaps after adding another controller. If you have the AutoAssignLetters=Yes, then FSUIPC4 convers all Joy#'s to letters associated with the GUID of ]the controllers. These do not change The first time you run FSUIPC4 after setting "Yes" all Joy#'s in each INI file line will be converted to a letter that it assigned to each controller. If this is what is causing your issues you MAY be able to save the day IF you still have a copy of your 'old' INI file that shows the Number assigned to each controller and the GUID. You would then go into the new INI after letters have been assigned and change the letter assignments to match the old numbers GUIDs. Here is what my letter vs number vs GUID list looks like. [JoyNames] AutoAssignLetters=Yes 0=Logitech Dual Action 0.GUID={6B5A2B40-5A5C-11E4-8002-444553540000} 1=Saitek X45 1.GUID={6B5A2B40-5A5C-11E4-8003-444553540000} 2=Saitek Pro Flight Yoke 2.GUID={6B5A2B40-5A5C-11E4-8004-444553540000} 3=Saitek Pro Flight Throttle Quadrant 3.GUID={6B5A2B40-5A5C-11E4-8005-444553540000} 4=CH PRO PEDALS USB 4.GUID={E0590200-6113-11E4-8001-444553540000} A=Saitek Pro Flight Throttle Quadrant A.GUID={6B5A2B40-5A5C-11E4-8005-444553540000} B=CH PRO PEDALS USB B.GUID={E0590200-6113-11E4-8001-444553540000} C=Saitek X45 C.GUID={6B5A2B40-5A5C-11E4-8003-444553540000} D=Saitek Pro Flight Yoke D.GUID={6B5A2B40-5A5C-11E4-8004-444553540000} E=Logitech Dual Action E.GUID={6B5A2B40-5A5C-11E4-8002-444553540000} As for Lua files, here is what my list looks like: !2=//----------------- LUA FILE LIST ----------------[LuaFiles]1=B377_exit_revers2=B377_reverse3=display vals4=liar5=freeze6=init pos7=ipcDebug8=landing9=record to csv10=log lvars11=RUN_VBS12=Payload73713=MasterClient14=SlaveServer15=testclnt16=testsrvr17=DispB17CS18=A2A_B377_icflap19=DispP47CS20=gfdDisplay21=DispP4022=B17G_Turbo23=Flak_Wind24=DispSPIT25=B17G_Gear26=DispP51CS27=DispF4U28=DispC47CS29=DispP51ASCS30=DispP40_test31=DispP51CIV32=Calc_Track33=DispB25J34=DispLanc35=DispC17236=DispP18037=DispB29CS38=DispC18239=DispP51H40=Gear_Switch41=B17_Mechanic42=pucker43=DispPA2444=DispB24Hope this helps you track down your issues. Paul
gfd Posted September 27, 2015 Author Report Posted September 27, 2015 Thanks Paul. You've given me a start at getting this solved. Graham EDIT: Just as a follow up, I compared the ini and profile files. You were bang on. I had gotten rid of a number of lua files and what was once CL19 is now CL5. This is in addition to the fact that perhaps FSUIPC gave the lua files different reference numbers in the new installation. It is all so very elegant and simple. Too bad I didn't figure it out for myself. Thank you again Paul, for turning me in the right direction.
Gypsy Baron Posted September 28, 2015 Report Posted September 28, 2015 Glad you got it sorted out. And fortunately you had a reference point. I tend to keep a copy of my INI file, updated periodically, just in case some unforseen event changes the dependancies. Paul
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now