lokigames:creatures3

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:creatures3 [2026/06/22 12:53] twolifelokigames:creatures3 [2026/06/23 07:20] (Version actuelle) – [Adventures in the dark age of broken toolchain - Part 2] twolife
Ligne 27: Ligne 27:
 Because the bundled ''libSDL-1.2.so.0'' has a dependency on libdl (and that makes the loader happy), while any modern versions (be it a real SDL-1.2 or sdl12-compat) won't have it. Again: why ? Because the bundled ''libSDL-1.2.so.0'' has a dependency on libdl (and that makes the loader happy), while any modern versions (be it a real SDL-1.2 or sdl12-compat) won't have it. Again: why ?
  
-Because with the release of GLIBC 2.34 in 2021, libpthread, libdl, libutil, libanl have all been integrated into libc; new build does not link with them anymore.+Because with the release of GLIBC 2.34 in 2021, libpthread, libdl, libutil, libanl have all been integrated into libc; new build does not link with any of them anymore.
  
  
Ligne 37: Ligne 37:
 </code> </code>
  
-This is a fun one. ''lc2elib.so'' use some private symbols that are not part of SDL-1.2’s public ABI, that are exported by the bundled ''libSDL-1.2.so.0''but that aren't exposed in any build of SDL-1.2 made in the last 2 decades.+This is a fun one. ''lc2elib.so'' use some private symbols that are not part of SDL-1.2’s public ABI, that are surprisingly exported by the bundled ''libSDL-1.2.so.0'' but that aren't exposed in any other build of SDL-1.2 made in the last 2 decades.
  
 Here is the list of symbols we need to provide: Here is the list of symbols we need to provide:
Ligne 55: Ligne 55:
 The solution I choose is simple: reuse the code from SDL-1.2 in [[https://github.com/libsdl-org/SDL-1.2/blob/main/src/audio/SDL_audiocvt.c|src/audio/SDL_audiocvt.c]] and make it available to the game. The solution I choose is simple: reuse the code from SDL-1.2 in [[https://github.com/libsdl-org/SDL-1.2/blob/main/src/audio/SDL_audiocvt.c|src/audio/SDL_audiocvt.c]] and make it available to the game.
  
 +===== Solution =====
 Just compile the code from [[https://github.com/twolife/creatures3-linux-sdl]] and replace ''libSDLStretch.so'' in the game directory. Just compile the code from [[https://github.com/twolife/creatures3-linux-sdl]] and replace ''libSDLStretch.so'' in the game directory.
 +
 +<code>
 +SDL_VIDEODRIVER=x11 creatures3
 +Welcome to Creatures 3!
 +[...]
 +</code>
  • lokigames/creatures3.1782132812.txt.gz
  • Dernière modification : 2026/06/22 12:53
  • de twolife