no way to compare when less than two revisions
Différences
Ci-dessous, les différences entre deux révisions de la page.
| — | lokigames:creatures3 [2026/06/23 07:20] (Version actuelle) – créée - modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | ====== Creatures Internet Edition ====== | ||
| + | Nothing exciting to say about installing the game & running it with the bundled SDL-1.2. | ||
| + | |||
| + | But things get really nasty if you want to use your system libraries & sdl12-compat in particular... | ||
| + | < | ||
| + | mkdir libs_backup | ||
| + | mv libSDL-1.2.so.0 libSDL_mixer-1.2.so.0 libsmpeg-0.4.so.0 libs_backup/ | ||
| + | </ | ||
| + | |||
| + | ===== Adventures in the dark age of broken toolchain - Part 1 ===== | ||
| + | < | ||
| + | $ creatures3 | ||
| + | Welcome to Creatures 3! | ||
| + | Inconsistency detected by ld.so: dl-version.c: | ||
| + | </ | ||
| + | |||
| + | '' | ||
| + | * it contains explicit symbol-version requirements against '' | ||
| + | * but it doesn' | ||
| + | |||
| + | You can use patchelf to fix this: | ||
| + | < | ||
| + | |||
| + | But why does it work with the bundled '' | ||
| + | |||
| + | Because the bundled '' | ||
| + | |||
| + | 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. | ||
| + | |||
| + | |||
| + | ===== Adventures in the dark age of broken toolchain - Part 2 ===== | ||
| + | < | ||
| + | $ creatures3 | ||
| + | Welcome to Creatures 3! | ||
| + | lc2e: symbol lookup error: / | ||
| + | </ | ||
| + | |||
| + | This is a fun one. '' | ||
| + | |||
| + | Here is the list of symbols we need to provide: | ||
| + | < | ||
| + | void SDL_Convert16LSB(SDL_AudioCVT *cvt, Uint16 format) | ||
| + | void SDL_Convert16MSB(SDL_AudioCVT *cvt, Uint16 format) | ||
| + | void SDL_Convert8(SDL_AudioCVT *cvt, Uint16 format) | ||
| + | void SDL_ConvertEndian(SDL_AudioCVT *cvt, Uint16 format) | ||
| + | void SDL_ConvertMono(SDL_AudioCVT *cvt, Uint16 format) | ||
| + | void SDL_ConvertSign(SDL_AudioCVT *cvt, Uint16 format) | ||
| + | void SDL_ConvertStereo(SDL_AudioCVT *cvt, Uint16 format) | ||
| + | void SDL_RateDIV2(SDL_AudioCVT *cvt, Uint16 format) | ||
| + | void SDL_RateMUL2(SDL_AudioCVT *cvt, Uint16 format) | ||
| + | void SDL_RateSLOW(SDL_AudioCVT *cvt, Uint16 format) | ||
| + | </ | ||
| + | |||
| + | The solution I choose is simple: reuse the code from SDL-1.2 in [[https:// | ||
| + | |||
| + | ===== Solution ===== | ||
| + | Just compile the code from [[https:// | ||
| + | |||
| + | < | ||
| + | SDL_VIDEODRIVER=x11 creatures3 | ||
| + | Welcome to Creatures 3! | ||
| + | [...] | ||
| + | </ | ||