Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libTAS uses wrong version of wine #617

Open
noah-pm-dev opened this issue Aug 2, 2024 · 1 comment
Open

libTAS uses wrong version of wine #617

noah-pm-dev opened this issue Aug 2, 2024 · 1 comment

Comments

@noah-pm-dev
Copy link

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 noah-pm-dev changed the title libTAS uses wrong version of wine and throws win32 error libTAS uses wrong version of wine Aug 2, 2024
@Futurama39
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants