Now some Gameplay options CVars from ( https://zdoom.org/wiki/CVARs:Configuration ) are not saved in the .ini after GZDoom is restarted. So they only take effect until player quits the game. After player runs GZDoom again, player needs to set up this options again.
It would be nice for these CVars be saved in ini, so player doesn't have to set up them again on each game start.
I checked sv_dontcheckammo, sv_fastmonsters, sv_noautomap, sv_noautoaim. They are not saved.
GZDoom g3.3.2 - 2018-04-12 21:44:48 +0200 - SDL version
Save gameplay options to .ini
Moderator: GZDoom Developers
Re: Save gameplay options to .ini
At the moment dmflags and dmflags2 CVARs are not saved to config. Making them archived and no-init-call will solve this.
I guess one of the reasons to keep them permanent is other commands line options that use these CVARs.
Searching through codebase reveals other places where they can be altered indirectly.
I guess one of the reasons to keep them permanent is other commands line options that use these CVARs.
Searching through codebase reveals other places where they can be altered indirectly.
- m8f
-
- Posts: 1445
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Manjaro Linux
- Location: Siberia (UTC+7)
- Contact:
Re: Save gameplay options to .ini
I myself am mostly interested in sv_dontcheckammo.
Re: Save gameplay options to .ini
It's all or nothing, i.e. either every flag stored in dmflags2 CVAR will be saved or none.
Actually, this CVAR is not changed indirectly, so saving it won't have undesired side effects.
Probably it's still worth doing something with dmflags (without 2) to save both CVARs.
Actually, this CVAR is not changed indirectly, so saving it won't have undesired side effects.
Probably it's still worth doing something with dmflags (without 2) to save both CVARs.