(Dar)Wine and The Bat!

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
accolon
Newbie
Newbie
Posts: 4
Joined: Tue Jun 02, 2009 1:58 pm

(Dar)Wine and The Bat!

Post by accolon »

Greetings,

I'm trying to run The Bat! (email client by RITlabs) on Mac OS X 10.5.7 with the most current XQuartz installed.

I compiled Wine 1.1.22 using MacPorts and confirmed it is working for simple Windows applications. (Btw, is this Wine or Darwine, since MacPorts seems to download and compile the official Wine sources?)

After installing The Bat!, it starts up and immediately quits with the following error message:

Code: Select all

Error Themida
Cannot open oreans.vdx driver. Make sure that oreans.vdx is not open by
another program.
I found out that Themida is some kind of anti-cracking solution which seems to cause problems with other applications and Wine, too (e.g. Maple Story). But since people claimed The Bat! is working with Wine, I tried to run it on Ubuntu linux -- indeed, this works!

On Mac OS, the "oreans.vxd" file remains inside the Wine c_drive/windows folder after the error message forces The Bat! to quit. On Ubuntu and Windows, there's no sign of this file. I suppose the driver is installed and removed automatically, perhaps hiding itself while running.

The question is, why does this work on Wine 1.1.22 using Ubuntu, but not using the same version on Mac OS?
James McKenzie

(Dar)Wine and The Bat!

Post by James McKenzie »

accolon wrote:
Greetings,

I'm trying to run The Bat! (email client by RITlabs) on Mac OS X 10.5.7 with the most current XQuartz installed.

I compiled Wine 1.1.22 using MacPorts and confirmed it is working for simple Windows applications. (Btw, is this Wine or Darwine, since MacPorts seems to download and compile the official Wine sources?)

Is this product publically available for download? I would like to try
it on my system to see if a different build fixes the problem.

James McKenzie
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: (Dar)Wine and The Bat!

Post by vitamin »

accolon wrote:On Mac OS, the "oreans.vxd" file remains inside the Wine c_drive/windows folder after the error message forces The Bat! to quit. On Ubuntu and Windows, there's no sign of this file.
This means you installed something else other then Bat! that came with this driver.

Remove/rename your ~/.wine directory and reinstall your program.
accolon
Newbie
Newbie
Posts: 4
Joined: Tue Jun 02, 2009 1:58 pm

Re: (Dar)Wine and The Bat!

Post by accolon »

James McKenzie wrote: Is this product publically available for download? I would like to try
it on my system to see if a different build fixes the problem.
You can download a trial version here:
http://www.ritlabs.com/en/products/thebat/download.php

I'm using The Bat! v4.1.11 Professional Edition.

vitamin wrote: This means you installed something else other then Bat! that came with this driver.

Remove/rename your ~/.wine directory and reinstall your program.
I did this several times during my tests. Using a freshly created .wine directory, I install the program and check that there's no oreans.vxd. After starting The Bat!, the error message I mentioned above appears, as well as the oreans.vxd inside the windows directory.

So I'm quite sure that the driver is placed there by The Bat!, at least on Mac OS.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: (Dar)Wine and The Bat!

Post by vitamin »

accolon wrote:So I'm quite sure that the driver is placed there by The Bat!, at least on Mac OS.
Then the next question, are you changing windows version to win9x in winecfg? *.vxd drivers only worked there and not on winNT+.
accolon
Newbie
Newbie
Posts: 4
Joined: Tue Jun 02, 2009 1:58 pm

Post by accolon »

No, I didn't change the Windows version, according to winecfg it's Windows XP.

I didn't know that VXD drivers don't work on NT-based Windows versions, but this might explain why the oreans.vxd doesn't exist on my Windows XP box. Indeed, I just installed The Bat! inside a Windows 98 virtual machine I keep around, and there the oreans.vxd appears as well.

Maybe The Bat! thinks it's running on Windows 9x when starting it using Wine for Mac OS and thus fails.

I tried changing the Windows version using winecfg, but the error message remains the same.
James McKenzie

(Dar)Wine and The Bat!

Post by James McKenzie »

accolon wrote:
No, I didn't change the Windows version, according to winecfg it's Windows XP.

I didn't know that VXD drivers don't work on NT-based Windows versions, but this might explain why the oreans.vxd doesn't exist on my Windows XP box. Indeed, I just installed The Bat! inside a Windows 98 virtual machine I keep around, and there the oreans.vxd appears as well.

Maybe The Bat! thinks it's running on Windows 9x when starting it using Wine for Mac OS and thus fails.

Changing the Windows version using winecfg doesn't help, the error message remains the same.
Confirmed bug in the MacOSX version. I even moved the oreans.vxd file
to the system32 directory.

James McKenzie
accolon
Newbie
Newbie
Posts: 4
Joined: Tue Jun 02, 2009 1:58 pm

Post by accolon »

Any idea why this happens? Is this a known bug?

Should I file a bug report? Since this is a problem on Mac OS only (at least as far I know), I'm not sure if WineHQ is the right place.

The problem doesn't only exist in the self-compiled Macports version of Wine, but also in Kronenberg's builds and in the current Crossover version.
James Mckenzie

(Dar)Wine and The Bat!

Post by James Mckenzie »

accolon wrote about [Wine] Re: (Dar)Wine and The Bat!
Any idea why this happens? Is this a known bug?

Should I file a bug report? Since this is a problem on Mac OS only (at least as far I know), I'm not sure if WineHQ is the right place.
Yes. If the problem exists in Wine's code, it needs to be corrected. However, don't be suprized if the bug is closed as invalid. This should not happen if you are using MacOSX 10.5.7/XQuartz 2.3.3.2.
The problem doesn't only exist in the self-compiled Macports version of Wine, but also in Kronenberg's builds and in the current Crossover
version.
Only if we could figure this one out and not break the Linux builds in the process. Alexandre would be very happy.

There are issues with the release version of 1.1.23 as well. Looks like video is running very slow.

James McKenzie
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

(Dar)Wine and The Bat!

Post by austin987 »

On Sat, Jun 6, 2009 at 5:40 PM, James
Mckenzie<[email protected]> wrote:
accolon wrote about [Wine]  Re: (Dar)Wine and The Bat!
Any idea why this happens? Is this a known bug?

Should I file a bug report? Since this is a problem on Mac OS only (at least as far I know), I'm not sure if WineHQ is the right place.
Yes.  If the problem exists in Wine's code, it needs to be corrected.  However, don't be suprized if the bug is closed as invalid.  This should not happen if you are using MacOSX 10.5.7/XQuartz 2.3.3.2.
The problem doesn't only exist in the self-compiled Macports version of Wine, but also in Kronenberg's builds and in the current Crossover
version.
Only if we could figure this one out and not break the Linux builds in the process.  Alexandre would be very happy.
The main problem with Wine on Mac and reporting bugs is there is way
too much fragmentation. There are three versions of Darwine, and each
makes its own changes to wine (afaict). Rather than doing this, if you
want Wine on Mac to be considered a 'real' install of Wine, it needs
to be done as any other Unix is. I don't know much about Mac's, but in
my limited testing of it, it built somewhat okay if you installed the
dependencies needed to /usr/local/bin and adjusted $PATH accordingly.

If that can be done on someone's box and built into a .pkg installer,
Wine on Mac would be much better off.

Of course, regular test results (against git), from someone on OS X to
http://test.winehq.org/data would help a lot as well (I can help
anyone interested in that..you just need an OS X build environment and
a few spare CPU cycles daily. The rest is scripted).
There are issues with the release version of 1.1.23 as well.  Looks like video is running very slow.
File a separate bug.

--
-Austin
User avatar
sotel
Level 2
Level 2
Posts: 17
Joined: Thu Aug 07, 2008 9:09 am

Re: (Dar)Wine and The Bat!

Post by sotel »

austin987 wrote:File a separate bug.
Seems to be similar to this bug:
The Bat! v4.0.39.39 - build: 1.283: refuse to start - because of 'Themida' warning
yark
Newbie
Newbie
Posts: 4
Joined: Mon Jul 20, 2009 11:49 am

Post by yark »

I want to confirm this bug but with some addition:

Non only TheBat! won work in that way. Possibly all software protected by Themida http://www.oreans.com/

eg CommfortClient from http://www.commfort.com/ but works on linux boxes (can somebody confirm this with CommFort? 4.4 Mb http://www.commfort.com/download/commfort_client.zip )

I'm still shure that is fixable problem.
Also i was commented that ticked: http://bugs.winehq.org/show_bug.cgi?id=19158
Locked