Collection of file's parsers for goldsrc engine.
- .wad containing fonts, mip textures, simple pictures
- .bsp with all lumps support
- .spr
- .mdl
In your Cargo.toml add new dependency:
[dependcies]
goldsrc-rs = "0.14"
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);
// ...
}
Pull requests are welcome. This hasn't been tested appropriately.
So I'll be glad to see your results and bugs.