User Tools

Site Tools


client:optional_parameters

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
client:optional_parameters [2018/04/03 12:01]
karl [-smooth] Add screenies of smoothed landscapes
client:optional_parameters [2018/04/17 21:39]
karl [-mapsize] Add pics about mapsizes
Line 139: Line 139:
  
 ==== -mapsize ==== ==== -mapsize ====
-Short: -mapsize xXy     - Set the mapsize to be X by Y spaces. ​(default 11x11)+Short: -mapsize xXy     - Set the mapsize to be X by Y spaces. ​\\ 
 +gdefaults Entries: [[gdefaults#​map_width]] , [[gdefaults#​map_height]] \\ 
 +Default: gtk1: 11x11; gtk-2: old 15x15, new 25x25 
 + 
 +For a new installation of the GTK-1 client without any configuration files, the default ​map size of 11x11 might lead to a slightly distorted GUI. \\ 
 +''​-mapsize 9x9''​ might be a better first impression without stat bars / resistances column overlapping the bottom of the map: 
 + 
 +^ mapsize default ^ mapsize 9 x 9 ^ 
 +| {{gcfclient_mapsize_default.jpg?​350}} | {{gcfclient_mapsize_9x9.jpg?​350}} | 
 + 
 + 
 + 
  
-gdefaults Entries: [[gdefaults#​map_width]] , [[gdefaults#​map_height]] 
  
 ==== -mapscroll ==== ==== -mapscroll ====
Line 184: Line 195:
  
 Only available for the GTK-2 client. Only available for the GTK-2 client.
 +
 +
 +Though the OpenGL drawing mode apparently works even without the GLX extension switched on for the XServer, \\
 +the older GTK-2 clients will crash at startup if the GLX extension would be not available:
 +<code bash>
 +# gcfclient2-1.10.0 -opengl
 +Xlib:  extension "​GLX"​ missing on display ":​0.0"​.
 +Segmentation fault
 +</​code>​
 +
 +The newer GTK-2 clients will work still, if the necessary libraries ''​libGL.so.1''​ , ''​libGLU.so.1''​ and ''​libglut.so.3''​ are available on the system:
 +<code bash>
 +# crossfire-client-gtk2-1.70.0 -opengl
 +[  INFO  ] (gtk-v2::​init_glx_opengl) Direct rendering is not available!
 +[  INFO  ] (gtk-v2::​opengl_common) Maximum texture size is 2048
 +[  INFO  ] (gtk-v2::​init_image_cache_data) Init Image Cache
 +</​code>​
 +
 +When OpenGL had not been available at [[client compiling]] time, then the client will fall back to Pixmap mode, and prints to stderr
 +<code bash>
 +# crossfire-client-gtk2-1.70.0 -opengl
 +[WARNING ] (main.c::​init_windows) client not compiled with opengl support. ​ Ignoring -opengl
 +</​code>​
 +
  
 ==== -pixmap ==== ==== -pixmap ====
client/optional_parameters.txt · Last modified: 2018/04/17 21:39 by karl