{
  "added_at": "2026-11-09",
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "Pokémon Sword and Shield's Pawn AMX scripts are reconstructed from game files. The disassembler emits code representations and data sections; a compile tool builds the repository's scripts with gf-pawncc, compares the generated representations and checks binary hashes against the game files.",
  "description_zh": "该项目从《宝可梦 剑／盾》的游戏文件重建 Pawn AMX 脚本。反汇编工具输出代码表示和数据段；编译工具用 gf-pawncc 构建仓库中的脚本，再比对生成结果及二进制哈希。",
  "entry_url": "https://awesomerea.org/resources/swsh-pawn-scripts-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/swsh-pawn-scripts-case/",
  "evidence_class": 2,
  "evidence_status": "observed",
  "evidence_url": "https://github.com/lincoln-lm/swsh-pawn-decomp/blob/d35b78e854ce97ce6a93e357bc717c890129d4e7/README.md",
  "group": "cases",
  "id": "swsh-pawn-scripts-case",
  "json_url": "https://awesomerea.org/resources/swsh-pawn-scripts-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/swsh-pawn-scripts-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/swsh-pawn-scripts-case/index.md",
  "name": "Pokémon Sword and Shield: matching Pawn script decompilation",
  "name_zh": "Pokémon Sword and Shield：Pawn 脚本的匹配反编译",
  "reconstruction_method": "matching-decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "license"
  ],
  "requirements": [
    "The game's romfs://bin/script/amx/ files must be copied into the amx directory.",
    "Compilation expects a gf-pawncc executable at gf-pawncc/build/compiler/gf-pawncc.",
    "No licence file in the repository."
  ],
  "requirements_zh": [
    "需要将游戏中的 romfs://bin/script/amx/ 文件复制到 amx 目录。",
    "编译时需要 gf-pawncc/build/compiler/gf-pawncc 路径下的 gf-pawncc 可执行文件。",
    "仓库中没有许可证文件。"
  ],
  "scope": "unknown",
  "targets": [
    "game"
  ],
  "url": "https://github.com/lincoln-lm/swsh-pawn-decomp",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
