box86 icon indicating copy to clipboard operation
box86 copied to clipboard

Some Windows EXE files are failing to load on newer box86 builds

Open Pipetto-crypto opened this issue 2 years ago • 2 comments

I have noticed that some windows exe files are failing to load in recent box86 builds but they were working fine with a box86 built from commit 75759f9b.

The error is quite generic: wine: failed to start L"E:\Download\PC\CAPCOM\DEVILMAYCRY4_TRIAL\DevilMayCry4_Trial_DX9.exe"

I went to investigate and it seems that it stops right here:

26773|Call to dlsym(0x4, "__wine_main")0x600268b0 26773|Call to dlsym((nil), "wine_main_preload_info")0x60300c

I went to look in the old build and those addresses returned are different:

31444|Call to dlsym(0x4, "__wine_main")0xed37a8b0 31444|Call to dlsym((nil), "wine_main_preload_info")0xedbcd00c

This issue seems also present in a box64 build from commit 7372540f.

The issue is also reproducible in this program: https://codecguide.com/download_k-lite_codec_pack_basic.htm

And from box64 side when trying to install wmp11 from winetricks: winetricks wmp11

But those programs fail with an error code 700 printed on screen

Pipetto-crypto avatar Nov 08 '23 12:11 Pipetto-crypto

I reproduce the issue with DMC4Trial. I'll look into it.

ptitSeb avatar Nov 08 '23 12:11 ptitSeb

Ok, this should be fixeds with latest box86 version. I'll make similar changes to box64.

ptitSeb avatar Nov 08 '23 14:11 ptitSeb