# Castlevania 64: matching decompilation of the Nintendo 64 game

> This is a work-in-progress decompilation of Castlevania for the Nintendo 64. The aim is C that compiles to assembly matching the ROM. The README says hardcoded addresses still limit large-scale mods, so the tree is useful as documentation of the game code.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-07
- Added to the catalog: 2026-11-09
- Original resource: <https://github.com/k64ret/cv64>
- Primary source: <https://github.com/k64ret/cv64/blob/5307217aa772019b7576cad3cb2c545e88e0394a/README.md>
- Catalog page: <https://awesomerea.org/resources/cv64-decomp-case/>
- Record JSON: <https://awesomerea.org/resources/cv64-decomp-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/cv64-decomp-case/index.md)

## Requirements & limits

- Place a Castlevania 64 (USA v1.0) ROM at baserom.z64.
- Configure with cmake -S . -B build -G Ninja, or Unix Makefiles. If the build fails, the README says to set disassemble_all to True in castlevania.yaml, clean, build, then set it back to False and build again.
- The README names no license.

## Primary sources

1. <https://github.com/k64ret/cv64/blob/5307217aa772019b7576cad3cb2c545e88e0394a/README.md>

## More in Games

- [Castlevania 64: matching USA v1.0 overlays](https://awesomerea.org/resources/cv64-overlays-decomp-case/index.md) · Case study
- [Castlevania: Aria of Sorrow — matching decompilation of the GBA game](https://awesomerea.org/resources/cvaos-decomp/index.md) · Case study
- [Castlevania: Symphony of the Night: matching decompilation across PlayStation, PSP and Saturn builds](https://awesomerea.org/resources/sotn-matching-decomp-case/index.md) · Case study
- [Chameleon Twist: an in-progress Japanese N64 decompilation](https://awesomerea.org/resources/chameleon-twist-jp-decomp-case/index.md) · Case study
- [Champions of Norrath: matching PS2 function reconstruction](https://awesomerea.org/resources/champions-of-norrath-decomp-case/index.md) · Case study
- [Champions: Return to Arms: byte-matched PS2 function reconstruction](https://awesomerea.org/resources/champions-return-to-arms-ps2-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.
