mkdedede 0.2.0

Rust crate for decoding and encoding Mario Kart ghost data passwords (Double Dash!! and DS)
Documentation
  • Coverage
  • 23.98%
    47 out of 196 items documented2 out of 31 items with examples
  • Size
  • Source code size: 94.27 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.41 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 16s Average build duration of successful builds.
  • all releases: 23s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • tpglitch/mkdedede
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • tpglitch

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 mkdedede::dd::decode;

match decode("SOME16CHARPASSWD") {
    Ok(ghost) => println!("{}", ghost),
    Err(e)    => eprintln!("invalid password: {}", e),
}

License

AGPL-3.0, see LICENSE