This Bash script is a utility for managing the Cataclysm: Dark Days Ahead game installations on Linux systems, specifically focusing on GitHub releases. It allows users to easily install, update, and uninstall both stable and experimental branches of the game.
- Download Dependencies: Download the
git curl wget sdl2 sdl2_image sdl2_ttf sdl2_mixer freetype2
dependencies using your distribution's package manager. - Clone the repository: Clone this repository using
git clone
. - Set Permissions: Make the script executable.
git clone https://github.com/grisha765/catacli.git
cd catacli
chmod +x catacli.sh
- Installation: Install the game from the selected branch (stable or experimental).
./catacli.sh {--stable\--exp} install
- Update: Update the installed game to the latest version available on GitHub.
./catacli.sh {--stable\--exp} update
- Uninstallation: Completely uninstall the game from the system.
./catacli.sh {--stable\--exp} uninstall
- Open Game Folder: Open the folder where the game is installed.
./catacli.sh {--stable\--exp} folder
- Automatically detects the latest version of the game from GitHub releases.
- Handles installation, updating, and uninstallation of the game.
- Creates desktop shortcuts for easy access to the game launcher.
- Manages configuration files, saves, templates, graphics, and sound directories.
- Provides clear instructions and usage guidance for each command.