lokigames:kingpin

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:kingpin [2024/05/30 17:05] – [No sound] twolifelokigames:kingpin [2025/11/18 13:33] (Version actuelle) – [Install the game] twolife
Ligne 43: Ligne 43:
 $ rm lib3dfxgl.so libGL.so libMesaGL* libTNTgl.so $ rm lib3dfxgl.so libGL.so libMesaGL* libTNTgl.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 55: Ligne 56:
  
 ===== No sound ===== ===== No sound =====
-Kingpin is a weird game that doesn't use the SDL and does everything by himself.+This port is antique, it predates SDL and does everything by himself to handle sound & keyboard/mouse.
  
-It does ''mmap()'' on ''/dev/dsp''.+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.
  
-This is not supported by ''osspd''+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
-This is bad :'+
- +
-The only solution is to stop osspd and use the primitive OSS emulation provided by ALSA in the Linux kernel.+
  
 <code> <code>
  • lokigames/kingpin.1717088730.txt.gz
  • Dernière modification : 2024/05/30 17:05
  • de twolife