# Libre40: a static-recompilation port of Army of Two: The 40th Day

> Libre40 builds a native Windows host for the Xbox 360 release of Army of Two: The 40th Day using ReXGlue static recompilation. Its extraction and code-generation scripts use the player's disc image to produce local game files and recompiled source; the author reports playable single-player gameplay.

- 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/automoto/Libre40>
- Primary source: <https://github.com/automoto/Libre40/blob/497fac9c84dbe46ad907af44415bbca3a1ddc21c/README.md>
- Catalog page: <https://awesomerea.org/resources/libre40-case/>
- Record JSON: <https://awesomerea.org/resources/libre40-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/libre40-case/index.md)

## Requirements & limits

- **Prerequisites:** A legally obtained Army of Two: The 40th Day Xbox 360 disc image is required.
- **Prerequisites:** Windows, CMake 3.25+, Ninja, LLVM/Clang, Visual Studio 2022 Build Tools, Python 3 and the ReXGlue SDK are required.
- **Limits:** Movies currently show a black screen; local and online multiplayer are being worked on.
- **License:** No licence file in the repository.

## Primary sources

1. <https://github.com/automoto/Libre40/blob/497fac9c84dbe46ad907af44415bbca3a1ddc21c/README.md>
2. <https://github.com/automoto/Libre40/blob/497fac9c84dbe46ad907af44415bbca3a1ddc21c/docs/development.md>

## More in Games

- [Link's Awakening DX: static recompilation of the Game Boy Color ROM](https://awesomerea.org/resources/links-awakening-dx-static-recomp-case/index.md) · Case study
- [Little Planet: Sonic CD recompiled from a matching disassembly](https://awesomerea.org/resources/little-planet-sonic-cd-recomp-case/index.md) · Case study
- [Live & Recompiled: recompiling Conker: Live & Reloaded for PC](https://awesomerea.org/resources/conker-live-recompiled/index.md) · Case study
- [LMA Manager 2007: an Xbox 360 static recompilation in Rust](https://awesomerea.org/resources/lma-2007-static-recomp-case/index.md) · Case study
- [Lost Odyssey Recomp: statically recompiling an Xbox 360 RPG into native ports](https://awesomerea.org/resources/lost-odyssey-recomp-case/index.md) · Case study
- [Lufia II Recompiled: a native SNES recompilation](https://awesomerea.org/resources/lufia-ii-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.
