The International Simutrans Forum

 

Author Topic: Possible typo in saving code  (Read 279 times)

0 Members and 1 Guest are viewing this topic.

Offline Rollmaterial

  • Devotee
  • *
  • Posts: 624
  • OS: Windows 10
  • Languages: EN, FR, DE, FI, SE
Possible typo in saving code
« on: December 26, 2020, 11:57:19 PM »
When saving, the new save file is created with the extension .sv_ instead of .sve. The file itself is fine, it loads normally after renaming.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20762
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Possible typo in saving code
« Reply #1 on: December 27, 2020, 12:45:50 AM »
When saving, the new save file is created with the extension .sv_ instead of .sve. The file itself is fine, it loads normally after renaming.

Thank you for the report. Saving as *.sv_ is part of a new mechanism implemented in Standard and recently ported to Extended to prevent saved game corruption: the idea is that the file is written to *.sv_ and, only after the save has completed successfully is it then renamed to *.sve. Unfortuantely, there can sometimes be problems with renaming the file (and nobody has worked out quite why).

May I ask what operating system that you are running?

Offline Rollmaterial

  • Devotee
  • *
  • Posts: 624
  • OS: Windows 10
  • Languages: EN, FR, DE, FI, SE
Re: Possible typo in saving code
« Reply #2 on: December 27, 2020, 12:54:14 AM »
I run Windows 10.

Edit: Renaming seems to work with the current nightly.
« Last Edit: December 28, 2020, 12:05:40 AM by Rollmaterial »