# Dicing Knight. gets a static recompilation for native C11

> A new static recompilation project translates the WonderSwan Color dungeon crawler Dicing Knight. into native C11 without an emulator.

- Published: 2026-11-02T23:15:55Z
- Score: 7/10
- Tags: recomp
- Port / platforms: - -> PC (Windows), Linux / Steam Deck, Android (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/dicing-knight-static-recomp-wonderswan/
- Sources: https://github.com/aoxzh/dicing-knight-static-recomp

**Dicing Knight.**, a 2004 WonderSwan Color dungeon-crawler by Qute, now has a **static recompilation** project translating its V30 MZ machine code into native C11.

Hosted on [GitHub](https://github.com/aoxzh/dicing-knight-static-recomp), the tool uses a Python recompiler to emit C code ahead of time. It pairs this output with a clean-room WonderSwan Color hardware layer. No emulator, interpreter, or BIOS dump is required. You bring your own `.wsc` cartridge dump to build an ordinary native executable.

Current progress sits at 12.5% of the 524,288-byte ROM, covering 748 functions and 46,890 basic blocks. The title, menus, overworld, and tower play currently function, though the ending remains unreached. The project is in early development. The runtime builds via CMake, Ninja, and llvm-mingw.

### How to try it

1. Clone the repository and supply a legally obtained WonderSwan Color cartridge image.
2. Run the Python recompiler to translate the V30 MZ code into C11.
3. Build the resulting source with CMake, Ninja, and llvm-mingw for Windows, Linux, or Android. Android support is in beta.
