MKDedede
A Rust crate for decoding and encoding Mario Kart: Double Dash!! and Mario Kart DS ghost data passwords
The games generate a 16-character password after a time trial that encodes some info about them. This crate parses and validates those passwords.
Double Dash ported from the JavaScript decoder by WaluigiBSOD.
DS ported from the C decoder by simontime.
Simple Double Dash decoding example
use decode;
match decode
Usage from C/C++ (FFI)
We provide an FFI layer that exposes C-compatible functions to decode and encode passwords!
To build for C/C++, use cargo to build the native bindings:
This will produce .so, .dylib, or .dll (and their respective static architectures) inside target/release/.
Include the provided header from include/mkdedede.h in your project and link the output shared library.
int
License
AGPL-3.0, see LICENSE