Hydra
Hydra is a python game launcher with its own embedded bittorrent client and a self-managed repack scraper. The launcher is written in TypeScript (Electron) and Python, which handles the torrenting system by using libtorrent.
Python Game Launcher Installation
First you have to Install Node.js.
Ensure you have Node.js installed on your machine.
If not, download and install it from nodejs.org. Steps to install Nodejs is provided with it.
Install Yarn
Yarn is a package manager for Node.js.
If you haven’t installed Yarn yet, you can do so by following the instructions on yarnpkg.com. Steps to install Nodejs is provided with it.
Clone the Repository of Python Game Launcher
You can close the official repository of Python Game Launcher or Download the zip file and make it run.
To clone the git repo use the following link:
git clone https://github.com/hydralauncher/hydra.git
Install Node Dependencies
Navigate to the project directory and install the Node dependencies using Yarn:
cd hydra yarn
Install Python 3.9
Ensure you have Python installed on your machine. You can download and install it from python.org.
Install Python Dependencies
Install the required Python dependencies using pip:
pip install -r requirements.txt
Environment variables
You’ll need a SteamGridDB API Key in order to fetch the game icons on installation. If you want to have onlinefix as a repacker you’ll need to add your credentials to the .env
Once you have it, you can paste the .env.example
file and put it on STEAMGRIDDB_API_KEY
, ONLINEFIX_USERNAME
, ONLINEFIX_PASSWORD
.
Running Python Game Launcher
Once you’ve got all things set up, you can run the following command to start both the Electron process and the bittorrent client:
yarn start
Build
Build the bittorrent client by using this command:
python torrent-client/setup.py build
Build the Python Game Launcher Electron application
Build the Electron application by using this command:
yarn make
GITHUB REPOSITORY:
https://github.com/hydralauncher/hydra
All Rights Reserved To Their Respective Owners
RELATED LINKS:
https://freecodes.cloud/2024/01/20/customtkinter-python-ui/
https://freecodes.cloud/2024/01/20/the-fuck-python-app-console/
https://freecodes.cloud/2024/01/20/avatarify-python/