by Enjay » Fri Jan 24, 2025 5:21 pm
I mentioned this in another thread entirely some months ago (it was a side thing that came up in a non-bug related thread).
I also suspect that, given that it is quite specific to this particular CVAR, it might be deliberate. However, I'll mention it here to at least find out if it was intended or not.
If an IPK3 for a stand-alone game has a DEFCVARS lump with the following line:
set queryiwad "false"
the above setting will be ignored and the IWAD picker will be shown when the game is run. Not surprisingly, when the game creates an ini, the newly generated ini has:
queryiwad=true
So, the IWAD picker will show up every time the game is run until it is disabled by the user.
There is only one IPK3 in the game folder and the only IWAD/IPK3 listed in the IWAD picker dialogue is the one for the game. So, I'd much rather the game just started without prompting the user to pick an IWAD/IPK3 via the IWAD selection dialogue (complete with inappropriate Doom screenshot in its banner).
I think the last version of GZDoom where it worked was 4.8. So, it's been a while.
I can "fix" it by providing a bare-bones ini file that has queryiwad set to false in it, but that starts to defeat the purpose of DEFCVARS. i.e. if I have to provide an ini for some things, I might as well put them all in an ini and not bother with a DEFCVARS lump at all.
So, anyway, was this an intended change, or is it a bug?
If it is deliberate, is there an approved method of making the IWAD dialogue not show up for a stand-alone game?
I mentioned this in another thread entirely some months ago (it was a side thing that came up in a non-bug related thread).
I also suspect that, given that it is quite specific to this particular CVAR, it might be deliberate. However, I'll mention it here to at least find out if it was intended or not.
If an IPK3 for a stand-alone game has a DEFCVARS lump with the following line:
[c]set queryiwad "false"[/c]
the above setting will be ignored and the IWAD picker will be shown when the game is run. Not surprisingly, when the game creates an ini, the newly generated ini has:
[c]queryiwad=true[/c]
So, the IWAD picker will show up every time the game is run until it is disabled by the user.
There is only one IPK3 in the game folder and the only IWAD/IPK3 listed in the IWAD picker dialogue is the one for the game. So, I'd much rather the game just started without prompting the user to pick an IWAD/IPK3 via the IWAD selection dialogue (complete with inappropriate Doom screenshot in its banner).
I think the last version of GZDoom where it worked was 4.8. So, it's been a while.
I can "fix" it by providing a bare-bones ini file that has queryiwad set to false in it, but that starts to defeat the purpose of DEFCVARS. i.e. if I have to provide an ini for some things, I might as well put them all in an ini and not bother with a DEFCVARS lump at all.
So, anyway, was this an intended change, or is it a bug?
If it is deliberate, is there an approved method of making the IWAD dialogue not show up for a stand-alone game?