N64Recomp

N64Recomp statically recompiles Nintendo 64 game binaries into C code that can be built for multiple platforms.

github.com/N64Recomp/N64Recomp
N64Recomp homepage screenshot

About N64Recomp

N64Recomp is a tool that statically recompiles Nintendo 64 binaries into C code. Each function in the input binary is translated into a C function, named using symbol and metadata supplied with the binary. The C output can be compiled with any C compiler and is intended for use with a runtime that supplies the required functions and macros. The project's README names N64ModernRuntime as a provided runtime and cites the Zelda 64: Recompiled project as an example of its use.

According to the README, the output can be used for ports and tools, and for simulating behavior faster than interpreters or dynamic recompilation. It can also run part of an N64 binary in a standalone environment. The recompiler has been tested mainly on binaries built with older MIPS compilers and modern clang. Modern MIPS gcc output may cause problems, which the README says can probably be avoided with specific compilation flags.

Key features

  • Statically recompiles N64 binaries into C code
  • Translates each instruction into literal C code to keep complexity low
  • Splits binaries into functions named from supplied symbol metadata
  • Handles branch delay slots and tail-call-style jumps
  • Attempts switch-case output for recognized jump tables
  • Supports static and relocatable overlays
Best for: Developers who want to port, analyze, or run parts of Nintendo 64 game binaries as standalone C code.
Good for
  • Output can be compiled with MSVC, GCC, and Clang, according to the README
  • The README describes it as faster for simulation than interpreters or dynamic recompilation
  • Source code is publicly available as an open source repository
Watch out for
  • The output needs a runtime that provides the required functionality and macros
  • Modern MIPS gcc binaries may cause problems and may need specific compilation flags
  • Each output function is currently written to its own file, and grouping is only a possible future option

N64Recomp at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

N64Recomp alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Mods & Fan Projects

Well-known listings from the same topic.

All 234

N64Recomp FAQ

Does the generated C code run on its own?
No. The README says the output is expected to be used with a runtime that provides the necessary functionality and macro implementations. It names N64ModernRuntime as a provided runtime.
Which C compilers has the output been tested with?
The README says the recompiler output has been tested with MSVC, GCC, and Clang.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing