Skip to content

核心固定记录值域速查

状态:Authoritative Reference v1 / Semantic Closure Incomplete

本页汇总 Header、Country、Weather、Country Strategy 中已经有直接证据支持的常用数值语义。

Header MapSource

Header +0x04

Value语义状态
0BTL 内嵌 Terrain sectionConfirmed
1外部地图来源;不在 BTL 中嵌入 Terrain sectionConfirmed

当前 corpus:

text
MapSource 0 = 1049 files
MapSource 1 = 309 files

这两个值已足以解释当前 1358 个原版 BTL,但不能由此推出其他版本永远不存在其他值。

Country ControllerSeedRaw

Country +0x14

Value / Predicate语义状态
0Human controller seedConfirmed
!= 0Computer / AI controller seedConfirmed 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

ValueCorpus count当前安全语义状态
0333参与 Country survival/defeat policy;用户侧 branch 名称未闭合Unknown
1139参与 Country survival/defeat policy;用户侧 branch 名称未闭合Unknown
27668参与 Country survival/defeat policy;用户侧 branch 名称未闭合Unknown
3697使用 camp-wide 特殊存活/失败谓词,并存在 BattleMode 2/10 例外Partial
47参与 Country survival/defeat policy;用户侧 branch 名称未闭合Unknown
544参与 Country survival/defeat policy;用户侧 branch 名称未闭合Unknown
610会绕过 ordinary natural failure 路径Partial
729会绕过 ordinary natural failure 路径Partial

这里故意不沿用旧编辑器可能存在的 0..7 标签,因为当前证据没有把全部用户侧 enum 名称闭合。

Strategy OperationType

Country Strategy Schedule 的 +0x04

Value语义当前 corpus状态
0添加或替换 strategy override1724Confirmed
1撤销匹配 override6Confirmed
2清空 override,并切换基础 strategy group0Confirmed

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”不等于“天气效果已知”。当前安全表:

ValueDispatch当前具体天气效果Corpus positive sample状态
0acceptedUnknown当前 Reference 未建立正样本效果语义Unknown
1acceptedUnknown当前 Reference 未建立正样本效果语义Unknown
2acceptedUnknown当前 Reference 未建立正样本效果语义Unknown
3acceptedUnknownfrontier60106.btl: WeatherType=3, Parameter=3, StartRound=1, Duration=20Unknown

已经确认的只是 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