# Ghostship

<div align="left"><figure><img src="https://github.com/RetroBat-Official/es-theme-carbon/blob/master/art/logos/ghostship.png?raw=true" alt="" width="375"><figcaption></figcaption></figure></div>

Game engine to play Super Mario 64.

{% embed url="<https://github.com/HarbourMasters/Ghostship>" %}

## Information

<table data-header-hidden><thead><tr><th width="240"></th><th></th></tr></thead><tbody><tr><td><strong>Emulators</strong></td><td><ul><li>ghostship</li></ul></td></tr><tr><td><strong>File folder</strong></td><td><span data-gb-custom-inline data-tag="emoji" data-code="1f4c2">📂</span> roms \ <span data-gb-custom-inline data-tag="emoji" data-code="1f4c2">📂</span> ghostship</td></tr><tr><td><strong>File extension</strong></td><td>.z64</td></tr></tbody></table>

## BIOS

No BIOS required.

## Controls

<div align="left"><figure><img src="https://github.com/RetroBat-Official/retrobat-tattoos/blob/main/default/n64-standalone.png?raw=true" alt=""><figcaption></figcaption></figure></div>

An alternative control layout is available, with Z on the right trigger, use this option to enable it:<br>

<div align="left"><figure><img src="https://990680527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FexdzL60ZuqPLldz2AYta%2Fuploads%2F1WnttZifLEX6dXj1KKV3%2Fimage.png?alt=media&#x26;token=5c870957-b755-4b30-9d71-6f929d556749" alt=""><figcaption></figcaption></figure></div>

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

{% 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.

## System Features

### Adding the game

Place any Super Mario 64 compatible game file in `roms\ghostship` folder.

The list of compatible roms are:

* The US ROM with SHA-1 `9bef1128717f958171a4afac3ed78ee2bb4e86ce`.
* The JP ROM with SHA-1 `8a20a5c83d6ceb0f0506cfc9fa20d8f438cafe51`.
