{
  "added_at": "2026-11-09",
  "additional_evidence_urls": [
    "https://github.com/esp-cpp/tpm-decomp/blob/d51af21f74cccaf1a5d492c7ef39a48c3468bb98/recomp/README.md"
  ],
  "category": "reconstruction-cases",
  "class": "game",
  "description_en": "The Phantom Menace project runs a static recompilation of the USA Rev 1 PlayStation game natively on desktop and M5Stack Tab5. Its recompiler translates MIPS code into C at build time and runs it with a PlayStation hardware runtime. A matching decompilation aims to replace the generated code function by function; the author reports native gameplay, while the initial handwritten C functions remain nonmatching.",
  "description_zh": "该项目通过静态重编译，使美版 Rev 1《Star Wars Episode I: The Phantom Menace》PlayStation 游戏在桌面设备和 M5Stack Tab5 上原生运行。专用重编译器在构建时将 MIPS 代码转换为 C，再通过 PlayStation 硬件运行环境执行。同步进行的匹配反编译计划逐函数替换生成代码；作者报告原生版本已可游玩，但最初编写的 C 函数尚未达到机器码匹配。",
  "entry_url": "https://awesomerea.org/resources/phantom-menace-psx-recomp-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/phantom-menace-psx-recomp-case/",
  "evidence_class": 2,
  "evidence_status": "observed",
  "evidence_url": "https://github.com/esp-cpp/tpm-decomp/blob/d51af21f74cccaf1a5d492c7ef39a48c3468bb98/README.md",
  "group": "cases",
  "id": "phantom-menace-psx-recomp-case",
  "json_url": "https://awesomerea.org/resources/phantom-menace-psx-recomp-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/phantom-menace-psx-recomp-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/phantom-menace-psx-recomp-case/index.md",
  "name": "The Phantom Menace: a PlayStation static recompilation and matching decompilation",
  "name_zh": "The Phantom Menace：PlayStation 静态重编译与匹配反编译",
  "reconstruction_method": "static-recompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "limits",
    "license"
  ],
  "requirements": [
    "A user-owned USA Rev 1 PlayStation disc image and SLUS_008.84 executable are required.",
    "The matching build uses PSY-Q 4.3 GCC 2.8.1 and associated MIPS tooling.",
    "The author reports that the initial hand-written C functions remain nonmatching.",
    "MIT license."
  ],
  "requirements_zh": [
    "需要用户自备美版 Rev 1 PlayStation 光盘镜像及 SLUS_008.84 可执行文件。",
    "匹配构建使用 PSY-Q 4.3 的 GCC 2.8.1 和相关 MIPS 工具。",
    "作者报告最初编写的 C 函数尚未达到机器码匹配。",
    "采用 MIT 许可证。"
  ],
  "scope": "unknown",
  "targets": [
    "game"
  ],
  "url": "https://github.com/esp-cpp/tpm-decomp",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
