Toxicoow
Posts: 1
Joined: Mon Sep 28, 2020 10:52 pm

How to install Wine with Box86 on Retropie?

Tue Sep 29, 2020 12:05 am

Hello, i'm new here, i have a RaspberryPi 3.
I made an account cause i have not too many idea how to use Linux in general.

I wanted to install Exagear but it look like it doens't even exist anymore, so i got to try Box86.
I noticed that Box86 is really new, and have a few documentation, i only saw windows games being launched with Twister OS, but i have no idea how i have to install Wine on Retropie, excepted with that one classic command prompt.

Code: Select all

sudo apt-get install wine
When i try to launch any windows exes like Solitaire or Minesweeper, get an error message, but i'm not even sure that i even use the right build of Wine.

Code: Select all

pi@retropie:~/box86-master/build $ ./box86 wine /home/pi/RetroPie/roms/ports/xpgame/sol.exe

Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 22 Env var
Looking for wine
argv[1]="/home/pi/RetroPie/roms/ports/xpgame/sol.exe"
Not an ELF file (sign=#!/b)
Error: reading elf header of /usr/bin/wine-stable

pi@retropie:~/box86-master/build $ ./box86 wine /home/pi/RetroPie/roms/ports/xpgame/winmine.exe
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 22 Env var
Looking for wine
argv[1]="/home/pi/RetroPie/roms/ports/xpgame/winmine.exe"
Not an ELF file (sign=#!/b)
I even try to run steam, but i get a similar error

Code: Select all

box86 steam
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 22 Env var
Looking for steam
steam detected, forcing emulated libudev, disabling SSSE3
Not an ELF file (sign=#!/u)
Error: reading elf header of /usr/lib/steam/bin_steam.sh
If i have something missing, let me know, i'm not even sure what to do at that point, i'm pretty sure the issue here is i'm only using Retropi, and it doen't have a GUI.

hippy
Posts: 8508
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: How to install Wine with Box86 on Retropie?

Tue Sep 29, 2020 9:08 am

Toxicoow wrote:
Tue Sep 29, 2020 12:05 am
i have no idea how i have to install Wine on Retropie, excepted with that one classic command prompt.

Code: Select all

sudo apt-get install wine
When i try to launch any windows exes like Solitaire or Minesweeper, get an error message, but i'm not even sure that i even use the right build of Wine.

Code: Select all

Looking for wine
argv[1]="/home/pi/RetroPie/roms/ports/xpgame/sol.exe"
Not an ELF file (sign=#!/b)
Error: reading elf header of /usr/bin/wine-stable
Seems to be a similar problem to the OP here - viewtopic.php?f=63&t=286885

I am not familiar with WINE on ARM, nor running WINE with Box86, but if you used an 'apt-get install wine' you probably have an ARM WINE package installed rather than an X86 WINE package which Box86 I guess would likely be expecting.

I have no idea how to do it properly. As you note documentation and How To guides are sorely lacking; plenty of "Look; it works!" YouTube videos but no actual instructions I could find on how to get it to work and, more specifically, specifically how to get it to work on a Pi.

ptitSeb
Posts: 194
Joined: Tue May 19, 2015 2:49 pm

Re: How to install Wine with Box86 on Retropie?

Tue Sep 29, 2020 12:01 pm

Yes, using apt will install ARM Wine, which is not what you want. You need x86 wine. Unfortunatly, there is no easy "apt" way to install it.
So eaither have to compile it yourself on an x86 linux pc, or find one prebuilt.

Fortunatly, even if you don't want to use twisteros, you can still grab the wine version it use here: https://twisteros.com/wine.tgz
Unpack that in your home (should be /home/pi ) then use that /home/pi/wine/bin/wine to launch your windows programs.

(note: I find the "there is no ducumentation" a bit unfair. I have README.md, COMPILE.md and USAGE.md on Box86 github containing info already. What do you expect to have more for documentation?)

hippy
Posts: 8508
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: How to install Wine with Box86 on Retropie?

Tue Sep 29, 2020 1:19 pm

ptitSeb wrote:
Tue Sep 29, 2020 12:01 pm
(note: I find the "there is no ducumentation" a bit unfair. I have README.md, COMPILE.md and USAGE.md on Box86 github containing info already. What do you expect to have more for documentation?)
This ... :D
ptitSeb wrote:
Tue Sep 29, 2020 12:01 pm
Fortunatly, even if you don't want to use twisteros, you can still grab the wine version it use here: https://twisteros.com/wine.tgz
Unpack that in your home (should be /home/pi ) then use that /home/pi/wine/bin/wine to launch your windows programs.
When I was referring to a lack of documentation I was meaning with respect to how to get WINE running with Box86 on a Pi.

I was hoping for a quick-start, step-by-step, guide; what to install and where to get it from, the commands needed for how to get it installed, configured and used. I trawled for that and came up completely blank.

I now have notepad.exe running on my Pi desktop so it's that info which was missing. Thanks.

ptitSeb
Posts: 194
Joined: Tue May 19, 2015 2:49 pm

Re: How to install Wine with Box86 on Retropie?

Tue Sep 29, 2020 1:50 pm

hippy wrote:
Tue Sep 29, 2020 1:19 pm
I now have notepad.exe running on my Pi desktop so it's that info which was missing. Thanks.
Good :D Glad you have it running. Enjoy windows app on Pi now (but remember, box86 is still young, not everything works at this stage).

Djennick
Posts: 11
Joined: Mon Sep 28, 2020 10:42 am

Re: How to install Wine with Box86 on Retropie?

Tue Sep 29, 2020 11:04 pm

Hey guys. I had the same problem but trying your solution, now I am getting stuck here:

Code: Select all

box86 /home/pi/wine/bin/wine ndp48-web.exe
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 46 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="ndp48-web.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 47 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="ndp48-web.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Using emulated /home/pi/wine/lib/wine/ntdll.dll.so
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 47 Env var
Looking for /home/pi/wine/bin/wineserver
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
0024:err:environ:run_wineboot failed to start wineboot c000007b
Using emulated /home/pi/wine/lib/wine/kernel32.dll.so
0024:err:module:import_dll Loading library kernelbase.dll (which is needed by L"C:\\windows\\system32\\kernel32.dll") failed (error c000007b).
wine: could not load kernel32.dll, status c0000135
Thanks!

Djennick
Posts: 11
Joined: Mon Sep 28, 2020 10:42 am

Re: How to install Wine with Box86 on Retropie?

Tue Sep 29, 2020 11:21 pm

I actually managed to fix it by deleting .wine, the old wine build was apparently interfering.


Now I have to deal with the next error:

Code: Select all

$ box86 /home/pi/wine/bin/wine /home/pi/Downloads/hamster-bot_release/hamster-bot.exe
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 45 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="/home/pi/Downloads/hamster-bot_release/hamster-bot.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 46 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="/home/pi/Downloads/hamster-bot_release/hamster-bot.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Using emulated /home/pi/wine/lib/wine/ntdll.dll.so
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 46 Env var
Looking for /home/pi/wine/bin/wineserver
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
0050:err:vulkan:wine_vk_init Failed to load libvulkan.so.1.
Using emulated /home/pi/wine/lib/wine/kernel32.dll.so
Using emulated /home/pi/wine/lib/wine/kernelbase.dll.so
Using emulated /home/pi/wine/lib/wine/mscoree.dll.so
Using emulated /home/pi/wine/lib/wine/dbghelp.dll.so
Using emulated /home/pi/wine/lib/wine/ucrtbase.dll.so
Using emulated /home/pi/wine/lib/wine/shell32.dll.so
Using emulated /home/pi/wine/lib/wine/shlwapi.dll.so
Using emulated /home/pi/wine/lib/wine/shcore.dll.so
Using emulated /home/pi/wine/lib/wine/user32.dll.so
Using emulated /home/pi/wine/lib/wine/setupapi.dll.so
Using emulated /home/pi/wine/lib/wine/version.dll.so
Using emulated /home/pi/wine/lib/wine/advapi32.dll.so
Using emulated /home/pi/wine/lib/wine/sechost.dll.so
Using emulated /home/pi/wine/lib/wine/rpcrt4.dll.so
Using emulated /home/pi/wine/lib/wine/gdi32.dll.so
Using emulated /home/pi/wine/lib/wine/ole32.dll.so
Using native(wrapped) libncurses.so.6
Using native(wrapped) libtinfo.so.6
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using emulated /home/pi/wine/lib/wine/imm32.dll.so
Using emulated /home/pi/wine/lib/wine/bcrypt.dll.so
Using emulated /home/pi/wine/lib/wine/ws2_32.dll.so
Using emulated /home/pi/wine/lib/wine/winmm.dll.so
Using emulated /home/pi/wine/lib/wine/msacm32.dll.so
Using emulated /home/pi/wine/lib/wine/oleaut32.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-conio-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-convert-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-filesystem-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-heap-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-locale-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-math-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-private-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-runtime-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-stdio-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-string-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-time-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-utility-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-process-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-environment-l1-1-0.dll.so
Using native(wrapped) libgnutls.so.30
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
Using emulated /home/pi/wine/lib/wine/fusion.dll.so
Using emulated /home/pi/wine/lib/wine/winex11.drv.so
Using native(wrapped) libXext.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXcursor.so.1

Unhandled Exception:
System.NotImplementedException: The method or operation is not implemented.
  at <Module>.Main (System.String[] ) [0x0003b] in <793c07f6b421409994e4dd9c2c49ec92>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: The method or operation is not implemented.
  at <Module>.Main (System.String[] ) [0x0003b] in <793c07f6b421409994e4dd9c2c49ec92>:0 

ptitSeb
Posts: 194
Joined: Tue May 19, 2015 2:49 pm

Re: How to install Wine with Box86 on Retropie?

Wed Sep 30, 2020 6:19 am

This looks like a mono error. Do you known if your program works on x86 linux with wine?

Djennick
Posts: 11
Joined: Mon Sep 28, 2020 10:42 am

Re: How to install Wine with Box86 on Retropie?

Wed Sep 30, 2020 9:06 am

Earlier on, wine did ask to install something called mono.

Yes I know that other users have gotten it running on x86 linux using wine.
This is the error I get when trying to run mspaint for example:

Code: Select all

0050:err:vulkan:wine_vk_init Failed to load libvulkan.so.1.
Using emulated /home/pi/wine/lib/wine/kernel32.dll.so
Using emulated /home/pi/wine/lib/wine/kernelbase.dll.so
0024:err:module:import_dll Library MFC42u.DLL (which is needed by L"Z:\\home\\pi\\Downloads\\mspaint.exe") not found
Using emulated /home/pi/wine/lib/wine/msvcrt.dll.so
Using emulated /home/pi/wine/lib/wine/advapi32.dll.so
Using emulated /home/pi/wine/lib/wine/sechost.dll.so
Using emulated /home/pi/wine/lib/wine/ucrtbase.dll.so
Using emulated /home/pi/wine/lib/wine/gdi32.dll.so
Using emulated /home/pi/wine/lib/wine/user32.dll.so
Using emulated /home/pi/wine/lib/wine/setupapi.dll.so
Using emulated /home/pi/wine/lib/wine/version.dll.so
Using emulated /home/pi/wine/lib/wine/rpcrt4.dll.so
Using emulated /home/pi/wine/lib/wine/comdlg32.dll.so
Using emulated /home/pi/wine/lib/wine/shell32.dll.so
Using emulated /home/pi/wine/lib/wine/shlwapi.dll.so
Using emulated /home/pi/wine/lib/wine/shcore.dll.so
Using emulated /home/pi/wine/lib/wine/ole32.dll.so
Using emulated /home/pi/wine/lib/wine/comctl32.dll.so
Using emulated /home/pi/wine/lib/wine/usp10.dll.so
Using emulated /home/pi/wine/lib/wine/imm32.dll.so
Using emulated /home/pi/wine/lib/wine/winspool.drv.so
0024:err:module:LdrInitializeThunk Importing dlls for L"Z:\\home\\pi\\Downloads\\mspaint.exe" failed, status c0000135

hippy
Posts: 8508
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: How to install Wine with Box86 on Retropie?

Wed Sep 30, 2020 12:28 pm

Djennick wrote:
Tue Sep 29, 2020 11:21 pm

Code: Select all

Unhandled Exception:
System.NotImplementedException: The method or operation is not implemented.
  at <Module>.Main (System.String[] ) [0x0003b] in <793c07f6b421409994e4dd9c2c49ec92>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: The method or operation is not implemented.
  at <Module>.Main (System.String[] ) [0x0003b] in <793c07f6b421409994e4dd9c2c49ec92>:0 
I have seen similar when trying to get Windows code to run under WINE on a Linux X86 platform; so it's not Pi specific. That's been a show stopper for people trying to get the Windows code the company I work produces running on Linux.
Djennick wrote:
Wed Sep 30, 2020 9:06 am
This is the error I get when trying to run mspaint for example:

Code: Select all

0024:err:module:import_dll Library MFC42u.DLL (which is needed by L"Z:\\home\\pi\\Downloads\\mspaint.exe") not found
I got the same "MFC42u.DLL not found" issue when trying to run wordpad.exe on my PI, which was my next effort after getting notepad.exe to work. Odd thing is that there's seemingly no "MFC42u.DLL" on my PC where it does run.

Try with notepad.exe first to check you can run that.

Djennick
Posts: 11
Joined: Mon Sep 28, 2020 10:42 am

Re: How to install Wine with Box86 on Retropie?

Wed Sep 30, 2020 4:16 pm

This happens when I try it.

Code: Select all

$ /home/pi/box86/build/box86 /home/pi/wine/bin/wine /home/pi/notepad.exe
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 46 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="/home/pi/notepad.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 47 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="/home/pi/notepad.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Using emulated /home/pi/wine/lib/wine/ntdll.dll.so
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 47 Env var
Looking for /home/pi/wine/bin/wineserver
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
0024:err:environ:run_wineboot failed to start wineboot c000007b
Using emulated /home/pi/wine/lib/wine/kernel32.dll.so
0024:err:module:import_dll Loading library kernelbase.dll (which is needed by L"C:\\windows\\system32\\kernel32.dll") failed (error c000007b).
wine: could not load kernel32.dll, status c0000135

hippy
Posts: 8508
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: How to install Wine with Box86 on Retropie?

Wed Sep 30, 2020 6:23 pm

Not sure why it's not working but I would suspect it may have something to do with the previous installation of wine which has messed things up. Might be worth starting with a fresh install of Raspberry Pi OS and seeing how that goes.

I copied my 'notepad.exe' into the ~/box86/build directory and launched Box86 from there. This is what I see -

Code: Select all

pi@Pi4B:~/box86/build $ ./box86 /home/pi/wine/bin/wine notepad.exe
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 44 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="notepad.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 45 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="notepad.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Using emulated /home/pi/wine/lib/wine/ntdll.dll.so
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 45 Env var
Looking for /home/pi/wine/bin/wineserver
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
0050:err:vulkan:wine_vk_init Failed to load libvulkan.so.1.
006c:err:seh:segv_handler Got unexpected trap 0
003c:err:seh:segv_handler Got unexpected trap 0
002c:err:wineboot:start_services_process Unexpected termination of services.exe - exit code 0
005c:err:seh:segv_handler Got unexpected trap 0
Using emulated /home/pi/wine/lib/wine/kernel32.dll.so
Using emulated /home/pi/wine/lib/wine/kernelbase.dll.so
Using emulated /home/pi/wine/lib/wine/comdlg32.dll.so
Using emulated /home/pi/wine/lib/wine/shell32.dll.so
Using emulated /home/pi/wine/lib/wine/shlwapi.dll.so
Using emulated /home/pi/wine/lib/wine/shcore.dll.so
Using emulated /home/pi/wine/lib/wine/user32.dll.so
Using emulated /home/pi/wine/lib/wine/setupapi.dll.so
Using emulated /home/pi/wine/lib/wine/version.dll.so
Using emulated /home/pi/wine/lib/wine/ucrtbase.dll.so
Using emulated /home/pi/wine/lib/wine/advapi32.dll.so
Using emulated /home/pi/wine/lib/wine/sechost.dll.so
Using emulated /home/pi/wine/lib/wine/rpcrt4.dll.so
Using emulated /home/pi/wine/lib/wine/gdi32.dll.so
Using emulated /home/pi/wine/lib/wine/ole32.dll.so
Using emulated /home/pi/wine/lib/wine/comctl32.dll.so
Using emulated /home/pi/wine/lib/wine/usp10.dll.so
Using emulated /home/pi/wine/lib/wine/imm32.dll.so
Using emulated /home/pi/wine/lib/wine/winspool.drv.so
Using emulated /home/pi/wine/lib/wine/msvcrt.dll.so
Using native(wrapped) libncurses.so.6
Using native(wrapped) libtinfo.so.6
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using emulated /home/pi/wine/lib/wine/winex11.drv.so
Using native(wrapped) libXext.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXcursor.so.1
Using emulated /home/pi/wine/lib/wine/uxtheme.dll.so
Warning: Cannot dlopen("libcups.so.2"/0x7ddd02ba, 2)
Using native(wrapped) libpng16.so.16

ptitSeb
Posts: 194
Joined: Tue May 19, 2015 2:49 pm

Re: How to install Wine with Box86 on Retropie?

Wed Sep 30, 2020 6:56 pm

Djennick wrote:
Wed Sep 30, 2020 4:16 pm
This happens when I try it.

Code: Select all

$ /home/pi/box86/build/box86 /home/pi/wine/bin/wine /home/pi/notepad.exe
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 46 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="/home/pi/notepad.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 47 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="/home/pi/notepad.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Using emulated /home/pi/wine/lib/wine/ntdll.dll.so
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 47 Env var
Looking for /home/pi/wine/bin/wineserver
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
0024:err:environ:run_wineboot failed to start wineboot c000007b
Using emulated /home/pi/wine/lib/wine/kernel32.dll.so
0024:err:module:import_dll Loading library kernelbase.dll (which is needed by L"C:\\windows\\system32\\kernel32.dll") failed (error c000007b).
wine: could not load kernel32.dll, status c0000135
I think you have a corrupted ".wine" environnement. Try to delete it so it get recreated, or try some "wine wineboot -u" to try fix it

Djennick
Posts: 11
Joined: Mon Sep 28, 2020 10:42 am

Re: How to install Wine with Box86 on Retropie?

Wed Sep 30, 2020 10:07 pm

Yes, getting rid of the corrupted wine did help.
I couldnt find a 32-bit version of notepad for some reason, but I was able to run putty for example, so I am able to run some things.
Now the one program that I want to run still doesn't work. The program is called hamsterbot ( http://hamster-bot.com/ ). I know that other users could run it quite easily using x86 linux with wine.

I need to run .net framework 4.8 first. It looked like it did run when I tried it. After that when I try to run the actual .exe, this happens.

Code: Select all

$ box86 /home/pi/wine/bin/wine /home/pi/h.exe
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 46 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="/home/pi/h.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 47 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="/home/pi/h.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Using emulated /home/pi/wine/lib/wine/ntdll.dll.so
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 47 Env var
Looking for /home/pi/wine/bin/wineserver
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
0050:err:vulkan:wine_vk_init Failed to load libvulkan.so.1.
Using emulated /home/pi/wine/lib/wine/kernel32.dll.so
Using emulated /home/pi/wine/lib/wine/kernelbase.dll.so
Using emulated /home/pi/wine/lib/wine/mscoree.dll.so
Using emulated /home/pi/wine/lib/wine/dbghelp.dll.so
Using emulated /home/pi/wine/lib/wine/ucrtbase.dll.so
Using emulated /home/pi/wine/lib/wine/shell32.dll.so
Using emulated /home/pi/wine/lib/wine/shlwapi.dll.so
Using emulated /home/pi/wine/lib/wine/shcore.dll.so
Using emulated /home/pi/wine/lib/wine/user32.dll.so
Using emulated /home/pi/wine/lib/wine/setupapi.dll.so
Using emulated /home/pi/wine/lib/wine/version.dll.so
Using emulated /home/pi/wine/lib/wine/advapi32.dll.so
Using emulated /home/pi/wine/lib/wine/sechost.dll.so
Using emulated /home/pi/wine/lib/wine/rpcrt4.dll.so
Using emulated /home/pi/wine/lib/wine/gdi32.dll.so
Using emulated /home/pi/wine/lib/wine/ole32.dll.so
Using native(wrapped) libncurses.so.6
Using native(wrapped) libtinfo.so.6
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using emulated /home/pi/wine/lib/wine/imm32.dll.so
Using emulated /home/pi/wine/lib/wine/bcrypt.dll.so
Using emulated /home/pi/wine/lib/wine/ws2_32.dll.so
Using emulated /home/pi/wine/lib/wine/winmm.dll.so
Using emulated /home/pi/wine/lib/wine/msacm32.dll.so
Using emulated /home/pi/wine/lib/wine/oleaut32.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-conio-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-convert-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-filesystem-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-heap-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-locale-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-math-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-private-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-runtime-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-stdio-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-string-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-time-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-utility-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-process-l1-1-0.dll.so
Using emulated /home/pi/wine/lib/wine/api-ms-win-crt-environment-l1-1-0.dll.so
Using native(wrapped) libgnutls.so.30
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
Using emulated /home/pi/wine/lib/wine/fusion.dll.so
Using emulated /home/pi/wine/lib/wine/winex11.drv.so
Using native(wrapped) libXext.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXcursor.so.1

Unhandled Exception:
System.NotImplementedException: The method or operation is not implemented.
  at <Module>.Main (System.String[] ) [0x0003b] in <793c07f6b421409994e4dd9c2c49ec92>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NotImplementedException: The method or operation is not implemented.
  at <Module>.Main (System.String[] ) [0x0003b] in <793c07f6b421409994e4dd9c2c49ec92>:0 

hippy
Posts: 8508
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: How to install Wine with Box86 on Retropie?

Thu Oct 01, 2020 9:01 am

Djennick wrote:
Wed Sep 30, 2020 10:07 pm
I need to run .net framework 4.8 first. It looked like it did run when I tried it.
Is it possible to provide a quick guide to installing DotNet Frameworks because I am happy to try it myself to see how I fare but I don't have the time to figure out how to.

ptitSeb
Posts: 194
Joined: Tue May 19, 2015 2:49 pm

Re: How to install Wine with Box86 on Retropie?

Thu Oct 01, 2020 9:28 am

You may need to go with winetricks for this install.
In the twisteros discord, user @WheezyE found how to use it, so I'm quoting him:
EDIT: I updated my above install steps with a script that installs and patches winetricks-20200412 for you. More info about this patch below...

I'm running on Raspbian OS (Buster), but I think this wouldn't be any different for TwisterOS:

I downloaded the latest winetricks 20200412 from here (https://github.com/Winetricks/winetricks/releases) with cd ~/Downloads && wget https://github.com/Winetricks/winetrick ... 412.tar.gz && tar -xvf 20200412.tar.gz

Then I backed up my current winetricks (located in /usr/local/bin/)

Then I installed the new winetricks with sudo cp ~/Downloads/winetricks-20200412/src/winetricks /usr/local/bin/winetricks

Then I had to change line 2853 in /usr/local/bin/winetricks
from: echo "${arg%%=*}"=\""${arg#*=}"\"
to: echo ${arg%%=*}=\"${arg#*=}\"
in order to get around an error I got ("bug: w_metadata adobeair corrupt"). (You might have to use sudo nano /usr/local/bin/winetricks for this)

I can run winetricks just by typing: winetricks COMMAND where COMMAND is one of winetricks' commands. I don't have to invoke box86 beforehand for some reason (due to the magic of box86)

Djennick
Posts: 11
Joined: Mon Sep 28, 2020 10:42 am

Re: How to install Wine with Box86 on Retropie?

Thu Oct 01, 2020 11:32 am

Alright so I installed winetricks using his guide and used it to try to install .net 4.8 using this guide: https://appdb.winehq.org/objectManager. ... &iId=38203

No matter how I do it, automatic or manual, it ends up giving me this error...

Code: Select all

wine: Bad EXE format for E:\home\pi\ndp48-x86-x64-allos-enu.exe.

Edit:

Automatic install:

Code: Select all

env WINEPREFIX=$HOME/winedotnet winetricks --force dotnet48 corefonts
Executing mkdir -p /home/pi
Using winetricks 20200412 - sha256sum: a7b3348ebebc44bf7c0068cae5ee37e2c0963ca5afc27196367a882b4839a0b6 with wine-4.0 (Raspbian 4.0-2) and WINEARCH=win32
Executing w_do_call dotnet48
Executing mkdir -p /home/pi
Executing load_dotnet48 
Executing w_do_call remove_mono
Executing mkdir -p /home/pi
Executing load_remove_mono 
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call dotnet40
Executing mkdir -p /home/pi
Executing load_dotnet40 
------------------------------------------------------
dotnet40 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing w_do_call remove_mono
Executing mkdir -p /home/pi
Executing load_remove_mono 
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call winxp
Executing mkdir -p /home/pi
Executing load_winxp 
Setting Windows version to winxp
Executing wine regedit C:\windows\Temp\set-winver.reg
------------------------------------------------------
Running /usr/bin/wineserver -w. This will hang until all wine processes in prefix=/home/pi/winedotnet terminate
------------------------------------------------------
Executing cd /home/pi/.cache/winetricks/dotnet40
Executing wine dotNetFx40_Full_x86_x64.exe
wine: Bad EXE format for Y:\dotnet40\dotNetFx40_Full_x86_x64.exe.
------------------------------------------------------
Note: command wine dotNetFx40_Full_x86_x64.exe returned status 193. Aborting.

ptitSeb
Posts: 194
Joined: Tue May 19, 2015 2:49 pm

Re: How to install Wine with Box86 on Retropie?

Thu Oct 01, 2020 11:42 am

I think you have ARM wine installed, because it use /usr/bin/wineserver, tha probably comes from a "sudo apt install wine" or something similar. ARM wine and x86 Wine don't mixe easily, if you indeed have arm wine, I suggest you remove it.

hippy
Posts: 8508
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: How to install Wine with Box86 on Retropie?

Thu Oct 01, 2020 1:39 pm

Djennick wrote:
Thu Oct 01, 2020 11:32 am
Alright so I installed winetricks using his guide and used it to try to install .net 4.8 using this guide: https://appdb.winehq.org/objectManager. ... &iId=38203
Followed @WheezyE's guide and got winetricks installed, and that seems to be working -

Code: Select all

pi@Pi4B:~ $ winetricks --version
20200412 - sha256sum: a7b3348ebebc44bf7c0068cae5ee37e2c0963ca5afc27196367a882b4839a0b6
pi@Pi4B:~ $ winetricks --help
Usage: /usr/local/bin/winetricks [options] [command|verb|path-to-verb] ...
... snip ..
But when it comes to installing DotNet stuff I'm getting nowhere -

Code: Select all

pi@Pi4B:~ $ env WINEPREFIX=$HOME/winedotnet wineboot --init
env: 'wineboot': No such file or directory

Code: Select all

pi@Pi4B:~ $ env WINEPREFIX=$HOME/winedotnet winetricks --force dotnet40 corefonts
------------------------------------------------------
wineserver not found!
------------------------------------------------------
What steps am I missing ?

ptitSeb
Posts: 194
Joined: Tue May 19, 2015 2:49 pm

Re: How to install Wine with Box86 on Retropie?

Thu Oct 01, 2020 1:43 pm

@hippy you probably need to add wine/bin in the PATH (the full path, like "export PATH=/home/pi/wine/bin:$PATH")

hippy
Posts: 8508
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: How to install Wine with Box86 on Retropie?

Thu Oct 01, 2020 3:54 pm

ptitSeb wrote:
Thu Oct 01, 2020 1:43 pm
@hippy you probably need to add wine/bin in the PATH (the full path, like "export PATH=/home/pi/wine/bin:$PATH")
Ah, yes. That improved things. However ...

Code: Select all

pi@Pi4B:~ $ env WINEPREFIX=$HOME/winedotnet wineboot --init
/home/pi/wine/bin/wineboot: 46: exec: /home/pi/wine/bin/wine: Exec format error

Code: Select all

pi@Pi4B:~ $ file /home/pi/wine/bin/wine
/home/pi/wine/bin/wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=230c8878bcf6c887739fff59c5fb23ba2addd33b, not stripped
So I'd guess 'wineboot' is expecting some 'wine' for some other platform.

ptitSeb
Posts: 194
Joined: Tue May 19, 2015 2:49 pm

Re: How to install Wine with Box86 on Retropie?

Thu Oct 01, 2020 4:15 pm

Strange, it should pickup box86 automatically if it has been installed with "sudo make install"
You can try this way:

Code: Select all

env WINEPREFIX=$HOME/winedotnet /home/pi/wine/bin/wine wineboot --init

hippy
Posts: 8508
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: How to install Wine with Box86 on Retropie?

Thu Oct 01, 2020 4:54 pm

I re-did the 'sudo make install' just to make sure, but no change. And ...

Code: Select all

pi@Pi4B:~ $ env WINEPREFIX=$HOME/winedotnet /home/pi/wine/bin/wine wineboot --init
/home/pi/wine/bin/wine: 1: /home/pi/wine/bin/wine: Syntax error: "(" unexpected
It's still launching notepad.exe so I can't see that I have accidentally or inadvertently broken something previously installed.

ptitSeb
Posts: 194
Joined: Tue May 19, 2015 2:49 pm

Re: How to install Wine with Box86 on Retropie?

Thu Oct 01, 2020 5:08 pm

It looks like you are missing a reboot, so the binfmt that link x86 elf to box86 gets register.

Are you sure that "notepad.exe" is an x86 one? I'm a bit confused on current state of what works now???

hippy
Posts: 8508
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: How to install Wine with Box86 on Retropie?

Thu Oct 01, 2020 5:49 pm

ptitSeb wrote:
Thu Oct 01, 2020 5:08 pm
It looks like you are missing a reboot
That was it. Thanks again for your help, patience and perseverance.

It now seems to be working. My "DISPLAY=:0" are beacuse I'm connected over telnet and it needs an display ...

Code: Select all

pi@Pi4B:~ $ DISPLAY=:0 env WINEPREFIX=$HOME/winedotnet wineboot --init
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 26 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="wineboot.exe"
argv[2]="--init"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 27 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="wineboot.exe"
argv[2]="--init"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Using emulated /home/pi/wine/lib/wine/ntdll.dll.so
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 27 Env var
Looking for /home/pi/wine/bin/wineserver
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
0050:err:vulkan:wine_vk_init Failed to load libvulkan.so.1.
006c:err:seh:segv_handler Got unexpected trap 0
003c:err:seh:segv_handler Got unexpected trap 0
002c:err:wineboot:start_services_process Unexpected termination of services.exe - exit code 0
005c:err:seh:segv_handler Got unexpected trap 0
Using emulated /home/pi/wine/lib/wine/kernel32.dll.so
Using emulated /home/pi/wine/lib/wine/kernelbase.dll.so
Using emulated /home/pi/wine/lib/wine/wineboot.exe.so
Using emulated /home/pi/wine/lib/wine/advapi32.dll.so
Using emulated /home/pi/wine/lib/wine/sechost.dll.so
Using emulated /home/pi/wine/lib/wine/ucrtbase.dll.so
Using native(wrapped) libncurses.so.6
Using native(wrapped) libtinfo.so.6
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE="010000000-010003000"
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 29 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="C:\windows\system32\winemenubuilder.exe"
argv[2]="-a"
argv[3]="-r"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Using emulated /home/pi/wine/lib/wine/ntdll.dll.so
Using emulated /home/pi/wine/lib/wine/kernel32.dll.so
Using emulated /home/pi/wine/lib/wine/kernelbase.dll.so
Using emulated /home/pi/wine/lib/wine/winemenubuilder.exe.so
Using emulated /home/pi/wine/lib/wine/shell32.dll.so
Using emulated /home/pi/wine/lib/wine/shlwapi.dll.so
Using emulated /home/pi/wine/lib/wine/shcore.dll.so
Using emulated /home/pi/wine/lib/wine/user32.dll.so
Using emulated /home/pi/wine/lib/wine/setupapi.dll.so
Using emulated /home/pi/wine/lib/wine/version.dll.so
Using emulated /home/pi/wine/lib/wine/ucrtbase.dll.so
Using emulated /home/pi/wine/lib/wine/advapi32.dll.so
Using emulated /home/pi/wine/lib/wine/sechost.dll.so
Using emulated /home/pi/wine/lib/wine/rpcrt4.dll.so
Using emulated /home/pi/wine/lib/wine/gdi32.dll.so
Using emulated /home/pi/wine/lib/wine/ole32.dll.so
Using emulated /home/pi/wine/lib/wine/windowscodecs.dll.so
Using emulated /home/pi/wine/lib/wine/oleaut32.dll.so
Using emulated /home/pi/wine/lib/wine/propsys.dll.so
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using emulated /home/pi/wine/lib/wine/imm32.dll.so
Using emulated /home/pi/wine/lib/wine/winex11.drv.so
Using native(wrapped) libXext.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXcursor.so.1
00b4:err:seh:segv_handler Got unexpected trap 0
008c:err:seh:segv_handler Got unexpected trap 0
0024:err:wineboot:start_services_process Unexpected termination of services.exe - exit code 0
00a4:err:seh:segv_handler Got unexpected trap 0
Using emulated /home/pi/wine/lib/wine/shell32.dll.so
Using emulated /home/pi/wine/lib/wine/shlwapi.dll.so
Using emulated /home/pi/wine/lib/wine/shcore.dll.so
Using emulated /home/pi/wine/lib/wine/user32.dll.so
Using emulated /home/pi/wine/lib/wine/setupapi.dll.so
Using emulated /home/pi/wine/lib/wine/version.dll.so
Using emulated /home/pi/wine/lib/wine/rpcrt4.dll.so
Using emulated /home/pi/wine/lib/wine/gdi32.dll.so
Using emulated /home/pi/wine/lib/wine/ole32.dll.so
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using native(wrapped) libpng16.so.16
Using emulated /home/pi/wine/lib/wine/imm32.dll.so

Code: Select all

pi@Pi4B:~ $ DISPLAY=:0 env WINEPREFIX=$HOME/winedotnet winetricks --force dotnet40 corefonts
------------------------------------------------------
Your version of wine Dynarec
BOX86:
Using
Using
Counted
wine
argv[1]="--version"
wine.so.1
Using
Using
Using
Using
Using
wine/ntdll.so
Using
5.13 is no longer supported upstream. You should upgrade to 4.x
------------------------------------------------------
Executing mkdir -p /home/pi
Using winetricks 20200412 - sha256sum: a7b3348ebebc44bf7c0068cae5ee37e2c0963ca5afc27196367a882b4839a0b6 with Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 28 Env var
wine
argv[1]="--version"
wine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
wine/ntdll.so
Using native(wrapped) libm.so.6
wine-5.13 and WINEARCH=win32
Executing w_do_call dotnet40
Executing mkdir -p /home/pi
Executing load_dotnet40 
------------------------------------------------------
dotnet40 does not yet fully work or install on wine.  Caveat emptor.
------------------------------------------------------
Executing mkdir -p /home/pi/.cache/winetricks/dotnet40
Executing cd /home/pi/.cache/winetricks/dotnet40
Downloading https://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe to /home/pi/.cache/winetricks/dotnet40
--2020-10-01 18:34:51--  https://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe
Resolving download.microsoft.com (download.microsoft.com)... 104.85.56.134, 2a02:26f0:f6:28a::e59, 2a02:26f0:f6:289::e59, ...
Connecting to download.microsoft.com (download.microsoft.com)|104.85.56.134|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 50449456 (48M) [application/octet-stream]
Saving to: âdotNetFx40_Full_x86_x64.exeâ

dotNetFx40_Full_x86 100%[===================>]  48.11M  9.96MB/s    in 4.9s    

2020-10-01 18:34:56 (9.85 MB/s) - âdotNetFx40_Full_x86_x64.exeâ saved [50449456/50449456]

Executing cd /home/pi
Executing w_do_call remove_mono
Executing mkdir -p /home/pi
Executing load_remove_mono 
------------------------------------------------------
Mono does not appear to be installed.
------------------------------------------------------
Executing w_do_call winxp
Executing mkdir -p /home/pi
Executing load_winxp 
Setting Windows version to winxp
Executing wine regedit C:\windows\Temp\set-winver.reg
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 27 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="regedit"
argv[2]="C:\windows\Temp\set-winver.reg"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 28 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="regedit"
argv[2]="C:\windows\Temp\set-winver.reg"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Using emulated /home/pi/wine/lib/wine/ntdll.dll.so
Using emulated /home/pi/wine/lib/wine/kernel32.dll.so
Using emulated /home/pi/wine/lib/wine/kernelbase.dll.so
Using emulated /home/pi/wine/lib/wine/regedit.exe.so
Using emulated /home/pi/wine/lib/wine/advapi32.dll.so
Using emulated /home/pi/wine/lib/wine/sechost.dll.so
Using emulated /home/pi/wine/lib/wine/ucrtbase.dll.so
Using native(wrapped) libncurses.so.6
Using native(wrapped) libtinfo.so.6
Using emulated /home/pi/wine/lib/wine/shell32.dll.so
Using emulated /home/pi/wine/lib/wine/shlwapi.dll.so
Using emulated /home/pi/wine/lib/wine/shcore.dll.so
Using emulated /home/pi/wine/lib/wine/user32.dll.so
Using emulated /home/pi/wine/lib/wine/setupapi.dll.so
Using emulated /home/pi/wine/lib/wine/version.dll.so
Using emulated /home/pi/wine/lib/wine/rpcrt4.dll.so
Using emulated /home/pi/wine/lib/wine/gdi32.dll.so
Using emulated /home/pi/wine/lib/wine/ole32.dll.so
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using emulated /home/pi/wine/lib/wine/imm32.dll.so
------------------------------------------------------
Running /home/pi/wine/bin/wineserver -w. This will hang until all wine processes in prefix=/home/pi/winedotnet terminate
------------------------------------------------------
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 27 Env var
Looking for /home/pi/wine/bin/wineserver
argv[1]="-w"
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Executing cd /home/pi/.cache/winetricks/dotnet40
Executing wine dotNetFx40_Full_x86_x64.exe
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 28 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="dotNetFx40_Full_x86_x64.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 29 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="dotNetFx40_Full_x86_x64.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Using emulated /home/pi/wine/lib/wine/ntdll.dll.so
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 29 Env var
Looking for /home/pi/wine/bin/wineserver
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
0054:err:seh:segv_handler Got unexpected trap 0
0048:err:rpc:RpcAssoc_BindConnection receive failed with error 1726
002c:err:wineboot:start_services_process Unexpected termination of services.exe - exit code 0
0048:err:seh:segv_handler Got unexpected trap 0
Using emulated /home/pi/wine/lib/wine/kernel32.dll.so
Using emulated /home/pi/wine/lib/wine/kernelbase.dll.so
Using emulated /home/pi/wine/lib/wine/advapi32.dll.so
Using emulated /home/pi/wine/lib/wine/sechost.dll.so
Using emulated /home/pi/wine/lib/wine/ucrtbase.dll.so
Using emulated /home/pi/wine/lib/wine/comctl32.dll.so
Using emulated /home/pi/wine/lib/wine/user32.dll.so
Using emulated /home/pi/wine/lib/wine/setupapi.dll.so
Using emulated /home/pi/wine/lib/wine/version.dll.so
Using emulated /home/pi/wine/lib/wine/rpcrt4.dll.so
Using emulated /home/pi/wine/lib/wine/gdi32.dll.so
0050:err:vulkan:wine_vk_init Failed to load libvulkan.so.1.
Using emulated /home/pi/wine/lib/wine/usp10.dll.so
Using emulated /home/pi/wine/lib/wine/imm32.dll.so
Using emulated /home/pi/wine/lib/wine/shell32.dll.so
Using emulated /home/pi/wine/lib/wine/shlwapi.dll.so
Using emulated /home/pi/wine/lib/wine/shcore.dll.so
Using emulated /home/pi/wine/lib/wine/ole32.dll.so
Using emulated /home/pi/wine/lib/wine/cabinet.dll.so
Using emulated /home/pi/wine/lib/wine/oleaut32.dll.so
Using native(wrapped) libncurses.so.6
Using native(wrapped) libtinfo.so.6
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using emulated /home/pi/wine/lib/wine/winex11.drv.so
Using native(wrapped) libXext.so.6
Using native(wrapped) libX11.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXinerama.so.1
Using native(wrapped) libXxf86vm.so.1
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXcomposite.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXcursor.so.1
Using emulated /home/pi/wine/lib/wine/uxtheme.dll.so
0024:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub
0024:fixme:process:SetProcessDEPPolicy (3): stub
Using emulated /home/pi/wine/lib/wine/clusapi.dll.so
0024:fixme:clusapi:OpenCluster ((null)) stub!
0024:fixme:clusapi:ClusterOpenEnum (DEADBEEF, 4) stub!
0024:fixme:clusapi:ClusterEnum (DEADBEEF, 0, 1020F8C0, 1070DE50, 261) stub!
0024:fixme:clusapi:ClusterCloseEnum (DEADBEEF) stub!
0024:fixme:clusapi:CloseCluster (DEADBEEF) stub!
------------------------------------------------------
exit status 5 - user selected 'Cancel'
------------------------------------------------------
I did enjoy that "5.13 is no longer supported upstream. You should upgrade to 4.x". And I didn't select "Cancel", but >shrug<

Not sure what use of what I have done is, but at least it seems to prove it's working and may be of use to the OP.

I tried running the 'hamster-bot.exe' the OP is looking at running but, TL:DR, "Wine Mono is not installed" -

Code: Select all

pi@Pi4B:~ $ unzip hamster-bot_release.zip 
Archive:  hamster-bot_release.zip
[hamster-bot_release.zip] hamster-bot.exe password: 
  inflating: hamster-bot.exe         
  inflating: Updater.exe             
pi@Pi4B:~ $ DISPLAY=:0 box86 /home/pi/wine/bin/wine hamster-bot.exe
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 25 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="hamster-bot.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
BOX86: Wine detected, WINEPRELOADRESERVE=""
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 26 Env var
Looking for /home/pi/wine/bin/wine
argv[1]="hamster-bot.exe"
Using emulated /home/pi/wine/bin/../lib/libwine.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
Using emulated /home/pi/wine/bin/../lib/wine/ntdll.so
Using native(wrapped) libm.so.6
Using emulated /home/pi/wine/lib/wine/ntdll.dll.so
Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096
Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/
Using default BOX86_PATH: ./:bin/
Counted 26 Env var
Looking for /home/pi/wine/bin/wineserver
Using native(wrapped) libdl.so.2
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
0054:err:seh:segv_handler Got unexpected trap 0
002c:err:wineboot:start_services_process Unexpected termination of services.exe - exit code 0
0048:err:rpc:RpcAssoc_BindConnection receive failed with error 1726
0048:err:seh:segv_handler Got unexpected trap 0
0050:err:vulkan:wine_vk_init Failed to load libvulkan.so.1.
Using emulated /home/pi/wine/lib/wine/kernel32.dll.so
Using emulated /home/pi/wine/lib/wine/kernelbase.dll.so
Using emulated /home/pi/wine/lib/wine/mscoree.dll.so
Using emulated /home/pi/wine/lib/wine/dbghelp.dll.so
Using emulated /home/pi/wine/lib/wine/ucrtbase.dll.so
Using emulated /home/pi/wine/lib/wine/shell32.dll.so
Using emulated /home/pi/wine/lib/wine/shlwapi.dll.so
Using emulated /home/pi/wine/lib/wine/shcore.dll.so
Using emulated /home/pi/wine/lib/wine/user32.dll.so
Using emulated /home/pi/wine/lib/wine/setupapi.dll.so
Using emulated /home/pi/wine/lib/wine/version.dll.so
Using emulated /home/pi/wine/lib/wine/advapi32.dll.so
Using emulated /home/pi/wine/lib/wine/sechost.dll.so
Using emulated /home/pi/wine/lib/wine/rpcrt4.dll.so
Using emulated /home/pi/wine/lib/wine/gdi32.dll.so
Using emulated /home/pi/wine/lib/wine/ole32.dll.so
Using native(wrapped) libncurses.so.6
Using native(wrapped) libtinfo.so.6
Using native(wrapped) libfreetype.so.6
Using native(wrapped) libfontconfig.so.1
Using emulated /home/pi/wine/lib/wine/imm32.dll.so
0024:err:mscoree:CLRRuntimeInfo_GetRuntimeHost Wine Mono is not installed

Return to “Gaming”