sm64gs2pc 1.0.4

Convert Super Mario 64 GameShark codes to SM64 PC port patches
Documentation

Tools for converting Super Mario 64 GameShark codes to SM64 PC port patches

use sm64gs2pc::gameshark;

let code = "8133B176 0015".parse::<gameshark::Code>().unwrap();
let patch = sm64gs2pc::DECOMP_DATA_STATIC
.gs_code_to_patch("Always have Metal Cap", code)
.unwrap();

println!("{}", patch);