# Link: The Faces of Evil: matching CD-i program decompilation

> Link: The Faces of Evil Decompilation reconstructs the Philips CD-i game's cdi_link main program as C source. Its build compiles functions with Apple MPW C 3.0, places them in the module and compares the resulting SHA-1 with the original from a user's disc. The author reports matching builds for English, French, German and Dutch releases.

- 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/ByteDecompiler/link-faces-of-evil>
- Primary source: <https://github.com/ByteDecompiler/link-faces-of-evil/blob/38b3cf0e31c91136a0df8dc09a80151b360edbed/README.md>
- Catalog page: <https://awesomerea.org/resources/link-faces-of-evil-decomp-case/>
- Record JSON: <https://awesomerea.org/resources/link-faces-of-evil-decomp-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/link-faces-of-evil-decomp-case/index.md)

## Requirements & limits

- **Prerequisites:** A supported game disc, Python 3, Capstone, Basilisk II, an owned 68040 Mac ROM, System 7.5.3 and MPW C 3.0.
- **Limits:** Some drawing routines and NVRAM name coders remain in assembly; naming and documentation remain incomplete.
- **License:** No licence file in the repository.

## Primary sources

1. <https://github.com/ByteDecompiler/link-faces-of-evil/blob/38b3cf0e31c91136a0df8dc09a80151b360edbed/README.md>
2. <https://github.com/ByteDecompiler/link-faces-of-evil/blob/38b3cf0e31c91136a0df8dc09a80151b360edbed/CONTRIBUTING.md>

## More in Games

- [LittleBigPlanet PSP: a matching decompilation of EBOOT.BIN](https://awesomerea.org/resources/lbp-psp-decomp-case/index.md) · Case study
- [Lode Runner: a byte-exact ZX Spectrum disassembly](https://awesomerea.org/resources/lode-runner-spectrum-disassembly-case/index.md) · Case study
- [LSD: Dream Emulator — a matching PlayStation decompilation](https://awesomerea.org/resources/lsd-dream-emulator-decomp-case/index.md) · Case study
- [LSD: Dream Emulator: a matching PlayStation decompilation](https://awesomerea.org/resources/lsd-decomp-case/index.md) · Case study
- [LSD: Dream Emulator: an early PlayStation decompilation](https://awesomerea.org/resources/lsd-dream-emulator-cawfee-decomp-case/index.md) · Case study
- [LSD: Dream Emulator: partial PS1 decompilation and mechanics research](https://awesomerea.org/resources/lsddecomp-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.
