首页所有页面

验证器

验证器
类型 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

Validator Vanilla
v1.30.3 Patch 3.1.X
v1.27.3 Patch 2.8.X
v1.22.8 Patch 2.7.2
v1.20.3 Patch 2.7.1
v1.18.6 Patch 2.6.X
v1.15.6 Patch 2.5.X
v1.12 Patch 2.4.5

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.
相关页面 (63)

EU4转档器模组制作EffectsPatch 2.4.5Patch 2.5.XPatch 2.6.XPatch 2.7.1Patch 2.7.2Patch 2.8.XPatch 3.1.XScopesSteam创意工坊Triggers事件模组制作作用域修正内阁成员模组制作决议模组制作剧本模组制作单位模组制作历史模组制作另类开局模组制作图形模组制作地图外政权模组制作地图模组制作头衔模组制作奇观模组制作宗教模组制作定义宝物模组制作宣战理由模组制作家族模组制作小地图模组制作建筑模组制作指令控制台指令政体模组制作故障排除文化模组制作朝贡国类型模组制作本地化条件模组制作死亡模组制作法律模组制作游戏规则模组制作特质模组制作界面模组制作疾病模组制作目标模组制作盾徽模组制作省份模组制作社团模组制作科技模组制作称号模组制作继承模组制作编辑游戏存档肖像模组制作脚本荣誉头衔模组制作血脉模组制作