外观
核心固定记录值域速查
状态:Authoritative Reference v1 / Semantic Closure Incomplete
本页汇总 Header、Country、Weather、Country Strategy 中已经有直接证据支持的常用数值语义。
Header MapSource
Header +0x04:
| Value | 语义 | 状态 |
|---|---|---|
0 | BTL 内嵌 Terrain section | Confirmed |
1 | 外部地图来源;不在 BTL 中嵌入 Terrain section | Confirmed |
当前 corpus:
text
MapSource 0 = 1049 files
MapSource 1 = 309 files这两个值已足以解释当前 1358 个原版 BTL,但不能由此推出其他版本永远不存在其他值。
Country ControllerSeedRaw
Country +0x14:
| Value / Predicate | 语义 | 状态 |
|---|---|---|
0 | Human controller seed | Confirmed |
!= 0 | Computer / AI controller seed | Confirmed with mode caveat |
原版链:
text
Runtime Country +0x158 <- bool(BTL Country +0x14 != 0)当前 corpus:
text
raw 0 = 1344
raw 1 = 7583注意:这是初始 controller seed,部分 BattleMode 还会受 PlayerCountryID 等模式状态影响,不能把它解释成整场永不变化的最终控制权。
Country DefeatConditionRaw
Country +0x1C 当前 corpus 观察到 0..7:
| Value | Corpus count | 当前安全语义 | 状态 |
|---|---|---|---|
0 | 333 | 参与 Country survival/defeat policy;用户侧 branch 名称未闭合 | Unknown |
1 | 139 | 参与 Country survival/defeat policy;用户侧 branch 名称未闭合 | Unknown |
2 | 7668 | 参与 Country survival/defeat policy;用户侧 branch 名称未闭合 | Unknown |
3 | 697 | 使用 camp-wide 特殊存活/失败谓词,并存在 BattleMode 2/10 例外 | Partial |
4 | 7 | 参与 Country survival/defeat policy;用户侧 branch 名称未闭合 | Unknown |
5 | 44 | 参与 Country survival/defeat policy;用户侧 branch 名称未闭合 | Unknown |
6 | 10 | 会绕过 ordinary natural failure 路径 | Partial |
7 | 29 | 会绕过 ordinary natural failure 路径 | Partial |
这里故意不沿用旧编辑器可能存在的 0..7 标签,因为当前证据没有把全部用户侧 enum 名称闭合。
Strategy OperationType
Country Strategy Schedule 的 +0x04:
| Value | 语义 | 当前 corpus | 状态 |
|---|---|---|---|
0 | 添加或替换 strategy override | 1724 | Confirmed |
1 | 撤销匹配 override | 6 | Confirmed |
2 | 清空 override,并切换基础 strategy group | 0 | Confirmed |
OperationType 2 是 native-supported,但当前 1.28.0 corpus 没有正样本。不能因为 corpus count 为 0 就删除或重定义该分支。
ParameterId 的定义域依赖 OperationType,不能把当前观察范围 1000..1178 直接当成一个统一 enum。
WeatherType
Weather record 的 +0x00 = WeatherTypeRaw。
原版 runtime 已确认接受 dispatch 范围:
text
0..3但“接受 dispatch”不等于“天气效果已知”。当前安全表:
| Value | Dispatch | 当前具体天气效果 | Corpus positive sample | 状态 |
|---|---|---|---|---|
0 | accepted | Unknown | 当前 Reference 未建立正样本效果语义 | Unknown |
1 | accepted | Unknown | 当前 Reference 未建立正样本效果语义 | Unknown |
2 | accepted | Unknown | 当前 Reference 未建立正样本效果语义 | Unknown |
3 | accepted | Unknown | frontier60106.btl: WeatherType=3, Parameter=3, StartRound=1, Duration=20 | Unknown |
已经确认的只是 schedule 规则:
text
StartRound <= GameRound < StartRound + Duration重叠记录按磁盘顺序从后向前扫描,后面的有效记录优先。
不能因为唯一正样本位于 Frontier 就自行把 WeatherType 3 命名成某种具体天气。
证据入口
text
reconstruction/docs/btl-reference/records/header.md
reconstruction/docs/btl-reference/records/country.md
reconstruction/docs/btl-reference/records/strategy.md
reconstruction/docs/btl-reference/records/weather.md
reports/route4_identity_reference_contract.md
reports/btl_v1280_so_recovery.md