Expand description
letterbomb — Generate LetterBomb payloads for Wii homebrew installation.
This crate provides everything needed to:
- Parse and validate Wii MAC addresses (
mac). - Lookup Nintendo‐assigned MAC prefixes (
oui). - Construct homebrew payloads with the correct region and timestamp (
generate). - Download & extract the HackMii installer bundle (
bundle). - Enumerate Wii region codes (
region).
§Examples
use letterbomb::{generate, mac::WiiMAC, region::Region};
use letterbomb::generate::IncludeBundle;
// Parse a Wii MAC address
let mac = "00:17:AB:5A:6E:F5".parse::<WiiMAC>().expect("invalid MAC address");
// Choose a region (U = USA, E = Europe, J = Japan, K = Korea)
let region = Region::U;
// Generate the payload for "now", without HackMii installer
let files = generate::make_payload_now(&mac, ®ion, IncludeBundle::ExcludeHackMii)
.expect("payload generation failed");
// Write out each file (path → contents)
for (path, data) in files {
println!("Writing {} ({} bytes)", path, data.len());
}See each module’s documentation for details on usage and errors.