The support forum is temporarily read-only. For urgent requests, please email contact[at]psyberia.net

user_settings.conf file possible bug?

Something wrong? Report it here
Post Reply
alexlong
Posts: 660
Joined: Fri Jul 31, 2015 8:06 am
Location: Russia

user_settings.conf file possible bug?

Post by alexlong »

Hi.
AlpineQuest 2.2.3.
4pda Russian users wrote me they have found a strange user_settings.conf file behavior.
The command doesn't run if the line is at the very beginning of a file.
core locale=en doesn't work:
Not working.jpg
(69.47 KiB) Downloaded 1608 times
But everything is OK if it is at the second line:
Working.jpg
(69.88 KiB) Downloaded 1608 times
Another examlpe.
core.submenu.force_exit_button=1 does not work
core.locale=en works
Both.jpg
(68.98 KiB) Downloaded 1608 times
Psyberia-Support
Site Admin
Posts: 6407
Joined: Wed Apr 14, 2010 9:41 pm

Re: user_settings.conf file possible bug?

Post by Psyberia-Support »

Thanks Alex for this report.
However I haven't been able to reproduce it.

Could you send me your exact user setting file so I can try it?
Also, when the application starts, it list in the log file all user settings found. Can you check if you see the user setting displayed in the log file when it's in the first line?

Sorry for the troubles
Do you like AlpineQuest ? Leave a small comment on Google Play !
alexlong
Posts: 660
Joined: Fri Jul 31, 2015 8:06 am
Location: Russia

Re: user_settings.conf file possible bug?

Post by alexlong »

Hi.
I have attached one of my user settings files.
core.submenu.force_exit_button=1 is in the first line and it is doesn't work. As soon as I place it to the secont line it begins working.
Attachments
user_settings.zip
(882 Bytes) Downloaded 553 times
Psyberia-Support
Site Admin
Posts: 6407
Joined: Wed Apr 14, 2010 9:41 pm

Re: user_settings.conf file possible bug?

Post by Psyberia-Support »

Thanks Alex,
This is because your files has 3 special invisible characters at the very beginning, impacting the first line (the BOM).
I'll make sure the application ignore them and read the file correctly.
Do you like AlpineQuest ? Leave a small comment on Google Play !
alexlong
Posts: 660
Joined: Fri Jul 31, 2015 8:06 am
Location: Russia

Re: user_settings.conf file possible bug?

Post by alexlong »

Hi, François.
I made simple txt files, put some data and saved them as user_settings.conf files in 65001 (UTF-8).
Psyberia-Support
Site Admin
Posts: 6407
Joined: Wed Apr 14, 2010 9:41 pm

Re: user_settings.conf file possible bug?

Post by Psyberia-Support »

I know, it's not your fault. I think it's due to the text editor you use that put those characters automatically.
Here is your file without them, it will work fine until you don't edit it.
But this will be find in next beta.
Attachments
user_settings_no_bom.zip
(927 Bytes) Downloaded 551 times
Do you like AlpineQuest ? Leave a small comment on Google Play !
alexlong
Posts: 660
Joined: Fri Jul 31, 2015 8:06 am
Location: Russia

Re: user_settings.conf file possible bug?

Post by alexlong »

Do I get you right the problem will disappear in the next beta i.e. I can use my previous files and everything will be OK?
Usually I use AkelPad text editor or Notepad++
As far as I remember I did not see this problem before. Before I used simple user_setting files with the text in the first line and everything seemed to be OK (probably).
Now I use more complicated files with comments in the first lines so I did not know about the problem, 4pda users told me about it.
Psyberia-Support
Site Admin
Posts: 6407
Joined: Wed Apr 14, 2010 9:41 pm

Re: user_settings.conf file possible bug?

Post by Psyberia-Support »

Yes it will work fine with the next beta, even if you use your previous files.
Do you like AlpineQuest ? Leave a small comment on Google Play !
Post Reply