Skip to content

A Python library for parsing and editing .BSP files (level files for the Source engine).

License

Notifications You must be signed in to change notification settings

pySourceSDK/ValveBSP

Repository files navigation

GPLv3 license PyPI pyversions Platforms PyPI version fury.io GitHub Workflow Status (with event) Test coverage

ValveBSP

ValveBSP is a Python library designed to parse and edit .BSP files, which are utilized for game level representation within Valve's Source engine. It provides provides access to lump data in map files.

Full documentation: https://pysourcesdk.github.io/ValveBSP/

Currently supported lumps

✔️ (52) Supported ❌ (6) Unsupported ✅ (5) Unused 🙅 (1) will not support

Lump # Status Lump # Status Lump # Status Lump # Status
0 ✔️ 16 ✔️ 32 48 ✔️
1 ✔️ 17 ✔️ 33 ✔️ 49
2 ✔️ 18 ✔️ 34 ✔️ 50 ✔️
3 ✔️ 19 ✔️ 35 ✔️ 51 ✔️
4 20 ✔️ 36 ✔️ 52 ✔️
5 ✔️ 21 ✔️ 37 ✔️ 53 ✔️
6 ✔️ 22 38 ✔️ 54 ✔️
7 ✔️ 23 39 ✔️ 55 ✔️
8 ✔️ 24 40 ✔️ 56 ✔️
9 ✔️ 25 41 ✔️ 57 🙅
10 ✔️ 26 ✔️ 42 ✔️ 58 ✔️
11 ✔️ 27 ✔️ 43 ✔️ 59 ✔️
12 ✔️ 28 ✔️ 44 ✔️ 60 ✔️
13 ✔️ 29 45 ✔️ 61
14 ✔️ 30 ✔️ 46 ✔️ 62
15 ✔️ 31 ✔️ 47 ✔️ 63

Installation

PyPI

ValveBSP is available on the Python Package Index. This makes installing it with pip as easy as:

pip3 install valvebsp

Git

If you want the latest code or even feel like contributing, the code is available on GitHub.

You can easily clone the code with git:

git clone git@github.com:pySourceSDK/ValveBSP.git

and install it with:

python3 setup.py install

About

A Python library for parsing and editing .BSP files (level files for the Source engine).

Topics

Resources

License

Stars

Watchers

Forks

Languages