DOCS: adds autostart page

This commit is contained in:
CadiH 2023-02-26 16:40:21 +07:00 committed by Eugene Sandulenko
parent e9761caa47
commit 2d27f11ce0
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,22 @@
=========================
Autostart
=========================
Use the autostart feature to automatically start the game located in the same folder as the ScummVM executable, as long as it is a game supported by ScummVM. It is the equivalent of using the ``--path`` and ``--auto-run`` :doc:`command line options <../advanced_topics/command_line>`.
There are two ways to use the autostart feature:
- Rename the executable file to ``scummvm-auto.xxx``, where ``xxx`` is the file type extension.
- Create an empty file named ``scummvm-autorun`` in the same folder as both the executable and the chosen game. Either leave the file empty, or use it to specify any further command line options. Specify one option per line.
Example of a scummvm-autorun file
===================================
.. code::
--fullscreen
--shader=crt/crt-lottes.glslp

View File

@ -52,11 +52,13 @@
:glob:
:hidden:
advanced_topics/autostart
advanced_topics/command_line
advanced_topics/configuration_file
advanced_topics/understand_audio
advanced_topics/understand_graphics
advanced_topics/understand_search_box
.. toctree::
:caption: Help
@ -200,6 +202,9 @@ In this section, we also take a deep dive into understanding the graphics and au
Advanced features
^^^^^^^^^^^^^^^^^^^^
:doc:`advanced_topics/autostart`
:doc:`advanced_topics/configuration_file`
:doc:`advanced_topics/command_line`
@ -213,6 +218,8 @@ In this section, we also take a deep dive into understanding the graphics and au
:doc:`The graphics settings <advanced_topics/understand_graphics>`
:doc:`The search box <advanced_topics/understand_search_box>`
Getting help