A bot to play the Stratagem Hero minigame in Helldivers 2.
Please note: this is not intended for inputting stratagems in-mission, only in the minigame. This project makes no efforts to hide itself, evade detection, or circumvent any anti-cheat measures. If you use this software in Helldivers 2, there is no guarantee of any kind that you will not be banned. Use at your own risk.
2024-03-08.02-18-48.mp4
Requires Python and Windows.
Install Requirements (ideally, in a virtualenv):
pip install -r requirements.txt
For NVIDIA users, if you have CUDA installed (available here), you can install the optional cuda requirements for faster processing:
install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
- Open Helldivers 2 and get ready to play Stratagem Hero
- Start the script (
python play.py
) It will take a few moments to start up. - While the script is starting up, with the "Enter any Stratagem Input to Start!" screen up, drag the mouse down and to the right to get the camera in a reliable position
- The script will automatically start the game when ready and play by itself
- To stop the bot, simply alt-tab out of Helldivers and focus any other window
Note: the capture region is hard-coded for a 3440x1440 monitor. If your monitor has a different resolution, you will probably have to adjust the capture region in play.py