Manual page for CROCK(5)
config.crock - master configuration file for crock
file contains entries that specify certain global game parameters,
the locations of bitmaps and sound files and the locations of the
player-specific config files (see also
There are four types of commands:
set, background, sound,
Each command is terminated by a newline.
Lines that begin with a hash sign
are interpreted as comments and are ignored, as are blank linkes.
Set entries have the following form:
set variable value
can be one of the following:
to set the global width of the screen
to set the global height of the screen
is a numeric value.
- Background entries have the following form:
background filename xoffset yoffset level_name
is the full path to the X bitmap file for that background.
are numeric offsets for the image in pixels. If zero, the bottom, left
corner of the image is anchored to the bottom, left side of the window.
is the name of the level. It is a string that is terminated by the
end of a line, hence are legal characters to use.
Note that this name might be used in
itself, for certain properties that are specific to a particular level.
Note that there can be as many
lines as desired. If not cached,
will load in the image at the beginning of the match.
- Sound entries have the following form:
which sound to load. Legal values are:
for the word "fight", spoken at the start of a round.
for the phrase "finish him", spoken at the end of a match
when a finishing move can be performed. Since there are no female
fighters currently, a "finish her" sound has not been implemented.
for the phrase "flawless victory", spoken when the winner has
received no damage during a match. There is no text displayed simultaneously
for the phrase "fatality", spoken after a fatality has been performed.
for the sound effect at the beginning of a fatality move.
for the phrase "player one wins", spoken at the end of a round that
is won by player one.
for the phrase "player two wins", spoken at the end of a round that
is won by player two.
is the full path to the sound file. It can be in any format that
- Player entries have the following form:
is the full path to the config file for that player. For details
on the format of the player's config file, refer to
Here is a trimmed down version of the config file currently used by crock.
Note that the only difference is that the real version has more backgrounds
set height 350
#set width 780
set width 550
#set the background image
background /n/weather/0/frank/frames/backgrounds/battlefield2.xbm 0 0 Fire Sword Shrine
background /n/weather/0/frank/frames/backgrounds/graffiti.xbm 0 0 The Playground
background /n/weather/0/frank/frames/backgrounds/battlefield7.xbm 0 0 The Graveyard
background /n/weather/0/frank/frames/backgrounds/battlefield4.xbm 0 -25 Country Estate
#set the "fight" sound
#set the "finish him" sound
#set the "flawless victory" sound
#set the "fatality" sound
#set the start of fatality sound
#set the "player 1 wins" sound
#set the "player 2 wins" sound
# set up the player config files
Copyright (c) 1994 Frank Adelstein
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97