{
  "added_at": "2026-10-18",
  "additional_evidence_urls": [
    "https://github.com/cybervisi0n/pokeplatinum/blob/35067868f64f23d25d17ac3e536cfdd9a7f40523/Makefile",
    "https://github.com/cybervisi0n/pokeplatinum/blob/35067868f64f23d25d17ac3e536cfdd9a7f40523/meson.build",
    "https://github.com/cybervisi0n/pokeplatinum/blob/35067868f64f23d25d17ac3e536cfdd9a7f40523/meson.options",
    "https://github.com/cybervisi0n/pokeplatinum/blob/35067868f64f23d25d17ac3e536cfdd9a7f40523/.github/workflows/build_arm.yml",
    "https://github.com/cybervisi0n/pokeplatinum/blob/35067868f64f23d25d17ac3e536cfdd9a7f40523/.github/workflows/build_linux.yml",
    "https://github.com/cybervisi0n/pokeplatinum/blob/35067868f64f23d25d17ac3e536cfdd9a7f40523/.github/workflows/build_win.yml",
    "https://github.com/cybervisi0n/pokeplatinum/blob/35067868f64f23d25d17ac3e536cfdd9a7f40523/AGENTS.md",
    "https://github.com/cybervisi0n/pokeplatinum/tree/35067868f64f23d25d17ac3e536cfdd9a7f40523/subprojects",
    "https://github.com/cybervisi0n/pokeplatinum/releases/tag/v0.1.12",
    "https://github.com/cybervisi0n/libntr/blob/1555d911ac80c0190ac1c321f99f1323de8b3c09/README.md",
    "https://github.com/cybervisi0n/libntr/blob/1555d911ac80c0190ac1c321f99f1323de8b3c09/LICENSE"
  ],
  "category": "reconstruction-cases",
  "description_en": "Builds native 64-bit Windows and Linux executables of Pokémon Platinum from a fork of pret’s decompilation, replacing NitroSDK with the author’s libntr libraries; the same tree keeps the DS ROM build and an experimental Switch target. README says the game should be playable from start to finish but may crash or show graphical bugs. Prebuilt binaries require the player’s own US ROM, and the fork’s default build no longer runs pret’s checksum tests.",
  "description_zh": "基于 pret 反编译项目的分支，为《宝可梦 白金》构建原生 64 位 Windows 和 Linux 可执行文件，并以作者的 libntr 库替代 NitroSDK；同一源码树仍保留 DS ROM 构建和实验性的 Switch 目标。README 称游戏应可从头玩到尾，但可能出现崩溃和图形错误。预构建程序需要玩家自备美版 ROM，且该分支的默认构建不再运行 pret 的校验测试。",
  "entry_url": "https://awesomerea.org/resources/pokemon-platinum-pc-port-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/pokemon-platinum-pc-port-case/",
  "evidence_url": "https://github.com/cybervisi0n/pokeplatinum/blob/35067868f64f23d25d17ac3e536cfdd9a7f40523/README.md",
  "group": "cases",
  "id": "pokemon-platinum-pc-port-case",
  "json_url": "https://awesomerea.org/resources/pokemon-platinum-pc-port-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/pokemon-platinum-pc-port-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/pokemon-platinum-pc-port-case/index.md",
  "name": "Pokémon Platinum PC Port: a native port built on the pret decompilation",
  "name_zh": "Pokémon Platinum PC Port：基于 pret 反编译的原生移植",
  "reconstruction_method": "port",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "scope",
    "prerequisites",
    "prerequisites",
    "testing",
    "license"
  ],
  "requirements": [
    "README describes an experimental PC port of US Pokémon Platinum based on pret’s decompilation, using libntr, libntrsystem, libntrwifi and libntrdwc in place of NitroSDK and related DS libraries. The Meson build_target option selects arm (DS ROM), linux, win64 or nx, and README calls the NX target working but slow. Its goals of full WiFi and multiplayer support and later homebrew console ports are stated aims.",
    "README requires users of the prebuilt release binaries to supply their own dumped US Platinum ROM (game code CPUE01), selected on first launch; only the US version is supported. The source tree keeps pret’s committed res/ data, and README asks forks not to publish releases that bundle compiled assets with PC binaries.",
    "Linux builds are recommended through the Docker wrapper drun.sh; a non-container build on Arch Linux lists nasm, enet, arm-none-eabi-gcc, Ninja, flex and bison. Windows uses PowerShell scripts that create a portable MSYS2 environment before make win64, and the NX target needs devkitA64. The ARM and Linux CI jobs install the inherited metroskrew Metrowerks compiler, and the libntr subprojects track their main branches rather than pinned revisions.",
    "CI builds the ARM ROM, Linux and Windows targets on pc_port pushes and packages Linux and Windows artifacts; the latest release, v0.1.12 (2026-10-10), ships Linux and Windows zip archives from a commit earlier than the reviewed one. The fork’s default make target drops pret’s checksum dependency and CI does not run make check.",
    "The fork has no top-level license file and GitHub detects none; libntr declares MIT, which README says release publishers must honor, while pret’s decompilation declares no license and original game content remains subject to its rights holders. README states that generative AI/LLM shortcuts were not used and that AI-made pull requests are rejected, and AGENTS.md repeats that refusal."
  ],
  "requirements_zh": [
    "README 将其描述为基于 pret 反编译项目的美版《宝可梦 白金》实验性 PC 移植，以 libntr、libntrsystem、libntrwifi 和 libntrdwc 替代 NitroSDK 及相关 DS 库。Meson 的 build_target 选项可选 arm（DS ROM）、linux、win64 或 nx，README 称 NX 目标可用但性能较差。完整支持 WiFi 与多人功能及日后移植到其他主机自制环境，都是所述目标。",
    "README 要求使用预构建发行版的玩家自行提供已转储的美版白金 ROM（游戏代码 CPUE01），在首次启动时选择；目前只支持美版。源码树保留 pret 已提交的 res/ 数据，README 要求分支不要发布将编译后素材与 PC 程序打包在一起的版本。",
    "README 推荐通过 Docker 包装脚本 drun.sh 进行 Linux 构建；在 Arch Linux 上不使用容器构建时需 nasm、enet、arm-none-eabi-gcc、Ninja、flex 和 bison。Windows 先用 PowerShell 脚本创建便携 MSYS2 环境，再运行 make win64；NX 目标需要 devkitA64。ARM 与 Linux 的 CI 作业会安装沿用的 metroskrew Metrowerks 编译器，libntr 系列子项目跟踪各自的 main 分支，而非固定版本。",
    "CI 在 pc_port 分支推送时构建 ARM ROM、Linux 和 Windows 目标，并打包 Linux 与 Windows 产物；最新发行版 v0.1.12（2026-10-10）提供 Linux 和 Windows 压缩包，来自早于所审提交的版本。该分支的默认 make 目标去掉了 pret 的校验依赖，CI 也不运行 make check。",
    "该分支没有顶层许可证文件，GitHub 也未识别出许可证；libntr 声明 MIT，README 要求发布者遵守其条款，而 pret 的反编译项目未声明许可证，原游戏内容仍受其权利人约束。README 表示未使用生成式 AI／大语言模型捷径，并拒绝借助 AI 的拉取请求，AGENTS.md 也重申了这一拒绝。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/cybervisi0n/pokeplatinum",
  "verification": "source-reviewed",
  "verified_at": "2026-10-18"
}
