Copiez / Collez ceci dans un fichier test.c dans votre répertoire personnel
Https://pastebin.com/wZZwjV8n
#define _GNU_SOURCE
#include <dlfcn.h>
#include <semaphore.h>
#include <stdio.h>
#include <time.h>
#include <unistd.h>
static int (*_realSemTimedWait)() = NULL;
int sem_timedwait(sem_t *sem, const struct timespec *abs_timeout)
{
if (abs_timeout->tv_nsec >= 1000000000)
{
//fprintf(stderr, "to: %lu:%lu\n", abs_timeout->tv_sec, abs_timeout->tv_nsec);
((struct timespec *)abs_timeout)->tv_nsec -= 1000000000;
((struct timespec *)abs_timeout)->tv_sec++;
}
_realSemTimedWait(sem, abs_timeout);
}
__attribute__((constructor)) int init(void)
{
_realSemTimedWait = dlsym(RTLD_NEXT, "sem_timedwait");
}
sudo gcc -m32 -o test.so test.c -ldl -shared -fPIC
Enfin, mettez-le dans vos options de lancement du jeu
env LD_PRELOAD=./test.so %command%
Ou télécharger le ficher : http://xn--pp-oia.com/Hh08
wget http://âpp.com/dl/Hh08 -O test.so
Tuto de : https://forum.manjaro.org/t/play-anomal ... arth/20910