Install OpenTTD (Transport Tycoon Deluxe) under Ubuntu

<?php
$URL="https://raw.githubusercontent.com/panticz/installit/master/install.openttd.sh";
echo "wget $URL -O - | bash -s";
echo "

";
$c = curl_init();
curl_setopt($c, CURLOPT_URL, $URL);
curl_setopt($c, CURLOPT_RETURNTRANSFER, 1);
echo htmlspecialchars(curl_exec($c));
curl_close($c);
echo "

";
?>

Install newest Version
wget https://raw.githubusercontent.com/panticz/installit/master/install.openttd.sh -O - | bash -s -- -n

#
# OLD?
#
# sudo apt-get install -y libsdl1.2debian

# pre configure
debconf-set-selections <<\EOF
openttd openttd/datafiles select
EOF

# install openttd
sudo apt-get install -y openttd timidity
wget http://www.tt-ms.de/downloads/ttdwin302011.rar -P /tmp
mkdir /tmp/ttd
unrar x /tmp/ttdwin302011.rar /tmp/ttd

# copy data
sudo cp /tmp/ttd/*.grf /tmp/ttd/*.cat /usr/share/games/openttd/data
sudo cp /tmp/ttd/gm/* /usr/share/games/openttd/gm

# clean up
rm /tmp/ttdwin302011.rar
rm -r /tmp/ttd

# Links
http://wiki.ubuntuusers.de/Spiele/OpenTTD
http://www.openttd.org/en/download-stable
http://www.tt-ms.de/downloads/

Build GeeXboX from repository

#!/bin/bash

# install required packages
sudo apt-get install -y mercurial build-essential libncurses5-dev flex bison gawk \
gettext libreadline5 libreadline5-dev libunistring0 texinfo

# get source code
hg clone http://hg.openbricks.org/openbricks

# change into source code directory
cd openbricks/

# configure
make menuconfig

# compile
make

exit

# OLD

#
# PARAMETERS
#
GEEXBOX_PATH=~/gxdev

#
# FUNCTIONS
#
add_patch() {
echo "-- add_path ---"

# echo "http://www.uclibc.org/downloads/snapshots/uClibc-20070829.tar.bz2" > $GEEXBOX_PATH/geexbox/packa

instalNXClient.sh

#!/bin/bash

sudo su

cat << EOF > /etc/apt/sources.list.d/freenx-team.list
deb http://ppa.launchpad.net/freenx-team/ubuntu intrepid main
deb-src http://ppa.launchpad.net/freenx-team/ubuntu intrepid main
EOF

apt-get install nxclient

# old #
wget http://64.34.161.181/download/3.2.0/Linux/nxclient_3.2.0-9_i386.deb -P /tmp
dpkg -i /tmp/nxclient_*.deb
rm /tmp/nxclient_*.deb
chmod 755 /usr/lib/cups/backend/ipp

# LINK
# http://www.nomachine.com/download-client-linux.php