Outils pour utilisateurs

Outils du site


lokigames:smac

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

lokigames:smac [2023/12/01 13:20] – créée - modification externe 127.0.0.1lokigames:smac [2024/04/22 17:57] (Version actuelle) twolife
Ligne 1: Ligne 1:
 +====== Sid Meier's Alpha Centauri ======
 +
 +===== Install & patch the game =====
 +
 +To install the required 32 bits libraries :
 +<code>
 +# apt-get install libsdl-mixer1.2:i386 libsdl-ttf2.0-0:i386
 +</code>
 +
 +To install the game, mount your CD & run the installer with ''linux32'' from the ''util-linux'' package :
 +<code>
 +# mount /dev/cdrom /media/cdrom
 +$ linux32 bash /media/cdrom/setup.sh
 +</code>
 +
 +Apply the last released [[https://ftp.lokigames.twolife.be/pub/updates/smac/smac-6.0a-x86.run|patch]] :
 +<code>
 +$ linux32 bash smac-6.0a-x86.run
 +</code>
 +
 +===== Game crash =====
 +''./smac.dynamic'' or ''./smacx.dynamic'' greets you with //"Segmentation fault"// 
 +
 +This is due to a change in ''libgcc'' that broke some binaries that where compiled with gcc 2.95 in an unusual way (like compiling C++ code with ''gcc'' instead of ''g++'').
 +
 +==== Option a ====
 +You can use a little [[https://github.com/twolife/lokishim|shim]] that add back functions required by a bunch of old games like this one. 
 +
 +<code>
 +LD_PRELOAD="/path/to/lokishim.so" ./smac.dynamic
 +
 +LD_PRELOAD="/path/to/lokishim.so" ./smacx.dynamic
 +</code>
 +
 +==== Option b ====
 +The missing function can be found in a //very// old ''libstdc++'', and you can use ''libstdc++-3-libc6.2-2-2.10.0.so'' from [[https://www.improbability.net/loki/loki_compat_libs-1.5.tar.bz2|https://www.improbability.net/loki/]]
 +
 +<code>
 +LD_PRELOAD="./libstdc++-3-libc6.2-2-2.10.0.so" ./smac.dynamic
 +
 +LD_PRELOAD="./libstdc++-3-libc6.2-2-2.10.0.so" ./smacx.dynamic
 +</code>
  
lokigames/smac.txt · Dernière modification : 2024/04/22 17:57 de twolife

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki