# hl2-recomp: statically recompiling Xbox Half-Life 2

> hl2-recomp translates the Xbox Half-Life 2 XBE to C with xboxrecomp and links it to a native Windows runtime. Its game-specific tools recover RTTI classes, function boundaries and datamaps, while technical notes trace boot, controller and NV2A rendering paths; the author reports a title screen and partial level loading.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/sp00nznet/hl2-recomp>
- Primary source: <https://github.com/sp00nznet/hl2-recomp/blob/b62d2b57cc292b16d127f7161d32f99763a0e613/README.md>
- Catalog page: <https://awesomerea.org/resources/half-life-2-xbox-recomp-case/>
- Record JSON: <https://awesomerea.org/resources/half-life-2-xbox-recomp-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/half-life-2-xbox-recomp-case/index.md)

## Requirements & limits

- **Prerequisites:** The Xbox Half-Life 2 game files and xboxrecomp runtime are required.
- **Limits:** The author reports title-screen rendering and partial level loading; gameplay and controller input remain incomplete.
- **License:** MIT License.

## Primary sources

1. <https://github.com/sp00nznet/hl2-recomp/blob/b62d2b57cc292b16d127f7161d32f99763a0e613/README.md>
2. <https://github.com/sp00nznet/hl2-recomp/blob/b62d2b57cc292b16d127f7161d32f99763a0e613/docs/boot.md>

## More in Games

- [Hobbit Recompiled: an Apple Silicon recompilation of LEGO The Hobbit](https://awesomerea.org/resources/hobbit-recompiled-case/index.md) · Case study
- [Hookshot: static recompilation of the Switch 2 Ocarina of Time remake](https://awesomerea.org/resources/hookshot-oot-switch2-case/index.md) · Case study
- [HotelMarioRecomp: an early Philips CD-i static recompilation](https://awesomerea.org/resources/hotel-mario-cdi-recomp-case/index.md) · Case study
- [Hover!: statically recompiling the Windows 95 game to native C](https://awesomerea.org/resources/hover-static-recompilation-case/index.md) · Case study
- [HPCOS GC: Harry Potter and the Chamber of Secrets recompiled for PC](https://awesomerea.org/resources/hpcos-gc-recomp-case/index.md) · Case study
- [Hybrid Heaven: a native port through N64 static recompilation](https://awesomerea.org/resources/hybrid-heaven-recompiled-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.
