Bridge Command - Configuration

Introduction

Bridge Command's settings are controlled in the file bc4.ini, found in the Bridge Command root directory. This can be edited with either a standard text editor (Such as notepad), or with the program provided, which can be started by clicking on the 'Change settings' button on the scenario selection screen.

Alternatively, you can use the shortcuts in the Bridge Command start menu to change the settings for Bridge Command (bc4.ini), all of the map based programs (map.ini), and joystick/hardware controller settings (joystick.ini).

The settings control how Bridge Command runs on your screen, such as whether it runs full screen, or in a window, and at what resolution, as well as many other things

Using the Settings Editor

When you run Bridge Command, click the button 'Change Settings' below the scenario list. This will load an editor, as shown below. This allows you to read about the different settings and change them.

The configuration editor is from http://code.google.com/p/ini-settings-editor/ and is distributed under the Apache Licence 2.0

Settings Editor

Special ini file options

Bridge Command will normally used the file bc4.ini in the Bridge Command installation directory. However you can specify a different file if you start Bridge Command from a shortcut or the command line. If you run bc4.exe /ini="OtherIniFile.ini", you can specify a different file to load (either a full or relative path).

Individual user settings

In order to allow individual users to edit scenarios if they do not have write access to the location where Bridge Command is installed, an additional bc4.ini file located in %appdata%\Bridge Command\4.x (C:\Documents and Settings\USERNAME\Application Data\Bridge Command\4.x\bc4.ini for a standard installation) is used. This can override the 'scenario_dir' setting, meaning that each user can have a different scenario directory.

If you use the scenario editor, it will check if the current scenario directory is writable, and if not, relocate it to the user's %appdata% folder automatically.

The bc4.ini technical specification

This file uses the general principles documented in the Ini File Format document, which should be referred to alongside this document.

Example bc4.ini file

graphics_width=800
graphics_height=600
graphics_depth=16
graphics_mode=2
scenario_dir="Scenarios"
view_angle=90
minimum_distance=0.5
maximum_distance=100000
collision_mode=1
terrain_detail=2000
name=""
multihead=0
udp_timeout=30
udp_send_port=18304
udp_recv_port=18303
udp_resend_port=18305
NMEA_ComPort=0
NMEA_ComTimeout=500
NMEA_Baud=4800
NMEA_tcpip=0
NMEA_port=10110
NMEA_address="127.0.0.1"
local_log=0

Parameters and descriptions

The parameters set in the file are:

The map.ini technical specification

This file configures the Map Controller, and the other associated programs (Replay etc).

Example map.ini file

graphics_width=640
graphics_height=480
graphics_depth=16
graphics_mode=2
smooth_radar=0
cache_radar=1
zoom_levels=3
udp_timeout=30
udp_send_port=18303
udp_recv_port=18304

Parameters and descriptions

The parameters set in the file are: