# bspparser [](https://github.com/vikpe/bspparser/actions/workflows/test.yml) [](https://crates.io/crates/bspparser) [](https://docs.rs/bspparser/)
> Parse Quake .bsp files
## Usage
```rust
let file = &mut fs::File::open("tests/files/povdmm4.bsp")?;
let bsp = BspFile::parse(file)?;
println!("{:?}", bsp.entities);
```
```json
[
{
"wad": "gfx/base.wad",
"worldtype": "2",
"sounds": "6",
"message": "The Abandoned Base",
"classname": "worldspawn"
},
{
"classname": "light_fluoro",
"origin": "264 -32 88"
}
// ...
]
```