{
  "added_at": "2026-10-17",
  "additional_evidence_urls": [
    "https://github.com/tangosdev/sm64ds-decomp/blob/af8636d638322b88738ef7ad4b4f28ed9c5be24f/port/README.md",
    "https://github.com/tangosdev/sm64ds-decomp/blob/af8636d638322b88738ef7ad4b4f28ed9c5be24f/notes/link-verification.md",
    "https://github.com/tangosdev/sm64ds-decomp/blob/af8636d638322b88738ef7ad4b4f28ed9c5be24f/tools/requirements.txt",
    "https://github.com/tangosdev/sm64ds-decomp/blob/af8636d638322b88738ef7ad4b4f28ed9c5be24f/LICENSE"
  ],
  "category": "reconstruction-cases",
  "description_en": "Reconstructs Super Mario 64 DS functions as C/C++ and permitted assembly primitives, comparing compiled output with a user-supplied cartridge dump. Independent relocation-destination checks strengthen the matching gate; integration into the PC port is tracked separately.",
  "description_zh": "将 Super Mario 64 DS 函数重建为 C/C++ 和规则允许的汇编原语，并将编译结果与用户提供的卡带转储对比。独立的重定位目标核对强化匹配检查；PC 移植中的集成进度另行统计。",
  "entry_url": "https://awesomerea.org/resources/sm64ds-decomp-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/sm64ds-decomp-case/",
  "evidence_url": "https://github.com/tangosdev/sm64ds-decomp/blob/af8636d638322b88738ef7ad4b4f28ed9c5be24f/README.md",
  "group": "cases",
  "id": "sm64ds-decomp-case",
  "json_url": "https://awesomerea.org/resources/sm64ds-decomp-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/sm64ds-decomp-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/sm64ds-decomp-case/index.md",
  "name": "Super Mario 64 DS: matching decompilation with relocation checks",
  "name_zh": "Super Mario 64 DS：带重定位核对的匹配反编译",
  "reconstruction_method": "matching-decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "testing",
    "limits",
    "attribution",
    "license"
  ],
  "requirements": [
    "Requires the user’s cartridge dump, the pinned mwccarm matching compiler, its separate linker/setup and Python tooling such as ndspy, Capstone and pyelftools.",
    "The pinned README reports 11,389/11,389 matched functions, including 108 byte-exact assembly primitives, but only 10,957 linked into the PC port. These counters describe different gates.",
    "The same README retains older near-finished prose, and port/README.md describes a historical smoke-build stage. Treat matching and port-playability statements as source-specific reports, not a verified complete playable port.",
    "Agent-assisted matching is documented, together with source review and relocation checks.",
    "The repository has an MIT license; original game data and external compiler rights remain separate."
  ],
  "requirements_zh": [
    "需要用户自己的卡带转储、固定版本的 mwccarm 匹配编译器、单独的链接器及安装环境，以及 ndspy、Capstone、pyelftools 等 Python 工具。",
    "固定提交 README 报告 11,389/11,389 个函数已匹配，其中包括 108 个字节一致的汇编原语；接入 PC 移植的函数为 10,957 个。这些计数代表不同检查。",
    "同一 README 仍保留接近完成的旧表述，port/README.md 则描述历史冒烟构建阶段。匹配与移植可玩性应按各来源分别理解，不能视为已验证的完整可玩移植。",
    "文档说明使用智能体辅助匹配，并配合源码审阅和重定位核对。",
    "仓库有 MIT 许可证；原始游戏数据和外部编译器的权利另行处理。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/tangosdev/sm64ds-decomp",
  "verification": "source-reviewed",
  "verified_at": "2026-10-17"
}
