Open Elesbaan70 opened 2 years ago
Can add tests to your checklist (at least run manual test once):
Can add tests to your checklist (at least run manual test once):
Here's what I tested:
@kvakvs If you weren't already aware, the original issue that prompted this was, as indicated in #1502, the inability to revise the save format without breaking older builds. While we don't support old versions, this still creates a problem for anyone (including ourselves) who wants to run test builds.
But since we don't support old versions, the intention is that once a feature is released to stable, the legacy code that writes data the old way gets removed. (The code to read the old way has to stay pretty much forever, though I imagine we'll identify exceptions on a case-by-case basis.)
I am converting this to draft, since TrafficManager.Util.Record
was not addressed.
Resolves #1502
This PR provides a new way to save data so that changes can be made to the model without breaking old savegames.
The complete task list for this project is at #1502.
Also see this wiki page: https://github.com/CitiesSkylinesMods/TMPE/wiki/Loading-and-Saving-Data