The International Simutrans Forum

 

Author Topic: settings.xml  (Read 7596 times)

0 Members and 1 Guest are viewing this topic.

Offline z9999

  • Devotees (Inactive)
  • *
  • Posts: 848
settings.xml
« on: April 13, 2009, 08:41:31 AM »
This is not a bug report but a kind of request.

Original simutrans can't read settings.xml of Simutrans-Experimental.
So, if once we played Simutrans-Experimental, next time original simutrans always crash when starting.
So, I must delete settings.xml every time.

This is very frustrating for me. Because this file include many user settings, and I must set them again.
So, currently I changed the attribute of settings.xml as read-only. This works well.
But if possible, please consider not to destroy the original version of settings.xml.
Thank you.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18425
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: settings.xml
« Reply #1 on: April 13, 2009, 10:26:49 AM »
Ahh, yes, I see. Perhaps a solution could be to rename it to settings-experimental.xml, so that it leaves the settings.xml for Simutrans-Standard in tact?

Edit: Suggestion incorporated into 2.1, and a bug relating to reading from settings.xml also fixed.
« Last Edit: April 13, 2009, 02:45:35 PM by jamespetts »

Offline whoami

  • Devotees (Inactive)
  • *
  • Posts: 693
Re: settings.xml
« Reply #2 on: April 13, 2009, 07:23:36 PM »
As the savegames are also incompatible, it would make sense to separate the entire directory tree, but allow ST-exp to load savegames from standard ST.

Alternatively, the user can change the parameter for single user install, so stuff will be kept under the ST-exp installation.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18425
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: settings.xml
« Reply #3 on: April 13, 2009, 07:34:07 PM »
Hmm, how do you envisage this working? Save games are only incompatible in one direction: i.e., Simutrans-Experimental can load Simutrans-Standard games, but Simutrans-Standard cannot load Simutrans-Experimental games. How would you suggest that things be organised?

Offline whoami

  • Devotees (Inactive)
  • *
  • Posts: 693
Re: settings.xml
« Reply #4 on: April 14, 2009, 07:08:08 PM »
What I meant: store ST-exp-specific files into a different structure, e.g. under "My Documents\Simutrans-Experimental". This refers to settings and savegames. ST-exp should still include the settings for standard ST (at least "My Documents\Simutrans\simuconf.tab"), and include its savegames into the list of loadable savegames (same for maps).

This should support alternating use of both programs.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18425
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: settings.xml
« Reply #5 on: April 16, 2009, 10:51:09 PM »
Hmm, that might get complicated. I shall have to consider that further.