Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@the-phinet
Copy link
Contributor

@the-phinet the-phinet commented Oct 15, 2025

Game will ignore files explicitly requested through command line flags. This can be difficult to resolve, if you don't know it happens, especially when running in a sandbox.

Adds a bitfield cvar i_exit_on_not_found that controls if the engine should exit (or only warn) on file not being found.

  • REQUIRE_IWAD: exit if iwad not found
  • REQUIRE_FILE: exit if 'required' file is not found. This means file explicitly requested from commandline
  • REQUIRE_OPTFILE: exit if 'optional' file is not found. This means files from autoloads (or from -optfile flag)

Defaults to REQUIRE_IWAD|REQUIRE_FILE.

On exit, gives a message on what to set the flag to to disable specific error.

Access to this setting is given in launcher.
Added strings (not yet added to table, will be added if needed):
PICKER_FILELOADING: "File Loading"
OPTVAL_LAX: "Lax"
OPTVAL_STRICT: "Strict"

Imported from ZDoom/gzdoom#3237

@TehRealSalt TehRealSalt added the enhancement New feature or request label Oct 16, 2025
@TehRealSalt TehRealSalt self-requested a review October 22, 2025 02:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants