5 releases (3 breaking)
0.11.1 | Jun 17, 2024 |
---|---|
0.11.0 | Jun 17, 2024 |
0.10.0 | Dec 3, 2023 |
0.9.1 |
|
0.7.3 | Sep 1, 2022 |
#45 in Data formats
26 downloads per month
22KB
609 lines
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.10"
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
Dependencies
~265KB