Skip to content

r4v3n6101/goldsrc-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

GoldSrc files parser in Rust!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages