小 (文本替换 - 替换“Category:Modding”为“Category:模组制作”) |
(08:09, 29 April 2020 Lillebror) |
||
第4行: | 第4行: | ||
| Status = Released - v1.32.2 for CK2 3.2.1 | | Status = Released - v1.32.2 for CK2 3.2.1 | ||
| Forum = [[forum:597480|Link]] | | Forum = [[forum:597480|Link]] | ||
| Workshop = | |||
}} | }} | ||
第75行: | 第76行: | ||
[[Category:模组制作]] | [[Category:模组制作]] | ||
{{ModdingNavbox}} | {{ModdingNavbox}} | ||
[[en:The Validator]] |
2020年12月25日 (五) 22:54的最新版本
验证器 | |
---|---|
类型 | Tool |
作者 | Jamie550 |
版本 | Released - v1.32.2 for CK2 3.2.1 |
论坛/贴吧 | Link |
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.
- The validator can be downloaded here: https://forum.paradoxplaza.com/forum/index.php?threads/the-validator-find-errors-quickly-and-with-minimal-pain.597480/
历史 | 角色 • 家族 • 省份 • 头衔 • 剧本 |
脚本 | 指令 • 条件 • 作用域 • 修正 • 事件 • 决议 |
常规 | 定义 • 游戏规则 • 另类开局 • 宗教 • 文化 • 政体 • 特质 • 血脉 • 科技 • 法律 • 建筑 • 宣战理由 • 朝贡国 • 单位 • 目标 • 疾病 • 死亡 • 荣誉头衔 • 社团 • 宝物 • 地图外政权 • 内阁成员 • 贸易路线 • 继承 • 奇观 • 称号 |
图像/音效/本地化 | 地图 • 图形 • 盾徽 • 肖像 • 界面 • 小地图 • 音乐 • 本地化 |
其他 | 故障排除 • 验证器 • 控制台指令 • 编辑游戏存档 • Steam创意工坊 • EU4转档器模组制作 |