# Castlevania 64: Recompiled — a beta static-recompilation port

> Uses N64Recomp to statically recompile the US 1.0 Nintendo 64 release of Castlevania into a native PC port rendered with RT64. Game-specific C patches build against headers from a separate Castlevania 64 decompilation. A beta release tagged at the reviewed commit reports a working build with known issues, while the README there still describes an unfinished project.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-10-18
- Added to the catalog: 2026-10-18
- Original resource: <https://github.com/RevoSucks/CV64Recomp>
- Primary source: <https://github.com/RevoSucks/CV64Recomp/blob/141b35d8902a6c74e247988df26d394822f8026c/flatpak/io.github.cv64recomp.cv64recomp.metainfo.xml>
- Catalog page: <https://awesomerea.org/resources/cv64-recompiled-case/>
- Record JSON: <https://awesomerea.org/resources/cv64-recompiled-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/cv64-recompiled-case/index.md)

## Requirements & limits

- **Prerequisites:** The metadata says the original game is required. The launcher accepts a single entry, the US 1.0 release (game ID cv64.us.1.0) identified by a fixed ROM hash, and cv64.toml configures the NTSC 1.0 recompilation from a decompressed ELF plus an overlay list. CI copies that ELF and a decompressed ROM from a private repository through secrets; neither is in the public tree.
- **Prerequisites:** The CMake project needs CMake 3.20+, C++20 and the N64Recomp and RSPRecomp tools; the workflow pins an N64Recomp commit and builds Linux x64 and ARM64 AppImages, an x64 Flatpak, Windows and macOS targets. Patches compile as MIPS code with clang and ld.lld against headers from the k64ret/cv64 decompilation submodule, with symbol dumps from CV64Syms and submodules for N64ModernRuntime, RecompFrontend and RT64. Several sources and functions still carry Banjo names.
- **Scope:** The AppStream metadata describes Castlevania 64: Recompiled as an N64: Recompiled static recompilation into a native port using RT64 for rendering. The v0.5.0 beta release, tagged at the reviewed commit, calls itself a working build and lists known issues: Banjo Recomp assets still to be replaced, texture scrolls that do not animate above 30 FPS, and glitches in some looping animations. At the same commit the README still says the WIP recomp does not build, and BUILDING.md only says WIP.
- **Testing evidence:** GitHub check runs recorded for the reviewed commit report successful builds on those platforms. No matching, test or performance results are documented.
- **License:** COPYING is GPLv3 and the metadata declares GPL-3.0+; the original ROM and the dependencies keep their own terms.

## Primary sources

1. <https://github.com/RevoSucks/CV64Recomp/blob/141b35d8902a6c74e247988df26d394822f8026c/flatpak/io.github.cv64recomp.cv64recomp.metainfo.xml>
2. <https://github.com/RevoSucks/CV64Recomp/blob/141b35d8902a6c74e247988df26d394822f8026c/README.md>
3. <https://github.com/RevoSucks/CV64Recomp/blob/141b35d8902a6c74e247988df26d394822f8026c/BUILDING.md>
4. <https://github.com/RevoSucks/CV64Recomp/blob/141b35d8902a6c74e247988df26d394822f8026c/cv64.toml>
5. <https://github.com/RevoSucks/CV64Recomp/blob/141b35d8902a6c74e247988df26d394822f8026c/patches.toml>
6. <https://github.com/RevoSucks/CV64Recomp/blob/141b35d8902a6c74e247988df26d394822f8026c/src/main/main.cpp>
7. <https://github.com/RevoSucks/CV64Recomp/blob/141b35d8902a6c74e247988df26d394822f8026c/CMakeLists.txt>
8. <https://github.com/RevoSucks/CV64Recomp/blob/141b35d8902a6c74e247988df26d394822f8026c/patches/Makefile>
9. <https://github.com/RevoSucks/CV64Recomp/blob/141b35d8902a6c74e247988df26d394822f8026c/.gitmodules>
10. <https://github.com/RevoSucks/CV64Recomp/blob/141b35d8902a6c74e247988df26d394822f8026c/.github/workflows/validate.yml>
11. <https://github.com/RevoSucks/CV64Recomp/blob/141b35d8902a6c74e247988df26d394822f8026c/COPYING>
12. <https://github.com/RevoSucks/CV64Recomp/releases/tag/v0.5.0>

## More in Games

- [Conker's Bad Fur Day: Recompiled — an N64Recomp native port](https://awesomerea.org/resources/cbfd-recompiled-case/index.md) · Case study
- [CPS-2 Recomp: static recompilation of Capcom CPS-2 and CPS-1 arcade games](https://awesomerea.org/resources/cps2recomp-arcade-static-recomp-case/index.md) · Case study
- [Crash Bandicoot 2 Recompiled: a PSXRecomp native build](https://awesomerea.org/resources/crash2recomp-case/index.md) · Case study
- [Dead Rising 2: Case West — a sibling Xbox 360 XBLA static recompilation port](https://awesomerea.org/resources/dead-rising-2-case-west-recomp-case/index.md) · Case study
- [Dead Rising 2: Case Zero — an Xbox 360 XBLA static recompilation port](https://awesomerea.org/resources/dead-rising-2-case-zero-recomp-case/index.md) · Case study
- [Devil May Cry: an experimental PS2 static recompilation](https://awesomerea.org/resources/dmc-recomp-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.
