Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Software:The Legend of Zelda: The Minish Cap

From ReverseEngineering.wiki
Software
Developer Capcom, Flagship
Publisher Nintendo
Platforms Platform:Game Boy Advance
On this wiki Facts · Code · Notes · Topics

Nintendo's 2004 Game Boy Advance Zelda game (developed by Capcom and Flagship). A matching decompilation, zeldaret/tmc, rebuilds its ROMs byte for byte.

Overview

GBA game whose ROMs are rebuilt by the work-in-progress matching decompilation zeldaret/tmc (Technique:Matching decompilation). The repository does not contain game assets: they are extracted from a ROM you supply, then the sources are built with the GBA toolchain described in Platform:Game Boy Advance#Matching decompilations and the result is compared with the published SHA-1.

Known builds (SHA-1 published in the repository)

From the README of zeldaret/tmc and the tmc*.sha1 files in its root:

ROM file name in the build SHA-1
tmc.gba b4bd50e4131b027c334547b4524e2dbbd4227130
tmc_jp.gba 6c5404a1effb17f481f352181d0f1c61a2765c5d
tmc_eu.gba cff199b36ff173fb6faf152653d1bccf87c26fb7
tmc_demo_usa.gba 63fcad218f9047b6a9edbb68c98bd0dec322d7a1
tmc_demo_jp.gba 9cdb56fa79bba13158b81925c1f3641251326412

The regions behind the file names are inferred from the names (tmc.gba is the USA build per the repository's USA/JP/EU target list); the repository's own build documentation is INSTALL.md.

Repository layout (useful without building)

Makefile, GBA.mk and Toolchain.mk (flags), linker.ld (link order), asm/, src/, include/, data/, constants/ and charmap.txt (text encoding), tools/ and progress.py. Unverified: the exact compiler version and flags; read Toolchain.mk before relying on them.

Notes

The repository has no detected license, so reuse its code only after checking with its authors; symbol names and addresses are the safe part to reuse.

Code & repositories

  • https://github.com/zeldaret/tmc @ 6fb6dfb4a7efbe24d0fd1dda5097af6131faacde · license: none (declared by the contributor; GitHub's detector did not recognize a license file)
    Work-in-progress matching decompilation of The Legend of Zelda: The Minish Cap for the GBA (USA, EU, JP, USA demo, JP demo). The tmc*.sha1 files in the root give the SHA-1 of each ROM; INSTALL.md describes the build; Makefile, GBA.mk, Toolchain.mk and linker.ld give flags and link order.
    Tested on: source read, not run: source read, not run: README, file list and tmc.sha1 read at the pinned commit; not built · checked 2026-10-18; last activity 2026-09-27