# P.T. for PC: a behavior-based engine reimplementation that reads the PS4 data

> 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.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-10-18
- Added to the catalog: 2026-10-18
- Original resource: <https://github.com/LoreanXavier/pt-pc>
- Primary source: <https://github.com/LoreanXavier/pt-pc/blob/d0a9b8f8969588a9ab2b1db03a35854d3af63f2e/README.md>
- Catalog page: <https://awesomerea.org/resources/pt-pc-port-case/>
- Record JSON: <https://awesomerea.org/resources/pt-pc-port-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/pt-pc-port-case/index.md)

## Requirements & limits

- **Prerequisites:** 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.
- **Prerequisites:** 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.
- **Scope:** 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.
- **Testing evidence:** 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.
- **License:** 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.

## Primary sources

1. <https://github.com/LoreanXavier/pt-pc/blob/d0a9b8f8969588a9ab2b1db03a35854d3af63f2e/README.md>
2. <https://github.com/LoreanXavier/pt-pc/blob/d0a9b8f8969588a9ab2b1db03a35854d3af63f2e/LICENSE>
3. <https://github.com/LoreanXavier/pt-pc/blob/d0a9b8f8969588a9ab2b1db03a35854d3af63f2e/docs/formats/README.md>
4. <https://github.com/LoreanXavier/pt-pc/blob/d0a9b8f8969588a9ab2b1db03a35854d3af63f2e/docs/installer.md>
5. <https://github.com/LoreanXavier/pt-pc/blob/d0a9b8f8969588a9ab2b1db03a35854d3af63f2e/assets/fonts/README.md>
6. <https://github.com/LoreanXavier/pt-pc/blob/d0a9b8f8969588a9ab2b1db03a35854d3af63f2e/.github/workflows/macos.yml>

## More in Games

- [re2ds: a native Nintendo DS engine for Resident Evil 2](https://awesomerea.org/resources/re2ds-nds-engine-case/index.md) · Case study
- [San Andreas Unity: a GTA San Andreas engine reimplementation in Unity](https://awesomerea.org/resources/san-andreas-unity-engine-case/index.md) · Case study
- [sh23ds: a native 3DS reconstruction of Silent Hill 2](https://awesomerea.org/resources/sh23ds-case/index.md) · Case study
- [SiegeFX: a Dungeon Siege engine reimplementation in alpha](https://awesomerea.org/resources/siegefx-dungeon-siege-engine-case/index.md) · Case study
- [Skate 3 Rust Engine: a Bevy rewrite built on Skate 3 reverse-engineering research](https://awesomerea.org/resources/skate-3-rust-engine-case/index.md) · Case study
- [Snowball War: a bounded REA-assisted minigame reconstruction](https://awesomerea.org/resources/snowball-war-rea-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
