pinmame-nvram

Crates.iopinmame-nvram
lib.rspinmame-nvram
version
sourcesrc
created_at2024-12-04 08:17:30.039242
updated_at2024-12-12 10:51:07.563915
descriptionRust library handling PinMAME NVRAM files
homepage
repositoryhttps://github.com/francisdb/pinmame-nvram
max_upload_size
id1471690
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`
size0
Francis De Brabandere (francisdb)

documentation

https://docs.rs/vpin

README

pinmame-nvram

Rust library handling PinMAME NVRAM files.

Usage

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);
    }
}

Attributions

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.

Commit count: 73

cargo fmt