19,703
edits
 (→Launch arguments:  they finally shipped a new build that contains my feature)  | 
				m (→Launch arguments:  nice, I misspelled my own PCSX2 feature; added example of CLI invocation)  | 
				||
| Line 18: | Line 18: | ||
==Launch arguments==  | ==Launch arguments==  | ||
Oni 2 accepts various launch arguments. To pass arguments to the game, you must use PCSX2 1.6.0 or later. Calling PCSX2 on the command line, pass it the argument <tt>--  | Oni 2 accepts various launch arguments. To pass arguments to the game, you must use PCSX2 1.6.0 or later. Calling PCSX2 on the command line, pass it the argument <tt>--gameargs="-arg1 -arg2 -etc."</tt>, e.g.:  | ||
 pcsx2.exe "C:\path\to\oni2dev_ps2.iso" --gameargs="-noui"  | |||
Note that the patch tool provided in the previous section will allow you to play any level without using launch arguments.  | |||
The syntax for arguments which require a parameter, such as "-layout", is "-argument=parameter". The descriptions given below are taken verbatim from the game, and the effects are based on our testing.  | The syntax for arguments which require a parameter, such as "-layout", is "-argument=parameter". The descriptions given below are taken verbatim from the game, and the effects are based on our testing.  | ||