Jump to content

Recommended Posts

Posted (edited)

You miss the point. You can just copy/Paste the whole aircraft folder, or part of the files.

The *.diff.lua is the actual configuration difference to the default config. It holds any change you made.

No need, to "load" that individually through the menu.

 

I usually take care to copy the individual aircraft's config folders and that is basically a copy/paste per module and not hundreds of imports.

Of course, I make a backup of the target config folder each time, just in case something happens. Though I never had trouble with config since the introduction of the diff.lua

 

The save/load feature is more an easy way to copy basic setups between different modules and change setups with your buddies, as it creates a file not "assigned" to a specific controller/USB device.

 

And even that is solved by a simple "rename" of the xyz.diff.lua to the new USB device name (ABC) so it is ABC.diff.lua ;)

 

P.S. as I said earlier in this thread, a overhaul, including a save all/load all or better individually selectable save/load function would be a nice to have.

Edited by shagrat

Shagrat

 

- Flying Sims since 1984 -:pilotfly:

Win 10 | i5 10600K@4.1GHz | 64GB | GeForce RTX 3090 - Asus VG34VQL1B  | TrackIR5 | Simshaker & Jetseat | VPForce Rhino Base & VIRPIL T50 CM2 Stick on 200mm curved extension | VIRPIL T50 CM2 Throttle | VPC Rotor TCS Plus/Apache64 Grip | MFG Crosswind Rudder Pedals | WW Top Gun MIP | a hand made AHCP | 2x Elgato StreamDeck (Buttons galore)

Posted
You miss the point. You can just copy/Paste the whole aircraft folder, or part of the files.

The *.diff.lua is the actual configuration difference to the default config. It holds any change you made.

No need, to "load" that individually through the menu.

 

I must iindeed be missing the point - but I still don't get what you are doing?

 

I have all my controller assignment profiles for evey module backed up. When I do a fresh install, or an update wipes the assignments, I then copy these assignment files into the Saved Games\DCS\Config\Input\xxmodule folders.

 

I then have to go into each module's assignments section of the GUI and load the profile for each controller and module - because they always load defaults. In fact, first I have to clear the defaults, then load the profiles, which are, as you say, the diff.lua files.

 

Are you saying you can avoid this?

Rig: Asus TUF GAMING B650-PLUS; Ryzen 7800X3D ; 64GB DDR5 5600; RTX 4080; VPC T50 CM2 HOTAS;

Pimax Crystal Light

I'm learning to fly - but I ain't got wings

With my head in VR - it's the next best thing!

Posted

Brixmis, he's saying that when you 'load' a profile in the menu, it's really just overwriting the files, or the data in them, for that aircraft. He told you where to find the relevant files so that you can back them up.

 

If my understanding is correct, once you initially configure an aircraft, you can copy these files to one side, and instead of loading individual profiles you can simply overwrite the 'main' file with the backup you made.

 

So, in theory you should be able to configure one install, then use those files to overwrite the other install, only having to do it once. Then, with your backup of these files, you can just copy/paste anytime you need to restore the files.

 

It's a workaround that accomplishes something along the lines of what we're asking for.

Де вороги, знайдуться козаки їх перемогти.

5800x3d * 3090 * 64gb * Reverb G2

Posted (edited)

I assumed he was talking about the Saved Game aircraft folders (as I was) - but I have now found where he is talking about, in the mods folder.

 

EDIT: Only it doesn't - because there are no diff.lua files in there. Maybe I can put them in there - have no idea and frankly am past caring now.

Edited by Brixmis

Rig: Asus TUF GAMING B650-PLUS; Ryzen 7800X3D ; 64GB DDR5 5600; RTX 4080; VPC T50 CM2 HOTAS;

Pimax Crystal Light

I'm learning to fly - but I ain't got wings

With my head in VR - it's the next best thing!

Posted (edited)

Ok, let us start from scratch.

When you install a module, there is a "default" config lua file that contains the standard button assignment for a) keyboard b) USB Game controls (some like A-10C can recognize HOTAS Warthog and set up accordingly) and c) other controls, like mouse, TrackIR.

I will only focus on the USB-Game controls, b) here. The keyboard etc. are similar, just different folders.

At game start DCS loads the default configuration. When you go to the control setup and change anything, the first time for a module, a new file is created.

Say the module is "ABC-Plane"

Let's call the controller you configure "myjoystick" (label on the column).

Now the file created under \saved games\Eagle Dynamics\DCS World\Config\Input\ABC-Plane\Joystick\abcd-1234-xyz-1234-qwert-myjoystick.diff.lua where the cryptical stuff is the USB Device ID.

 

This "differential lua" contains any change to the config default. For example if you delete a button assignment, it stores the "delete button x" action. If you assign a button, it stores the new assignment in the diff.lua etc.

 

Now whenever the default config changes, for example a new button is added, the diff.lua adjusts all settings you ever changed.

 

So by saving the folder structure under config/input/ you can restore or copy all folders, or down to a single diff.lua file as needed.

 

What you should verify is if you still have old lua configs in addition to the new .diff.lua files.

 

I would delete all none .diff.lua files.

 

If for any reason your USB controller device ID changes (replacement or new joystick) you simply can edit one button and than identify the new diff.lua file. Now copy the name from the new and rename the old file.

 

In any case before overwriting files you should make a copy, just in case...

Edited by shagrat

Shagrat

 

- Flying Sims since 1984 -:pilotfly:

Win 10 | i5 10600K@4.1GHz | 64GB | GeForce RTX 3090 - Asus VG34VQL1B  | TrackIR5 | Simshaker & Jetseat | VPForce Rhino Base & VIRPIL T50 CM2 Stick on 200mm curved extension | VIRPIL T50 CM2 Throttle | VPC Rotor TCS Plus/Apache64 Grip | MFG Crosswind Rudder Pedals | WW Top Gun MIP | a hand made AHCP | 2x Elgato StreamDeck (Buttons galore)

  • Recently Browsing   0 members

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