keeperfx
keeperfx copied to clipboard
Additional settings will break compatibility with old ones
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:
- Have default or custom settings from the master branch
- Build the code from PR #1088
- Install that version, start a level
- Press for example P to Pause or Esc for menu and notice something else will happen.
Related issue: https://github.com/dkfans/keeperfx/issues/3329
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