Wine 64Bits vs Wine 32Bits

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Berillions
Level 4
Level 4
Posts: 230
Joined: Sat Mar 28, 2009 12:55 pm

Wine 64Bits vs Wine 32Bits

Post by Berillions »

Hi,

Actually, i install my games into two differents prefix, once in the 32bits prefix and the 64bits prefix.

For my test, i tried to install 3 games :
- F.E.A.R
- Mass Effect 1
- Runaway : A Twist Of Fate

F.E.A.R :
No problem with the 32bits wineprefix but impossible to install in the 64Bits Wineprefix... It's a joke because in the CD, it's write that the game works on XP 64Bits. I could write here the output message in my console.

32Bits = Install Ok, Runs Ok
64Bits = Install fails

Mass Effect 1
No problem in Wineprefix 32/64bits, the game works correctly. Even if the graphic quality in 64Bits is inferior than 32Bits

32Bits = Install Ok, Runs Ok
64Bits = Install Ok, Runs Ok

Runaway : A Twist Of Fate
For this game, it's very very strange.
With the two versions of wineprefix, the installation is complete and works completly.
The problem come from when i launch the game :
- When i add a CDROM drive in Winecfg, the game works completly without crack with the DVD in my DVD Drive in the 32bits wineprefix.
- I did the same thing in winecfg for the 64bits wineprefix but impossible to launch the game with the DVD, i must to use a No-CD crack.

The game use Securom, it seems that the bug (http://bugs.winehq.org/show_bug.cgi?id=7065 still exist for Wine64. I can make a mistake

Thank you for having read my message and bringing your ideas
DL
Level 3
Level 3
Posts: 70
Joined: Fri Jun 27, 2008 7:47 pm

Post by DL »

I maybe mistaken, but doesn't the 64bit version of wine only run 64bit binaries? So whilst an application may support 64bit versions of windows, it doesn't mean the app itself is 64bit. I'd say F.E.A.R is probably a 32bit only binary that happens to be supported on XP 64bit.

But maybe I am incorrect and wine64 can in fact run 32bit binaries.
Berillions
Level 4
Level 4
Posts: 230
Joined: Sat Mar 28, 2009 12:55 pm

Post by Berillions »

It's possible to install a 32Bits binary in the 64Bits wineprefix.
In fact, i compile the 2 version of wine (64Bits in the first time and 32Bits in the second time)
=> http://wiki.winehq.org/Wine64 and see "Building a shared WoW64 setup"
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Banana Peel Removal

Post by SpawnHappyJake »

Just in case some others decide to come to this thread in the future, I wanted to pick up this banana peel so they won't slip:

32-bit and 64-bit can refer to several different things. A processor can be 32-bit or 64-bit, an operating system (kernel) can be 32-bit or 64-bit, and a program that you run through an operating system ("normal executable") can be 32-bit or 64-bit.

Since Windows programs are ran through WINE, WINE has to mimic the top half of a 64-bit kernel to run a 64-bit program, or the top half of a 32-bit kernel to run a 32-bit program.
Then the WINE program itself can be a 64-bit or 32-bit executable ran by the operating system.
The processor runs the kernel (heart of operating system), which runs other programs. One program it can run is WINE, which can in turn have the operating system run other programs through WINE. Any one of these links in the chain can be 64-bit provided all lower links are 64-bit (without emulation...an unpleasant thing). Any link in the chain can be 32-bit as long as all lower links are at least 32-bit and have backward compatibility for 32-bit if over 32-bit.
Cheers,
Jake
Locked