Difference between revisions of "Command-line options"

From Worms Knowledge Base

Jump to: navigation, search
(Created (by popular demand))
 
(add /getlogs)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
WA.exe command-line options:
+
This page lists all command-line parameters of the latest Worms Armageddon Beta. Square brackets indicate optional parameters. Parameters containing spaces (such as paths to replay files) need to be surrounded by quotes.
  
 
* '''/nointro''' - disables intro sequence. Can also be permanently disabled in the Advanced Options screen.
 
* '''/nointro''' - disables intro sequence. Can also be permanently disabled in the Advanced Options screen.
Line 8: Line 8:
 
* '''/getvideo''' ''Path\To\Replay.WAgame'' [''FPS'' [''start-time'' [''end-time'' [''X-resolution'' [''Y-resolution'' [''prefix'']]]]]] - export frames from the specified replay to your '''User\Capture''' folder. If no arguments are specified on the command-line, a dialog is displayed allowing entering said options. If less than 6 arguments are specified, the defaults are to export the entire replay (or until the end), at a resolution of 640x480.
 
* '''/getvideo''' ''Path\To\Replay.WAgame'' [''FPS'' [''start-time'' [''end-time'' [''X-resolution'' [''Y-resolution'' [''prefix'']]]]]] - export frames from the specified replay to your '''User\Capture''' folder. If no arguments are specified on the command-line, a dialog is displayed allowing entering said options. If less than 6 arguments are specified, the defaults are to export the entire replay (or until the end), at a resolution of 640x480.
 
* '''/getlog''' ''Path\To\Replay.WAgame'' - export a text log of the replay.
 
* '''/getlog''' ''Path\To\Replay.WAgame'' - export a text log of the replay.
 +
* '''/getlogs''' ''Path\To\filename-pattern.WAgame'' [''/sort=num''] [''/from filename.WAgame''] - batch export log (as documented [[Worms_Armageddon_ReadMe_(English)/v3.8_Update|here]]).
 
* '''/sanitize''' ''Path\To\Replay.WAgame'' - remove private messages from a replay.
 
* '''/sanitize''' ''Path\To\Replay.WAgame'' - remove private messages from a replay.
 
* '''/repair''' ''Path\To\Replay.WAgame'' - repairs certain errors in replays (currently regarding intrinsic maps).
 
* '''/repair''' ''Path\To\Replay.WAgame'' - repairs certain errors in replays (currently regarding intrinsic maps).
Line 13: Line 14:
 
{{gap}}
 
{{gap}}
 
* '''/host''' - host a Direct IP game with default options
 
* '''/host''' - host a Direct IP game with default options
* '''wa:host'''[''parameters''] - host a Direct IP game with optional parameters (as documented [[Worms Armageddon ReadMe (English)#Footnotes here]]).
+
* '''wa:host'''[''parameters''] - host a Direct IP game with optional parameters (as documented [[Worms Armageddon ReadMe (English)#Footnotes|here]]).
 
* '''wa://'''[''hostname''][''parameters''] - join a Direct IP game with optional parameters. If no host specified, host one instead.
 
* '''wa://'''[''hostname''][''parameters''] - join a Direct IP game with optional parameters. If no host specified, host one instead.
 +
{{gap}}
 
* '''/q''' or '''/quiet''' - suppress some error message dialogs. Useful for batch replay operations.
 
* '''/q''' or '''/quiet''' - suppress some error message dialogs. Useful for batch replay operations.
  
Line 25: Line 27:
 
* '''/novirtualdesktop''' - used when relaunching WA.exe under a virtual desktop in Wine.
 
* '''/novirtualdesktop''' - used when relaunching WA.exe under a virtual desktop in Wine.
 
* '''/register''' - re-register replay and URL associations (used by the Beta installer).
 
* '''/register''' - re-register replay and URL associations (used by the Beta installer).
 
Square brackets indicate optional parameters.
 

Latest revision as of 14:11, 19 November 2023

This page lists all command-line parameters of the latest Worms Armageddon Beta. Square brackets indicate optional parameters. Parameters containing spaces (such as paths to replay files) need to be surrounded by quotes.

  • /nointro - disables intro sequence. Can also be permanently disabled in the Advanced Options screen.
  • /play Path\To\Replay.WAgame - plays a replay.
  • /playat Path\To\Replay.WAgame [time] - plays a replay starting from a specific moment. If time isn't specified on the command-line, a dialog is displayed allowing entering the time.
  • /getmap Path\To\Replay.WAgame - extract the map from the specified replay to your User\SavedLevels folder.
  • /getscheme Path\To\Replay.WAgame - extract the scheme from the specified replay to your User\Schemes folder.
  • /getvideo Path\To\Replay.WAgame [FPS [start-time [end-time [X-resolution [Y-resolution [prefix]]]]]] - export frames from the specified replay to your User\Capture folder. If no arguments are specified on the command-line, a dialog is displayed allowing entering said options. If less than 6 arguments are specified, the defaults are to export the entire replay (or until the end), at a resolution of 640x480.
  • /getlog Path\To\Replay.WAgame - export a text log of the replay.
  • /getlogs Path\To\filename-pattern.WAgame [/sort=num] [/from filename.WAgame] - batch export log (as documented here).
  • /sanitize Path\To\Replay.WAgame - remove private messages from a replay.
  • /repair Path\To\Replay.WAgame - repairs certain errors in replays (currently regarding intrinsic maps).
  • Path\To\Replay.WAgame - plays the replay (the file must have a .WAgame extension).

 

  • /host - host a Direct IP game with default options
  • wa:host[parameters] - host a Direct IP game with optional parameters (as documented here).
  • wa://[hostname][parameters] - join a Direct IP game with optional parameters. If no host specified, host one instead.

 

  • /q or /quiet - suppress some error message dialogs. Useful for batch replay operations.

Undocumented / internal options:

  • /crash - crash W:A (for testing error report generation).
  • /handlecrash - display post-crash error message.
  • /disablecrashhandler - disable error report generation.
  • /silentcrash - disable crash error message.
  • /novirtualdesktop - used when relaunching WA.exe under a virtual desktop in Wine.
  • /register - re-register replay and URL associations (used by the Beta installer).
Personal tools