Skip to content

Instantly share code, notes, and snippets.

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

Linux Wrapper for Chicken Invaders 4

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/chickeninvaders4UO/ or change the path in chickeninvaders4

  • Put chickeninvaders4.desktop in the application directory

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

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

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

Usage

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

$ chickeninvaders4

on the command line.

Errors

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

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