Crates.io | pinmame-nvram |
lib.rs | pinmame-nvram |
version | |
source | src |
created_at | 2024-12-04 08:17:30.039242 |
updated_at | 2024-12-12 10:51:07.563915 |
description | Rust library handling PinMAME NVRAM files |
homepage | |
repository | https://github.com/francisdb/pinmame-nvram |
max_upload_size | |
id | 1471690 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Rust library handling PinMAME NVRAM files.
use pinmame_nvram::Nvram;
fn main() {
let mut nvram = Nvram::open(Path::new("afm_113b.nv")).unwrap().unwrap();
let scores = nvram.read_highscores().unwrap();
for score in &scores {
println!("{} {} {}", score.label.unwrap(), score.initials, score.score);
}
}
This program makes use of content from the PinMAME NVRAM Maps project. The maps are embedded in the library and are used to look up values in the nvram files.