Page 3 of 3

Re: SETUP

Posted: Sun Aug 02, 2015 12:10 am
by hidnplayr
Years have passed and the urge to store settings in .ini file have risen again.

I propose to commit a new program that loads settings from .ini and applies them to kernel at launch.
This will replace setup application and setup.dat

There is no gui, but settings can be easily changed with any text editor. If somebody feels the urge, they can still write a GUI.

system.ini would look like this:

Code: Select all

[system]
skin=		; for example: /sys/default.skn
volume=10
language=en	; Use ISO 639-1 language codes
keyboard=us	; Use ISO 3166-1 country codes  
speaker=on

[mouse]
speed=2
delay=10

[low-level]	; Low level access for applications
PCI=on
LBA=off

Re: SETUP

Posted: Sun Aug 02, 2015 1:00 am
by Pathoswithin
Years have passed and the urge to store settings in .ini file have risen again.
It spreads, like a plague, consuming everything on it's pass...

But I personally, have thirst to get rid of that annoying image, to just put kernel on disk or some folder.

Re: SETUP

Posted: Sun Aug 02, 2015 1:13 am
by hidnplayr
What does this have to do with my proposal? Do you agree, disagree or just don't care?

Re: SETUP

Posted: Sun Aug 02, 2015 1:45 am
by Pathoswithin
I wander, can I set the 1680x1050 video mode through "vbemode" setting? I did not manage to load KOS with extended primary loader, so maybe this will work?

Re: SETUP

Posted: Sun Aug 02, 2015 1:54 am
by Leency
Current idea is just to set all personal configuration into single ini file that can be easily changed by any program: when you set desktop image, change skin, volume, mouse settings, etc - all this points will be saved into ini file and loaded at system start-up.

I think that is very good undertaking.

Re: SETUP

Posted: Sun Aug 02, 2015 2:39 am
by Pathoswithin
... yes, it should have been renamed to "Settings", "Setup" is totally misleading.
Is it so bad, that can not be upgraded?

Re: SETUP

Posted: Wed Oct 21, 2015 3:00 am
by Pathoswithin
revision #5854
Using system.ini for settings.

Re: SETUP

Posted: Wed Oct 21, 2015 3:57 pm
by Leency
То, о чем я давно мечтал. Не хватает еще настройки для скина и обоев.
Запилил сохранение и загрузку настроек мыши через system.ini viewtopic.php?f=48&t=3095&p=62822#p62822

Re: SETUP

Posted: Wed Dec 16, 2015 4:54 pm
by Leency
rev #5973
Apply double_click_delay setting from ini file.

Re: SETUP

Posted: Thu Sep 28, 2017 12:50 pm
by Leency
Вынос настройки языка в INI файл сейчас работает не верно.
По-умолчанию пункт language=en нужно удалить из SYSTEM.INI,
в этом случае при запуске SETUP, он должен браться из сисфункции 26.5.

Сейчас же получается нужно дублировать SYSTEM.INI для каждого языка в папке svn://data/, зачем, если ядро и так компилируется с определенным языком.

Из-за этого уже непрвильный язык отображается в программе DRVINST (я потратил какое-то время, чтобы понять в чем проблема).

Re: SETUP

Posted: Sun Mar 10, 2019 2:53 pm
by Leency
Pathoswithin
Напоминаю про баг выше, его нужно исправить.

Re: SETUP

Posted: Tue Mar 12, 2019 3:52 am
by dunkaist
Leency,
I fixed this in the kernel, r7601.
Remove 'language=en' from system.ini if my fix did what you asked for.

Re: SETUP

Posted: Tue Mar 12, 2019 2:47 pm
by Leency
Thanks a lot! Now it is fixed.