# Nintendo 64

<div align="left"><figure><img src="https://raw.githubusercontent.com/fabricecaruso/es-theme-carbon/master/art/logos/n64.svg" alt=""><figcaption></figcaption></figure></div>

Game Console - Lifespan: 1996 - 2002

{% embed url="<https://en.wikipedia.org/wiki/Nintendo_64>" %}

## Information

<table data-header-hidden><thead><tr><th width="184"></th><th></th><th data-hidden></th></tr></thead><tbody><tr><td><strong>Emulators</strong></td><td><ul><li>libretro: mupen64plus next</li><li>libretro: parallel</li><li>mupen64 (RMG)</li><li>simple64</li><li>ares</li><li>bizhawk: Ares64</li><li>bizhawk: Mupen64Plus</li><li>project64</li><li>gopher64</li></ul></td><td></td></tr><tr><td><strong>Games Location</strong></td><td><span data-gb-custom-inline data-tag="emoji" data-code="1f4c1">📁</span> roms \ <span data-gb-custom-inline data-tag="emoji" data-code="1f4c2">📂</span> n64</td><td></td></tr><tr><td><strong>File extensions</strong></td><td>.v64 .z64 .n64 .wad .zip .7z</td><td></td></tr></tbody></table>

## System Features

<table><thead><tr><th width="256">Retroachievements</th><th width="243">Netplay</th><th>Controller autoconfig</th></tr></thead><tbody><tr><td>lr-mupen64: YES<br>lr-parallel: YES<br>RMG: NO<br>Simple64: NO<br>Ares: NO<br>BizHawk: YES<br>Project64: NO<br>Gopher64: NO</td><td>lr-mupen64: YES<br>lr-parallel: YES<br>RMG: NO<br>Simple64: NO<br>Ares: NO<br>BizHawk: NO<br>Project64: NO<br>Gopher64: NO</td><td>lr-mupen64: YES<br>lr-parallel: YES<br>RMG: YES<br>Simple64: YES<br>Ares: YES<br>BizHawk: YES<br>Project64: YES<br>Gopher64: YES</td></tr></tbody></table>

## Features

| Retroachievements | Netplay |
| ----------------- | ------- |
| YES               | NO      |

## BIOS

There is no BIOS files needed to run games.

## Controls

### Control layouts

RetroBat offers multiple controller layouts for N64.

<div align="left"><figure><img src="https://i.imgur.com/QgyGghe.png" alt=""><figcaption></figcaption></figure></div>

| Option                                                                      | Layout                                                                                                                                              |
| --------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| Default for Retroarch / Libretro                                            | <img src="/files/sjOmsLYqWsrkdG8DLCJ5" alt="" data-size="original">                                                                                 |
| Default for non-Retroarch                                                   | <img src="https://github.com/RetroBat-Official/retrobat-tattoos/blob/main/default/n64-standalone.png?raw=true" alt="" data-size="original">         |
| <p>C-BUTTONS=FACE Z=LEFT-TRIGGER<br>Project64, RMG, Simple64, Gopher64</p>  | <img src="https://github.com/RetroBat-Official/retrobat-tattoos/blob/main/default/n64-standalone_face_zl.png?raw=true" alt="" data-size="original"> |
| <p>Z=RIGHT-TRIGGER<br>All emulators except Retroarch/Libretro</p>           | <img src="https://github.com/RetroBat-Official/retrobat-tattoos/blob/main/default/n64-standalone_zr.png?raw=true" alt="" data-size="original">      |
| <p>C-BUTTONS=FACE Z=RIGHT-TRIGGER<br>Project64, RMG, Simple64, Gopher64</p> | <img src="https://github.com/RetroBat-Official/retrobat-tattoos/blob/main/default/n64-standalone_face_zr.png?raw=true" alt="" data-size="original"> |
| <p>XBOX<br>All emulators</p>                                                | <img src="https://github.com/RetroBat-Official/retrobat-tattoos/blob/main/default/n64_xbox.png?raw=true" alt="" data-size="original">               |

### Using a N64 controller

RetroBat will automatically detect and configure the following N64 controllers:

* Original N64 pad with Raphnet adapter
* Original N64 pad with Mayflash adapter
* Nintendo Switch Online N64 Gamepad (only on standalone emulators, not with RetroArch)

{% hint style="info" %}
When using Mayflash adapter, controllers must be plugged in reverse order, meaning player 1 will be assigned to the last port of the adapter.
{% endhint %}

The mapping for N64 controllers can be found in the file "**n64Controllers.json**" that is located in the `\system\resources\inputmapping` folder of the RetroBat installation, it is possible to add your own controller mapping within this file.

### Raphnet adapter

RMG Mupen64, Project64 and Simple64 can leverage the Raphnet direct access feature with a dedicated plugin, this can be enabled in RetroBat features:

<div align="left"><figure><img src="https://i.imgur.com/q5F7GM3.png" alt=""><figcaption></figcaption></figure></div>

## Specific System Information

### Custom textures - libretro\_mupen64plus\_next

mupen64plus next core allows the use of custom textures.

The texture pack must be placed in the `bios\Mupen64Plus\cache\` folder if the pack comes as a .hts or .htc file.

<div align="left"><figure><img src="https://i.imgur.com/H878WjR.png" alt="" width="375"><figcaption></figcaption></figure></div>

If it comes as a uncompressed pack (folder with .png files), it must be placed in the `bios\Mupen64Plus\hires_texture\` folder.

<div align="left"><figure><img src="https://i.imgur.com/1sqG9H4.png" alt="" width="375"><figcaption></figcaption></figure></div>

For htc or hts files, the file name must be `GAMEID"__HIRESTEXTURES.hts` or .htc (for example : `MARIOKART64_HIRESTEXTURES.htc`).

For uncompressed folder, the folder name must be similar to the gameID (for example  `MARIOKART64`).

Once the texture pack in the right folder, enable **CUSTOM TEXTURES** in Retrobat.

<div align="left"><figure><img src="https://i.imgur.com/jBt3sjA.png" alt=""><figcaption><p>Advanced System Options (can also be done per game)</p></figcaption></figure></div>

<div align="left"><figure><img src="https://i.imgur.com/hzikBUa.png" alt=""><figcaption><p>Visual Rendering</p></figcaption></figure></div>

<div align="left"><figure><img src="https://i.imgur.com/TXJ3fti.png" alt=""><figcaption></figcaption></figure></div>

Select RICE if the texture pack is compressed (htc or hts).&#x20;

Select CACHE if the texture pack is uncompressed (folder).

{% hint style="info" %}
At first launch of a game with an uncompressed texture pack, Mupen64Plus-next will generate a .hts file in `CACHE` folder, upon next launch of the game, it is possible to use RICE instead of CACHE.
{% endhint %}

### Custom textures - Project64

Project64 also offers custom textures loading option.

To enable custom textures, place them within the `saves\n64\project64\hires_texture` folder of your RetroBat installation, then enable the option in RetroBat:

<div align="left"><figure><img src="/files/veLGcn9PEDEdiGDjb9DJ" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.retrobat.org/systems-and-emulators/supported-game-systems/game-consoles/nintendo-game-consoles/nintendo-64.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
