Command-line support: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (→‎Commandline options and Steam: Rephrased Steam point 7)
No edit summary
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:
=Introduction=
=Introduction=
PCSX2 versions 0.9.7 and higher have full command-line support, announced on [http://pcsx2.net/developer-blog/198-the-return-of-the-commandline.html The return of the Commandline!] blog entry.
PCSX2 versions 0.9.7 and higher have full command-line support, announced on [http://pcsx2.net/developer-blog/198-the-return-of-the-commandline.html The return of the Commandline!] blog entry.


=Syntax=
=Syntax=
Line 9: Line 10:
:pcsx2.exe "'''IsoFile'''" --'''OptionName'''="'''OptionParameter'''" --'''Option2Name'''="'''Option2Parameter'''" ...
:pcsx2.exe "'''IsoFile'''" --'''OptionName'''="'''OptionParameter'''" --'''Option2Name'''="'''Option2Parameter'''" ...


* '''IsoFile''' is the image file of the PS2 to be loaded (with full path and extension).
* '''IsoFile''' is the image file of the PS2 game to be loaded (with full path and extension).
* '''OptionName''' specifies the option to be activated.
* '''OptionName''' specifies the option to be activated.
* '''OptionValue''' is used for the options that require some additional parameters. Do not forget to include these parameters inside quote signs ('''"''').
* '''OptionValue''' is used for the options that require some additional parameters. Do not forget to include these parameters inside quote signs ('''"''').
Line 18: Line 19:
The ISO file ''Final Fantasy X.iso'' will be launched in full screen mode automatically after PCSX2 is started. The plugin configuration files will to be loaded from the specified folder (''c:\My Configs\FFX'').  
The ISO file ''Final Fantasy X.iso'' will be launched in full screen mode automatically after PCSX2 is started. The plugin configuration files will to be loaded from the specified folder (''c:\My Configs\FFX'').  
{{Tip|It is possible to make a short-cut with predefined command-line parameters and place in on desktop to launch your current PS2 game directly from your desktop.}}
{{Tip|It is possible to make a short-cut with predefined command-line parameters and place in on desktop to launch your current PS2 game directly from your desktop.}}


=Options list=
=Options list=
Line 55: Line 57:




=Commandline options and shortcuts=
=Command-line options and shortcuts=
The ordinary user may use this to create a shortcut to his/her game on the desktop so that PCSX2 will run without showing PCSX2 GUI at all. To do this make a link to PCSX2 main executable (pcsx2.exe) and update the '''target''' field of this link to something like this ''"C:\PS2\pcsx2.exe" -skipbios "C:\PS2\yourgame.iso"''.
The ordinary user may use command-line feature to create a shortcut to his/her game on the desktop so that PCSX2 will run without showing PCSX2 GUI at all. To do this make a link to PCSX2 main executable (pcsx2.exe) and update the '''target''' field of this link to something like this ''"C:\PS2\pcsx2.exe" -skipbios "C:\PS2\yourgame.iso"''.
Now you are able to start '''C:\PS2\yourgame.iso''' right from your desktop!
Now you are able to start '''C:\PS2\yourgame.iso''' right from your desktop!
{{Tip|If you have different games that need different emulation settings and/or plugins configuration, consider making as many shortcuts as you need with custom settings, or use an external launcher as described on this guide.}}
{{Tip|If you have different games that need different emulation settings and/or plugins configuration, consider making as many shortcuts as you need with custom settings, or use an external launcher as described on this guide.}}




=Commandline options and Steam=
=Command-line options and Steam=
[[image:Steam guide 4.png|400px|thumb|left|Click to enlarge.]]
[[image:Steam guide 4.png|400px|thumb|left|Click to enlarge.]]
Command-line options are the key if you want to use Steam as an external launcher for your PS2 games.<br />
Command-line options are the key if you want to use Steam as an external launcher for your PS2 games.<br />
Line 71: Line 73:
:'''2)''' Click on ''Browse'' and locate ''pcsx2.exe''. Click on ''Add selected program''. '''It is important''' that you add ''pscx2.exe'' this way (rather than picking it from the list) so you can add more shortcuts later on.
:'''2)''' Click on ''Browse'' and locate ''pcsx2.exe''. Click on ''Add selected program''. '''It is important''' that you add ''pscx2.exe'' this way (rather than picking it from the list) so you can add more shortcuts later on.


:'''3)''' No that ''pcsx2'' is added to your game library, open its properties.
:'''3)''' Now that ''pcsx2'' is added to your game library, open its properties.
:[[image:Steam guide 2.png]]
:[[image:Steam guide 2.png]]


Line 89: Line 91:
*[http://steambanners.booru.org/ Steambanners]
*[http://steambanners.booru.org/ Steambanners]
}}
}}
:'''7)''' By default, games added with a shortcut on Steam launcher doesn't have a background image on its details area. But any screenshots you take while playing a game through shortcut on Steam (''F12'' '''Steam''' hotkey), are automatically used later as background for that game. Bear in mind ''F12'' is also the movie capture keyboard shortcut for '''GSdx''', so when you press ''F12'' you are gonna have to click ''Cancel'' on the movie capture dialog.
:'''7)''' By default, games added to Steam client in this manner do not have background images on their details pages. But any screenshots you take while playing a game using Steam (''F12'' '''Steam''' hotkey), are automatically used later as the background image for that game. Bear in mind though that ''F12'' key is also the movie capture shortcut in '''GSdx''' PCSX2 plugin, so you additionally will need to click ''Cancel'' when the movie capture dialog appears.


:'''8)''' You can also create a custom category like ''Playstation 2'', to group your PS2 games.
:'''8)''' You can also create a custom category like ''Playstation 2'', to group your PS2 games.
Line 102: Line 104:
There is an open source project called ICE, that allows you to easily add your PS2/console games to Steam library. You can find it at [http://scottrice.github.io/Ice/ http://scottrice.github.io/Ice]<br />
There is an open source project called ICE, that allows you to easily add your PS2/console games to Steam library. You can find it at [http://scottrice.github.io/Ice/ http://scottrice.github.io/Ice]<br />
'''Please read its documentation carefully before using it.'''}}
'''Please read its documentation carefully before using it.'''}}


=Commandline options and XBMC=
=Commandline options and XBMC=
ninja
805

edits

Navigation menu