Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Editing Quake BSP Format

From Quake Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 18: Line 18:
 
* 2PBS uses 32bit values instead of shorts for most except for bbox sizes (which still use shorts)
 
* 2PBS uses 32bit values instead of shorts for most except for bbox sizes (which still use shorts)
 
* BSP2  uses 32bits for everything and bboxes use floats
 
* BSP2  uses 32bits for everything and bboxes use floats
 
Details on BSP2 history and support across engines can be found in the [[BSP2]] article.
 
  
 
With time engines added support for more data types associated with map (e.g. finer light maps, improved skyboxes, etc.). Due to a rigid nature of the file format (fixed set of lumps/lump definitions) these were shipped alongside the map. With time BSPX file format was introduced which introduces additional optional lump definitions behind the BSP29 ones (with 4 byte alignment). They differ from original lump definitions as they can be present in any order and as such require unique lump type identifier. This identifier is a unique 24 byte string (including terminating null) representing type of data being described.
 
With time engines added support for more data types associated with map (e.g. finer light maps, improved skyboxes, etc.). Due to a rigid nature of the file format (fixed set of lumps/lump definitions) these were shipped alongside the map. With time BSPX file format was introduced which introduces additional optional lump definitions behind the BSP29 ones (with 4 byte alignment). They differ from original lump definitions as they can be present in any order and as such require unique lump type identifier. This identifier is a unique 24 byte string (including terminating null) representing type of data being described.
  
 
Additional information on how the format is structured can be found [http://www.gamers.org/dEngine/quake/spec/quake-spec34/qkspec_4.htm here]. Keep in mind that this is a reverse engineered Quake demo file format which may differ from the final one (demo used BSP28).
 
Additional information on how the format is structured can be found [http://www.gamers.org/dEngine/quake/spec/quake-spec34/qkspec_4.htm here]. Keep in mind that this is a reverse engineered Quake demo file format which may differ from the final one (demo used BSP28).

Please note that all contributions to Quake Wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see Quake Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)