{
  "added_at": "2026-11-09",
  "additional_evidence_urls": [
    "https://github.com/Xeeynamo/psyz/blob/559adc76843bcca4945e9b3252d64889d58fc9e0/LICENSE",
    "https://github.com/Xeeynamo/psyz/blob/559adc76843bcca4945e9b3252d64889d58fc9e0/PORTING_GUIDE.md",
    "https://github.com/Xeeynamo/psyz/blob/559adc76843bcca4945e9b3252d64889d58fc9e0/decomp/README.md",
    "https://github.com/Xeeynamo/psyz/blob/559adc76843bcca4945e9b3252d64889d58fc9e0/decomp/LICENSE",
    "https://github.com/Xeeynamo/psyz/blob/559adc76843bcca4945e9b3252d64889d58fc9e0/decomp/sdk/Makefile",
    "https://github.com/Xeeynamo/psyz/blob/559adc76843bcca4945e9b3252d64889d58fc9e0/Makefile",
    "https://github.com/Xeeynamo/psyz/blob/559adc76843bcca4945e9b3252d64889d58fc9e0/psyz/CMakeLists.txt",
    "https://github.com/Xeeynamo/psyz/blob/559adc76843bcca4945e9b3252d64889d58fc9e0/.github/workflows/build.yaml"
  ],
  "category": "game-analysis",
  "description_en": "C porting library that replaces the API of PSY-Q, Sony's PlayStation runtime library, with native implementations, so decompiled or original PlayStation source can be compiled for Linux, macOS, iOS, Windows, WebAssembly and PSP while still building for the console. It aims at PSY-Q API compatibility and offers an optional GPU and SPU emulation layer behind emulated MMIO endpoints, and carries a matching decompilation of the PSY-Q 4.0 libraries.",
  "description_zh": "用 C 编写的移植库，以原生实现替换 Sony PlayStation 运行时库 PSY-Q 的 API，使反编译得到的或原有的 PlayStation 源码能够在 Linux、macOS、iOS、Windows、WebAssembly 和 PSP 上编译，同时仍可为主机本身构建。它以 PSY-Q API 兼容为目标，另提供经由仿真 MMIO 端点访问的可选 GPU 与 SPU 仿真层，并包含对 PSY-Q 4.0 库的匹配反编译。",
  "entry_url": "https://awesomerea.org/resources/psyz/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/psyz/",
  "evidence_url": "https://github.com/Xeeynamo/psyz/blob/559adc76843bcca4945e9b3252d64889d58fc9e0/README.md",
  "group": "tools",
  "id": "psyz",
  "json_url": "https://awesomerea.org/resources/psyz/record.json",
  "kind": "tool",
  "markdown_url": "https://awesomerea.org/resources/psyz/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/psyz/index.md",
  "name": "PsyZ",
  "name_zh": "PsyZ PlayStation 移植库",
  "record_type": "resource",
  "relationship": "foundation",
  "requirements": [
    "CMake 3.21 or newer, a C11 compiler, SDL3 and a recursive clone of the SDL, cimgui and nugget submodules are needed; WebAssembly builds use Emscripten.",
    "A game port needs reconstructed C source and the changes in the porting guide, including ordered-table and primitive-tag types and 64-bit pointer fixes. The PSY-Q decompilation is ongoing; hardware-dependent game bugs may behave differently.",
    "Optional PlayStation SDK setup downloads proprietary PSY-Q 4.0 and 4.7 SDK archives hosted by the project to cross-compile and check the decompiled libraries.",
    "CI tests Linux, Windows, macOS and PSP builds; the reported Symphony of the Night prologue comparison is a single author measurement.",
    "Licensing varies: nugget, psyq2elf, samples and ztest are MIT; psyz/src/platform and psyz/src/psyz are MPL-2.0; psyz/include and psyz/src/psyq are unlicensed; decomp/ has its own MIT license."
  ],
  "requirements_zh": [
    "需要 CMake 3.21 或更新版本、C11 编译器、SDL3，并递归克隆 SDL、cimgui 和 nugget 子模块；WebAssembly 构建使用 Emscripten。",
    "游戏移植需要重建的 C 源码和移植指南要求的修改，包括排序表、图元标签类型及 64 位指针修正。PSY-Q 反编译仍在进行中；依赖硬件特性的游戏错误可能表现不同。",
    "可选的 PlayStation SDK 设置会下载项目托管的专有 PSY-Q 4.0 和 4.7 SDK 压缩包，用于交叉编译和检查反编译库。",
    "CI 测试 Linux、Windows、macOS 和 PSP 构建；《恶魔城：月下夜想曲》序章的比较是作者的一次测量。",
    "许可因目录而异：nugget、psyq2elf、samples 和 ztest 为 MIT；psyz/src/platform 和 psyz/src/psyz 为 MPL-2.0；psyz/include 和 psyz/src/psyq 未获许可；decomp/ 有自己的 MIT 许可。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/Xeeynamo/psyz",
  "verification": "source-reviewed",
  "verified_at": "2026-10-19"
}
