7.5 KiB
doukutsu-rs
A fully playable re-implementation of Cave Story (Doukutsu Monogatari) engine written in Rust.
- Get stable/beta builds from GitHub Releases (executables only, no data files bundled, see below for instructions)
- Get nightly builds from AppVeyor (select platform -> Artifacts -> download the .zip)
Data files
In order to work doukutsu-rs needs to be paired with supported data files. This repository does not contain any data files.
doukutsu-rs works fine with pre-extracted freeware data from this repository builds or NXEngine(-evo) or from a supported copy of Cave Story+.
Supported game editions and data file acquisition guides
Freeware
- Vanilla freeware can't be just used without additional work, because some important data files are embedded inside the executable. An automatic extractor might be available in future.
Manual extraction guide
Tools required:
- Windows version of the game (1.0.0.6), original Japanese or with Aeon Genesis patch.
- Resource Hacker
- Booster's Lab
- Open Doukutsu.exe in Resource Hacker.
- Click on
ORG
group, selectAction
->Save [ORG] group to an .RC file
. - Navigate to
data
folder and create a folder namedOrg
and save the .RC file there. - Click on
BITMAP
group, selectAction
->Save [BITMAP] group to an .RC file
. - Save them in
data
folder (NOT inOrg
folder). - Go to file explorer and navigate to
data
folder. - Delete Bitmap.rc
- Go to
Org
folder. - Delete Org.rc
- Rename extension of all files from
.bin
to.org
- you won't have music if you don't do that! - Close Resource Hacker.
- Open Booster's Lab
- Load
Doukutsu.exe
in Booster's Lab - you can ignore the fact it tries to apply any patches or renames .pbm to .bmp, d-rs doesn't care. - Select
File
->Export mapdata
->stage.tbl
- Close Booster's Lab, saving isn't necessary.
- That's all, you have everything to use it with doukutsu-rs now.
- https://github.com/doukutsu-rs/game-data - Pre-extracted freeware game data, graphics converted to .png, already distributed with AppVeyor builds for your convenience. (recommended)
- https://github.com/nxengine/nxengine-evo/releases/download/v2.6.5-1/NXEngine-Evo-v2.6.5-1-Win64.zip -
copy
NXEngine-evo-2.6.5-1-xxx/data
from the archive to runtime directory
Cave Story+
doukutsu-rs can be used as drop-in replacement for CaveStory+.exe
. No modifications to game files are needed.
Original version (first released in 2011 on Steam) - expand for instructions
Steam release (Win/Mac/Linux)
The data
folder is in the same place across all platforms.
If you want to use doukutsu-rs as a substitute for Mac version of Cave Story+ (which at moment of writing doesn't work on 10.15+ anymore), do the following:
- Find the doukutsu-rs executable:
- In AppVeyor builds, it's in
doukutsu-rs.app/Contents/MacOS/doukutsu-rs
- In your own builds, it's in
target/(release|debug)/doukutsu-rs
- In AppVeyor builds, it's in
- Open Steam Library, select
Cave Story+
, press theManage
button (gear icon) and selectProperties...
- Select
Local Files
and pressBrowse...
. - Open the
Cave Story+.app
bundle and navigate toContents/MacOS
directory. - Rename the
Cave Story+
executable to something else or delete it. - Copy the doukutsu-rs executable and rename it to
Cave Story+
. - Launch the game from Steam and enjoy!
Humble Bundle
We haven't tested it so no screenshots, but it very likely works. Feel free to PR screenshots to this guide.
Remastered version (first released in 2017 on Switch)
Note that this version is incompatible with saves from the original version.
Intercharging the save files may result in spawning in wrong locations, softlocks, etc.
Nintendo Switch
(Only 1.2+ has been tested, earlier versions may not work properly due to lack of 2P/Original Graphics support.)
Your interest is only in data
directory placed in romfs.
Requires a hackable/modchipped console. If you got your Switch early, it's likely that it's hackable so give it a shot - just be very careful to not get your console banned. There's tons of guides you can easily find online so we won't cover it there.
You can dump the ROM (or just dump the romfs directly but it's just a bit slow so we recommend doing it on PC instead) using nxdumptool.
Once you got the keys and ROM dumped you can use the romfs extraction feature in Ryujinx or yuzu emulators to grab the data files.
Screenshots
Credits
- Studio Pixel/Nicalis for Cave Story
- @Daedily - brand artwork (Icon / Banner / Server), screenshots for this guide.
- ggez - parts of it are used in
crate::framework
, notably the VFS code. - Clownacy - widescreen camera code.
- LunarLambda for organism - used as basis for our Organya playback engine.