Validation Checks

From Civilization V Wiki

Jump to: navigation, search

This page describes the various checks that are performed whenever mods are activated. These checks prevent known instabilities from occurring on a user's machine. If a validation check does not succeed the user is prompted with a warning dialog that contains information about the check and what went wrong. If the check is not severe, the user will have the ability to ignore the error and continue.


Contents

Currently implemented

Database Foreign Key Validation

Severity: Ranges from trivial to severe depending on the key.
On Fail: Warn user of error and allow them to continue.
Tests for the existence of all non-null foreign keys in the gameplay database.

File Existence

Severity: Critical
On Fail: Block user from going any further and require that the mod in question is disabled.
Tests for the existence of all referenced files used by the mod.

Audio References

Severity: Minor (but due to a crash bug is currently Severe)
On Fail: Warn user of error and allow them to continue.
Since the audio system manages its own files, the FK validation step will not verify that audio keys are valid. This step ensures that all AS2D_ and SND_ keys exist in the audio system.

Proposed Checks

None at the moment.

Personal tools