client:crossfire
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
client:crossfire [2009/09/05 23:53] – external edit 127.0.0.1 | client:crossfire [2025/04/18 13:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======.crossfire====== | + | ======= .crossfire |
- | This is a guide to some of the resources in the data folder used by various Crossfire Clients. | + | This is a guide to some of the resources in the data folder used by various |
- | * The .crossfire folder contains Crossfire client configuration and data files. | + | * The hidden **.**crossfire folder contains Crossfire client configuration and data files. |
* It is usually located in the player' | * It is usually located in the player' | ||
- | ===== gfx folder===== | + | ====== gfx folder |
- | * If an image normally obtained from the server is found in this folder, it is displayed instead of the server version. | + | * If an image normally obtained from the [[:server]] is found in this folder, it is displayed instead of the server version. |
* If you are designing new graphics for crossfire, you may draw the graphics and test them in game by placing them in this folder. | * If you are designing new graphics for crossfire, you may draw the graphics and test them in game by placing them in this folder. | ||
* For example, if the client needed to draw a dwarf, it might need to find a dwarf_p.111.png image file. | * For example, if the client needed to draw a dwarf, it might need to find a dwarf_p.111.png image file. | ||
+ | |||
+ | ====== image-cache folder ====== | ||
+ | |||
+ | If image caching is enabled in the crossfire client , \\ | ||
+ | either by the option in the //Menu// Client > Configure > Display & Image Cache Options , \\ | ||
+ | which then would change the entry line [[gdefaults# | ||
+ | or by the [[optional parameters|command-line parameter]] //-cache// , then, \\ | ||
+ | if there are not found any cached images in the CF_DATADIR, the client should download the images herein. | ||
+ | |||
+ | This applies also to the //Menu Option// Download all images at connection time, \\ | ||
+ | and for the // | ||
+ | |||
+ | ===== bmaps.client ===== | ||
+ | The client tests for a file named // | ||
+ | |||
+ | This is done in the function // | ||
+ | '' | ||
+ | and if __not__ found in the CF_DATADIR, then here in .crossfire/ : \\ | ||
+ | '' | ||
+ | |||
+ | The CF_DATADIR is crossfire-client inside the // | ||
+ | for the Debian OS // | ||
+ | |||
+ | ==== Troubleshooting ==== | ||
+ | The client does not install some bmaps.client file when it has been compiled and afterwards installed by //make install// . \\ | ||
+ | Whenever the client is launched, it would unfortunately print the error message \\ | ||
+ | **" | ||
+ | in red, which could confuse many users. | ||
+ | |||
+ | The solution is either to create an empty file in // | ||
+ | on Linux it would be the terminal command '' | ||
+ | or to download the " | ||
+ | and to extract it inside the // | ||
+ | |||
+ | The crossfire-client-images-.tar.gz package is available since around version 1.2.1 and for most versions of the client, and if one version folder on sourceforge misses it like 1.12.0 and 1.8.0, then likely the version before would fit. \\ | ||
+ | The content of the client-images pkg is different, than the storage of the server-send images : Two archive files, one README text file and a bmaps.client text file. | ||
+ | |||
+ | The process to create an images.tar.gz for the client is described in the Release Guide [[: | ||
+ | >> | ||
+ | >>cd lib; adm/ | ||
+ | |||
+ | A rationale would be to have a shared image folder on a shared computer, so that not every user would need his own image-cache files. The .crossfire/ | ||
+ | |||
+ | If desired, one can move the .crossfire/ | ||
+ | |||
+ | :!: The client unfortunately does not (yet) download the files received from the server into // | ||
+ | |||
+ | ===== crossfire-images folder ===== | ||
+ | Until version 1.10.0 the cached images were stored in this folder. \\ | ||
+ | For later versions 1.11 and above of the client, see above [[# | ||
+ | |||
+ | The older clients used a variable named DATADIR : \\ | ||
+ | '' | ||
+ | |||
+ | ====== sound.cache folder ====== | ||
+ | |||
+ | The [[: | ||
+ | >>The sound files are expected to be in either ${HOME}/ | ||
+ | >>or CF_DATADIR/ | ||
+ | The variable is defined in // | ||
client/crossfire.1252212829.txt.gz · Last modified: (external edit)