A small Python script for starting game launchers.
It will start up a list of executables in sequential order, and wait for system usage (network traffic, CPU, disk I/O) to stabilise before continuing.
Packaged with pyinstaller.
- Download newest release from here
- Customize
config-example.yml
to your liking and save asconfig.yml
. - Start by executing
launcherStarter.exe
.
- Install Python 3 to PATH.
- Setup dependencies with
pip install -r requirements.txt
- Customize
config-example.yml
to your liking and save asconfig.yml
. - Start by executing
run.bat
. - The executable file can be generated with pyinstaller.
launcherStart.py reads its instructions from a YAML-file, typically called config.yml
. You can supply a different config file as an argument:
launcherStarter.exe file.yml
In the recipe
section of the YAML, there are two possible commands:
wait
for waiting for system resources, e.g. a download to finish or disk install to completelaunch
will start the specified executable in a separate process
You can configure standard settings for the wait
-command in the block defaults\wait-default
of the config file.
cpu|network|disk: True|False
whether the resource watcher is enabled for CPU-percentage, network incoming bandwidth or hard disk transfers*-limit
(in kB/s or %) defines the upper limit of the watched resource*-length
determines the length of the rolling average for the resource. Queries are made roughly once every second.time
(in seconds) specifies the minimum wait timetimeout
(in seconds) specifies the maximum wait time
These settings can be overridden by specifying them again in the desired wait
-block.