| | | | | | | |
|---|
| Map Zoom Level. Observation Detalization for Map. 0 - the most detailed | -zm | getZLevelMap | | SimulationOptions | 0, 1, 2 | -zm 0 | 1 |
| Enemies Zoom Level. Observation Detalization for Enemies. 0 - The most detailed. | -ze | getZLevelEnemies | | SimulationOptions | 0, 1, 2 | -ze 1 | 0 |
| Enable Visualization | -vis | boolean isVisualization() | setVisualization(boolean) | SimulationOptions | on/off | "-vis on" through application parameters or setVisualization(true) | |
| set main View to be on top of other windows. (View Always On Top) | -vaot | boolean isViewAwaysOnTop() | | EvaluationOptions | on/off | -vaot on | off |
| Time Limit | -tl | getTimeLimit() | | SimulationOptions | [1..MAXINT], units: marioseconds (faster that the usual ones) | -tl 42 | 200 |
| World Timer. Gives the Agent the opportunity of infinite time per level | -t | Boolean isTimer() | | | on/off | -t off | on |
| Stop Simulation when first Win obtained | -ssiw | Boolean isStopSimulationIfWin() | setStopSimulationIfWin (boolean) | SimulationOptions | on/off | -ssiw on | off |
| Enable Tools Configurator. | Special run: java ch.idsia.toolsConfigurations -tc | boolean isToolsConfigurator() | setToolsConfigurator (boolean) | CmdLineOptions | on/off | Special run: java ch.idsia.toolsConfigurations -tc on | off |
| Enable Framework to work in server mode. | -server | | | CmdLineOptions | on/off | -server on | off |
| Pause of the World. Freezes animation of all the sprites and disables Mario interaction with creatures. Mario still can run and get level observation | -pw | Boolean isPauseWorld() | setPauseWorld(boolean) | SimulationOptions | on/off | -pw on | off |
| Enable Power restoration by pressing speed button (A on a keyboard) | -pr | isPowerRestoration() | setPowerRestoration(boolean) | SimulationOptions | on/off | -pr on | off |
| Port for the ServerAgent | -port | Integer getServerAgentPort() | | CmdLineOptions | integers in [3500..65535] | -port 4264 or -ag ServerAgent:4264 | 4242 |
| Mario Mode | -mm | int getMarioMode() | setMarioMode(int) | SimulationOptions | 0 -- small,1 - large, 2 - large, fire ability is available | -mm 1 | 2 (large, fire) |
| Maximize FPS as much as possible | -maxFPS | Boolean isMaxFPS() | setMaxFPS(boolean ) | | on/off | -maxFPS on | off |
| Matlab file name for the report output | -m | String getMatlabFileName() | setMatlabFileName( String) | EvaluationOptions | [\w+] | -m iMarioReport | "" |
| Level Type | -lt | int getLevelType() | void setLevelType(int levelType) | SimulationOptions | integers [0..4] (Overground, Underground, Castle, Random) | "-lt 1" sets the level type to Underground | 0 |
| Level Randomization Seed | -ls | int getLevelRandSeed() | setLevelRandSeed(int) | SimulationOptions | integers in [1..maxInt] | -ls 42 | 1 |
| Level Length | -ll | int getLevelLength() | setLevelLength(int) | SimulationOptions | integers in [1..4096] | -ll 550 | 320 |
| Level Difficulty. Note: interesting domain is approximately 0..30 | -ld | int getLevelDifficulty() | setLevelDifficulty(int) | SimulationOptions | integers is [0..maxInt] | -ld 5 | 0 |
| Enable Continuous Updates in GameViewer | -gvc | Boolean isGameViewerContinuousUpdates() | | CmdLineOptions | on/off | -gvc on | off |
| Enable Game Viewer | -gv | Boolean isGameViewer() | | CmdLineOptions | on/off | -gv on | off |
| exit program when simulation is over | -ewf | Boolean isExitProgramWhenFinished() | setExitProgramWhen Finished(boolean) | EvaluationOptions | on/off | -ewf off | on |
| Output all command line options to console after initialization | -echo | Boolean isEcho() | | CmdLineOptions | on/off | -echo on | off |
| Maximum Number of Attempts | -an | int getMaxAttempts() | setMaxAttempts(int) | SimulationOptions | integers in [1..maxInt] | -an 42 | 5 (in case of ServerAgent : infinite) |
| Agent | -ag | Agent getAgent() | setAgent(Agent) | SimulationOptions | implementations of Agent or `-ag AgentName` in command line, AgentName should extend RegisterableAgent in order for the native agent to be available from command line. | 1. `-ag ForwardAgent`. 2. `-ag ServerAgent` -- binds a ServerAgent to a default port 4242. 3. `-ag ServerAgent:4264` -- to a custom port 4264. The same as `-ag ServerAgent -port 4264` | HumanKeyboardAgent |
Current CmdLIneOtions.pdf contains older long name equivalents as an Option Name. Got rid of this though. Update of pdf is possible if requested.