Next Previous Contents

3. Usage

3.1 General Usage

For the moment openmine runs with arguments passed by the console, this will remain in the Linux/Unix versions but in win32 system it will have an litle interface to make it more "user friendly" (who need this?).Booth systems have the same usage:

$ openmine [-h] [-f] [-c (cubes)] [-m (mines)] [-t (theme)] [-l{n} (size)] [-s (size)]

-h, --help
Displays a help message showing some help about the program.
-f, --fullscreen
This option runs the game in fullscreen mode.
-c [cubes]
This will run OpenMine with the same amount of cubes on each side. This is the traditional mode, if you want to play with an asymetric board use the '-l' option.
-m [amount]
Set the amount of mines on the board.
-t [theme]
Load the game with the selected theme. The themes are in the images/(theme-name) directory. The themes must have correctly configured (see the section "themes").
-l[n] [amount]
'n' is a number between 1 and 3, where 1 = x axis, 2 = y axis, and 3 = z axis. Then the mount of block in each axis.
-s [size]
The cubes will be [size] from each other.

If there are not options set the game will run with the configuration from the 'mines.conf' file.

3.2 The 'mines.conf' File

If you don't pass any arguments to the game, it will be loaded with the configurations stored in the 'mines.conf' file. If you always play with the same number of mines or the same geometry, setting up the 'mines.conf' file would be the best for you.

Where are the base of the file:
theme=(name of the theme you want)
lado1=(number of blocks for the 1st side)
lado2=(number of blocks for the 2nd side)
lado3=(number of blocks for the 3rd side)
cantidad=  (number of mines on the board)
If you want to view what themes are aviable, or if you want to create a new theme please go to the theme's section.

3.3 Basic Game Controls

A: rotate clockwise around y axis
D: rotate counter-clockwise around y axis
W: rotate clockwise around x axis
S: rotate counter-clockwise around x axis


Z: zooms in
X: zooms out


Q: strafe left
E: strafe right


RESTART GAME:When you lose press any key.

ESC: quits


Next Previous Contents