验证器
|
|
|
|
|
类型
|
Tool
|
作者
|
Jamie550
|
版本
|
Released - v1.32.2 for CK2 3.2.1
|
论坛/贴吧
|
Link
|
|
|
|
The Validator in action
The Validator is a utility tool for Windows, allowing to find all sorts of errors inside the game files. It has found numerous bugs, both in vanilla and in mods.
It is sometime the only way to locate the source of some random CTDs or some weird engine bugs.
Validator is updated regularly, and the number of false positives is constantly shrinking. If the Validator reports an error that you don't think is an error, first make sure it actually does work and then report it to the forum thread, where Jamie550 will make the necessary corrections as soon as practically possible. In a similar way, if you discover a bug that wasn't detected by the Validator and cost you some time, report it as well!
Features
- Check that the basic syntax is correct, and detect issues with brackets.
- Advanced checking of scopes, triggers, and effects syntax and validity.
- Checking of buildings, casus belli, characters, diseases, dynasties, and much more.
- Detects misspellings, invalid or duplicate IDs, and all kinds of typos.
- Detect missing flags.
- Warn on missing localizations.
- ...
Versions
Setup
Create a new scheme for your mod:
- Game Path: location of CK2game.exe. For instance: C:\Program Files (x86)\Steam\SteamApps\common\Crusader Kings II. To find it in Steam, right-click on Crusader Kings II in game library, go to "Local Files" tab, click "Browse Local Files", and copy the path from the explorer window.
- Mod name: this is the folder name of the mod inside ~\Documents\Paradox Interactive\Crusader Kings II\mod\. For instance with ~\Documents\Paradox Interactive\Crusader Kings II\mod\MyMod\, mod name would be MyMod.
- Select "Crusader Kings 2" in the dropdown.
It is possible to configure the external editor used to open files when double-clicking an issue.
Under Files/Options:
- Path (for Notepad++ this may be C:\Program Files (x86)\Notepad++\notepad++.exe)
- Command line options to jump to the faulty line (for Notepad++: {0} -n{1})
See also
- DidYouKnow.pdf in Validator directory, for advanced features.