Compile wine 32 or 64 bits for Overwatch

Questions about Wine on Linux
Locked
Teodore
Level 1
Level 1
Posts: 6
Joined: Thu Jun 24, 2021 1:51 am

Compile wine 32 or 64 bits for Overwatch

Post by Teodore »

Hi folks, trying to compile for game Overwatch. but I'm not sure if it's 32 or 64 bits.
This is the result on ".wine/drive_c/Program Files (x86)":

Code: Select all

find . -iregex '.*\.exe$' -print0 | xargs -0 file
./Battle.net/Battle.net.exe:                                PE32 executable (GUI) Intel 80386, for MS Windows
./Battle.net/Battle.net Launcher.exe:                       PE32 executable (GUI) Intel 80386, for MS Windows
./Battle.net/Battle.net.12942/BlizzardError.exe:            PE32 executable (GUI) Intel 80386, for MS Windows
./Windows NT/Accessories/wordpad.exe:                       PE32 executable (GUI) Intel 80386, for MS Windows
./Internet Explorer/iexplore.exe:                           PE32 executable (GUI) Intel 80386, for MS Windows
./Windows Media Player/wmplayer.exe:                        PE32 executable (GUI) Intel 80386, for MS Windows
./Overwatch/_retail_/BlizzardBrowser/BlizzardBrowser.exe:   PE32+ executable (GUI) x86-64, for MS Windows
./Overwatch/_retail_/Overwatch.exe:                         PE32+ executable (GUI) x86-64, for MS Windows
./Overwatch/_retail_/ErrorReporting/x86/BlizzardError.exe:  PE32 executable (GUI) Intel 80386, for MS Windows
./Overwatch/_retail_/ErrorReporting/x64/CrashMailer_64.exe: PE32+ executable (GUI) x86-64, for MS Windows
./Overwatch/Overwatch Launcher.exe:                         PE32 executable (GUI) Intel 80386, for MS Windows
Teodore
Level 1
Level 1
Posts: 6
Joined: Thu Jun 24, 2021 1:51 am

Re: Compile wine 32 or 64 bits for Overwatch

Post by Teodore »

Looks like I've been running it with 32 bits wine:

Code: Select all

file /opt/wine-staging/bin/wine
/opt/wine-staging/bin/wine: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, BuildID[sha1]=35f72c3eb2f95b67d20529303d7c96f2b6cdec39, for GNU/Linux 3.2.0, stripped

Code: Select all

/opt/wine-staging/bin/wine --version
wine-6.11 (Staging)
So 32 bits is what I need.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Compile wine 32 or 64 bits for Overwatch

Post by spoon0042 »

um, your file output shows Overwatch.exe is 64-bit. Also 'Program Files (x86)' only exists in a 64-bit wineprefix.

As for /opt/.../bin/wine that is 32-bit but (iirc) calls wine64 if needed.
Locked