Skip to main content

IBSPLib

ibsplib is Python package for working with Quake 3 IBSP structures References were taken from http://www.mralligator.com/q3

  • Parsing IBSP
  • No dependencies
  • Typings & code completion included
  • More to come....

Installation

Available on PyPI, just:

pip install ibsplib

Usage

from pathlib import Path
from ibsplib import IBSP


bsp_path = f'{Path(__file__).parent}\\<map name>.bsp'

with open(bsp_path, 'rb') as f:
    bsp_buffer = bytearray(f.read())

bsp = IBSP(bsp_buffer)

print(f'Version: {bsp.header.version}')
print('Textures used:')

for tex in bsp.textures:
    print(f'-\t{tex.name}')

License

MIT

Metadata

Release files for ibsplib 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ibsplib 0.1.0
File Size Uploaded
ibsplib-0.1.0.tar.gz 7.8 kB Details

Release files / ibsplib-0.1.0.tar.gz

Download URL ibsplib-0.1.0.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
98372e89f17fe9aa62ae4c767db5e783b0c7e4eac9e03f8f2d8efa4951b4fbf9
BLAKE2b-256 checksum
How to use checksums
79e1d06430c2c616e7d9e8ed03a423ffc58f35ee0ae4b3837704e63751bdbafd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.7.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page