{
  "added_at": "2026-10-18",
  "additional_evidence_urls": [
    "https://github.com/LoreanXavier/pt-pc/blob/d0a9b8f8969588a9ab2b1db03a35854d3af63f2e/LICENSE",
    "https://github.com/LoreanXavier/pt-pc/blob/d0a9b8f8969588a9ab2b1db03a35854d3af63f2e/docs/formats/README.md",
    "https://github.com/LoreanXavier/pt-pc/blob/d0a9b8f8969588a9ab2b1db03a35854d3af63f2e/docs/installer.md",
    "https://github.com/LoreanXavier/pt-pc/blob/d0a9b8f8969588a9ab2b1db03a35854d3af63f2e/assets/fonts/README.md",
    "https://github.com/LoreanXavier/pt-pc/blob/d0a9b8f8969588a9ab2b1db03a35854d3af63f2e/.github/workflows/macos.yml"
  ],
  "category": "reconstruction-cases",
  "description_en": "Reimplements P.T.’s game logic in C++ on a new Vulkan engine that reads levels, models, textures, sounds, scripts and cutscenes from the user’s own PS4 copy at run time. The author documents reverse-engineered file formats and used the shadPS4 emulator as a behavior and frame reference. Fidelity to the original is author-reported, and the use of AI coding tools is disclosed.",
  "description_zh": "在新的 Vulkan 引擎上用 C++ 重新实现 P.T. 的游戏逻辑，运行时从使用者自有的 PS4 版本读取关卡、模型、贴图、声音、脚本和过场动画。作者记录了逆向得出的文件格式，并以 shadPS4 模拟器作为行为与画面的对照参考。与原作的一致程度为作者报告，项目也披露使用了 AI 编程工具。",
  "entry_url": "https://awesomerea.org/resources/pt-pc-port-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/pt-pc-port-case/",
  "evidence_url": "https://github.com/LoreanXavier/pt-pc/blob/d0a9b8f8969588a9ab2b1db03a35854d3af63f2e/README.md",
  "group": "cases",
  "id": "pt-pc-port-case",
  "json_url": "https://awesomerea.org/resources/pt-pc-port-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/pt-pc-port-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/pt-pc-port-case/index.md",
  "name": "P.T. for PC: a behavior-based engine reimplementation that reads the PS4 data",
  "name_zh": "P.T. PC 版：基于行为重新实现、读取 PS4 数据的引擎",
  "reconstruction_method": "engine-reimplementation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "prerequisites",
    "prerequisites",
    "scope",
    "testing",
    "license"
  ],
  "requirements": [
    "Requires the user’s own copy of P.T.: the port is built and tested with the US release CUSA01127, as a console dump folder or a fake PKG made from it; the EU and Japanese releases install with a note but the author has not seen their data. Store PKGs are encrypted for their console and are not decrypted. The installer copies only chunk1.psarc, texture.qar and pathid_list_ps4.bin, and no game data is in the repository or installer.",
    "Runs on Windows 10/11 x64, Linux x86-64 with glibc 2.38+, or macOS 14+, with a Vulkan 1.3 GPU (MoltenVK on macOS). Building needs CMake and Ninja, plus Visual Studio 2022 Build Tools, clang-cl and the Vulkan SDK on Windows, or GCC 13/clang 17 with glslc on Linux; CMake fetches SDL3, Lua 5.1, whisper.cpp and other dependencies and checks downloaded models and SDKs by SHA-256. One section needs a microphone or a configured substitute key.",
    "This is an engine reimplementation, not an emulator, decompilation or static recompilation: the README says the logic was rebuilt from the original’s behavior. It reports the whole teaser as playable, including the voice section, and adds optional upscalers, ray-traced effects, photo mode, a museum, mods, extra languages and experimental VR and third-person views. VR has run only against a simulated runtime, the Intel Mac build has not been run, and the tree contains unreleased 1.0.2 changes.",
    "Verification is author-run: CMake unit-test targets, a windowless walkthrough script that plays scripted routes and checks the log, and frame comparisons against shadPS4.",
    "MIT covers the port’s own code; the bundled Noto fonts (OFL), the LGPL LibOrbisPkg installer helper and other dependencies keep their own licenses, and P.T. content belongs to Konami. The README discloses AI coding tools in development and debugging."
  ],
  "requirements_zh": [
    "需使用者自有的 P.T.：移植版以美版 CUSA01127 构建和测试，可使用主机转储目录或由该转储制作的 fake PKG；欧版和日版可以安装但会给出提示，作者未见过其数据。商店 PKG 针对所属主机加密，项目不会将其解密。安装程序只复制 chunk1.psarc、texture.qar 和 pathid_list_ps4.bin，仓库与安装程序中都不含游戏数据。",
    "可在 Windows 10／11 x64、glibc 2.38+ 的 Linux x86-64 或 macOS 14+ 上运行，需支持 Vulkan 1.3 的显卡（macOS 上通过 MoltenVK）。构建需 CMake 和 Ninja；Windows 另需 Visual Studio 2022 Build Tools、clang-cl 和 Vulkan SDK，Linux 需 GCC 13／clang 17 及 glslc。CMake 会获取 SDL3、Lua 5.1、whisper.cpp 等依赖，并用 SHA-256 校验下载的模型和 SDK。有一段流程需要麦克风，或改用配置的替代按键。",
    "这是引擎重新实现，而非模拟器、反编译或静态重编译：README 称游戏逻辑依据原作行为重建。README 报告整部试玩可完整游玩（含语音环节），并新增可选的超分辨率、光线追踪效果、拍照模式、博物馆、模组、额外语言，以及实验性的 VR 和第三人称视角。VR 仅在模拟运行时上运行过，Intel Mac 版尚未实际运行，代码树还包含尚未发布的 1.0.2 改动。",
    "验证由作者执行：包括 CMake 单元测试目标、一个无窗口按脚本路线游玩并检查日志的通关脚本，以及与 shadPS4 的画面对比。",
    "MIT 许可仅覆盖移植版自身代码；随附的 Noto 字体（OFL）、LGPL 授权的 LibOrbisPkg 安装辅助程序及其他依赖保留各自许可，P.T. 的内容属于 Konami。README 披露开发和调试中使用了 AI 编程工具。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/LoreanXavier/pt-pc",
  "verification": "source-reviewed",
  "verified_at": "2026-10-18"
}
