# Mario Kart DS: an incremental matching decompilation of the European release

> mkds-decomp incrementally reconstructs the European Mario Kart DS ARM9 code in C. Candidate functions are compiled with mwccarm, compared against cartridge bytes with relocation checks, and incorporated into a ROM rebuild checked by SHA-1. The author reports that unmatched spans remain original-byte gap objects during the partial reconstruction.

- 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/ai-tdd-labs/mkds-decomp>
- Primary source: <https://github.com/ai-tdd-labs/mkds-decomp/blob/c6e18fa4b346643b74c402b605a84b43cba16c01/README.md>
- Catalog page: <https://awesomerea.org/resources/mkds-decomp-case/>
- Record JSON: <https://awesomerea.org/resources/mkds-decomp-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/mkds-decomp-case/index.md)

## Requirements & limits

- **Prerequisites:** Provide a legally dumped European Mario Kart DS cartridge image.
- **Prerequisites:** The workflow specifies ndspy, capstone, pyelftools and the mwccarm 1.2/sp2p3 compiler.
- **Limits:** The author reports partial ARM9 function and code-byte coverage.
- **License:** MIT License for the project's original work.

## Primary sources

1. <https://github.com/ai-tdd-labs/mkds-decomp/blob/c6e18fa4b346643b74c402b605a84b43cba16c01/README.md>

## More in Games

- [Mario Kart Wii: an in-progress matching decompilation of the PAL release](https://awesomerea.org/resources/mario-kart-wii-decomp-case/index.md) · Case study
- [Mario Kart Wii: matching decompilation of the PAL game](https://awesomerea.org/resources/mkw-decomp-case/index.md) · Case study
- [Mario Kart: Double Dash!!: a matching GameCube decompilation of the debug build](https://awesomerea.org/resources/mario-kart-double-dash-decomp-case/index.md) · Case study
- [Mario Party 2: a US N64 decompilation](https://awesomerea.org/resources/mario-party-2-us-decomp-case/index.md) · Case study
- [Mario Party 3: a matching Nintendo 64 decompilation](https://awesomerea.org/resources/mario-party-3-decomp-case/index.md) · Case study
- [Mario Party 4: matching GameCube decompilation of the USA releases](https://awesomerea.org/resources/mario-party-4-decomp-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.
