Game configuration
Previous  Next

Game.cfg is the configuration file that defines the games BSP can edit. When BSP starts, it searches its subdirectories for game.cfg files. When it finds these files, it adds the subdirectory name to the "Choose Game" dialog.

See the Main  section for information on BSP .96 changes.

Game.cfg Options

game
ID of the game type.

0 - Quake 1
1 - Hexen 2
2 - Quake 2
3 - Sin
4 - Half-Life

When set to Quake 2 mode, BSP will enable Q2 texture handling and add contents and surface flags support.

apptitle
Adds custom text to the main BSP title bar.

newmap
Default name of new map files, default is "default.map".

entity_directory
Location of "entity.qc" file.

entities
Name of "entity.qc" file to load.

texture_path (Q2)
Location of where to store .wal files.

pak_file (Q2)
Location of Q2 .pak file.

wad_directory
Directory containing .wad files.

default_wad
Name of .wad file to load by default.

map_directory
Default directory to save .map files in. This is used as the current directory when .bat files are executed by the Exporter.

bat_directory
Location of .bat build scripts. See map_directory above.

bspbuild_directory
Path to bspbuild.exe.

palette_file
Name of .pal file.

model_file
Name of "models.ini" file to load. This file maps entity names to model files.

sort_entities
0 = load entities in order from "entity.qc".
1 = sort entities alphabetically.

no_models
0 = show models
1 = don't show models, ignores "models.ini".

gamma
Gamma correction, valid range is 0.1 to 3.0.
1.1 - darker.
1.0 - uncorrected.
0.9 - brighter.
0.8 - default.

world_minmax
Maximum bounds of world, valid range is 1024 to 32765. BSP will draw this as a magenta box in the XY windows.

fake_colormap
0 = Create colormap.
1 = Disables generating a colormap for software rendering, also disables software face shading.