{
  "added_at": "2026-10-19",
  "additional_evidence_urls": [
    "https://github.com/CorsixTH/CorsixTH/blob/e5138ed8de906ccbf6692299b4375f9312df147e/README.txt",
    "https://github.com/CorsixTH/CorsixTH/blob/e5138ed8de906ccbf6692299b4375f9312df147e/CMakeLists.txt",
    "https://github.com/CorsixTH/CorsixTH/blob/e5138ed8de906ccbf6692299b4375f9312df147e/CorsixTH/CMakeLists.txt",
    "https://github.com/CorsixTH/CorsixTH/blob/e5138ed8de906ccbf6692299b4375f9312df147e/.github/workflows/Linux.yml",
    "https://github.com/CorsixTH/CorsixTH/blob/e5138ed8de906ccbf6692299b4375f9312df147e/.github/workflows/Windows.yml",
    "https://github.com/CorsixTH/CorsixTH/blob/e5138ed8de906ccbf6692299b4375f9312df147e/AGENTS.md",
    "https://github.com/CorsixTH/CorsixTH/blob/e5138ed8de906ccbf6692299b4375f9312df147e/LICENSE.txt",
    "https://github.com/CorsixTH/CorsixTH/releases/tag/v0.70.1"
  ],
  "category": "reconstruction-cases",
  "description_en": "Reimplements the engine of Bullfrog’s 1997 Theme Hospital, with game logic in Lua and C++ for graphics, sound, movies and pathfinding, on top of the original game’s data files. The README reports that the full campaign can be completed, lists features that are still missing, and adds extensions such as high resolutions and a map editor. It recreates the game’s behaviour on original content rather than recovering Bullfrog source code.",
  "description_zh": "重新实现 Bullfrog 1997 年游戏 Theme Hospital 的引擎：游戏逻辑以 Lua 编写，图形、声音、影片和寻路由 C++ 处理，并建立在原游戏数据文件之上。README 报告完整战役已可通关，列出仍缺失的功能，并加入高分辨率和地图编辑器等扩展。它在原内容上重现游戏行为，而不是恢复 Bullfrog 的源码。",
  "entry_url": "https://awesomerea.org/resources/corsixth-engine-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/corsixth-engine-case/",
  "evidence_url": "https://github.com/CorsixTH/CorsixTH/blob/e5138ed8de906ccbf6692299b4375f9312df147e/README.md",
  "group": "cases",
  "id": "corsixth-engine-case",
  "json_url": "https://awesomerea.org/resources/corsixth-engine-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/corsixth-engine-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/corsixth-engine-case/index.md",
  "name": "CorsixTH: an open reimplementation of Theme Hospital",
  "name_zh": "CorsixTH：Theme Hospital 的开源重新实现",
  "reconstruction_method": "engine-reimplementation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "limits",
    "prerequisites",
    "prerequisites",
    "testing",
    "license"
  ],
  "requirements": [
    "The reviewed master snapshot follows the v0.70.1 release of 2026-08-28. The README lists multiplayer/LAN, AI hospitals, rats and the bonus rat level, vomit waves and the win-level video or letter as missing, and warns that some objects may glitch with walls. Custom campaigns, 4K support, the level editor and improved game logic are deliberate extensions.",
    "Needs the user’s Theme Hospital data from the original CD, the GOG.com or EA editions, or the Theme Hospital demo, including the resource folder with ANIMS and LEVELS (sometimes named HOSP). The original graphics lack complete sets for some patient types, so enabling their regular spawning may cause anomalies.",
    "Source builds use CMake 3.16+ with a C++17 compiler, SDL3, SDL3_mixer, Lua (or optionally LuaJIT) and zlib; FFmpeg enables in-game movies, and vcpkg manages dependencies for preset builds. The README lists builds for Windows and macOS, a Linux AppImage, Flatpak and Snap, and distribution packages for Linux and BSD.",
    "CI runs luacheck and busted Lua unit tests on Linux, plus CMake builds with CTest on Windows.",
    "LICENSE.txt grants MIT terms for CorsixTH and includes notices for bundled components such as Lua 5.5, LPeg and LuaFileSystem, so GitHub does not classify it as one licence. Original Theme Hospital data keeps its own rights. AGENTS.md gives instructions for AI coding agents."
  ],
  "requirements_zh": [
    "所审阅的 master 快照晚于 2026-08-28 发布的 v0.70.1。README 列出多人/局域网、AI 医院、老鼠与奖励老鼠关卡、呕吐潮以及过关影片或信件仍然缺失，并提醒部分物件可能与墙体出现显示错误。自定义战役、4K 支持、关卡编辑器和改进的游戏逻辑属于有意扩展。",
    "需要使用者自备 Theme Hospital 数据，可来自原版光盘、GOG.com 或 EA 版本，或 Theme Hospital 试玩版，其中包括含 ANIMS 和 LEVELS 的资源文件夹（有时名为 HOSP）。原版图形缺少部分病人类型的完整素材，开启其常规出现可能导致异常。",
    "源码构建使用 CMake 3.16+ 和 C++17 编译器，依赖 SDL3、SDL3_mixer、Lua（可选 LuaJIT）和 zlib；FFmpeg 用于游戏内影片，预设构建由 vcpkg 管理依赖。README 列出 Windows 与 macOS 构建、Linux AppImage、Flatpak 和 Snap，以及 Linux 和 BSD 发行版软件包。",
    "CI 在 Linux 上运行 luacheck 与 busted Lua 单元测试，并在 Windows 上执行 CMake 构建和 CTest。",
    "LICENSE.txt 以 MIT 条款授权 CorsixTH，并附有 Lua 5.5、LPeg、LuaFileSystem 等随附组件的声明，因此 GitHub 未将其识别为单一许可证。原 Theme Hospital 数据保留各自权利。AGENTS.md 为 AI 编程智能体提供说明。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/CorsixTH/CorsixTH",
  "verification": "source-reviewed",
  "verified_at": "2026-10-18"
}
