# N64ModernRuntime

> Runtime for N64Recomp static recompilations and traditional source ports of N64 games, made of two libraries. ultramodern reimplements core libultra services (threads, message queues, timers, controllers, audio, RSP task handling and VI timing) and leaves controller input, audio playback and the graphics renderer, with RT64 recommended, to callbacks the host project registers. librecomp bridges N64Recomp-generated code to ultramodern and adds overlay handling, PI DMA ROM reads, and EEPROM, SRAM and Flash RAM saves.

- Type: Tool
- Targets: Game
- Category: Game analysis tools
- Relationship: Foundation tool
- Sources reviewed: 2026-10-19
- Added to the catalog: 2026-10-19
- Original resource: <https://github.com/N64Recomp/N64ModernRuntime>
- Primary source: <https://github.com/N64Recomp/N64ModernRuntime/blob/cdf5abbd5026fef5c364c676e4667c45e42b6863/README.md>
- Catalog page: <https://awesomerea.org/resources/n64modernruntime/>
- Record JSON: <https://awesomerea.org/resources/n64modernruntime/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/n64modernruntime/index.md)

## Requirements & limits

- No releases or tags at review; the README recommends including the libraries in a project's own CMake build with add_subdirectory. The reviewed main commit (2026-08-30) needs CMake 3.20+ and C++20; the README says it was developed with Clang 15, older Clang versions may not work, and recent MSVC and GCC should work but are not regularly tested. N64Recomp, miniz, xxHash and o1heap are pinned submodules.
- The runtime contains no game code: the host project supplies the recompiled code, the renderer and the platform callbacks, and the user supplies the game ROM. The reviewed librecomp source checks a user-selected ROM against a per-game hash and also loads .nrm mod packages; the README does not describe either feature.
- The README covers library scope only and has no compatibility list.
- GPL-3.0 (COPYING); submodules keep their own licenses. CONTRIBUTING.md states that AI-generated code contributions are not accepted.

## Primary sources

1. <https://github.com/N64Recomp/N64ModernRuntime/blob/cdf5abbd5026fef5c364c676e4667c45e42b6863/README.md>
2. <https://github.com/N64Recomp/N64ModernRuntime/blob/cdf5abbd5026fef5c364c676e4667c45e42b6863/CMakeLists.txt>
3. <https://github.com/N64Recomp/N64ModernRuntime/blob/cdf5abbd5026fef5c364c676e4667c45e42b6863/.gitmodules>
4. <https://github.com/N64Recomp/N64ModernRuntime/blob/cdf5abbd5026fef5c364c676e4667c45e42b6863/COPYING>
5. <https://github.com/N64Recomp/N64ModernRuntime/blob/cdf5abbd5026fef5c364c676e4667c45e42b6863/CONTRIBUTING.md>
6. <https://github.com/N64Recomp/N64ModernRuntime/blob/cdf5abbd5026fef5c364c676e4667c45e42b6863/librecomp/src/recomp.cpp#L360-L410>
7. <https://github.com/N64Recomp/N64ModernRuntime/blob/cdf5abbd5026fef5c364c676e4667c45e42b6863/librecomp/src/mods.cpp>

## More in Games

- [REDscript](https://awesomerea.org/resources/redscript/index.md) · Tool
- [Spice86](https://awesomerea.org/resources/spice86/index.md) · Tool
- [PS2 Web Recomp](https://awesomerea.org/resources/ps2-web-recomp/index.md) · Tool
- [xboxrecomp](https://awesomerea.org/resources/xboxrecomp/index.md) · Tool
- [PCSX-Redux](https://awesomerea.org/resources/pcsx-redux/index.md) · Tool
- [Il2CppInspector](https://awesomerea.org/resources/il2cppinspector/index.md) · Tool

## 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.
