Static recompilation of The Legend of Zelda: Ocarina of Time into a native PC program
HEALTH ? 80 / Healthy
Static recompilation of The Legend of Zelda: Ocarina of Time into a native PC program
// readme
Research project: static recompilation of The Legend of Zelda: Ocarina of Time (title id 04004860224DEC00) into a
native Windows program, by the method of totk-pc-recomp as carried
to further games by fe3h-pc-recomp and
metroid-prime-4-recomp. The game’s code is lifted to C,
compiled for x86-64 and linked with a host runtime that stands in for the console’s OS and graphics API on Vulkan.
This is the fourth game on that code and the first Switch 2 title, so the project also tests how much of the shared core survives a new console generation.
As of 2026-11-06 (details and dates in docs/plan.md, the shader work in docs/phase3.md):
tools/extract_nup.py, the Switch 2’s .nup container and zbic-compressed NSOs), the three
game modules lift to C and oot.exe builds and links (Phase 1).