1MEGAGLEST(6)                         Games                        MEGAGLEST(6)
2
3
4

NAME

6       megaglest - 3D multi-player real time strategy game
7

DESCRIPTION

9       megaglest, usage
10
11       Commandline   Parameter:           Description:  ----------------------
12       ------------ --help                          displays this  help  text.
13       --autostart-lastgame             Automatically  starts  a game with the
14       last game
15
16              settings you played.
17
18       --load-saved-game=x             Loads the last saved game.
19
20       Where x is an optional name of the saved game file to load.
21              If x is not specified we load the last game that was saved.
22
23       --auto-test=x,y,z                       Run in auto test mode.
24
25       Where x is an optional maximum # seconds to play.
26              If x is not specified the default is 1200 seconds (20  minutes).
27              Where  y is an optional game settings file to play.  If y is not
28              specified (or is empty) then auto test  cycles  through  playing
29              scenarios.   Where z is the word exit indicating the game should
30              exit after the game is finished or the time runs out.  If  z  is
31              not specified (or is empty) then auto test continues to cycle.
32
33       --connect=x:y                    Auto  connect  to host server at IP or
34       hostname x using port y
35
36       Shortcut version of using --connecthost and --use-ports.
37              *NOTE: to automatically connect to the first LAN
38
39              host you may use: --connect=auto-connect
40
41       --connecthost=x                 Auto connect to host server  at  IP  or
42       hostname x
43
44       *NOTE: to automatically connect to the first LAN
45              host you may use: --connecthost=auto-connect
46
47       --starthost                      Auto  create  a  host server.  --head‐
48       less-server-mode=x,x      Run as a headless server.
49
50       Where x is an optional comma delimited command
51              list of one or more of the following:
52
53       exit - which quits the application after a game
54              has no more connected players.
55
56       vps    - which does NOT read commands from the
57
58       local console (for some vps's).
59              lan  - which does not broadcast the hosting server
60
61              to the masterserver (for local LAN games).
62
63       --headless-server-status        Check the current status of a  headless
64       server.   --use-ports=x,y,z                Force hosted games to listen
65       internally on port
66
67       x, externally on port y and game status on port z.
68              Where x is the internal port # on the local
69
70       machine to listen for connects
71              y is the external port # on the
72
73       router/proxy to forward connection
74              from to the internal port #
75
76       z is the game status port # on the
77              local machine to listen for status requests
78
79       *NOTE: If enabled the FTP Server port #'s will
80              be set to x+1 to x+9
81
82       --server-title=x                Set  server  title.   --load-scenario=x
83       Auto    load    a    scenario    by    scenario   name.    --load-mod=x
84       Auto load a mod by mod pathname.  --preview-map=Map,Tileset        Auto
85       Preview   a   map   by   map  name.  (tileset  is  optional)  --version
86       displays  the  version   string   of   this   program.    --opengl-info
87       displays    your    video    driver's    OpenGL    info.     --sdl-info
88       displays     your     SDL     version     information.       --lua-info
89       displays     your     LUA     version     information.      --lua-debug
90       displays LUA debug information.   --curl-info                      dis‐
91       plays     your     CURL     version     information.      --xerces-info
92       displays     your     XERCES     version     information.       --vali‐
93       date-techtrees=x=purgeunused=purgeduplicates=gitdelete=hideduplicates
94
95       display a report detailing any known problems
96              related  to  your  selected  techtrees  game data.  Where x is a
97              comma-delimited list of techtrees
98
99       to validate.
100              Where purgeunused is an optional parameter
101
102       telling the validation to delete
103              extra files in the techtree that are not used.
104
105       Where purgeduplicates is an optional parameter
106              telling the validation to merge duplicate files in the techtree.
107
108       Where gitdelete is an optional parameter
109              telling the validation to call git  rm  on  duplicate  /  unused
110              files in the techtree.
111
112       Where hideduplicates is an optional parameter
113              telling  the  validation  to  NOT  SHOW  duplicate  files in the
114              techtree.
115
116       *NOTE: This only applies when files are
117              purged due to the above flags being set.
118
119       example:
120              megaglest --validate-techtrees=megapack,vbros_pack_5
121
122       --validate-factions=x=purgeunused=purgeduplicates=hideduplicates
123
124       display a report detailing any known problems
125              related to your selected factions  game  data.   Where  x  is  a
126              comma-delimited list of factions
127
128       to validate.
129              Where purgeunused is an optional parameter
130
131       telling the validation to delete
132              extra files in the faction that are not used.
133
134       Where purgeduplicates is an optional parameter
135              telling the validation to merge duplicate files in the faction.
136
137       Where hideduplicates is an optional parameter
138              telling  the  validation  to  NOT  SHOW  duplicate  files in the
139              techtree.
140
141       *NOTE: leaving the list empty is the same as
142              running: --validate-techtrees example:
143
144              megaglest --validate-factions=tech,egypt
145
146       --validate-scenario=x=purgeunused=gitdelete
147
148       display a report detailing any known problems
149              related to your selected scenario game data.  Where x is a  sin‐
150              gle  scenario  to  validate.   Where  purgeunused is an optional
151              parameter
152
153       telling the validation to delete extra
154              files in the scenario that are not used.
155
156       example:
157              megaglest --validate-scenario=stranded
158
159       --validate-tileset=x=purgeunused=gitdelete
160
161       display a report detailing any known problems
162              related to your selected tileset game data.  Where x is a single
163              tileset to validate.  Where purgeunused is an optional parameter
164
165       telling the validation to delete extra
166              files in the tileset that are not used.
167
168       example:
169              megaglest --validate-tileset=desert2
170
171       --translate-techtrees=x
172
173       Produces a default lng file for the specified techtree
174              to  prepare  for translation into other languages.  Where x is a
175              techtree name
176
177       --list-maps=x
178
179       display a list of game content: maps
180              where x is an optional name filter.  example:
181
182              megaglest --list-maps=island*
183
184       --list-techtrees=showfactions
185
186       display a list of game content: techtrees
187              where showfactions is an optional parameter.   to  display  fac‐
188              tions in each techtree.  example:
189
190              megaglest --list-techtrees=showfactions
191
192       --list-scenarios=x
193
194       display a list of game content: scenarios
195              where x is an optional name filter.  example:
196
197              megaglest --list-scenarios=beginner*
198
199       --list-tilesets=x
200
201       display a list of game content: tilesets
202              where x is an optional name filter.  example:
203
204              megaglest --list-tilesets=f*
205
206       --list-tutorials=x
207
208       display a list of game content: tutorials
209              where x is an optional name filter.  example:
210
211              megaglest --list-tutorials=*
212
213       --data-path=x                   Sets the game data path to x
214
215       example:
216              megaglest --data-path=/usr/local/game_data/
217
218       --ini-path=x                    Sets the game ini path to x
219
220       example
221              megaglest --ini-path=~/game_config/
222
223       --log-path=x                    Sets the game logs path to x
224
225       example:
226              megaglest --log-path=~/game_logs/
227
228       --font-path=x                   Sets the game fonts path to x
229
230       example:
231              megaglest --font-path=~/myfonts/
232
233       --show-ini-settings=x            display  merged  ini settings informa‐
234       tion.
235
236       Where x is an optional property name to
237              filter (default shows all).
238
239       example:
240              megaglest --show-ini-settings=DebugMode
241
242       --convert-models=x=textureformat=keepsmallest
243
244       Convert a model file or folder to the current g3d
245              version format.  Where x is a filename or folder containing  the
246              g3d
247
248       model(s).
249              Where textureformat is an optional supported
250
251       texture format to convert to (tga,bmp,jpg,png).
252              Where keepsmallest is an optional flag indicating
253
254       to keep original texture if its filesize is
255              smaller than the converted format.
256
257              example:
258
259              megaglest                   --convert-models=techs/megapack/fac‐
260              tions/tech/units/castle/models/castle.g3d=png=keepsmallest
261
262       --use-language=x                force the language to be  the  language
263       specified by x.
264
265       Where x is a language filename or ISO639-1 code.
266              example:  megaglest  --use-language=english  example:  megaglest
267              --use-language=en
268
269       --show-map-crc=x                show the calculated  CRC  for  the  map
270       named x.
271
272       Where x is a map name.
273              example:
274
275              megaglest --show-map-crc=four_rivers
276
277       --show-tileset-crc=x            show the calculated CRC for the tileset
278       named x.
279
280       Where x is a tileset name.
281              example:
282
283              megaglest --show-tileset-crc=forest
284
285       --show-techtree-crc=x            show  the  calculated  CRC   for   the
286       techtree named x.
287
288       Where x is a techtree name.
289              example:
290
291              megaglest --show-techtree-crc=megapack
292
293       --show-scenario-crc=x            show  the  calculated CRC for the sce‐
294       nario named x.
295
296       Where x is a scenario name.
297              example:
298
299              megaglest --show-scenario-crc=storming
300
301       --show-path-crc=x=y
302
303       Show the calculated CRC for files in the path located
304              in x using file filter y.  Where x is a path  name.   and  y  is
305              file(s) filter.  example:
306
307              megaglest --show-path-crc=techs/=megapack.7z
308
309       --disable-backtrace              disables  stack  backtrace  on errors.
310       --disable-sigsegv-handler       disables  the  sigsegv  error  handler.
311       --disable-vbo                    disables  trying  to use Vertex Buffer
312       Objects.    --disable-vertex-interpolation                     disables
313       interpolating   animations  to  make  them  smoother.   --disable-sound
314       disables the  sound  system.   --enable-legacyfonts             enables
315       using the legacy font system.  --resolution=x                  override
316       the video resolution.
317
318       Where x is a string with the following format:
319              widthxheight example: megaglest --resolution=1024x768
320
321       --colorbits=x                   override the video colorbits.
322
323       Where x is a valid colorbits value supported by
324              your video driver
325
326              example: megaglest --colorbits=32
327
328       --depthbits=x                   override the video depthbits.
329
330       Where x is a valid depthbits value supported by
331              your video driver
332
333              example: megaglest --depthbits=24
334
335       --fullscreen=x                  override the video fullscreen mode.
336
337       Where x either true or false
338              example: megaglest --fullscreen=true
339
340       --set-gamma=x                   override  the  video  gamma  (contrast)
341       value.
342
343       Where x a floating point value
344              example: megaglest --set-gamma=1.5
345
346       --use-font=x                    override the font to use.
347
348       Where x is the path and name of a font file supported
349              by freetype2.
350
351              example:
352
353              megaglest                          --use-font=$APPLICATIONDATAP‐
354              ATH/data/core/fonts/Vera.ttf
355
356       --font-basesize=x               override the font base size.
357
358       Where x is the numeric base font size to use.
359              example: megaglest --font-basesize=5
360
361       --disable-videos                 disables   video   playback.    --dis‐
362       able-opengl-checks          disables opengl capability checks (for cor‐
363       rupt   or    flaky    video    drivers).     --create-data-archives=x=y
364       compress selected game data into archives for network sharing.
365
366       Where x is one of the following data items to compress.
367              techtrees,  tilesets  or all.  Where y = include_main to include
368              main  (non  mod)  data.   example:  megaglest  --create-data-ar‐
369              chives=all
370
371       --verbose                        displays  verbose  information  in the
372       console.
373
374       Compiled using: GNUC: 90201  [64bit]  platform:  Linux-X64  endianness:
375       little  GIT:  [Rev: $5604.3a5d459$] - using STREFLOP [SSE] - [no-denor‐
376       mals]
377
378
379
380megaglest v3.13.0               September 2019                    MEGAGLEST(6)
Impressum