Skip to content

Instantly share code, notes, and snippets.

@tryone144
Last active August 29, 2015 14:17
Show Gist options
  • Save tryone144/dfbd076189a2e7d98266 to your computer and use it in GitHub Desktop.
Save tryone144/dfbd076189a2e7d98266 to your computer and use it in GitHub Desktop.
Linux Wrapper for Chicken Invaders 5

Linux Wrapper for Chicken Invaders 5

Includes .desktop file with the original Icon and wrapper to be put in your PATH.

Install

You have to put the Main Game (the folder with Game_Launcher inside) to /opt/chickeninvaders5cotds/ or change the path in chickeninvaders5

  • Put chickeninvaders5.desktop in the application directory

    • local: ~/.local/share/applications/ (preferred)
    • global: /usr/share/applications/ (needs root privileges)
  • Put chickeninvaders5 in your PATH (needs root privileges)

    • user dir: /usr/local/bin/ (preferred)
    • system wide: /usr/bin/
  • Put CI5.png in your icon directory

    • local: ~/.local/share/icons/ (preferred)
    • global: /usr/share/icons/ (needs root privileges)

Usage

You may run Chicken Invaders 5 either through your Desktop Launcher or

$ chickeninvaders5

on the command line

Errors

If the game fails to start make shure you have write permissions on the game folder (default: /opt/chickeninvaders5cotds).

#!/bin/sh
#
# Wrapper for Chicken Invaders 5: Cluck of the Dark Side
#
# (c) 2015 Bernd Busse
#
# Change to game install path (containing 'Game_Launcher')
GAME_PATH="/opt/chickeninvaders5cotds"
cd "${GAME_PATH}"
./Game_Launcher $@
[Desktop Entry]
Name=Chicken Invaders 5
X-GNOME-FullName=Chicken Invaders 5: Cluck of the Dark Side
Categories=Games;
Exec=chickeninvaders5
Icon=CI5
StartupNotify=true
Terminal=false
Type=Application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment