====== Heavy Gear II ======
===== Install & patch the game =====
To install the required 32 bits libraries :
# apt-get install libsmpeg0:i386
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/hg2/hg2-1.0b-cdrom-x86.run|patch]] :
$ linux32 bash hg2-1.0b-cdrom-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 hg2stub
Now we need some old libraries: libttf2 & glib1.2
* ''libttf.so.2'' is 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/]] [[https://snapshot.debian.org/archive/debian/20070911T000000Z/pool/main/f/freetype1/libttf2_1.4pre.cvs20060210-1_i386.deb]]
* for glib1.2, you can install this [[https://snapshot.debian.org/archive/debian/20090809T095029Z/pool/main/g/glib1.2/libglib1.2ldbl_1.2.10-20_i386.deb|old deb files]]
===== Launch the game =====
./hg2