Python library for analysing .bsp files
Project description
bsp_tool
Python library for analysing .bsp files
bsp_tool
provides a Command Line Interface for exploring & editing .bsp files
Current development is focused on bringing new maps to Counter-Strike: Online 2 & the Titanfall Engine
Installation
To use the latest version, clone from git:
$ git clone git@github.com:snake-biscuits/bsp_tool.git
Or to use the latest stable release, install via pip (Python 3.7+):
pip install bsp_tool
NOTE: The last PyPi release (v0.2.2) is close to a year old
v0.3.0 has made many changes and is the recommended version
Fair Use
Please do not use bsp_tool
to copy or steal another creator's work
The primary goal of bsp_tool
is to extend community mapping tools
Always
- Ask the creator's permission before touching their work
- Understand that by default creator's works are under copyright
- Contact the original creator to get their permission
- This can get complicated
- Some creators don't hold the copyright on their works
- often because of Company / Publisher contracts
- Credit the original creator; once you have permission to share a derivative work
- Support the official release
DO NOT use this tool to steal another creator's work
DO use this tool to understand the .bsp format(s) and create more specific tools
Be aware that this gets even more complicated with commercial projects
Usage
To load a .bsp file in python:
>>> import bsp_tool
>>> bsp_tool.load_bsp("map_folder/filename.bsp")
<ValveBsp filename.bsp (VBSP version 20) at 0x00...>
Full documentation: snake-biscuits.github.io/bsp_tool/
Supported Games
The :x: emoji indicates tests are failing
The :o: emoji indicates a lack of .bsps to test
- Arkane Studios
- Gearbox Software
- Id Software
- Quake :x:
- Quake II
- Quake III Arena
- Quake 4 :o:
- Quake Champions :o:
- Quake Live
- Infinity Ward
- Call of Duty :x:
- Call of Duty 2 :x:
- Call of Duty 4: Modern Warfare :x:
- Nexon
- Counter-Strike: Online 2 :x:
- Vindictus :o:
- Respawn Entertainment
- Ritual Entertainment
- American McGee's Alice :o:
- Heavy Metal F.A.K.K. 2 :o:
- Medal of Honor: Allied Assault :o:
- SiN :o:
- SiN: Gold :o:
- SiN Episodes: Emergence :o:
- Star Trek: Elite Force II :o:
- Valve Software
- Alien Swarm
- Alien Swarm: Reactive Drop
- Counter-Strike: Condition Zero
- Counter-Strike: Condition Zero - Deleted Scenes
- Counter-Strike: Global Offensive
- Counter-Strike: Source
- Counter-Strike
- Day of Defeat
- Day of Defeat: Source
- Deathmatch Classic
- Half-Life
- Half-Life 2
- Half-Life 2: Deathmatch
- Half-Life 2: Episode 1
- Half-Life 2: Episode 2
- Half-Life 2: Lost Coast
- Half-Life Deathmatch: Source
- Half-Life: Source
- Left 4 Dead
- Left 4 Dead 2
- Portal
- Portal 2
- Richochet
- Source Filmmaker
- Source SDK 2013
- Team Fortress 2
- Team Fortress Classic
- Other
- Hexen 2 :x:
- Black Mesa
- Blade Symphony
- Brink :o:
- Daikatana :o:
- Fortress Forever
- G-String
- Garry's Mod
- Halfquake Trilogy
- Medal of Honor: Allied Assault :o:
- NEOTOKYO
- Sven Co-op
- Synergy
- Tactical Intervention :x:
- Team Fortress Quake :x:
- Vampire: The Masquerade - Bloodlines :o:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file bsp_tool-0.3.0.tar.gz
.
File metadata
- Download URL: bsp_tool-0.3.0.tar.gz
- Upload date:
- Size: 71.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae17d90422f5f9f24d53f9594c47db6e270005c26efc5b403a36cf50aebf76ba |
|
MD5 | 0413f9bd42bf238b64b9410254e4dd71 |
|
BLAKE2b-256 | 72ab5368e1e4bbfe7fff723cc60bb7390d90ce083585a78a6b528f375d54cd79 |
File details
Details for the file bsp_tool-0.3.0-py3.9.egg
.
File metadata
- Download URL: bsp_tool-0.3.0-py3.9.egg
- Upload date:
- Size: 179.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a95b0b876be764cfaedfb63517644ce3edfe031681b91c19e8ff2888f2ca398 |
|
MD5 | 6f0b281726c37b8bc28f35063198bac6 |
|
BLAKE2b-256 | e43fcb819c267475cee997fe6d0be319fdf4eb2b9fb36cb46535a16fac377147 |
File details
Details for the file bsp_tool-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: bsp_tool-0.3.0-py3-none-any.whl
- Upload date:
- Size: 97.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb62c73483d6f78010bfd5fd1804a651cef8838f4517b0ab5d09687bedcf87bf |
|
MD5 | 7b05cfec70c25c61871309cfe715f8f3 |
|
BLAKE2b-256 | aa3334d7b48323a9bebddb38e7f42c1c0dacad26319eaa131c484beb362ee2f5 |