Skip to main content

A library for .bsp file analysis & modification

Project description

bsp_tool

A library for .bsp file analysis & modification

bsp_tool has no UI, it only provides a python interface to the contents of the requested .bsp
This interface is provideded via the bsp_tool.bsp class
At present the tool read .bsps from most Source Engine games, as well as Titanfall 2 & Apex Legends

The mods/ folder contains classes for interpretting the lumps within .bsp files
bsp_tool needs to know each lump is constructed & this varies from game to game
mods/common.py provides some base classes
vindictus.py extends team_fortress2.py

At present, not every lump's exact format is understood
When a lump of unknown format is loaded, it becomes RAW_LUMPNAME and the raw data is preserved
By default, bsp_tool assumes .bsps are version 20 (Team Fortress 2)
If this assumption is found to be false, bsp_tool will try other mods
The user can also specify what mod bsp_tool is to expect

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

bsp_tool-0.1.2.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

bsp_tool-0.1.2-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file bsp_tool-0.1.2.tar.gz.

File metadata

  • Download URL: bsp_tool-0.1.2.tar.gz
  • Upload date:
  • Size: 22.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2

File hashes

Hashes for bsp_tool-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7a15c0419062f2c72644a6704b5f0382b209f8602e2a4b117660b218ce2f03a1
MD5 2de6ce9c4093944a51659ed1aba1e7ee
BLAKE2b-256 61a12102470a7bf6cb6c58081e83abfb2cdd74547731dc912626ff6a399d0028

See more details on using hashes here.

File details

Details for the file bsp_tool-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: bsp_tool-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.2

File hashes

Hashes for bsp_tool-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3a39c4f28339c1cccbc13dfab49bcd4c0cd8855b04a7dbdd201a54359a2772d4
MD5 c6e6b9a63f841ca1b8965be80d1ca8bf
BLAKE2b-256 ad6108dce1f48151e2b69a103036fc673bdd083776d37d6c244fb5a5eb0626a2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page