ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.63k stars 258 forks source link

Grand Theft Auto V #53

Open Grima04 opened 3 years ago

Grima04 commented 3 years ago

Grand Theft Auto V currently fails to boot, using Wine 6.0 upstream from PlayOnLinux with 0140:err:module:open_builtin_file failed to load .so lib "/home/grima04/wine/lib64/wine/l3codeca.acm.so" I haven't seen any other errors though like unimplemented opcodes or missing functions.

ptitSeb commented 3 years ago

I guess l3codeca.acm.so libs libmepg123 or something like that. I'll check to wrap the libs and needed functions

Grima04 commented 3 years ago

Thank you very much for your hard work. Now that the lib is wrapped, the error has been fixed. When launching GTA V now, still nothing seems to happen though, the game only seems to stick around as a ghost process (which I need to kill with sudo killall GTA5.exe in the terminal) but no error can be seen in the terminal output with the default logging level, so I decided to upload a log made with BOX64_LOG=2. Hopefully the log contains something useful, even though it is quite large when uncompressed: log.zip

ptitSeb commented 3 years ago

Thanks, but this is not the log of GTA V, only the log of explorer.exe in desktop mode. Wine launches several process, and the 1st one is explorer here. You can capture GTA V if you launch directly, or you want need to use virtual desktop, use BOX64_TRACE_FILE=$(pwd)/trace-%pid.txt to generate 1 trace file per process, all in the current folder (named with the process id in pace of the %pid)

Grima04 commented 3 years ago

Thank you very much for the detailed information to get the traces for every process. I have launched the game via the explorer, since launching executables directly didn't work for me with some other applications which launched fine using the virtual desktop and explorer. I have now made two traces for GTA V, one with the default logging level and one with logging level 2. I have attached them below: gtav-traces.zip

ptitSeb commented 3 years ago

So, I have analyse the log, but for now, I don't understand what's wrong. It seems to be stuck somehow, but no evidence why or were. I need to run more (simple) stuff on wine64 to get box64 more stable first I guess.

Grima04 commented 3 years ago

That is unfortunate but yes, it is very likely that it just gets stuck somewhere. The fact that the game seems to stick around as a ghost process seems to support that theory too. The game is probably just too complex to run it on box64 + Wine for now but I will give it a try again in a few weeks to see if something has changed/improved.

Painadath commented 3 years ago

Grand Theft Auto V currently fails to boot, using Wine 6.0 upstream from PlayOnLinux with 0140:err:module:open_builtin_file failed to load .so lib "/home/grima04/wine/lib64/wine/l3codeca.acm.so" I haven't seen any other errors though like unimplemented opcodes or missing functions.

@Grima04 how do use wine? Please tell me instructions

rajdakin commented 1 month ago

@Grima04 Is this fixed now? @Painadath Please take a look at the documentation (which can be summed up as "install the x86_64 version of wine, then use it as you would on an x86_64 computer").