[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The standard library archive, `standard.zip', is included with the Crystal Space package within the `CS/data' directory. If it is missing, however, you may download it from the Crystal Space site (see section 1.5 Where to Get Crystal Space) and place it in `CS/data' manually. This file contains resources which are used by several Crystal Space demonstration programs. Do not unpack this file; Crystal Space uses it as is.
The standard texture archive, `stdtex.zip', contains textures which are required by many of the example Crystal Space map files. You should download this file and place it in the `CS/data' directory. As with `standard.zip', do not unpack this file. `stdtex.zip' can be downloaded from the following location:
ftp://ftp.linuxgames.com/crystal/levels/stdtex.zip
You will also need to have at least one map file in order to use the Crystal Space demonstration program, WalkTest. Typically map files should be placed within the `CS/data' directory. As with other Crystal Space resources, map files are actually compressed archives which are used directly by the engine, thus you should not unpack these archives.
The most commonly used map file is `flarge.zip' since it demonstrates many of the special features of the engine rather than focusing on merely one or two areas. You can download `flarge.zip', as well as several other example map files from the following location:
ftp://ftp.linuxgames.com/crystal/levels/
To launch WalkTest you can either double-click on its icon or, from the command line, you can type:
walktest |
This will run the WalkTest with the settings from the `CS/data/config/walktest.cfg' file (usually using software renderer, though you can change this). Alternately you can choose the video driver by specifying the `--video' option on the command-line:
walktest --video=software # Runs in software mode walktest --video=opengl # Runs in OpenGL mode |
If you are using the OpenGL renderer, then invoking ALT-f will switch in and out of full screen mode.
To use a particular map file, mention it on the command line when invoking the WalkTest application. For example:
walktest flarge |
If you wish this map to be used by default whenever you launch WalkTest without otherwise explicitly mentioning a map file, you may want to change the `WorldFile' option in WalkTest's configuration file `CS/data/config/walktest.cfg'.
Walktest.Settings.WorldFile=flarge |
The rest of the settings are mostly self evident and can often be overridden on the command line.
You may have to adjust the `Engine.Lighting.Ambient.White' level in `engine.cfg' if the maps appear too dark. After adjusting the ambient level, specify `--relight' on the command-line to instruct Crystal Space to recalculate the lighting information. For example:
walktest --relight flarge |
Other interesting example applications which you can run are `blocks', `metademo', and `mazed'.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |