Skip to content

AutoBanana automates opening and closing of games. Features include running on startup, timed sessions. Easily configure settings in config.ini and track actions with detailed logging. Perfect for automating your gaming routine!

License

Notifications You must be signed in to change notification settings

Beelzebub2/AutoBanana

Repository files navigation

Static Badge Static Badge Static Badge User Count

AutoBanana

Now supports multiple games!

AutoBanana is an automated script designed to manage the opening and closing of games through Steam. The primary features of AutoBanana include:

Features

  • Automatic Startup: Configure the script to run on system startup, ensuring the game is managed without user intervention.
  • Timed Execution: Opens the game using the Steam URL (steam://rungameid/2923300) and waits for a specified duration before closing it. This cycle repeats every three hours.
  • Logging: Logs all actions, including game opening, closing, and startup configurations, for easy monitoring and debugging.
  • Startup Management: Easily add or remove AutoBanana from the Windows startup sequence.
  • Customizable Configurations: Customize settings like program path, time to wait, and installation trigger through a config.ini file.

Installation

You can find the latest releases here.

Simply download and run AutoBanana-win64.exe

Manual Installation

  • Download the repository: here
  • Extract the contents of the zip file
  • Install python Make sure to add python to PATH it's an option when installing!
  • Run setup.bat
  • Insert game ID's into the config file separated by a comma ',' (you can find the ids on the game properties under the updates page on library or steam shop link)

Development

  • Clone the repository: git clone https://github.com/Beelzebub2/AutoBanana/
  • Navigate to the project directory: cd AutoBanana
  • Install dependencies:
pip install -r requirements.txt
pip install -r requirements-dev.txt
  • Run the script: python AutoBanana.py

Manually Building

  • Navigate to the project directory: cd AutoBanana
  • Build with pyinstaller: pyinstaller -F -n AutoBanana-win64 AutoBanana.py

Releasing

  • Push a tag with the version number starting with v and GitHub Actions will automatically build the release and upload it to the releases page as a draft.

Release Notes

Pending Features:
! Autoupdater

v1.6 27/06/24 Thank you guys :)

+  Actually opens all games, thanks to @SavageCore
+  Improved get_steam_games, thanks to @SavageCore
+  Fixed startup error, thanks to @SavageCore
+  More games like banana in the config thanks to @Gesugao-san

v1.5 24/06/24

+   Actually closes the other games now

v1.4 20/06/24

+   Added total games count to UI
+   Added multiple games support
-   Removed install verification

v1.3 19/06/24

+   Now checks if game was installed correctly
+   Code rework

v1.2 17/06/24

+   Added statistics tracker
+   Fixed bug with UI

v1.1 17/06/24

+   Improved UI
+   Organized the code
+   Added time until next open
+   Added start on startup

About

AutoBanana automates opening and closing of games. Features include running on startup, timed sessions. Easily configure settings in config.ini and track actions with detailed logging. Perfect for automating your gaming routine!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published