Afficher la pageAnciennes révisionsLiens de retourHaut de page Cette page est en lecture seule. Vous pouvez afficher le texte source, mais ne pourrez pas le modifier. Contactez votre administrateur si vous pensez qu'il s'agit d'une erreur. ====== Heroes of Might and Magic III ====== ===== Install & patch the game ===== To install the required 32 bits libraries : <code> # apt-get install libsdl-mixer1.2:i386 libsmpeg0: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/heroes3/heroes3-1.3.1a-cdrom-x86.run|patch]] : <code> $ linux32 bash heroes3-1.3.1a-cdrom-x86.run </code> ===== Game crash ===== ''./heroes3.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" ./heroes3.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" ./heroes3.dynamic </code> ===== Game Freeze ===== If you are using sdl12-compat instead of a real SDL-1.2 (you should, any serious linux distribution should have made the transition now), the game will freeze as soon as you see the menu. But fear not, there is a workaround: <code> SDL12COMPAT_COMPATIBILITY_AUDIOCVT=1 LD_PRELOAD="/path/to/lokishim.so" ./heroes3.dynamic </code> lokigames/homm3.txt Dernière modification : 2024/05/15 15:00de twolife