goldsrc-rs

Crates.iogoldsrc-rs
lib.rsgoldsrc-rs
version
sourcesrc
created_at2022-09-01 02:44:24.478576
updated_at2024-10-16 19:08:57.452973
descriptionCollection of file's parsers for goldsrc engine.
homepage
repositoryhttps://github.com/r4v3n6101/goldsrc-rs/
max_upload_size
id656395
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | 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
(r4v3n6101)

documentation

README

goldsrc-rs

Collection of file's parsers for goldsrc engine.

Supported files

  • .wad containing fonts, mip textures, simple pictures
  • .bsp with all lumps support
  • .spr
  • .mdl

Installation

In your Cargo.toml add new dependency:

[dependcies]
goldsrc-rs = "0.14"

Usage

fn main() {
    let file = File::open("test.wad").unwrap();
    let entries = goldsrc_rs::wad_entries(file);
    // Parsing miptex, fonts and so on...

    let file = File::open("test.bsp").unwrap();
    let bsp = goldsrc_rs::bsp(file);

    // ...
}

Contributing

Pull requests are welcome. This hasn't been tested appropriately.

So I'll be glad to see your results and bugs.

License

MIT

Commit count: 53

cargo fmt