huggy98 Posted March 31 Posted March 31 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.
niru27 Posted March 31 Posted March 31 You can use my script to automagically restore from your backup: 2
Flappie Posted March 31 Posted March 31 @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. ---
huggy98 Posted March 31 Author Posted March 31 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.
Flappie Posted March 31 Posted March 31 @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. ---
lorfar Posted March 31 Posted March 31 (edited) Hi guys I have this problem after using Autohotkeys. First the result of operations AutoHotKeys. Second the original Edited March 31 by lorfar "I told Orville and i told Wilbur, that thing will never fly" The last fomous words [sIGPIC][/sIGPIC]
huggy98 Posted March 31 Author Posted March 31 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 1
Flappie Posted March 31 Posted March 31 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 1 ---
huggy98 Posted March 31 Author Posted March 31 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?
niru27 Posted March 31 Posted March 31 12 hours ago, huggy98 said: 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 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 Flappie Posted March 31 Solution Posted March 31 (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: Go to "Saved Games/DCS/Config". Rename "Input" into "Input_old". Unzip the content of "Input2.zip" in this Config folder. Run DCS and check your custom keybinds. 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 March 31 by Flappie 1 ---
niru27 Posted March 31 Posted March 31 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 1
huggy98 Posted March 31 Author Posted March 31 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: Go to "Saved Games/DCS/Config". Rename "Input" into "Input_old". Unzip the content of "Input2.zip" in this Config folder. Run DCS and check your custom keybinds. 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! 1
Recommended Posts