{
  "added_at": "2026-10-20",
  "additional_evidence_urls": [
    "https://github.com/jaenster/libd2/blob/bc21bb924b9238def4907bd2b3f79e8041a5fc0a/LICENSE",
    "https://github.com/jaenster/libd2/blob/bc21bb924b9238def4907bd2b3f79e8041a5fc0a/docs/VERIFICATION.md",
    "https://github.com/jaenster/libd2/blob/bc21bb924b9238def4907bd2b3f79e8041a5fc0a/docs/BUILDING.md",
    "https://github.com/jaenster/libd2/blob/bc21bb924b9238def4907bd2b3f79e8041a5fc0a/build.zig.zon",
    "https://github.com/jaenster/libd2/blob/bc21bb924b9238def4907bd2b3f79e8041a5fc0a/packages/drlg/src/oracle.zig",
    "https://github.com/jaenster/libd2/blob/bc21bb924b9238def4907bd2b3f79e8041a5fc0a/packages/drlg/src/verify_tests.zig"
  ],
  "category": "reconstruction-cases",
  "description_en": "Zig libraries reconstructing Diablo II 1.14d seeded maps, item generation, saves, simulation rules and network formats. Selected components expose native and WebAssembly interfaces; verification notes distinguish retail map comparisons from weaker subsystem evidence.",
  "description_zh": "以 Zig 库重建《暗黑破坏神II》1.14d 的种子地图、物品生成、存档、模拟规则和网络格式。部分组件提供原生与 WebAssembly 接口；验证说明区分了原游戏地图对照与其他子系统较弱的证据。",
  "entry_url": "https://awesomerea.org/resources/libd2-engine-core-reconstruction-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/libd2-engine-core-reconstruction-case/",
  "evidence_url": "https://github.com/jaenster/libd2/blob/bc21bb924b9238def4907bd2b3f79e8041a5fc0a/README.md",
  "group": "cases",
  "id": "libd2-engine-core-reconstruction-case",
  "json_url": "https://awesomerea.org/resources/libd2-engine-core-reconstruction-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/libd2-engine-core-reconstruction-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/libd2-engine-core-reconstruction-case/index.md",
  "name": "libd2: Diablo II 1.14d engine-core libraries",
  "name_zh": "libd2：《暗黑破坏神II》1.14d 引擎组件库",
  "reconstruction_method": "engine-reimplementation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirements": [
    "Builds require Zig 0.16.0. These are modular engine libraries, not a complete playable client; basic generation uses embedded data and fixtures.",
    "MIT covers the Zig source. Included Blizzard-derived binary blobs and map fixtures are expressly excluded from that grant; the repository is not asset-free.",
    "The authors report cell-level comparisons for five Nightmare seeds and two holdouts, plus per-level CRC checks for 200 seeds at three difficulties.",
    "The game and net packages are checked against recovered rules and packet layouts, not a live server; save, item and pathfinding checks have different depth."
  ],
  "requirements_zh": [
    "构建需要 Zig 0.16.0。这些是模块化引擎库，并非完整可玩的客户端；基础生成使用内嵌数据和测试样本。",
    "MIT 覆盖 Zig 源码，但明确排除随仓库提供、由 Blizzard 游戏派生的二进制数据和地图样本；仓库并非不含游戏派生素材。",
    "作者报告五个噩梦难度种子及两个保留种子的逐格对照，另以 200 个种子的三个难度进行逐关 CRC 检查。",
    "game 和 net 包依据恢复出的规则及报文布局检查，而非原服务器运行对照；存档、物品与路径检查的证据深度不同。"
  ],
  "targets": [
    "binary",
    "game",
    "protocol"
  ],
  "url": "https://github.com/jaenster/libd2",
  "verification": "source-reviewed",
  "verified_at": "2026-10-19"
}
