# Devil Within Co-op: statically recompiling Tekken 5's Devil Within mode

> Devil Within Co-op statically recompiles the Devil Within mode from a user's Tekken 5 USA disc into generated Rust, then runs it through a Rust PS2 runtime and Bevy application. Its pipeline extracts the compressed ELF, exports Ghidra analysis and generates code locally; added hooks provide cooperative play, a mod menu and reconstructed developer menus.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-08
- Original resource: <https://github.com/MrPrinceYL/devilwithin-coop>
- Primary source: <https://github.com/MrPrinceYL/devilwithin-coop/blob/791cf8a7b396ac9d71c7e17914092990273f564a/README.md>
- Catalog page: <https://awesomerea.org/resources/devil-within-coop-case/>
- Record JSON: <https://awesomerea.org/resources/devil-within-coop-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/devil-within-coop-case/index.md)

## Requirements & limits

- **Prerequisites:** A legally obtained Tekken 5 USA SLUS-21059 disc image is required; game files and generated code are produced locally.
- **Prerequisites:** Rebuilding requires Python 3, a Rust toolchain, Ghidra 12.1.4, ghidra-emotionengine-reloaded 2.1.38 and ghidra-cli.
- **Scope:** The project is marked work in progress and covers Devil Within rather than the other Tekken 5 modes.
- **License:** No licence file in the repository.

## Primary sources

1. <https://github.com/MrPrinceYL/devilwithin-coop/blob/791cf8a7b396ac9d71c7e17914092990273f564a/README.md>
2. <https://github.com/MrPrinceYL/devilwithin-coop/blob/791cf8a7b396ac9d71c7e17914092990273f564a/DevilWithin.md>

## More in Games

- [Dicing Knight. — a native port by static recompilation](https://awesomerea.org/resources/dicing-knight-static-recomp-case/index.md) · Case study
- [Diddy Kong Racing Recompiled: a native Windows port by static recompilation](https://awesomerea.org/resources/diddy-kong-racing-recompiled-case/index.md) · Case study
- [Die Hard Trilogy Recompiled: a PlayStation setup and static recompilation](https://awesomerea.org/resources/die-hard-trilogy-recompiled-case/index.md) · Case study
- [Digimon World 2003 Recompiled: a local PSXRecomp setup host](https://awesomerea.org/resources/digimon-world-2003-recompiled-case/index.md) · Case study
- [Dimensions Recompiled: native Windows build of LEGO Dimensions](https://awesomerea.org/resources/dimensions-recomp/index.md) · Case study
- [Dino Crisis - Modern Edition: a disc-built Windows recompilation](https://awesomerea.org/resources/dino-crisis-modern-edition-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.
