.cargo | ||
.github/workflows | ||
src | ||
.appveyor.yml | ||
.gitignore | ||
Cargo.toml | ||
LICENSE | ||
README.md |
doukutsu-rs
Download latest Nightly builds (Requires being logged in to GitHub)
A re-implementation of Cave Story (Doukutsu Monogatari) engine written in Rust.
The project is still incomplete and not fully playable yet.
Data files
This repository does not contain any copyrighted files.
For better user experience, pre-built binaries are distributed with slightly modified freeware game files.
doukutsu-rs should work fine with CSE2-Enhanced or NXEngine(-evo) freeware data files and Cave Story+ data files.
Vanilla Cave Story does not work yet because some important data files have been embedded inside the executable. and we don't have a loader/extractor implemented yet.
Where to get them?
Freeware
- https://github.com/doukutsu-rs/game-data - Freeware game data distributed with CI builds, based on those two below.
- https://github.com/Clownacy/CSE2/archive/enhanced.zip - copy
game_english/data
from archive to the runtime directory (place you run the executable from, usually project root) - https://github.com/nxengine/nxengine-evo/releases/download/v2.6.4/NXEngine-v2.6.4-Win32.zip - copy
NXEngine-evo-2.6.4-xxx/data
from the archive to runtime directory
Cave Story+
- PC release - (Tested only with Steam version, both Windows and Linux builds) Copy
data
folder from installation directory (guide for Steam) to the runtime directory. - Switch release - Not supported or actively tested. Some of release-specific opcodes have been implemented (no code decompilation was involved, just pure data file analysis), so you should be able to play it without any major issues. Because methods used to extract game data from cartridge vary, you have to find that out on your own.
Gameplay support roadmap
-
Checkmarked things = fully implemented
-
Unmarked things = partially or not implemented yet.
-
Rendering
- Backdrops
- Tilemap
- Player and it's animations
- Carets
- Bullets
- NPCs
- Text
- HUD
-
Text scripts (TSC)
- Initial implementation
- Full implementation of gameplay opcodes
- Shift-JIS encoding support
- Credits opcodes
-
Audio
- Organya BGM playback
- Text script bindings
- CS+ style .ogg BGM playback
- PixTone SFX
-
NPCs/entities
- Initial implementation
- Miscellaneous entities (~30% done)
- Bosses (~20% done)
- First Cave
- Mimiga Village
- Egg Corridor
- Grasstown
- Sand Zone (~10% done)
- Labirynth (~10% done)
- Outer Wall
- Plantation
- Last Cave
- Balcony
- Hell
- Cave Story+ specific NPCs
- Dashing Gaudis (361)
- ??? (362)
-
Weapons
- Leveling / XP system
- Initial implementation
- Snake
- Polar Star
- Fireball
- Machine Gun
- Missile Launcher
- Bubbler
- Blade
- Super Missile Launcher
- Nemesis
- Spur
-
Saving and loading game state
-
Support for different game editions
- Vanilla
- Modified vanilla
- Cave Story+
- Base mod
- Mod loading
- Curly Story
- Wind Fortress (~40%)
- Boss Run
- Seasonal graphics
- Co-op gameplay (~70%)
- Remastered soundtrack
(tbd)
Mandatory screenshots
Freeware data files:
Cave Story+ data files:
Legal note
This project includes reverse engineered implementations of NPC and game physics algorithms, derived from freeware Cave Story and PC Cave Story+ executables.
Since the game's (non-existent, even for CS+) EULA does not prohibit reverse engineering, according to Secion 103(f) we could legally revese engineer those parts to achieve interoperability.
Credits
- Studio Pixel/Nicalis for Cave Story
- Cave Story Tribute Site - has lots of useful resources related to the game.
- CSE2 - widescreen fixes, more readable reference for game logic, mutual help in various things.
- LunarLambda for organism - which is being used by us as
.org
playback engine.