lokigames

Différences

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

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
lokigames [2024/05/14 09:45] twolifelokigames [2024/12/14 13:15] (Version actuelle) – [GTK 1.2] twolife
Ligne 1: Ligne 1:
-====== Loki games ====== +====== Loki Software - HOWTO install & patch the games ====== 
- +This is a complement to [[https://twolife.be/loki/]]
-Between 1999 and 2002, [[https://en.wikipedia.org/wiki/Loki_Entertainment|Loki Software]] released native Linux version of a small list of games. +
- +
-The Linux of year 2000 is very different from the Linux we know today, and so it can be quite difficult to get such an old binary working well on modern systems. While the Linux kernel has maintained very good backwards compatibility, other parts of Linux distribution have changed, from the X server to libraries like glibc, libstdc++, and SDL. +
- +
-Here lies a number of guide to install & play these old games on modern Linux. +
- +
-Special thanks: +
-  * [[https://www.improbability.net/loki/|Alan Swanson]] for his collections of old libraries +
-  * [[https://github.com/liflg/|Linux Installer For Linux Gamers]] +
-  * [[https://icculus.org/|Ryan C. Gordon]] +
  
 ===== Common workarounds ===== ===== Common workarounds =====
Ligne 23: Ligne 12:
  
 ==== Architecture detection ==== ==== Architecture detection ====
-Most of the Loki installer/updater programs performs a check to see if your system is compatible with the game, ie: if you are not using an outdated system based on libc5 (the migration to glibc/libc6 happened 25 years ago now).+Most of the Loki installer/updater programs performs a check to see if your system is compatible with the game, ie: if you are not using an outdated system based on libc5 (the migration to glibc2/libc6 happened 25 years ago now).
  
 But now your system is completely different, chances are the checked file doesn't even exist. Ex: on Debian/Ubuntu, ''/lib/libc.so.6'' doesn't exist and we fail the test, so we need to create this file with the following content: But now your system is completely different, chances are the checked file doesn't even exist. Ex: on Debian/Ubuntu, ''/lib/libc.so.6'' doesn't exist and we fail the test, so we need to create this file with the following content:
Ligne 43: Ligne 32:
 </code> </code>
  
-==== Sound ==== +==== GTK1.2 ==== 
-The majority of those games use the original sound system for Linux, Open Sound System v3 (OSS), that was superseded by the Advanced Linux Sound Architecture (ALSA) in 2002. On modern Linux, there is no more a ''/dev/dsp'' device file.  +You probably know that GTKis a free and open-source cross-platform widget toolkit for creating graphical user interfaces. Loki's installer programs use GTKversion 1.2. That version is very old and very much unmaintained (GTK+2 was released in 2002, GTK+3 in 2011 & GTK 4 in 2020).
- +
-But fear not, there is an elegant solution to this problem: [[https://github.com/libfuse/osspd|osspd]]. It's a userspace daemon that emulate the OSS devices (''/dev/dsp'', ''/dev/adsp'' and ''/dev/mixer''+
- +
-In the end the pipeline looks like this (it's a lot of forwarding, but on modern machines, it won't be too +
-noticeable) : +
-<code>game-binary -> /dev/dsp -> CUSE -> osspd -> ossp-padsp -> pulseaudio -> ALSA -> speakers/headphones</code> +
- +
-The only thing you need to do is to install it: +
-<code># apt-get install osspd</code> +
- +
-==== GTK 1.2 ==== +
-You probably know that GTK is a free and open-source cross-platform widget toolkit for creating graphical user interfaces. Loki's installer programs use GTK version 1.2. That version is very old and very much unmaintained (GTK2 was released in 2002, GTK3 in 2011 & GTK4 in 2020)+
- +
-If you can still find binaries of //i386// GTK1.2 libraries for your Linux distribution, you can install them, it's a nice bonus. The fallback is a simple prompt interface that will works in all cases.+
  
 +If you can still find binaries of //i386// GTK+1.2 libraries for your Linux distribution, you can install them, it's a nice bonus. The fallback is a simple CLI interface that have reasonable chances to works in all cases.
  
 +I maintain Git repository with functional/buildable-in-2024 [[https://github.com/twolife/gtk-1.2|GTK+1.2]] (and [[https://github.com/twolife/glib-1.2|GLib 1.2]], one of it's dependency), if you really want to use the graphical installer.
 ===== The games ===== ===== The games =====
   * [[https://davidgow.net/hacks/civctp.html|Civilization: Call to Power]]   * [[https://davidgow.net/hacks/civctp.html|Civilization: Call to Power]]
Ligne 68: Ligne 45:
   * [[lokigames:fakk2|Heavy Metal: F.A.K.K.²]]   * [[lokigames:fakk2|Heavy Metal: F.A.K.K.²]]
   * [[lokigames:heretic2|Heretic II]]   * [[lokigames:heretic2|Heretic II]]
-  * Heroes of Might and Magic III+  * [[lokigames:homm3|Heroes of Might and Magic III]]
   * [[lokigames:kohan|Kohan: Immortal Sovereigns]]   * [[lokigames:kohan|Kohan: Immortal Sovereigns]]
   * [[lokigames:mindrover|MindRover]]   * [[lokigames:mindrover|MindRover]]
-  * [[lokigames:myth2|Myth II: Soulblighter]]+  * Myth II: Soulblighter
   * Postal Plus   * Postal Plus
-  * [[lokigames:rt2|Railroad Tycoon II]] 
   * [[lokigames:quake3|Quake III Arena]]   * [[lokigames:quake3|Quake III Arena]]
 +  * [[lokigames:rt2|Railroad Tycoon II]]
   * [[lokigames:rune|Rune]]   * [[lokigames:rune|Rune]]
   * [[lokigames:smac|Sid Meier's Alpha Centauri]]   * [[lokigames:smac|Sid Meier's Alpha Centauri]]
   * [[lokigames:sc3u|Sim City 3000: Unlimited]]   * [[lokigames:sc3u|Sim City 3000: Unlimited]]
   * [[lokigames:sof|Soldier of Fortune]]   * [[lokigames:sof|Soldier of Fortune]]
-  * Tribes 2 +  * Tribes 2 -- masterserver have been down for years 
-  * [[lokigames:ut99|Unreal Tournament]]+  * Unreal Tournament
  
  
  • lokigames.1715679929.txt.gz
  • Dernière modification : 2024/05/14 09:45
  • de twolife