Games and modsWorksSource available
Target: Harry Potter and the Chamber of Secrets (Xbox)

Recompiled Harry Potter and the Chamber of Secrets (Xbox) into a native Windows port

Platform
Windows
Outcome
Works

Evidence at a glance

Loading source evidence…

What was done

This project provides a native Windows port of the Xbox game Harry Potter and the Chamber of Secrets using static recompilation. It replaces the original Xbox kernel, Direct3D 8, and DirectSound with native code, supporting both NTSC-U and PAL disc versions.

The project creates a native Windows port of the 2002 Xbox title Harry Potter and the Chamber of Secrets. The method involves static recompilation, where the original x86 code is translated into C and compiled for Windows. The implementation replaces the Xbox kernel, Direct3D 8, DirectSound, and input handling with native equivalents. The port supports both NTSC-U and PAL disc versions, with region-specific profiles managed in the repository. Features include support for 4K resolution, MSAA/SMAA, 5.1 surround sound, and keyboard/mouse remapping. The project incorporates settings pages within the game menus, allowing for graphics and control adjustments. Claude Code aided the development, and commits are co-authored by Claude Opus 5.5. The port is built upon the work of MiddleDucky, utilizing the xboxrecomp toolkit and a D3D12 renderer. The repository does not contain game content; users must provide their own Xbox disc files. Documentation and build instructions are available at https://raw.githubusercontent.com/barthes-recompiled/hp2-recompiled/HEAD/README.md.

Reproduce it

setup

Download the latest release for the specific disc region (USA or PAL). Place the disc files or ISO in a game folder beside the executable and run hpcos_launcher.exe.

Community

Ask a question, share what worked, or follow the next milestone.

Your library