Jump to content

Problems with KEYBOARD.DIFF.LUA files after installation from scratch


Recommended Posts

Posted

Hi everyone!
I have installed DCS from scratch due to new OS (win 11). I have saved all joystick and keyboard bindings from the previous one. Important note: no hardware changes in the meantime.


So I reloaded the joystick profiles - no problem. Then I passed to the various keyboard.diff.lua, but nothing was loaded, everything was always in the default configuration.
Then I found, when exporting the keyboard assignments in HTML format, that the hash values associated with the individual commands have changed.
Example (Viggen plane) - extract from the keyboard.diff.lua saved by me (from the previous DCS installation):
 

["d3003pnilunilcd23vd1vpnilvunil"] = {
            ["added"] = {
                [1] = {
                    ["key"] = "1",
                    ["reformers"] = {
                        [1] = "LShift",
                    },
                },
            },
            ["name"] = "A1 Mode",
        },

thus the "old" hash for "A1 Mode" command was: d3003pnilunilcd23vd1vpnilvunil  

now in the new DCS installation the same command results like this

image.png

the hash value is a new one: d3002pnilunilcd23vd0vpnilvunil 

Therefore to have the assignment read correctly by the new DCS, I had to replace the old hash with the new one for "A1 mode" command, inside my keyboard.diff.lua backup file.

Same thing for many of the commands in the keyboard.diff.lua files saved by me from the previous installation.

Is there a less complex way to retrieve keyboard assignments? I have done a lot of customizations and having to do this hash remapping work is impossible... as well as thinking about reassigning all the commands from scratch...

Thanks in advance to anyone who can help me!

 

[sIGPIC][/sIGPIC]

___________________________________

Panavia Tornado GR4 is a real need for DCS

  • 3 months later...
Posted

@jetkid Can I ask what did you end up doing?

Did you have to do your controls re-binding again from zero? Do you use Joystick Gremlin or any such 3rd party software to try to solve the DCS loss of controller binding issue?

I ask because I am having troubles with DCS overwriting my configured bindings. I dont want to have to just keep re-doing them from zero.

MSI Z690 EDGE | i5 12600K | RTX 3070 TUF OC 8GB | Kingston Fury Renegade 32GB 3600MHz CL16 | Arctic Liquid Freezer II 360 |SilverStone 1000W Strider 80+ Platinum PSU | LG 34GN850 UWQHD 160Hz G-Sync HDR IPS 34in Monitor | Antlion Audio ModMic Uni-Directional Microphone with Beyerdynamic DT 770 PRO Closed Back Studio Headphones | Behringer Xenyx 302USB Mixer | Virpil T-50CM3 Throttle | DELANCLiP head tracking | Gunfighter Mk.III MCE Ultimate | Crosswind Pedals | W10

  • 3 months later...
Posted

Hi @Dallas88B

I tried several workarounds... but unfortunately nothing worked.

I had to merge diff files manually.

Not using any 3rd party SW, just my CH Control Manager

[sIGPIC][/sIGPIC]

___________________________________

Panavia Tornado GR4 is a real need for DCS

  • Recently Browsing   0 members

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