Senryoku/Deecy
Experimental Dreamcast emulator written in Zig
caf151597e53216266bf8b9c94b6212cb5e9a27dd3a68014e6b6b53fd330a0ccba99e4dcfffddae5.tar.gz7d70db023bf254546024629cbec5ee6113e12a42.tar.gzc1f55e740a62f6942ff046e709ecd509a005dbeb.tar.gzd2360cdfff0cf4a780cb77aa47c57aca03cc6dfe.tar.gz901716b10b31ce3e0d3fe479326b41e91d59c661.tar.gz02eac6e7afc548fc5fcacc91ca90889a18a283cabc37245a1a0b8a361f7c29c43d140744eb875b31c0dbf11cdc17da5904ea8a17eadc54dee26567ec7829cf02f78e8c39e19b802ccb47ed44037299c2e77a037da71fe03df25fe4a3fbfe5266a234c4f275df19f05ead46824c92f1cb81241b82ef8769b4c276c2ef9b18fab5ac686f8ebf95a6fc558b972efeeeff9386dd44ba2c18488113023865c41b80a4Deecy is an experimental Dreamcast emulator written in Zig.
Videos: Soul Calibur (May 2024), Grandia II (July 2024), DCA3 (January 2025)
dc_boot.bin and dc_flash.bin to the data folder.Change Directory to select the folder where you store your DC games.Deecy should detect, map and use controllers automatically. Host controllers can be manually assigned to guest controller ports in the Settings. Keyboard bindings can be customized in the settings. Defaults for controller 1:
| DC Controller | Host Keyboard (AZERTY) |
|---|---|
| A, B, X, Y | A, Z, Q, S |
| L, R triggers | W, X |
| Start | Enter |
| Left Stick | Numpad 8, 4, 5, 6 |
| Dpad | Directional Arrows |
| Key | Action |
|---|---|
| Escape | Show/Hide the UI |
| Space | Start/Pause emulation |
| F | Toggle Fullscreen |
| L | Toggle unlimited emulation speed |
| F1-F4 | Save state 1-4 |
| F5-F8 | Load state 1-4 |
| D | Toggle debug UI |
| N | Next Frame (Experimental) |
| Option | Action | Argument | Notes |
|---|---|---|---|
| -g | Load and Execute a disc file (.gdi/.cdi/.chd) | Path to a disc file | |
| --vmu | Replace default vmu file | Path to an vmu file | Use with -g |
| --no-realtime | Starts with unlimited emulation speed | ||
| --load-state | Loads a save state on startup | Path to a Deecy save state | Use with -g |
| --stop | Prevent automatic start of emulation | Use with -g or -b | |
| --skip-bios | Skip default BIOS. | Experimental | |
| -b | Load and Execute a .bin file | Path to a .bin file | Will also skip the BIOS. Experimental |
| -i | Replace default IP.BIN file | Path to an IP.BIN file | Use with -b only |
Install the correct zig version (see .zigversion).
You can use zigup to manage your installed zig versions, or get it from https://ziglang.org/download/.
zigup 0.15.2
Clone and build. Zig will fetch all dependencies automatically.
git clone https://github.com/Senryoku/Deecy # Clone the repo
cd Deecy
zig build run # Build and run in debug mode without any argument
zig build run --release=fast -- -g "path/game.gdi" # Build and run in release mode and loads a disc
You will also need to provide copies of dc_boot.bin and dc_flash.bin files in the data/ directory.
nfd-zig (native file dialog) needs this additional dependency on Linux:
sudo apt install libgtk-3-dev
Dependencies are managed by the build.zig.zon file.
Uses data from MAME under the BSD-3-Clause licence (see src/gdrom_secu.zig). CHD related features (src/disc/chd.zig) are also
inspired by, or even direct ports of, their equivalent from the MAME project.
Rest is MIT.