Openrct2: Old version removes newly added settings

Created on 21 Jun 2018  路  3Comments  路  Source: OpenRCT2/OpenRCT2


OS: Windows 10
Version: 0.2.0
Commit/Build: c640427


I both use 0.2.0 and 0.1.2 because I have to take a screenshot with korean scenario text correctly, to avoid #7533.
But after I use 0.1.2, new configurations (such as Virtual floor, Twitch API URL) are gone. It's very uncomfortable for me.

I have doubt if it will be enhanced in next master version.

Steps to reproduce:

  1. Run the latest develop version, such as 0.2.0
  2. Set Virtual floor setting to None or Transparent, which is not default. Or input Twitch API URL.
  3. Terminate game, and rollback to 0.1.2
  4. Run game once.
  5. Update game to 0.2.0 again
  6. Run game again, then Virtual floor setting and Twitch API URL settings are gone.
enhancement technical restriction

Most helpful comment

@AaronVanGeffen I think he's asking if the loading scheme can be changed so it ignores invalid/unknown settings rather than stripping them from the config.

All 3 comments

I'm afraid this is not going to change, as the config loading routine will only load settings it recognises. We certainly cannot change this retroactively for older versions.

I agree #7533 should be fixed, though. I'd do it myself, but I'm not a Windows user.

This issue, however, I'm inclined to close. I don't see this behaviour changing anytime soon.

As a workaround you could keep a copy of your settings and redirect the older version with --user-data-path. If you don't change settings often, maybe you could mark config.ini as read-only.

@AaronVanGeffen I think he's asking if the loading scheme can be changed so it ignores invalid/unknown settings rather than stripping them from the config.

Was this page helpful?
0 / 5 - 0 ratings