====== Railroad Tycoon II ======
===== Install & patch the game =====
To install the game, mount your CD & run the installer with ''linux32'' from the ''util-linux'' package :
# mount /dev/cdrom /media/cdrom
$ linux32 bash /media/cdrom/setup.sh
Apply the last released [[https://ftp.lokigames.twolife.be/pub/updates/rt2/rt2-1.54c-unified-x86.run|patch]] :
$ linux32 bash rt2-1.54c-unified-x86.run
Patch the binary to use (system provided) SDL1.2 instead of the bundled SDL1.1
cd
patchelf --replace-needed libSDL-1.1.so.0 libSDL-1.2.so.0 rt2.dynamic
patchelf --add-needed libX11.so.6 rt2.dynamic
Now we need a very old library, that has no practical use today and is abandoned since 20 years : [[https://github.com/icculus/smjpeg|smjpeg]]
The easiest way to get it is to extract the ''libsmjpeg-0.2.so.0'' file bundled in the loki-compat-libraries tarball from [[https://www.improbability.net/loki/loki_compat_libs-1.5.tar.bz2|https://www.improbability.net/loki/]]
===== Launch the game =====
LD_LIBRARY_PATH=. ./rt2.dynamic