Jump to content

Recommended Posts

Posted

I just logged out of DCS for about 1 minute. Logged back in and for no apparent reason my Joystick key bindings have all gone. I saved my saved games file a couple of weeks ago because they disappeared then and magically reappeared. I have also checked my current saved games file and they appeared to be all there. What do I have to do to restore these files? Thanks.

Posted

@huggy98 There is a high chance that Windows has changed the UUID of your peripherals, hence breaking the "link" between your DCS .diff.lua files and your gaming devices. @niru27's software should help with that.

---

Posted
3 hours ago, niru27 said:

You can use my script to automagically restore from your backup: 

Hi m8. Thanks for the reply. I'm not too good at stuff like this. I got my bindings back btw, by doing a long repair but I'd like to use this in future. I have installed autohotkey and your keybinds manager file. I extracted it and I clicked on niro;s keybind manager and I get an error masage.

 

Niro's DCS Keybinds Manager.ahk 31_03_2025 5_25_08 PM.png

Posted

@huggy98 We'll do this manually, then. Please attach:

  • Your "dcs" log from "Saved Games/DCS/Logs"
  • A zip containing your Saved Games/DCS/Config/Input" folder.

I'll rename your files then will send you the resulting Input folder.

---

Posted (edited)

Hi guys

 

I have this problem after using Autohotkeys.

 

First the result of operations AutoHotKeys.

 

Second the original

 

Screenshot 2025-03-31 125644.jpg

Screenshot 2025-03-31 125918.jpg

Edited by lorfar

"I told Orville and i told Wilbur, that thing will never fly" The last fomous words

 

[sIGPIC][/sIGPIC]

Posted
2 hours ago, Flappie said:

@huggy98 We'll do this manually, then. Please attach:

  • Your "dcs" log from "Saved Games/DCS/Logs"
  • A zip containing your Saved Games/DCS/Config/Input" folder.

I'll rename your files then will send you the resulting Input folder.

Hi m8. Thanks for your help. I really appreciate it. 

Logs.zip Input.zip

  • Like 1
Posted

You're welcome.

I couldn't find any issue in your Input archive. According to your log file, your devices UUIDs are:

[Saitek Pro Flight X-56 Rhino Stick {AC13A570-BEED-11ef-8001-444553540000}]
[Saitek Pro Flight X-56 Rhino Throttle {C26F37D0-BEED-11ef-8004-444553540000}]

And your .diff.lua filenames match, which means your .diff.lua files should be recognized by DCS, and therefore your custom keybinds should be present in the Controls menu. For the sake of it, I removed some obsolete .diff.lua files I found, but I'm pretty sure it won't change anything for you.

 

DCS looks for your .dff.lua files in "c:/users/huggy/saved games/dcs/config/input", so please make sure this is where your custom keybinds are stored.

Input2.zip

  • Like 1

---

Posted
7 hours ago, Flappie said:

You're welcome.

I couldn't find any issue in your Input archive. According to your log file, your devices UUIDs are:

[Saitek Pro Flight X-56 Rhino Stick {AC13A570-BEED-11ef-8001-444553540000}]
[Saitek Pro Flight X-56 Rhino Throttle {C26F37D0-BEED-11ef-8004-444553540000}]

And your .diff.lua filenames match, which means your .diff.lua files should be recognized by DCS, and therefore your custom keybinds should be present in the Controls menu. For the sake of it, I removed some obsolete .diff.lua files I found, but I'm pretty sure it won't change anything for you.

 

DCS looks for your .dff.lua files in "c:/users/huggy/saved games/dcs/config/input", so please make sure this is where your custom keybinds are stored.

Input2.zip 58.63 kB · 2 downloads

My key binds are good atm. They were restored after I did a full repair which I decided to do because whilst trying to fix them I made it wose and managed to delete all keyy, mouse and joystick bindings. Even the default ones. So now I want to be able to fix it properly when it happens again. Just so I dont mess up. I delete existing saved games input file and then replace it with the input2 zip file you sent me back?

Posted
12 hours ago, huggy98 said:

 

Niro's DCS Keybinds Manager.ahk 31_03_2025 5_25_08 PM.png

Please follow the instructions on the Github

9 hours ago, lorfar said:

I have this problem after using Autohotkeys.

First the result of operations AutoHotKeys.

Second the original

Screenshot 2025-03-31 125644.jpg

Screenshot 2025-03-31 125918.jpg

What's the problem? Seems like your devices names got changed.

 

7 hours ago, Flappie said:

You're welcome.

I couldn't find any issue in your Input archive. According to your log file, your devices UUIDs are:

[Saitek Pro Flight X-56 Rhino Stick {AC13A570-BEED-11ef-8001-444553540000}]
[Saitek Pro Flight X-56 Rhino Throttle {C26F37D0-BEED-11ef-8004-444553540000}]

Are current UUID's of connected devices always logged by DCS? In my script I have to use some DLLs to get that info

  • Solution
Posted (edited)
20 minutes ago, huggy98 said:

My key binds are good atm. They were restored after I did a full repair which I decided to do because whilst trying to fix them I made it wose and managed to delete all keyy, mouse and joystick bindings. Even the default ones. So now I want to be able to fix it properly when it happens again. Just so I dont mess up. I delete existing saved games input file and then replace it with the input2 zip file you sent me back?

I see. Then I'm not sure what happened to you. Anyway, you have a backup, which is a very good thing.

20 minutes ago, huggy98 said:

So now I want to be able to fix it properly when it happens again. Just so I dont mess up. I delete existing saved games input file and then replace it with the input2 zip file you sent me back?

Never delete at first. What you want to do is:

  1. Go to "Saved Games/DCS/Config".
  2. Rename "Input" into "Input_old".
  3. Unzip the content of "Input2.zip" in this Config folder.
  4. Run DCS and check your custom keybinds.
  5. If all your custom keybinds are present, you can now delete "Input_old".

 

6 minutes ago, niru27 said:

Are current UUID's of connected devices always logged by DCS? In my script I have to use some DLLs to get that info

Yes they are, as long as they are connected when DCS starts.

Edited by Flappie
  • Like 1

---

Posted
5 minutes ago, Flappie said:

Yes they are, as long as they are connected when DCS starts.

Ah, good to know. One day I might rewrite the script to fetch the UUID from here instead of external DLL

  • Like 1
Posted
3 hours ago, Flappie said:

I see. Then I'm not sure what happened to you. Anyway, you have a backup, which is a very good thing.

Never delete at first. What you want to do is:

  1. Go to "Saved Games/DCS/Config".
  2. Rename "Input" into "Input_old".
  3. Unzip the content of "Input2.zip" in this Config folder.
  4. Run DCS and check your custom keybinds.
  5. If all your custom keybinds are present, you can now delete "Input_old".

 

Yes they are, as long as they are connected when DCS starts.

Thanks m8. You're a Legend!👍

 

  • Like 1
  • Recently Browsing   0 members

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