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

The user can specify what game bsp_tool is to expect
If no game is specified, bsp_tool will guess based on the bsp version
Be aware that some games share a version, but have different lump formats
To know which format bsp_tool will default to, see mods/__init__.py

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.2.0.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

bsp_tool-0.2.0-py3-none-any.whl (30.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bsp_tool-0.2.0.tar.gz
  • Upload date:
  • Size: 26.3 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.2.0.tar.gz
Algorithm Hash digest
SHA256 b4e3ef79d45e22bd0a6e5ff4412c0d6646b734c5b6a26876df696d941f92fe0f
MD5 fd3b6157d1c2c10c1a0ef21f074fdda0
BLAKE2b-256 a433e1e8b3b83b8036460e435c29f44d79c97f61faca892c7f4767fd919b960d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bsp_tool-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 30.1 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02fe3579691af76b7fd72aee02e095d1d530537be68d80ed63d89180cb859e71
MD5 482e9f0262139e40835d14b88c6aa175
BLAKE2b-256 febff541d114d0968e10d5364194e140cbdfcf409b4f2ebb5a9d0a54903006f3

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