installOpenTTD.sh

# 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
 
 
## BETA ##
wget http://de.archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu38_3.8.1-3ubuntu1.1_i386.deb -P /tmp
dpkg -i /tmp/libicu38_3.8.1-3ubuntu1.1_i386.deb
 
wget http://binaries.openttd.org/releases/1.0.0-beta4/openttd-1.0.0-beta4-linux-debian-lenny-i386.deb -P /tmp
dpkg -i /tmp/openttd-*.deb
 
apt-get install -f -y

Do you like this page? Then support it. Please click the AD below and visit the sponsor. Thank you!