{"slug": "playstation-2-ps2-native-recomp-static-recompiler-that-turns-ps2-discs-into", "title": "PlayStation 2: ps2-native-recomp: static recompiler that turns PS2 discs into native Windows/Linux executables", "summary": "The ps2-native-recomp project, released under the MIT license, statically recompiles PlayStation 2 game disc images into native Windows and Linux executables by translating main-CPU code into C++ once and handling graphics, sound and vector units through a runtime that renders via WebGPU through wgpu-native. The author reports using Claude Code as an AI coding assistant to write much of the codebase, verified against the ps2autotests suite and manual playtesting, and documents God of War II, Gran Turismo 4 and Shadow of the Colossus as functional while noting the project remains early-stage, with many games failing to boot, crashing, or showing graphical and audio defects. The project incorporates elements from Samir Nuri's ps2-web-recomp and asks users to file issue reports to guide development.", "body_md": "## Evidence at a glance\n\nLoading source evidence…\n\n## What was done\n\nA static recompiler that translates PS2 game code into native Windows or Linux executables. It uses a runtime for hardware reimplementation and supports several titles including God of War II and Shadow of the Colossus.\n\nThe ps2-native-recomp project translates PlayStation 2 game disc images into native programs for Windows and Linux. The recompiler converts the main-CPU code into C++ once, avoiding traditional emulation for the primary processor. A runtime environment handles the remaining console hardware, including graphics, sound, and vector units, using WebGPU via wgpu-native for rendering. The author reports using Claude Code as an AI coding assistant to write much of the codebase, which is then verified against the ps2autotests suite and manual playtesting. While titles such as God of War II, Gran Turismo 4, and Shadow of the Colossus are documented as functional, the project remains in an early stage. Many games currently fail to boot, crash, or exhibit graphical and audio defects. The author maintains a list of known issues and requests reports from users to guide further development. The project is licensed under MIT and incorporates elements from the ps2-web-recomp project by Samir Nuri. Further details are available at [https://raw.githubusercontent.com/exoteric33/ps2-native-recomp/HEAD/README.md](https://raw.githubusercontent.com/exoteric33/ps2-native-recomp/HEAD/README.md).\n\n## Reproduce it\n\n```\nDownload the project ZIP, unpack to a folder, and run Start.cmd. Use the app interface to select a disc image, then select Build and Play. For command-line usage, install llvm-mingw, CMake, Ninja, Python 3, and Git, then execute the provided setup and port scripts.\n```\n\n## Community\n\nAsk a question, share what worked, or follow the next milestone.\n\n[Your library](https://reversedwithai.com/library)", "url": "https://wpnews.pro/news/playstation-2-ps2-native-recomp-static-recompiler-that-turns-ps2-discs-into", "canonical_source": "https://reversedwithai.com/p/playstation-2-8774c07e", "published_at": "2026-10-30 21:01:01+00:00", "updated_at": "2026-10-30 21:19:13.018324+00:00", "lang": "en", "topics": ["ai-tools", "developer-tools", "artificial-intelligence"], "entities": ["ps2-native-recomp", "PlayStation 2", "Claude Code", "God of War II", "Gran Turismo 4", "Shadow of the Colossus", "Samir Nuri", "ps2-web-recomp"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/playstation-2-ps2-native-recomp-static-recompiler-that-turns-ps2-discs-into", "markdown": "https://wpnews.pro/news/playstation-2-ps2-native-recomp-static-recompiler-that-turns-ps2-discs-into.md", "text": "https://wpnews.pro/news/playstation-2-ps2-native-recomp-static-recompiler-that-turns-ps2-discs-into.txt", "jsonld": "https://wpnews.pro/news/playstation-2-ps2-native-recomp-static-recompiler-that-turns-ps2-discs-into.jsonld"}}