Boulder Dash Common File Format
Proposal written by: Tim Stridmann
Version: 0.32
Last modified: 14 February 2004
Based on: Grant Walker's text format proposal and Michal Kowalski's Boulder Rush cave format
The structure
Version=0.2
Length=1
.=DIRT
W=STEELWALL
Size=6 5
.30
u
r7
Point=1 1 INBOX
Line=2 1 2 4 DIAMOND
Point=4 3 OUTBOX
WWWWWW
WXd..W
W.d..W
W.d..W
W.d.PW
WWWWWW
- Name
- Cave (or game) title (string)
- Date
- Date of cave (or game) creating (string, 2002 or 2002-10 or 2002-10-31 format)
- Author
- Cave (or game) author (string, for cave default equals game author)
- WWW
- Link to author's webpage
- Description
- Cave (or game) description (string)
- Charset
- Character set, for example "space" for BD3, default = "original"
- Fontset
- Font set, for example "space" for BD3, default = "original"
- Difficulty
- Difficulty of the game (or level). For info purposes
- Lives
- Initial number of lives (number, default = 3). Available only in section
- BonusLife
- Bonus life score (number, default = 500)
- Levels
- Default number of levels (number, default = 1). Available only in section
- Intermission
- Is intermission (boolean, default value = false). Available only in section
- CaveSize
- Default cave width and height (two numbers, default values = 40 and 22). Available only in section
- IntermissionSize
- Default intermission cave width and height (two numbers, default values = 20 and 12). Available only in section
- Size
- Current cave width and height (two numbers, default values correspond to game info). Available only in section
- DiamondValue
- Number of points per diamond (two or one numbers, second value is number of bonus points per diamond)
- DiamondsRequired
- Number of diamonds required to successfully finish the cave for each level (five - or one - numbers). Available only in section
- CaveTime
- Cave total times for each level (five - or one - numbers). Available only in section
- CaveDelay
- Used in BoulderDash Construction Kit engine
- Colors
- Cave colors (string, five or less color names. May be not used)
- InitialFill
- Initial fill element (element name). This element is used to fill entire field. Default is DIRT
- RandSeed
- Random generator seed values for corresponding pseudo-randomly placed elements (five numbers)
- RandomFill
- Pseudo-randomly placed elements (four or less pairs of element name and it's probability). This info is used to pseudo-randomly fill entire field. Available only in section
- MagicWallTime
- Magic wall milling time (number)
- AmoebaTime
- Amoeba slow growth time (number)
- AmoebaGrowthProb
- Amoeba slow (and fast) growth probability (two or one number, default values = 0.03 and 0.25)
- AmoebaThreshold
- The percentage of the cave the amoeba is allowed to occupy before turning to boulders (number, default = 0.227)
- SlimePermeability
- Slime permeability (number)
- HatchingDelay
- Rockford's hatching delay (number)
- Point=x y element
- Single element placed on given position
- Line=x1 y1 x2 y2 element
- Line of elements
- Rectangle=x1 y1 x2 y2 element
- Outlined rectangle of elements
- FillRect=x1 y1 x2 y2 element [element2]
- Filled rectangle of elements
- Raster=x y numberx numbery stepx stepy element
- Add=incx incy element1 element2
- This was used only in BD2 as I know.
element | 1 char. code | 2 char. code
|
---|
SPACE | |
|
DIRT | . | ..
|
WALL | w |
|
MAGICWALL | M |
|
OUTBOX | X |
|
HIDDENOUTBOX | H |
|
STEELWALL | W |
|
FIREFLYl | Q | ol
|
FIREFLYu | o | ou
|
FIREFLYr | O | or
|
FIREFLYd | q | od
|
BOULDER | r | rr
|
BOULDERf | | rf
|
DIAMOND | d | dd
|
DIAMONDf | | df
|
INBOX | P |
|
HEXPANDINGWALL | x |
|
VEXPANDINGWALL | v |
|
EXPANDINGWALL | V |
|
BUTTERFLYd | c | bd
|
BUTTERFLYl | C | bl
|
BUTTERFLYu | b | bu
|
BUTTERFLYr | B | br
|
AMOEBA | a |
|
SLIME | s |
|
History
- v. 0.32 (14 February 2004)
- v. 0.3 (26 November 2002)
- Some default values were added
- New attributes: BonusLife, Charset, Fontset, CaveDelay, Levels, Difficulty
- v. 0.2 (15 May 2002)
- Closing tags (, , etc.) were added.
- Length attribute for the section.
- The section. Every cave may contains demo info now.
- v. 0.1 (12 May 2002)