User Tools

Site Tools


client:gdefaults

This is an old revision of the document!


Crossfire Client configuration file gdefaults

The gdefaults file is usually located inside the .crossfire directory.
This file applies to the old gtk-1 client for crossfire,
The newer gtk-2 client uses the gdefaults2 file as configuration file.

At the top of the file one reads :

# This file is generated automatically by gcfclient.
# Manually editing is allowed, however gcfclient may be a bit finicky about
# some of the matching it does.  all comparisons are case sensitive.
# 'True' and 'False' are the proper cases for those two values
# 'True' and 'False' have been replaced with 1 and 0 respectively

Entries

Sorted by alphabetical sort:

  1. cacheimages: < 0 | 1 >
  2. command_window: < 1 - 127 >
  3. darkness: < 0 | 1 >
  4. displaymode: < 0 | 1 | 2 > [ CFG_DM_PIXMAP , CFG_DM_SDL , CFG_DM_OPENGL ]
  5. echo_bindings: < 0 | 1 >
  6. faceset: < standard | classic >
  7. fasttcpsend: < 0 | 1 >
  8. fog_of_war: < 0 | 1 >
  9. foodbeep: < 0 | 1 >
  10. grad_color_bars: < 0 | 1 >
  11. iconscale: < 25 - 200 >
  12. lighting: < 0 - 3 > [ CFG_LT_NONE , CFG_LT_TILE , CFG_LT_PIXEL , CFG_LT_PIXEL_BEST ]
  13. map_height: < 9 - 31 > [ MAP_MAX_SIZE ]
  14. map_width: < 9 - 31 > [ MAP_MAX_SIZE ]
  15. mapscale: < 25 - 200 >
  16. mapscroll: < 0 | 1 >
  17. nosplash: < 0 | 1 >
  18. popups: < 0 | 1 >
  19. port: 13327 [ EPORT , DEFPORT ]
  20. resistances: < 0 | 1 >
  21. server: (null)
  22. show_grid: < 0 | 1 >
  23. showicon: < 0 | 1 >
  24. sign_popups: < 0 | 1 >
  25. smoothing: < 0 | 1 >
  26. sound: < 0 | 1 >
  27. sound_server: < cfsndserv | cfsndserv_alsa9 >
  28. split: < 0 | 1 >
  29. splitinfo: < 0 | 1 >
  30. tooltips: < 0 | 1 >
  31. trim_info_window: < 0 | 1 >

auto_apply_container

cacheimages

command_window

darkness

displaymode

download_all_images

echo_bindings

faceset

fasttcpsend

fog_of_war

foodbeep

grad_color_bars

iconscale

lighting

SDL lighting in pictures: City of Navar around midnight ..

lighting 0 None lighting 1 Per Tile lighting 2 Fast per Pixel lighting 3 Best per Pixel
sdl_lightning_0_none.jpg sdl_lightning_1_per_tile.jpg sdl_lightning_2_fast_per_pixel.jpg sdl_lightning_3_best_per_pixel.jpg

map_height

map_width

mapscale

mapscroll

message_timestamping

nosplash

popups

Values : 0 or 1 – 0 disables popup windows like a separate log-in window, 1 enables them.
Default: 0 ( disabled )

The default is set to 0 inside the source code
in function init_client_vars() in file common/init.c as variable want_config[CONFIG_POPUPS] = FALSE; .

Command-line options : -popups and -nopopups

Behaviour: Most popup-windows might be annoying, while playing the game, but the log-on to a server had been impossible for versions 1.11.0 and below of the GTK-1 client, if that was unset ( 0 ) . To enter a user-name was not possible in the “traditional” Info-Message and Cmd-Line Pane on the right side of the client.
See also

port

resistances

server

show_grid

This option is only available for the SDL displaymode .
Purpose: It draws a red tile grid-overlay onto the map.
Effect: But this grid vanishes as soon as the player moves.
Implemented: gridline options available under the client config window. MSW 2001-06-17
Client Menu: Client > Configure > Map & Image > Print Grid Overlay (SDL only, slow, useful for debugging, development)

The GTK-2 client does not have such a Menu option to choose anymore; but still has this parameter entry in it's gdefaults2 config file.

showicon

sign_popups

smoothing

sound

sound_server

split

splitinfo

tooltips

trim_info_window

client/gdefaults.1522787562.txt.gz · Last modified: 2018/04/03 15:32 by karl