{
  "added_at": "2026-11-06",
  "category": "reconstruction-cases",
  "description_en": "touhou-engine reimplements Touhou danmaku gameplay in Python, with TH07: Perfect Cherry Blossom as its reference game. The author says its engine logic was ported frame by frame against a decompilation, while the new architecture supplies an event stream, replay handling, headless stepping, and a pygame renderer. It reads original game archives supplied by the user.",
  "description_zh": "touhou-engine 用 Python 重实现东方弹幕游戏玩法，以 TH07《东方妖妖梦》为参考作品。作者称引擎逻辑对照原版反编译结果逐帧移植，新架构提供事件流、录像处理、无界面逐帧运行和 pygame 渲染，并读取使用者提供的原版游戏资源包。",
  "entry_url": "https://awesomerea.org/resources/touhou-engine-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/touhou-engine-case/",
  "evidence_url": "https://github.com/SaigyoujYuyuko/touhou-engine/blob/6d12df8dc57b66766c311ea299d0b257410765ef/README.md",
  "group": "cases",
  "id": "touhou-engine-case",
  "json_url": "https://awesomerea.org/resources/touhou-engine-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/touhou-engine-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/touhou-engine-case/index.md",
  "name": "touhou-engine: a Python reimplementation of Touhou gameplay",
  "name_zh": "touhou-engine：用 Python 重实现东方游戏玩法",
  "reconstruction_method": "engine-reimplementation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirements": [
    "Requires Python 3.12 or newer and the documented numpy, pillow, pygame, loguru, and msgspec dependencies.",
    "Requires the user's own TH07 data archive; BGM uses thbgm.dat from the same directory.",
    "The source attributes its decompilation reference to some100/th07."
  ],
  "requirements_zh": [
    "需要 Python 3.12 或更新版本，以及文档列出的 numpy、pillow、pygame、loguru 和 msgspec 依赖。",
    "需要使用者自己的 TH07 资源包；背景音乐使用同目录下的 thbgm.dat。",
    "资料注明反编译参考来自 some100/th07。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/SaigyoujYuyuko/touhou-engine",
  "verification": "source-reviewed",
  "verified_at": "2026-11-06"
}
