![CaveStory Logo](http://upload.wikimedia.org/wikipedia/en/8/83/Cave_Story_title_screen.png)
***
_Cave Story (doukutsu monogatari) is a Freeware Platform-Adventure Video Game Released in 2004 for the PC. It was developed over 5 years by Daisuke "Pixel" Amaya in his free time. It is one of the greatest most beautifully crafted games, particularly because of its compelling plot and musical genius._
***
## Emulator: [nxengine-libretro](https://github.com/libretro/nxengine-libretro)

## ROMs

**NOTE:** You must install the optional "lr-nxengine" package via the RetroPie setup script, otherwise, Cave Story will not show up in the list of available Ports.

After the installation of the `lr-nxengine` package, create a folder called `CaveStory` in
```
/home/pi/RetroPie/roms/ports/
```
Add all of the game files into the CaveStory folder - particularly `Doukotsu.exe` - into
```
/home/pi/RetroPie/roms/ports/CaveStory
```
If it is in Japanese, there is a game patch by Aeon Genesis that will make it English.
Due to Copyrights we can't provide sources, but Google is your friend.

## Controls

nxengine-libretro uses Retroarch configurations. Add custom retroarch controls to the `retroarch.cfg` file in
```shell
/opt/retropie/configs/ports/cavestory/retroarch.cfg
```
For more information on custom RetroArch controls see: [RetroArch Configuration](RetroArch-Configuration)

## Saves
nxengine-libretro does not support save states, but Cave Story itself includes many in-game save points and multiple profiles. Save profile files will be be saved as:
```
/home/pi/RetroPie/roms/ports/CaveStory/profile.dat
/home/pi/RetroPie/roms/ports/CaveStory/profile2.dat
/home/pi/RetroPie/roms/ports/CaveStory/profile3.dat
```