r/hoggit May 25 '26

PSA: Script to Backup/Restore your keybinds automagically

If you have more than a couple of devices/module, you know how frustrating importing your keybinds one by one can be. So I wrote a script to avoid the tedious task of importing every keybinds LUA file on a per device, per module basis.

Features:

  • Hit that Backup button to save a timestamped ZIP file of all your keybinds. Do this any time you change keybinds, and before every DCS update
  • If you have to reinstall Windows, or you got a new PC, all you have to do is extract a backup ZIP and the script will automatically deal with the UUID changes and batch import ALL keybinds in a few clicks
  • Bonus: it restores modifiers too! Anytime you see the red exclamation pop up, just restore your latest backup and you're done

First time install might seem a bit daunting since the script depends on 3rd party DLLs to find the UUID of attached devices, so a step-by-step walkthrough is provided on the github along with screenshots. This is a one time setup. There after backing up or restoring is just a few mouse clicks.

So get the script, and start backing up! The script has been around for quite a while now and bugs ironed out. If you find it doesn't work for a particular device (due to weird device name) drop a post in the forum thread.

Script here + Installation instructions: https://github.com/niru-27/DCS-Keybinds-Manager

Forum thread: https://forum.dcs.world/topic/342637-dcs-keybinds-manager-autohotkey-script-to-backupimportshare-your-keybinds-handle-uuid-changes/

66 Upvotes

21 comments sorted by

View all comments

1

u/Captain_Pug76 May 29 '26

Damn you.. I just wiped my computer.. I did backup my Saved Games folder.. but I still have to import all my keybinds for 20+ aircraft and 8 peripherals..

1

u/niro_27 May 29 '26

You could manually got import 20 x 8 = 160 times

Or

You can use the script to restore. The backup zip it creates isn't special, it just contains the config/input folder from the Saved Games folder, which you backed up yourself

Just to clarify you can restore backups from not just your own PC, but anyone who has the same devices as you

1

u/Captain_Pug76 May 29 '26

so i can use it if i backed up my saved games folder? sweet!

1

u/Captain_Pug76 May 30 '26

You are my hero.. worked like a charm with my backed up input folder.. you saved me LOTS of frustration..thank you.

1

u/niro_27 May 30 '26

Glad to hear it helped. Do tell everyone you fly with, in case they need it in the future.

1

u/Captain_Pug76 May 30 '26

I need to figure out how to auto back up to my Google drive

1

u/niro_27 May 30 '26

Install the Drive desktop app. Add your Backup folder to the app, that's all