keeperfx icon indicating copy to clipboard operation
keeperfx copied to clipboard

Additional settings will break compatibility with old ones

Open Loobinex opened this issue 4 years ago • 2 comments

What will happen is that all settings get scrambled (or shifted down the list).

Desired behavior would be for the game to recognize the settings format has changed, and either: A) Pick up the default setting for the new one and keep the other settings B) Delete settings.dat restoring all settings to default.

Steps to reproduce:

  1. Have default or custom settings from the master branch
  2. Build the code from PR #1088
  3. Install that version, start a level
  4. Press for example P to Pause or Esc for menu and notice something else will happen.

Loobinex avatar Jul 10 '21 20:07 Loobinex

Related issue: https://github.com/dkfans/keeperfx/issues/3329

walt253 avatar Oct 11 '24 03:10 walt253

We have to put settings into toml file instead of settings.dat with some sane names. So

[shortcuts]
navigate_heart = "h"

will be future proof until we rename some of these actions

SimLV avatar Oct 14 '24 20:10 SimLV