{
  "added_at": "2026-10-17",
  "additional_evidence_urls": [
    "https://github.com/N64Recomp/N64Recomp/blob/ffb39cdad1da5de07eaaa48bd1db4a89a7986771/LICENSE",
    "https://github.com/N64Recomp/N64Recomp/blob/ffb39cdad1da5de07eaaa48bd1db4a89a7986771/src/main.cpp#L426-L443",
    "https://github.com/N64Recomp/N64Recomp/releases/tag/mod-tool-release"
  ],
  "category": "game-analysis",
  "description_en": "Statically recompiles N64 MIPS binaries into C functions from symbol metadata, emitting function lookups and relocation macros so a runtime can handle statically linked and relocatable overlays. The output needs a runtime such as N64ModernRuntime; the repository also includes RSP microcode and mod tooling.",
  "description_zh": "依据符号元数据将 N64 MIPS 二进制静态重编译为 C 函数，并生成函数查找与重定位宏，供运行时处理静态链接和可重定位的覆盖段。输出需配合 N64ModernRuntime 等运行时；仓库还包含 RSP 微码重编译与模组工具。",
  "entry_url": "https://awesomerea.org/resources/n64recomp/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/n64recomp/",
  "evidence_url": "https://github.com/N64Recomp/N64Recomp/blob/ffb39cdad1da5de07eaaa48bd1db4a89a7986771/README.md",
  "group": "tools",
  "id": "n64recomp",
  "json_url": "https://awesomerea.org/resources/n64recomp/record.json",
  "kind": "tool",
  "markdown_url": "https://awesomerea.org/resources/n64recomp/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/n64recomp/index.md",
  "name": "N64: Recompiled",
  "name_zh": "N64: Recompiled",
  "record_type": "resource",
  "relationship": "foundation",
  "requirements": [
    "The README documents an ELF as the metadata source, most easily produced from an existing disassembly or decompilation; the reviewed source also accepts a symbols file plus ROM, which the README does not yet describe. A TOML file sets inputs, stubs, skips and instruction patches; full option documentation is not available.",
    "Build N64Recomp from a recursive clone with CMake 3.20+ and a C++20 compiler. The only GitHub release (2025-05-04) packages the separate Recomp Mod Tool, not the recompiler. Last commit at review: 2026-05-27.",
    "Testing has mostly covered old MIPS compilers (GCC 2.7.2, IDO) and modern clang; modern MIPS GCC output may need specific flags, and relocation support for TLB-mapped code is still planned.",
    "MIT-licensed tool; submodules keep their own licenses. It ships no game code or assets. Downstream recompilations such as Zelda 64: Recompiled are separate projects."
  ],
  "requirements_zh": [
    "README 说明元数据需以 ELF 文件提供，最简便的来源是目标游戏已有的反汇编或反编译项目；所审阅的源码还接受符号文件加 ROM 的输入方式，README 尚未说明。TOML 配置文件指定输入、桩函数、跳过的函数及单条指令补丁；目前没有完整的选项文档。",
    "N64Recomp 需递归克隆，并用 CMake 3.20+ 和支持 C++20 的编译器构建。GitHub 上唯一的发布版本（2025-05-04）是独立的 Recomp Mod Tool，而非重编译器本身。审阅时最后一次提交为 2026-05-27。",
    "测试主要覆盖旧版 MIPS 编译器（GCC 2.7.2、IDO）和现代 clang 的输出；现代 MIPS GCC 编译的代码可能需要特定编译参数，TLB 映射代码的重定位支持仍在计划中。",
    "工具采用 MIT 许可证，子模块保留各自的许可。工具本身不附带游戏代码或资产。Zelda 64: Recompiled 等下游重编译项目各自独立。"
  ],
  "targets": [
    "binary",
    "game"
  ],
  "url": "https://github.com/N64Recomp/N64Recomp",
  "verification": "source-reviewed",
  "verified_at": "2026-10-17"
}
