The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: T0m4S on November 19, 2009, 05:03:06 pm

Title: [bug? r2873] Problems with the configuration on settings.xml
Post by: T0m4S on November 19, 2009, 05:03:06 pm
I'm using the last revision on the svn repository: r2873 and pak128-1.4.5 under Gentoo Linux.

The problem is that somehow the new version when it saves the file settings.xml it does it wrongly or in a strange way. Because as you can see on the first screenshot when you start the game it's with day/night mode activated and as you see on the second screenshot it shows the windows close buttons, etc. on the right as if I had that option enabled on simuconf.tab and it also starts with hidden trees... I attached my settings.xml file. Anyway if i delete it and start the game as usual for the first time it asks for the language and shows everything correctly, but if you close it and then open it again it happens this again... I don't know if i did something wrong and it's normal that this happens or whether it's a bug...


(http://img99.imageshack.us/img99/8708/simscr00.th.png) (http://img99.imageshack.us/i/simscr00.png/)


(http://img689.imageshack.us/img689/3852/simscr01.th.png) (http://img689.imageshack.us/i/simscr01.png/)
Title: Re: [bug? r2873] Problems with the configuration on settings.xml
Post by: prissi on November 19, 2009, 08:56:01 pm
This version saved all bool as true, regardless of their value ...
Title: Re: [bug? r2873] Problems with the configuration on settings.xml
Post by: T0m4S on November 19, 2009, 09:17:19 pm
It's solved now on r2875. Thanks prissi :)
Title: Re: [bug? r2873] Problems with the configuration on settings.xml
Post by: z9999+ on November 20, 2009, 04:00:18 am
I tested r2875, but I think still there is a problem.

After bool tags, there is one NUL charactor.
Quote
<bool>false</bool>0x0A 0x00 0x20 0x20<i8>0</i8>