libTAS icon indicating copy to clipboard operation
libTAS copied to clipboard

libTAS uses wrong version of wine

Open noah-pm-dev opened this issue 1 year ago • 1 comments

I am trying to run libTAS on a steamripped version of a game called Webbed.

wine webbed.exe works, however when run with libTAS it does not work, and outputs this (which notably includes the wine help message)

readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
        not a dynamic executable
ERROR: ld.so: object '/usr/local/bin/libtas32.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/local/bin/libtas32.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/local/bin/libtas32.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/local/bin/libtas32.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/local/bin/libtas32.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Usage: wine PROGRAM [ARGUMENTS...]   Run the specified program
       wine --help                   Display this help and exit
       wine --version                Output version information and exit

It seems like libTAS is using wine incorrectly, but there doesn't seem to be any option to force it to use a specific wine prefix or anything else in general. I'm building libTAS from source so editing the code is also an option for me.

System: Kubuntu 22.04.4 LTS x86_64 AMD Ryzen 5 5600 NVIDIA GeForce RTX 3060

Output of wine --version: wine-6.0.3 (Ubuntu 6.0.3~repack-1)

noah-pm-dev avatar Aug 02 '24 00:08 noah-pm-dev

Your wine version is unsupported in libTAS, check the tasvideos resource on working with wine, also likely duplicates #401

Futurama39 avatar Aug 15 '24 19:08 Futurama39