The purpose of this program is rather simple, given the addition of many different runes with patch 7.33, it might be helpful to have a reminder of the different spawning times.
The program uses the GSI (game state integration) capabilities provided by Valve to parse the state of the game and obtaing the game clock. Given the events specified in the config file, it informs the users about the events that are about to happen.
If you want to build it from this repo:
-
Clone the repo
-
Install the dependencies running
pip install -r requirements.txt -
Modify the config,toml that resides under the resource folder. Specifically, set:
dota2path = "your\\installatiom\\path"it is important to keep the double quotes and to double the slashes. The path should point to the "dota" folder which usually if found under
"...\steamapps\common\dota 2 beta\game\dota"This is needed as the program need to create a configuration file that is parsed by the game client in order to send the game information.
-
You're set. You can run the program:
main.py
In this case you do not need a python installation in your pc as it is bundled in the .zip file you download from here.
-
Download the .zip file
-
Extract the content in a folder
-
Open the extract folder and modify the config.toml that resides under the resource folder. Specifically, set:
dota2path = "your\\installatiom\\path"it is important to keep the double quotes and to double the slashes. The path should point to the "dota" folder which usually if found under
"...\steamapps\common\dota 2 beta\game\dota"This is needed as the program need to create a configuration file that is parsed by the game client in order to send the game information.
-
Execute the main.exe file.
Once you performed the above steps you should see a dota icon in the system tray. Right clicking on it gives you 3 options:
- Start. The program starts to listen for information coming from the game client.
- Stop. Pause the execution, the program stops listening and the alerts do not work anymore. You can re-start listening clicking on the start option.
- Exit. Completely close the application. You will need to restart program (from your IDE or main.exe) to use it again.
It is likely that windows will complain about the exe not being signed. If you do not trust the source code, you can read it yourself and then decide if you want to execute it or not. The program also need network access in order to listen for the requests coming from the game client
If you are using the .zip file (and therefore the main.exe file) and the program does not seem to start, you can do the following:
-
Open a powershell window.
-
Copy the address of the folder in which you extracted the zip file.
-
Paste the address in the powershell window as follows:
cd "<your copied path>"and press enter
-
Type:
.\main.exeand press enter.
Now the error message should appear on the screen. If you do not know how to solve it, feel free to contact me or open a problem here on GitHub.
If you are building from the source code, I am confident you know where to look for the error message :D