Header¶

The BSP file header is defined as a single dheader_t (dheader_t variants are determined by profile)

struct valvebsp.structs.bsp_header.dheader_t¶
ident(bytes[4], constant=b'VBSP')¶
version(int)<parsed from long>¶
lump_t(lump_t[64])¶
mapRevision(int, default=0)<parsed from long>¶
struct valvebsp.structs.bsp_header.dheader_t_L4D2¶
ident(bytes[4], constant=b'VBSP')¶
version(int)<parsed from long>¶
lump_t(lump_t_L4D2[64])¶
mapRevision(int, default=0)<parsed from long>¶
struct valvebsp.structs.bsp_header.dheader_t_TF2¶
ident(bytes[4], constant=b'VBSP')¶
version(int)<parsed from long>¶
lump_t(lump_t_TF2[64])¶
mapRevision(int, default=0)<parsed from long>¶
struct valvebsp.structs.bsp_header.dheader_t_TITAN¶
ident(bytes[4], constant=b'VBSP')¶
version(int)<parsed from long>¶
mapRevision(int, default=0)<parsed from long>¶
lump_count(int, constant=127)<parsed from long>¶
lump_t(lump_t[])¶
struct valvebsp.structs.bsp_header.lump_t¶
fileofs(int)<parsed from long>¶
filelen(int)<parsed from long>¶
version(int)<parsed from long>¶
fourCC(int[4])<parsed from unsigned char>¶
struct valvebsp.structs.bsp_header.lump_t_L4D2¶
version(int)<parsed from long>¶
fileofs(int)<parsed from long>¶
filelen(int)<parsed from long>¶
fourCC(int[4])<parsed from unsigned char>¶
struct valvebsp.structs.bsp_header.lump_t_TF2¶
fileofs(int)<parsed from long>¶
filelen(int)<parsed from long>¶
version(int)<parsed from long>¶
uncompressedSize(int)<parsed from long>¶

Logo of ValveBSP

ValveBSP

A pySourceSDK project

Navigation

  • Quickstart
  • Api Reference
  • Data Structures
    • Header
    • Common Structures
    • Lumps
    • Gamelumps
  • Contributing

Related Topics

  • Documentation overview
    • Data Structures
      • Previous: Data Structures
      • Next: Common Structures

Quick search

©2021, Maxime Dupuis. | Powered by Sphinx 7.4.7 & Alabaster 0.7.16 | Page source