lokigames:kingpin

Différences

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

Lien vers cette vue comparative

Prochaine révision
Révision précédente
lokigames:kingpin [2023/12/05 15:13] – créée - modification externe 127.0.0.1lokigames:kingpin [2025/11/18 13:33] (Version actuelle) – [Install the game] twolife
Ligne 42: Ligne 42:
 $ cd $HOME/kingpin $ cd $HOME/kingpin
 $ rm lib3dfxgl.so libGL.so libMesaGL* libTNTgl.so $ rm lib3dfxgl.so libGL.so libMesaGL* libTNTgl.so
-$ ln -s /usr/lib/i386-linux-gnu/libGL.so.1 libGL.so 
 $ mv kingpin kingpin.x86 $ mv kingpin kingpin.x86
 +$ ln -s /usr/lib/i386-linux-gnu/libGL.so.1 ./libMesaGL.so.2
 $ echo $HOME/kingpin > kingpin.conf $ echo $HOME/kingpin > kingpin.conf
 $ cp ref_glx.so ref_glx.so.orig $ cp ref_glx.so ref_glx.so.orig
Ligne 56: Ligne 56:
  
 ===== No sound ===== ===== No sound =====
-FIXME+This port is antique, it predates SDL and does everything by himself to handle sound & keyboard/mouse. 
 + 
 +The real pain point is how it uses the original sound system for Linux, OSS. You would think that it's not a big deal, because you already use ''osspd'', a userspace daemon that emulate the OSS devices (/dev/dsp, /dev/adsp and /dev/mixer) and that would normally save the day. 
 + 
 +But unfortunately, the game use ''mmap()'' on ''/dev/dsp'', and this is not supported by osspd. So we need to use the use the ALSA provided OSS emulation in the kernel:  
 + 
 +<code> 
 +# systemctl stop osspd 
 +# modprobe snd-pcm-oss 
 +# echo 'kingpin.x86 0 0 direct' > /proc/asound/card0/pcm0p/oss 
 +</code>
  
 ===== Start the game ===== ===== Start the game =====
Ligne 148: Ligne 158:
     copy_if_needed     copy_if_needed
 fi fi
- 
  
 # Let's boogie! # Let's boogie!
  • lokigames/kingpin.1701789203.txt.gz
  • Dernière modification : 2023/12/05 15:13
  • de 127.0.0.1