> For the complete documentation index, see [llms.txt](https://wiki.retrobat.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.retrobat.org/systems-and-emulators/supported-game-systems/others/cave-story.md).

# Cave Story

Studio Pixel

<div align="left"><figure><img src="https://990680527-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FexdzL60ZuqPLldz2AYta%2Fuploads%2FtH0ZZPJ9ZQduCPbiBl8i%2Fimage.png?alt=media&amp;token=f855ccec-28dd-491e-9141-5417d29cdb0a" alt="" width="563"><figcaption></figcaption></figure></div>

## Overview

**Cave Story** (Studio Pixel, 2004) is a 2D action and exploration game, created alone by Daisuke Amaya. The original game is free.

RetroBat runs it with two libretro cores: **nxengine** (default) and **doukutsu\_rs**.

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

## At a glance

<table><thead><tr><th width="232.75"></th><th></th></tr></thead><tbody><tr><td><strong>Games folder</strong></td><td><code>roms\cavestory</code></td></tr><tr><td><strong>Extensions</strong></td><td>.libretro .exe</td></tr><tr><td><strong>Default emulator</strong></td><td>libretro: nxengine</td></tr><tr><td><strong>BIOS</strong></td><td>None</td></tr><tr><td><strong>Controller setup</strong></td><td>Automatic</td></tr><tr><td><strong>Save states</strong></td><td>No: in-game saves</td></tr><tr><td><strong>RetroAchievements</strong></td><td>No</td></tr><tr><td><strong>Netplay</strong></td><td>No</td></tr><tr><td><strong>Light guns</strong></td><td>—</td></tr><tr><td><strong>Wheels</strong></td><td>—</td></tr><tr><td><strong>Optional BIOS</strong></td><td>—</td></tr></tbody></table>

## Which emulator should I use?

| Emulator                         | Strengths                                                | Limitations         |
| -------------------------------- | -------------------------------------------------------- | ------------------- |
| **libretro: nxengine** (default) | Reference engine for the original game.                  | Original game only. |
| **libretro: doukutsu\_rs**       | Modern engine: widescreen, internal resolution up to x4. |                     |

## Install the game

Download the game from the RetroBat [**CONTENT DOWNLOADER**](https://wiki.retrobat.org/advanced-features/updates-and-content-download.md#content-downloader) menu, or from the website:

{% embed url="<https://www.cavestory.org/download/cave-story.php>" %}

Direct download of the English version: [cavestoryen.zip](http://www.cavestory.org/downloads/cavestoryen.zip).

Two ways to start the game:

| Launched file                                    | Effect                                                                                                           |
| ------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------- |
| `Doukutsu.exe` in `roms\cavestory\<game folder>` | The selected core runs the game of this folder.                                                                  |
| `nxengine.libretro` in `roms\cavestory`          | The nxengine core is started without a file: it runs the game of `bios\nxengine` (`bios\nxengine\Doukutsu.exe`). |

## Controls

Default RetroArch controls.

### Hotkeys

RetroArch hotkeys. See the [**Hotkeys**](https://wiki.retrobat.org/navigation/hotkeys.md) page.

## Folders

<table><thead><tr><th width="189">Content</th><th>Folder</th></tr></thead><tbody><tr><td>Game</td><td><code>roms\cavestory\&#x3C;game folder></code> or <code>bios\nxengine</code></td></tr><tr><td>Saves</td><td><code>saves\cavestory</code></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://wiki.retrobat.org/systems-and-emulators/supported-game-systems/others/cave-story.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
