wad-rs

Crates.iowad-rs
lib.rswad-rs
version0.2.0
sourcesrc
created_at2020-02-21 19:14:04.235233
updated_at2020-06-25 19:01:13.475117
descriptionParsing library for the WAD file format
homepage
repositoryhttps://gitlab.com/smallglitch/wad.rs.git
max_upload_size
id211276
size22,455
Aumetra Weisman (aumetra)

documentation

README

WAD.rs

wad-rs is a parser for WAD files which are used by, for example, games running on the DOOM engine

Resources:

Usage:

use wad_rs::Wad;
use std::{fs::File, io::prelude::*};

fn main() {
    let mut data = Vec::new();

    File::open("[Path to WAD]").read_to_end(&mut data).unwrap();
    let parsed_wad = Wad::parse(data).unwrap();

    println!("WAD type: {}", parsed_wad.wad_type());
}

Features:

  • parallel: This feature parses the file using Rayon
Commit count: 0

cargo fmt