Scroll to navigation

MEGAGLEST(6) Games MEGAGLEST(6)

NAME

megaglest - 3D multi-player real time strategy game

DESCRIPTION

megaglest, usage

Commandline Parameter: Description: ---------------------- ------------ --help displays this help text. --autostart-lastgame Automatically starts a game with the last game

settings you played.

--load-saved-game=x Loads the last saved game.

If x is not specified we load the last game that was saved.

--auto-test=x,y,z Run in auto test mode.

If x is not specified the default is 1200 seconds (20 minutes). Where y is an optional game settings file to play. If y is not specified (or is empty) then auto test cycles through playing scenarios. Where z is the word exit indicating the game should exit after the game is finished or the time runs out. If z is not specified (or is empty) then auto test continues to cycle.

--connect=x:y Auto connect to host server at IP or hostname x using port y

*NOTE: to automatically connect to the first LAN
host you may use: --connect=auto-connect

--connecthost=x Auto connect to host server at IP or hostname x

*NOTE: to automatically connect to the first LAN
host you may use: --connecthost=auto-connect

--starthost Auto create a host server. --headless-server-mode=x,x Run as a headless server.

list of one or more of the following:
has no more connected players.
- which does NOT read commands from the
lan - which does not broadcast the hosting server
to the masterserver (for local LAN games).

--headless-server-status Check the current status of a headless server. --use-ports=x,y,z Force hosted games to listen internally on port

Where x is the internal port # on the local
y is the external port # on the
from to the internal port #
local machine to listen for status requests
*NOTE: If enabled the FTP Server port #'s will
be set to x+1 to x+9

--server-title=x Set server title. --load-scenario=x Auto load a scenario by scenario name. --load-mod=x Auto load a mod by mod pathname. --preview-map=Map,Tileset Auto Preview a map by map name. (tileset is optional) --version displays the version string of this program. --opengl-info displays your video driver's OpenGL info. --sdl-info displays your SDL version information. --lua-info displays your LUA version information. --lua-debug displays LUA debug information. --curl-info displays your CURL version information. --xerces-info displays your XERCES version information. --validate-techtrees=x=purgeunused=purgeduplicates=gitdelete=hideduplicates

related to your selected techtrees game data. Where x is a comma-delimited list of techtrees
Where purgeunused is an optional parameter
extra files in the techtree that are not used.
telling the validation to merge duplicate files in the techtree.
telling the validation to call git rm on duplicate / unused files in the techtree.
telling the validation to NOT SHOW duplicate files in the techtree.
*NOTE: This only applies when files are
purged due to the above flags being set.
megaglest --validate-techtrees=megapack,vbros_pack_5

--validate-factions=x=purgeunused=purgeduplicates=hideduplicates

related to your selected factions game data. Where x is a comma-delimited list of factions
Where purgeunused is an optional parameter
extra files in the faction that are not used.
telling the validation to merge duplicate files in the faction.
telling the validation to NOT SHOW duplicate files in the techtree.
*NOTE: leaving the list empty is the same as
running: --validate-techtrees example:
megaglest --validate-factions=tech,egypt

--validate-scenario=x=purgeunused=gitdelete

related to your selected scenario game data. Where x is a single scenario to validate. Where purgeunused is an optional parameter
files in the scenario that are not used.
megaglest --validate-scenario=stranded

--validate-tileset=x=purgeunused=gitdelete

related to your selected tileset game data. Where x is a single tileset to validate. Where purgeunused is an optional parameter
files in the tileset that are not used.
megaglest --validate-tileset=desert2

--translate-techtrees=x

to prepare for translation into other languages. Where x is a techtree name

--list-maps=x

where x is an optional name filter. example:
megaglest --list-maps=island*

--list-techtrees=showfactions

where showfactions is an optional parameter. to display factions in each techtree. example:
megaglest --list-techtrees=showfactions

--list-scenarios=x

where x is an optional name filter. example:
megaglest --list-scenarios=beginner*

--list-tilesets=x

where x is an optional name filter. example:
megaglest --list-tilesets=f*

--list-tutorials=x

where x is an optional name filter. example:
megaglest --list-tutorials=*

--data-path=x Sets the game data path to x

megaglest --data-path=/usr/local/game_data/

--ini-path=x Sets the game ini path to x

megaglest --ini-path=~/game_config/

--log-path=x Sets the game logs path to x

megaglest --log-path=~/game_logs/

--font-path=x Sets the game fonts path to x

megaglest --font-path=~/myfonts/

--show-ini-settings=x display merged ini settings information.

filter (default shows all).
megaglest --show-ini-settings=DebugMode

--convert-models=x=textureformat=keepsmallest

version format. Where x is a filename or folder containing the g3d
Where textureformat is an optional supported
Where keepsmallest is an optional flag indicating
smaller than the converted format.
example:
megaglest --convert-models=techs/megapack/factions/tech/units/castle/models/castle.g3d=png=keepsmallest

--use-language=x force the language to be the language specified by x.

example: megaglest --use-language=english example: megaglest --use-language=en

--show-map-crc=x show the calculated CRC for the map named x.

example:
megaglest --show-map-crc=four_rivers

--show-tileset-crc=x show the calculated CRC for the tileset named x.

example:
megaglest --show-tileset-crc=forest

--show-techtree-crc=x show the calculated CRC for the techtree named x.

example:
megaglest --show-techtree-crc=megapack

--show-scenario-crc=x show the calculated CRC for the scenario named x.

example:
megaglest --show-scenario-crc=storming

--show-path-crc=x=y

in x using file filter y. Where x is a path name. and y is file(s) filter. example:
megaglest --show-path-crc=techs/=megapack.7z

--disable-backtrace disables stack backtrace on errors. --disable-sigsegv-handler disables the sigsegv error handler. --disable-vbo disables trying to use Vertex Buffer Objects. --disable-vertex-interpolation disables interpolating animations to make them smoother. --disable-sound disables the sound system. --enable-legacyfonts enables using the legacy font system. --resolution=x override the video resolution.

widthxheight example: megaglest --resolution=1024x768

--colorbits=x override the video colorbits.

your video driver
example: megaglest --colorbits=32

--depthbits=x override the video depthbits.

your video driver
example: megaglest --depthbits=24

--fullscreen=x override the video fullscreen mode.

example: megaglest --fullscreen=true

--set-gamma=x override the video gamma (contrast) value.

example: megaglest --set-gamma=1.5

--use-font=x override the font to use.

by freetype2.
example:
megaglest --use-font=$APPLICATIONDATAPATH/data/core/fonts/Vera.ttf

--font-basesize=x override the font base size.

example: megaglest --font-basesize=5

--disable-videos disables video playback. --disable-opengl-checks disables opengl capability checks (for corrupt or flaky video drivers). --create-data-archives=x=y compress selected game data into archives for network sharing.

techtrees, tilesets or all. Where y = include_main to include main (non mod) data. example: megaglest --create-data-archives=all

--verbose displays verbose information in the console.

Compiled using: GNUC: 100200 [64bit] platform: Linux-X64 endianness: little GIT: [Rev: $5604.3a5d459$] - using STREFLOP [SSE] - [no-denormals]

August 2020 megaglest v3.13.0