Page 1 of 1

How to run an old 32-bit program in Wine?

Posted: Mon Jul 27, 2020 12:42 am
by ionmich
I'm trying to run an old Windows 32bit program (Vcc.exe) and I get a number of errors, the first one being

Code: Select all

wine client error:0: version mismatch number/number
I don't have a copy of the exact numbers at the moment. I assume it's because the 32bit capability file I installed doesn't match the wine version installed by the package manager.
How do I match the two up? Thanks in advance.

Re: Problem with Wine

Posted: Mon Jul 27, 2020 4:54 am
by Wiz57
Haven't used wine that much, so others may have a better idea. Anyway, IIRC, when you first
installed wine, did you run winecfg? May need to do this again, and when you have the option
to choose which version of Windows to emulate, make sure you choose the correct one...
ie...if VCC.EXE is looking for Windows 95, setup wine to tell things it is Windows 95.
If this doesn't do the trick, maybe someone more versed in wine will jump in!
Wiz

Re: Problem with Wine

Posted: Mon Jul 27, 2020 10:13 am
by bigpup
To help,, we always need to know what exact version of Puppy you are using????
How it is installed?
Full or frugal?

the wine version installed by the package manager
.
We need specific details. General statements are no help.
How do we know, you actually got the complete Wine, installed?
What Wine version, did you install, from PPM?
Yes. It makes a difference.
Wine is constantly being improved and worked on. What did not work, in one version of Wine, may now work in a different version.

Some good Wine info here:
viewtopic.php?p=270#p270

Re: Problem with Wine

Posted: Mon Jul 27, 2020 3:41 pm
by ionmich
Thanks for the speedy responde. As requested.

NAME=Puppy
VERSION="8.0"
ID=puppy_bionicpup64

"Frugal" installed from USB to hard drive.

Code: Select all

root# wine --version
wine-3.15
root# 
Installed by PPM. After this installation I installed the 32bit capability sfs from Puppy Quickpet.
It will take me a while to follow the instructions in the link you sent me.

Re: Problem with Wine

Posted: Mon Jul 27, 2020 3:55 pm
by ionmich
The entire error report. It takes a while for me to learn how to copy/paste using a new OS.

Code: Select all

root# wine VCC.exe
wine client error:0: version mismatch 559/547.
Your wine binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
0009:err:process:start_wineboot failed to start wineboot, err 1359
wine client error:0: version mismatch 559/547.
Your wine binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
0009:fixme:ntdll:EtwEventRegister ({5eec90ab-c022-44b2-a5dd-fd716a222a15}, 0x401123, 0x6dc4a0, 0x6dc4b8) stub.
0009:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0x6b18d0, 43) stub
0009:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0009:err:winediag:nodrv_CreateWindow The explorer process failed to start.
0009:fixme:ver:GetCurrentPackageId (0x33fbdc (nil)): stub

Re: Problem with Wine

Posted: Mon Jul 27, 2020 4:28 pm
by ionmich
After following the link guide things got a little better. On reboot the 32bit compatability sfs was loaded and the errors reduced to...

Code: Select all

 root# wine VCC.exe
wine client error:0: version mismatch 559/547.
Your wine binary was not upgraded correctly,
or you have an older one somewhere in your PATH.
Or maybe the wrong wineserver is still running?
0009:err:process:start_wineboot failed to start wineboot, err 1359
wine: cannot find L"C:\\windows\\system32\\VCC.exe"

Re: Problem with Wine

Posted: Mon Jul 27, 2020 5:19 pm
by Wiz57
The 32 bit compatibility is only for Linux applications, not Windows.
You need to run winecfg to properly setup your Wine environment.

Re: Problem with Wine

Posted: Mon Jul 27, 2020 5:45 pm
by ionmich
Well I just learned something! I thought 32bit compatabilty sfs was for Windows. Since I won't be running any Linux 32bit I'll just delete it.

Winecfg presents me with a lot of errors as shown in my previous posts.

Do not remove the 32-bit compatibility SFS

Posted: Mon Jul 27, 2020 8:07 pm
by mikeslr
Wiz57's statement "The 32 bit compatibility is only for Linux applications, not Windows" is correct, but may be misleading. You are running Bionicpup64. VCC.exe is a 32-bit program. To run it under a Linux operating system you need (either virtualbox or similar or) a version of 32-bit Wine. 32-bit wine is a Linux Application.

When in doubt, read the manual. This forum is the manual. Without going into the detail provided by other posts just note that Puppies are different from other LInuxes, including the versions with which they are 'binary compatible'. Binary compatible means that a particular Puppy will (via Puppy Package Manager, PPM) provide access to the repository of the compatible distro enabling files from it to be downloaded and/or installed. Often, that's all that's necessary. But Wine is an exception. Creating a version of wine which will run under Puppies is, to a large extent, an art. Frankly, although other Puppy devs occasionally build wine applications, the only builds I trust are those by version2013.

So, the first thing I would do is uninstall the wine version you obtained via PPM using PPM Uninstall. Then open Menu>Filesystem>pfind, search for any wine files which weren't uninstalled and delete them. Then open Menu>Filesystem>Rox-Filer and Left-click the "House" on the toolbar. That takes you to your "home folder". Then Left-Click rox's Eye on the toolbar to show hidden files and folders. If you still have a ".wine" folder delete it.

To setup wine on a 64-bit Puppy to run 32-bit Window programs you need to do the following in the following order:

(1) Download the 32-bit Compatibility SFS (under bionicpup64 via quickpet, on the "Useful" tab). After it downloads, Left-Click it and select "SFS-Load". If you didn't place it on your Home partition, SFS-load will offer to move it there. Say yes.
[For more information about Home Folder, Home Partition and how Puppies function, see viewtopic.php?f=2&t=180
(2) See this post regarding configuring the 32-bit compatibility layer, viewtopic.php?p=282#p282
(3) Obtain either obtain wine-portable and set it up as per this post, viewtopic.php?p=279#p279 or obtain one of version2013's pets and the "wine-extras" pet. The latter provides menus. Version2013's wine pets, themselves, do not. You can find the link to wine_extras-v2.1.pet on this page, https://version2013.yolasite.com/page11.php also on that page are links to versions most recent (series 5) wine builds. See this post regarding wine versions, viewtopic.php?p=1294#p1294
(4) See this post regarding configuring wine. viewtopic.php?p=282#p282

Re: Problem with Wine

Posted: Mon Jul 27, 2020 9:26 pm
by taersh
Wiz57's statement "The 32 bit compatibility is only for Linux applications, not Windows" is correct, but may be misleading. You are running Bionicpup65. VCC.exe is a 32-bit program. To run it under a Linux operating system you need (either virtualbox or similar or) a version of 32-bit Wine. 32-bit wine is a Linux Application.
Hehe...

I never understood why the 32bit compatibility sfs doesn't follow the naming rules to its related Puppy Linux - like the devx and adrv etc. does. Even though I'm NOT using the 32bit compatibility sfs, mine is using this naming rules and therefor it's named: compat32_ArtStudio64_1.0.0.sfs.

All those Puppy developers should consider to do it equal...

[mention]mikeslr[/mention]

However, I doubt anyone of us would be able to boot BionicPup65...

Re: Problem with Wine

Posted: Mon Jul 27, 2020 10:10 pm
by mikeslr
taersh wrote: Mon Jul 27, 2020 9:26 pm...
@mikeslr
However, I doubt anyone of us would be able to boot BionicPup65...
:oops:
Guess I'm getting a little ahead of things, or "where is my secretary when I need her?" :D

Oh well, I had to correct it myself. :(

Re: Problem with Wine

Posted: Mon Jul 27, 2020 10:31 pm
by ionmich
Thanks for the detailed instructions. It will take some time to work through them.

Re: Problem with Wine

Posted: Tue Jul 28, 2020 4:12 pm
by ionmich
I apologize. It got too complicated for me and I gave up. But I do appreciate the time you have all put in trying to help, and I hope I can keep using Puppy without wine.

Re: Problem with Wine

Posted: Thu Jul 30, 2020 1:38 am
by 01101001b
Hi ionmich!
ionmich wrote: Mon Jul 27, 2020 3:41 pm ID=puppy_bionicpup64

Code: Select all

root# wine --version
wine-3.15
Installed by PPM.
Don't! :cry:
Installing wine via ppm in a 64bit Pup is a headache (to run a win32 app at least). I never could.
Uninstall.
As mikeslr fittingly stated, use this.

That's wine 4.13 32bit .pet (that's the one I'm using and it works perfectly in my DPupBuster64. If you prefer another version, go here).
Install and that's it.
Enjoy :thumbup2:
ionmich wrote: Mon Jul 27, 2020 3:41 pm After this installation I installed the 32bit capability sfs from Puppy Quickpet.
Exactly. Without that sfs loaded, wine32 won't work.
Regards! :thumbup: