Jump to content

Controls Mapping Bug


Recommended Posts

LLv44_Kanttori
Posted

Kanttorin%20Kone%20ETC-04-icon.png

I have built to my Finnish friend a Kanttorin Kone Throttle Console (in a picture above) which is an USB Game Controller. Now there is a problem with console's buttons/axes mapping. For some reason, on the Controls Options page, when he sets button commands, an empty line first appears in the console's Set Controls window, and then only the information and number of that Button. When he confirms the setting (by clicking OK), the view shown in the picture appears. There the button appears in a small font and there is the empty line above it. Please look at the Button bug picture below: Raise Undercarriage and Lower Undercarriage rows.


When he goes to fly, the buttons in question work, but when he restarts the game and loads the controls file he has saved (Save as..), all the buttons on the console have disappeared, as well as the functions set on the axes, such as the trim wheel.


I have the exact same console and USB circuit board and it works perfectly. We also tested my friend's console with the Windows Game Controllers and Joystick Gremlin application and they reports that all buttons and axes work ok. What is wrong? :(

buttons bug.PNG

Axes bug.PNG

Posted

Try going into Power Management for HID Devices in the Device Manager, right click each one, click properties, click power tab and uncheck the option that allows Windows to conserve power by automatically shutting the controller down. This caused problems for me. Maybe it will help your friend.

 

S!Blade<><

LLv44_Kanttori
Posted (edited)
On 9/14/2022 at 1:49 PM, BladeMeister said:

Try going into Power Management for HID Devices in the Device Manager, right click each one, click properties, click power tab and uncheck the option that allows Windows to conserve power by automatically shutting the controller down. This caused problems for me. Maybe it will help your friend.

 

S!Blade<><


Thank you BladeMeister, we tried this, but it didn't help. :salute:

Edited by LLv44_Kanttori
Posted

While you are at it, disable Steam Cloud and save the control scheme somewhere else so you can put it back in the Documents/1C/CloD folder if it happens again.

 

Just note that if it‘s Windows that is changing your IDs (for example by disabling and enabling USB devices) your config wouldn‘t be empty, just not work. Since the ID there wouldn‘t match any of your current IDs (the code you see there in the small font).

 

From what you wrote (controls disappeared) it seems it‘s Steam replacing your .ini files in the Documents/1C SoftClub/CloD folder. 
Also male sure you don‘t have that folder in OneDrive, since it can cause sync problems. 

LLv44_Kanttori
Posted
On 9/14/2022 at 4:37 PM, 9./JG52_J-HAT said:

While you are at it, disable Steam Cloud and save the control scheme somewhere else so you can put it back in the Documents/1C/CloD folder if it happens again.

 

Just note that if it‘s Windows that is changing your IDs (for example by disabling and enabling USB devices) your config wouldn‘t be empty, just not work. Since the ID there wouldn‘t match any of your current IDs (the code you see there in the small font).

 

From what you wrote (controls disappeared) it seems it‘s Steam replacing your .ini files in the Documents/1C SoftClub/CloD folder. 
Also male sure you don‘t have that folder in OneDrive, since it can cause sync problems. 

Thank you 9./JG52_J-HAT, we tried this too, but it didn't help, or we didn't quite understand everything. We need very clear instructions that explain the folder structure and the files that need to be done... :salute:

  • 2 weeks later...
Posted

Same, or at least similar, issue for me.  Eveything is fine for several sessions and then one day all my bindings are gone.  I am plugging in my controller prior to launching the game and in the same USB port I used to set it up.  I then try to load my saved file (confUSER.ini) and a second backup file and neither loads.  I have taken all the above recommended actions to no avail.  Restarting the PC and launching from Steam or desktop makes no difference.  I have deleted the 1C SoftClub folder, launched the game, exited and then added my saved file.  Then I launch the game again and a default set of bindings is shown.  I "load" my saved file and all those bindings disappear but are not replaced with my saved bindings.  Inputting my bindings all over again is a real PIA.  Hoping someone here has a remedy.

Posted (edited)
8 minutes ago, Mysliwiec said:

Same, or at least similar, issue for me.  Eveything is fine for several sessions and then one day all my bindings are gone.  I am plugging in my controller prior to launching the game and in the same USB port I used to set it up.  I then try to load my saved file (confUSER.ini) and a second backup file and neither loads.  I have taken all the above recommended actions to no avail.  Restarting the PC and launching from Steam or desktop makes no difference.  I have deleted the 1C SoftClub folder, launched the game, exited and then added my saved file.  Then I launch the game again and a default set of bindings is shown.  I "load" my saved file and all those bindings disappear but are not replaced with my saved bindings.  Inputting my bindings all over again is a real PIA.  Hoping someone here has a remedy.


Steam Cloud disabled? Sound a lot like what it does. As if Steam immediately replaces what you put in there.

In case it‘s on, back up all your ini files, disable it, load the control file (and hit apply) and check. When you disable SteamCloud it usually resets all bindings and configs (info windows, loadouts, video config etc.), so be careful. 

Something to try is to rename your back up and try to load that one instead (so it doesn’t have the default name) and see if they get erased / replaced.


Edit: sorry if this is obvious and was meant under „all the above recommendations“. But in these cases it’s better to double check than assume something.

Edited by 9./JG52_J-HAT
Posted

Thanks.  Steam cloud is disabled.  My backup file is Mysettings.ini.  It doesn't load either.  Totally perplexing.

Posted

I double checked the .ini files and they are intact.  I will check out this link.  Thanks.

I'm on Windows 11 but it's probably the same.  My Controlled Folder Access is turned off.  

 

Also, when this happened the last time, I decided to use Joystick Wizard to map my keybindings.  They are all still there.

Posted

 

The JoystickWizard creates an ini file like it would from the interface. So if you are seeing the correct bindings in the ini the Wizard created, at least that part is working. Where did the Wizard create the file you are looking at? Have you tried loading that file instead?

 

And this is really weird. Because if your ini files are correct (or at least have some bindings in them) and you load them, they should show up. It isn‘t Steam replacing them. Could it be the game is fetching the file from somewhere else?

 

Long shot, but are you sure there is only a single 1C Softclub/il-2 CloD folder on your PC? I‘ve come across a post saying that when a user installs the game on a different drive than C it may create more than one instance of the folder.

Posted

Yes, it is weird.  Only the one folder.  I opened the wizard and saw the binding were still mapped in the application.  I did not look for the file it created. I will when I get the chance and see if it will load in the game interface. I really appreciate your efforts on my behalf.

Posted

So, I tried that file and still no joy.  It has become apparent that the files are actually loading.  The binds just are not displaying in the controls options display afterwards and the game does not see or respond to the binds.

  • Team Fusion
Posted
2 hours ago, Mysliwiec said:

So, I tried that file and still no joy.  It has become apparent that the files are actually loading.  The binds just are not displaying in the controls options display afterwards and the game does not see or respond to the binds.

What is the ordering of your joystick in Windows?

 

Stick should be #1 in the list of peripherals.

 

Also, are you disconnecting the joystick at any point?  If you do, then the mappings will be lost.

Posted

Hello and thanks.  Not sure what you mean by #1.  In Devices and Printers it is the 4th listed under the heading Devices following Monitor, Logitech wireless keyboard receiver, and motherboard.

 

I am only disconnecting it after I am done playing.  Should I leave it plugged in all the time?  The mappings are only lost on random occasions, not every time I disconnect.  And only with this game, not with BOX or 1946 (although I lose mappings in 1946 every time I begin a new career).  The bigger issue is why, when they are lost, my saved mappings will not load.  They did in the past.  However, in the last couple of months this has happened about three or four times requiring me to re-input all mappings when they should load from the file using the Controls Options in the game.  I am using VKB controllers.

Posted

My two cents.
I have run far away from this problem connecting devices (stick, throttle, rudder, quadrant) on a USB hub.
Don't forget : disable power saving for each device.

Posted (edited)
56 minutes ago, Mysliwiec said:

Hello and thanks.  Not sure what you mean by #1.  In Devices and Printers it is the 4th listed under the heading Devices following Monitor, Logitech wireless keyboard receiver, and motherboard.

 

I am only disconnecting it after I am done playing.  Should I leave it plugged in all the time?  The mappings are only lost on random occasions, not every time I disconnect.  And only with this game, not with BOX or 1946 (although I lose mappings in 1946 every time I begin a new career).  The bigger issue is why, when they are lost, my saved mappings will not load.  They did in the past.  However, in the last couple of months this has happened about three or four times requiring me to re-input all mappings when they should load from the file using the Controls Options in the game.  I am using VKB controllers.


Run joy.cpl and see in that list what comes first (Windows key + R and type it in). I also use VKB and it is coincidentally the first HID in the list. I wouldn‘t imagine the order would make any difference though.

My VKB stick‘s name (VKB Gunfighter) starts with an empty character, which afaik Windows doesn‘t accept but it still works without any problems in any sim.

Edited by 9./JG52_J-HAT
Posted
33 minutes ago, OBT-Eazy said:

My two cents.
I have run far away from this problem connecting devices (stick, throttle, rudder, quadrant) on a USB hub.
Don't forget : disable power saving for each device.

Thanks.  I have done that.  I will look into the hub.

30 minutes ago, 9./JG52_J-HAT said:


Run joy.cpl and see in that list what comes first (Windows key + R and type it in). I also use VKB and it is coincidentally the first HID in the list. I wouldn‘t imagine the order would make any difference though.

My VKB stick‘s name (VKB Gunfighter) starts with an empty character, which afaik Windows doesn‘t accept but it still works without any problems in any sim.

It's the only one that comes up: VKBsim Gladiator NXT R SEM THQ

Posted (edited)
28 minutes ago, Mysliwiec said:

Thanks.  I have done that.  I will look into the hub.

It's the only one that comes up: VKBsim Gladiator NXT R SEM THQ


Can you post your Mysettings.ini file here? Or pm it to me. I‘ll try to load it into my game.

Edited by 9./JG52_J-HAT
Posted (edited)
1 hour ago, 9./JG52_J-HAT said:


Can you post your Mysettings.ini file here? Or pm it to me. I‘ll try to load it into my game.

Won't allow me to upload a .ini file.  I'll try via PM.

 

Forgive me, but I'm unable to do that either.  Let's try it this way:

mysettings.rar

Edited by Mysliwiec
Added info.
Posted (edited)
2 hours ago, Mysliwiec said:

Won't allow me to upload a .ini file.  I'll try via PM.

 

Forgive me, but I'm unable to do that either.  Let's try it this way:

mysettings.rar 1.69 kB · 0 downloads


 

Thanks. Looking at the file there doesn’t seem to be any special bindings there. Your joystick doesn‘t show up. 
I‘ve attached an example from my ini. The input devices are coded with their name as in your joy.cpl list and that string FEE etc. which is the device ID in windows.

All your ini has are default bindings. Probably why nothing shows up in game.

When I load it it correctly reverts back to default bindings (or to what is in the file). It overwrites my default controls as expected. 

 

So, just to be sure. Open your Joystick Wizard where you had your bindings set in the application. Run through it and save the ini file it generates. Look for that file. If the file is not in the Documents/1C SoftClub/il-2 CloD folder it doesn‘t get loaded by the game.

Make sure the ini file is correct (like my example) and is in the correct folder mentioned above. Go into the game and load the file from the controls menu. This should do it.


Or alternatively look for your backup with the correct bindings in it and put that file in the folder I mentioned above. Then do the procedure to load it from the game

 

75B5AFFE-C420-4CD6-A2CA-1E9E71FE7B9D.jpeg

Edited by 9./JG52_J-HAT
Typos
Posted

Yes, I noticed that when I looked through it also.  Strange, since I select "save as" and then select that file and it asks me if I want to replace it and I select Yes.  It should in theory save my bindings to that file.  I will try your suggestion in a little while.  Have to go out.  MANY THANKS!

Posted

I did that and it applied those settings to the game.  There were additional mappings not covered by the wizard, so I ended up re-mapped them all anyway.  Somehow in using the wizard all other game settings were reset to default.  I had to reconfigure all video, audio, and realism settings.  Even the info windows reverted to default. 

 

In the past I would save any changes to key bindings to both my custom file and the confUSER.ini file.  In future I will just save changes to the custom file.  More than likely, I hit a wrong button somewhere along the way and caused all this.

  • Like 1
Posted

Upon further reflection I realize that the game reset was not due to anything involving the wizard.  Rather that happened when I decided to delete the 1C folder in my troubleshooting efforts (well, duh!).  Anyway, somehow my saved file and the confUSER.ini file both were overwritten causing all this.  I don't know how but most probably something I did inadvertently.  I will keep a second copy of my saved file on the desktop as I should have been doing all along.  Many thanks for all the help and especially the patience.

  • Like 2
  • Upvote 1
  • Team Fusion
Posted
On 9/28/2022 at 5:04 AM, Mysliwiec said:

Upon further reflection I realize that the game reset was not due to anything involving the wizard.  Rather that happened when I decided to delete the 1C folder in my troubleshooting efforts (well, duh!).  Anyway, somehow my saved file and the confUSER.ini file both were overwritten causing all this.  I don't know how but most probably something I did inadvertently.  I will keep a second copy of my saved file on the desktop as I should have been doing all along.  Many thanks for all the help and especially the patience.

Hello Mysliwiec

 

Glad to hear you resolved your problem.  ?

 

No need to delete the entire 1C folder in documents... just delete the cache folder.

  • Like 2

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...