BSPC version 1.3

by Mr Elusive

1999-05-29

Contents

Description
System requirements
Usage
Troubleshooting
Legal stuff
Availability
Credits
Version changes

Description

BSPC is a tool designed to do the following:

- Convert .BSP or .MAP files to .AAS files that the Gladiator bot needs to play a map.
- Convert .BSP files to .MAP files. Handy if you lost your original .MAP file.

Note that it can read to be converted .BSP files directly out of .PAK or .SIN files.

BSPC can be used with all BSPs (game maps, mission pack maps, custom maps etc.) of the following games:

- Quake 1
- Quake 2
- Heretic 2
- Sin
- Half-Life

System requirements

A PC running Quake2.

Usage

bspc [-<switch> [-<switch> ...]]

Example 1: bspc -bsp2aas znt2dm?.bsp -output e:\quake2\gladiator
Example 2: bspc -bsp2aas pak1.pak\maps/q2dm*.bsp -output e:\quake2\gladiator

Switches:

map2bsp <[pakfilefilter/]filefilter> |  | = convert MAP to BSP
map2aas <[pakfilefilter/]filefilter> |  | = convert MAP to AAS
bsp2map <[pakfilefilter/]filefilter> |  | = convert BSP to MAP
bsp2bsp <[pakfilefilter/]filefilter> |  | = convert BSP to BSP
bsp2aas <[pakfilefilter/]filefilter> |  | = convert BSP to AAS
output <output path> |  | = set output path
noverbose |  | = disable verbose output
threads |  | = number of threads to use
breath |  | = breath first bsp building
nobrushmerge |  | = don't merge brushes
noliquids |  | = don't write liquids to map
freetree |  | = free the bsp tree
nocsg |  | = disables brush chopping

.PAK or .SIN files are accessed as if they are normal folders. For instance use "e:\quake2\gladiator\pak1.pak\maps/q2dm1.bsp" to access the map q2dm1.bsp from the pak1.pak file.

Multiple files may be listed after the map2bsp, map2aas, bsp2map, bsp2bsp or bsp2aas switches.

Troubleshooting

Please include the 'bspc.log' file in bug reports.

Legal stuff

By using this product you agree to exempt, without reservation, the authors and owners of this product or components thereof from any responsibility for liability, damage caused, or loss, directly or indirectly, including but not limited to, any interruptions of service, loss of business, or any other consequential damages resulting from the use of or operation of this product or components thereof. No warranties are made, expressed or implied, regarding the usage, functionality, or implied operability of this product. All elements are available solely on an "as-is" basis. Usage is subject to the user's own risk.

This product may be distributed as long as all the files in this archive remain intact and unmodified and are distributed together and there is no charge for the distribution. Any commercial use of BSPC without prior written consent by the author is prohibited.

id Software, Valve and Ritual entertainment do not distribute, nor support this product.

BSPC is designed to decompile material in which you own the copyright or have obtained permission to decompile from the copyright owner. Unless you own the copyright or have permission to decompile from the copyright owner, you may be violating copyright law and be subject to payment of damages and other remedies. If you are uncertain about your rights, contact your legal advisor.
Most game companies and/or map authors probably won't mind using a program like this to decompile their maps and look at how they're constructed, but distributing their maps or using the entire or parts of their maps in other maps is certainly not allowed. Legally, you have no right to decompile maps in which you don't own the copyright.
To quote the Quake2 license agreement:
"You, either directly or in- directly, shall not do the following: reverse engineer, disassemble, decompile, modify or alter the Software. The term "Software" includes all elements of the Software such as data files, images appearing in the Software and screen displays."

Availability

You can find the latest version at http://www.botepidemic.com/gladiator.

Credits

id Software
B.D.Squatt
Mr Freeze

Thanks to the beta testers:

Adrian [Pinky] Finol
Allan [Strider] Kivlin
Dominic [Cube] Rutter
Matt [Genocyde] Freitas
Timm Stokke

Version changes

BSPC version 1.3

- fixed map reading problem

BSPC version 1.2

- changed command-line to deal with .pak files more easily
- fixed multi-threading
- fixed beta string and updated .AAS file version
- fixed creating path to store converted files